tests: guix-build.sh: Don't use hidden gcc for transformation tests.

* tests/guix-build.sh: Do not try to rewrite gcc, it is hidden and so will not
be rewritten, as per eee95b5a87.  Instead, try
to build grep with coreutils rewritten to hello.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Josselin Poiret 2023-04-25 22:16:41 +02:00 committed by Ludovic Courtès
parent aecc6e7058
commit 5c26e69118
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -318,10 +318,10 @@ drv2=`guix build inkscape -d --no-grafts --with-graft=glib=glib-networking`
test "$drv1" = "$drv2"
# Rewriting implicit inputs.
drv1=`guix build hello -d`
drv2=`guix build hello -d --with-input=gcc=gcc-toolchain`
drv1=`guix build grep -d`
drv2=`guix build grep -d --with-input=coreutils=hello`
test "$drv1" != "$drv2"
guix gc -R "$drv2" | grep `guix build -d gcc-toolchain`
guix gc -R "$drv2" | grep `guix build -d hello`
guix build guile --with-input=libunistring=something-really-silly && false