nix: fix attribute path of nix stable

This commit is contained in:
Robert Helgesson 2022-03-24 00:11:06 +01:00
parent 9970d23218
commit b030278dc6
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -6,7 +6,7 @@ with lib;
config = {
nix = {
package = config.lib.test.mkStubPackage {
version = lib.getVersion pkgs.nixStable;
version = lib.getVersion pkgs.nixVersions.stable;
buildScript = ''
target=$out/bin/nix
mkdir -p "$(dirname "$target")"