about summary refs log tree commit diff
path: root/lib/tests/modules.sh
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2023-07-05 11:31:58 +0200
committerNaïm Favier <n@monade.li>2023-07-05 11:31:58 +0200
commitf66b401fa3d98a7aeff33bd9b47058ed53cb4876 (patch)
treeb9da2ff38264b5e968297515de8566edd92f92a4 /lib/tests/modules.sh
parent8b487f94f79584bc664b440e967e97fa75f6c343 (diff)
downloadnixlib-f66b401fa3d98a7aeff33bd9b47058ed53cb4876.tar
nixlib-f66b401fa3d98a7aeff33bd9b47058ed53cb4876.tar.gz
nixlib-f66b401fa3d98a7aeff33bd9b47058ed53cb4876.tar.bz2
nixlib-f66b401fa3d98a7aeff33bd9b47058ed53cb4876.tar.lz
nixlib-f66b401fa3d98a7aeff33bd9b47058ed53cb4876.tar.xz
nixlib-f66b401fa3d98a7aeff33bd9b47058ed53cb4876.tar.zst
nixlib-f66b401fa3d98a7aeff33bd9b47058ed53cb4876.zip
lib/tests: invalidate hashes
Having the current bash hash present in the nixpkgs tree makes Nix
detect bash as a runtime dependency of nixpkgs, which in turns messes up
`fetchFromGitHub` due to https://github.com/NixOS/nix/issues/6660
Diffstat (limited to 'lib/tests/modules.sh')
-rwxr-xr-xlib/tests/modules.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tests/modules.sh b/lib/tests/modules.sh
index c81febb4156f..f5f0701c63a4 100755
--- a/lib/tests/modules.sh
+++ b/lib/tests/modules.sh
@@ -64,9 +64,9 @@ checkConfigOutput '^"one two"$' config.result ./shorthand-meta.nix
 checkConfigOutput '^true$' config.result ./test-mergeAttrDefinitionsWithPrio.nix
 
 # types.pathInStore
-checkConfigOutput '".*/store/5lz9p8xhf89kb1c1kk6jxrzskaiygnlh-bash-5.2-p15.drv"' config.pathInStore.ok1 ./types.nix
-checkConfigOutput '".*/store/xfb3ykw9r5hpayd05sr0cizwadzq1d8q-bash-5.2-p15"' config.pathInStore.ok2 ./types.nix
-checkConfigOutput '".*/store/xfb3ykw9r5hpayd05sr0cizwadzq1d8q-bash-5.2-p15/bin/bash"' config.pathInStore.ok3 ./types.nix
+checkConfigOutput '".*/store/0lz9p8xhf89kb1c1kk6jxrzskaiygnlh-bash-5.2-p15.drv"' config.pathInStore.ok1 ./types.nix
+checkConfigOutput '".*/store/0fb3ykw9r5hpayd05sr0cizwadzq1d8q-bash-5.2-p15"' config.pathInStore.ok2 ./types.nix
+checkConfigOutput '".*/store/0fb3ykw9r5hpayd05sr0cizwadzq1d8q-bash-5.2-p15/bin/bash"' config.pathInStore.ok3 ./types.nix
 checkConfigError 'A definition for option .* is not of type .path in the Nix store.. Definition values:\n\s*- In .*: ""' config.pathInStore.bad1 ./types.nix
 checkConfigError 'A definition for option .* is not of type .path in the Nix store.. Definition values:\n\s*- In .*: ".*/store"' config.pathInStore.bad2 ./types.nix
 checkConfigError 'A definition for option .* is not of type .path in the Nix store.. Definition values:\n\s*- In .*: ".*/store/"' config.pathInStore.bad3 ./types.nix