nix-super/tests
Eelco Dolstra ff107d9d03 Input::fetchToStore(): Don't try to substitute
Having a narHash doesn't mean that we have the other attributes
returned by the fetcher (such as lastModified or rev). For instance,

   $ nix flake metadata github:NixOS/patchelf/7c2f768bf9601268a4e71c2ebe91e2011918a70f
   Last modified: 2024-01-15 10:51:22

but

   $ nix flake metadata github:NixOS/patchelf/7c2f768bf9601268a4e71c2ebe91e2011918a70f?narHash=sha256-PPXqKY2hJng4DBVE0I4xshv/vGLUskL7jl53roB8UdU%3D
   (does not print a "Last modified")

The latter only happens if the store path already exists or is
substitutable, which made this impure behaviour unpredictable.

Fixes #10601.
2024-04-26 16:41:33 +02:00
..
functional Input::fetchToStore(): Don't try to substitute 2024-04-26 16:41:33 +02:00
installer updated store ping to store info in files 2023-10-18 00:14:11 +05:30
nixos Add gitSubmodules test to github actions 2024-04-11 15:55:09 +02:00
unit Merge pull request #10602 from haenoe/json-infra-tests-misc 2024-04-25 16:53:51 -04:00