diff options
author | Josselin Poiret <dev@jpoiret.xyz> | 2023-04-25 22:16:41 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-04-28 19:50:36 +0200 |
commit | 5c26e69118128f6ef162cabddfe5726f03abe4ae (patch) | |
tree | 880692f6e67c36ce05f67e43ccfcc105973af46a /tests | |
parent | aecc6e70587f8412cbbb9b2c13141de4f534518e (diff) | |
download | guix-5c26e69118128f6ef162cabddfe5726f03abe4ae.tar guix-5c26e69118128f6ef162cabddfe5726f03abe4ae.tar.gz |
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 eee95b5a879b7096dffd533f24107cf8926b621e. Instead, try
to build grep with coreutils rewritten to hello.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/guix-build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/guix-build.sh b/tests/guix-build.sh index 2c59177c86..317c58ac42 100644 --- a/tests/guix-build.sh +++ b/tests/guix-build.sh @@ -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 |