Skip to content

Commit

Permalink
Merge pull request #247475 from qowoz/nix217
Browse files Browse the repository at this point in the history
  • Loading branch information
lovesegfault authored Aug 13, 2023
2 parents 6198e6b + fa774ca commit 70dd76d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
10 changes: 5 additions & 5 deletions nixos/modules/installer/tools/nix-fallback-paths.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
x86_64-linux = "/nix/store/ny9r65799s7xhp605bc2753sjvzkxrrs-nix-2.15.1";
i686-linux = "/nix/store/ck55dz5klc7szi8rx9ghhm8gi2b5q5bw-nix-2.15.1";
aarch64-linux = "/nix/store/cl0a02vr28913dgw98hrm45a4baqr3z1-nix-2.15.1";
x86_64-darwin = "/nix/store/wq228jdbz16pp2lnxf32n8dv27pw53p8-nix-2.15.1";
aarch64-darwin = "/nix/store/x11cpsjg4q236msfz5scc325pfp9xy64-nix-2.15.1";
x86_64-linux = "/nix/store/3wqasl97rjiza3vd7fxjnvli2w9l30mk-nix-2.17.0";
i686-linux = "/nix/store/z360xswxfx55pmm1fng3hw748rbs0kkj-nix-2.17.0";
aarch64-linux = "/nix/store/9670sxa916xmv8n1kqs7cdvmnsrhrdjv-nix-2.17.0";
x86_64-darwin = "/nix/store/2rdbky9j8hc3mbgl6pnda4hkjllyfwnn-nix-2.17.0";
aarch64-darwin = "/nix/store/jl9qma14fb4zk9lq1k0syw2k9qm2gqjw-nix-2.17.0";
}
4 changes: 2 additions & 2 deletions pkgs/tools/misc/nurl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
, darwin
, gitMinimal
, mercurial
, nixVersions
, nix
}:

rustPlatform.buildRustPackage rec {
Expand Down Expand Up @@ -42,7 +42,7 @@ rustPlatform.buildRustPackage rec {

postInstall = ''
wrapProgram $out/bin/nurl \
--prefix PATH : ${lib.makeBinPath [ gitMinimal mercurial nixVersions.unstable ]}
--prefix PATH : ${lib.makeBinPath [ gitMinimal mercurial nix ]}
installManPage artifacts/nurl.1
installShellCompletion artifacts/nurl.{bash,fish} --zsh artifacts/_nurl
'';
Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/package-management/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ in lib.makeExtensible (self: ({
else
nix;

stable = self.nix_2_15;
stable = self.nix_2_17;

unstable = self.nix_2_17;
unstable = self.stable;
} // lib.optionalAttrs config.allowAliases {
nix_2_4 = throw "nixVersions.nix_2_4 has been removed";

Expand Down
8 changes: 6 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18344,7 +18344,9 @@ with pkgs;

pylyzer = callPackage ../development/tools/language-servers/pylyzer { };

rnix-lsp = callPackage ../development/tools/language-servers/rnix-lsp { };
rnix-lsp = callPackage ../development/tools/language-servers/rnix-lsp {
nix = nixVersions.nix_2_15;
};

ruff-lsp = python3Packages.callPackage ../development/tools/language-servers/ruff-lsp { };

Expand Down Expand Up @@ -40442,7 +40444,9 @@ with pkgs;

nix-melt = callPackage ../tools/nix/nix-melt { };

nixos-option = callPackage ../tools/nix/nixos-option { };
nixos-option = callPackage ../tools/nix/nixos-option {
nix = nixVersions.nix_2_15;
};

nix-pin = callPackage ../tools/package-management/nix-pin { };

Expand Down

0 comments on commit 70dd76d

Please sign in to comment.