diff options
author | Naïm Favier <n@monade.li> | 2023-07-05 11:31:58 +0200 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2023-07-05 11:31:58 +0200 |
commit | f66b401fa3d98a7aeff33bd9b47058ed53cb4876 (patch) | |
tree | b9da2ff38264b5e968297515de8566edd92f92a4 /lib/tests/modules | |
parent | 8b487f94f79584bc664b440e967e97fa75f6c343 (diff) | |
download | nixlib-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')
-rw-r--r-- | lib/tests/modules/types.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tests/modules/types.nix b/lib/tests/modules/types.nix index 576db6b5b9ef..7c43a6819e0e 100644 --- a/lib/tests/modules/types.nix +++ b/lib/tests/modules/types.nix @@ -12,9 +12,9 @@ in pathInStore = mkOption { type = types.lazyAttrsOf types.pathInStore; }; }; config = { - pathInStore.ok1 = "${storeDir}/5lz9p8xhf89kb1c1kk6jxrzskaiygnlh-bash-5.2-p15.drv"; - pathInStore.ok2 = "${storeDir}/xfb3ykw9r5hpayd05sr0cizwadzq1d8q-bash-5.2-p15"; - pathInStore.ok3 = "${storeDir}/xfb3ykw9r5hpayd05sr0cizwadzq1d8q-bash-5.2-p15/bin/bash"; + pathInStore.ok1 = "${storeDir}/0lz9p8xhf89kb1c1kk6jxrzskaiygnlh-bash-5.2-p15.drv"; + pathInStore.ok2 = "${storeDir}/0fb3ykw9r5hpayd05sr0cizwadzq1d8q-bash-5.2-p15"; + pathInStore.ok3 = "${storeDir}/0fb3ykw9r5hpayd05sr0cizwadzq1d8q-bash-5.2-p15/bin/bash"; pathInStore.bad1 = ""; pathInStore.bad2 = "${storeDir}"; pathInStore.bad3 = "${storeDir}/"; |