pkgs/release: don't interpolate store paths unnecessarily

Avoids Nix 2.19 screaming about a path named ".version", also avoids creating
store paths of random subsets of nixpkgs.
This commit is contained in:
K900 2024-01-12 10:27:19 +03:00
parent 376f7bc0f4
commit 8ef54ae956

View file

@ -31,13 +31,13 @@ pkgs.runCommand "all-attrs-eval-under-tryEval" {
nix-store --init nix-store --init
cp -r ${pkgs-path + "/lib"} lib cp -r ${pkgs-path}/lib lib
cp -r ${pkgs-path + "/pkgs"} pkgs cp -r ${pkgs-path}/pkgs pkgs
cp -r ${pkgs-path + "/default.nix"} default.nix cp -r ${pkgs-path}/default.nix default.nix
cp -r ${pkgs-path + "/nixos"} nixos cp -r ${pkgs-path}/nixos nixos
cp -r ${pkgs-path + "/maintainers"} maintainers cp -r ${pkgs-path}/maintainers maintainers
cp -r ${pkgs-path + "/.version"} .version cp -r ${pkgs-path}/.version .version
cp -r ${pkgs-path + "/doc"} doc cp -r ${pkgs-path}/doc doc
echo "Running pkgs/top-level/release-attrpaths-superset.nix" echo "Running pkgs/top-level/release-attrpaths-superset.nix"
nix-instantiate --eval --strict --json pkgs/top-level/release-attrpaths-superset.nix -A names > /dev/null nix-instantiate --eval --strict --json pkgs/top-level/release-attrpaths-superset.nix -A names > /dev/null