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
1 changed files with 1 additions and 1 deletions

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")"