Skip to content

Commit 1503d32

Browse files
committed
Update Nixpkgs
1 parent bcb68a8 commit 1503d32

File tree

3 files changed

+34
-26
lines changed

3 files changed

+34
-26
lines changed

flake.lock

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

flake.nix

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,37 @@
11
{
22
description = "update-flake-lock";
33

4-
inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz";
4+
inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1";
55

6-
outputs = { self, nixpkgs }:
6+
outputs =
7+
{ self, nixpkgs }:
78
let
8-
supportedSystems = [ "x86_64-linux" "aarch64-darwin" "aarch64-linux" "x86_64-darwin" ];
9-
forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
10-
pkgs = import nixpkgs { inherit system; };
11-
});
9+
supportedSystems = [
10+
"x86_64-linux"
11+
"aarch64-darwin"
12+
"aarch64-linux"
13+
"x86_64-darwin"
14+
];
15+
forEachSupportedSystem =
16+
f:
17+
nixpkgs.lib.genAttrs supportedSystems (
18+
system:
19+
f {
20+
pkgs = import nixpkgs { inherit system; };
21+
}
22+
);
1223
in
1324
{
14-
devShells = forEachSupportedSystem ({ pkgs }: {
15-
default = pkgs.mkShell {
16-
packages = with pkgs; [
17-
nodejs_latest
18-
nodePackages_latest.pnpm
19-
];
20-
};
21-
});
25+
devShells = forEachSupportedSystem (
26+
{ pkgs }:
27+
{
28+
default = pkgs.mkShell {
29+
packages = with pkgs; [
30+
nodejs_latest
31+
nodePackages_latest.pnpm
32+
];
33+
};
34+
}
35+
);
2236
};
2337
}

shell.nix

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)