Skip to content

Commit 6b1b172

Browse files
authored
Merge pull request #53 from NixOS/update-nix
Update nix to 2.32.4
2 parents dcb47d7 + c642e7c commit 6b1b172

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

flake.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
crane.url = "github:ipetkov/crane/v0.20.0";
1010

1111
nix = {
12-
url = "github:NixOS/nix/2.32.0";
12+
url = "github:NixOS/nix/2.32.4";
1313
# Omitting `inputs.nixpkgs.follows = "nixpkgs";` on purpose
1414
};
1515

@@ -20,10 +20,12 @@
2020
{ self
2121
, nixpkgs
2222
, crane
23+
, nix
2324
, ...
2425
}:
2526
let
26-
nix_tarball_url_prefix = "https://releases.nixos.org/nix/nix-2.32.0/nix-2.32.0-";
27+
nix_version = nix.packages.x86_64-linux.default.version;
28+
nix_tarball_url_prefix = "https://releases.nixos.org/nix/nix-${nix_version}/nix-${nix_version}-";
2729
supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
2830

2931
forAllSystems = f: nixpkgs.lib.genAttrs supportedSystems (system: (forSystem system f));

0 commit comments

Comments
 (0)