From 5c26e69118128f6ef162cabddfe5726f03abe4ae Mon Sep 17 00:00:00 2001 From: Josselin Poiret Date: Tue, 25 Apr 2023 22:16:41 +0200 Subject: tests: guix-build.sh: Don't use hidden gcc for transformation tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- tests/guix-build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/guix-build.sh') 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 -- cgit 1.4.1