me
/
guix
Archived
1
0
Fork 0

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>
master
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
1 changed files with 3 additions and 3 deletions

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