Skip to content

Commit b4428fb

Browse files
committed
chore: Update Obelisk to 0.39.4
1 parent 7b70c92 commit b4428fb

2 files changed

Lines changed: 26 additions & 39 deletions

File tree

flake.lock

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

flake.nix

Lines changed: 14 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,26 @@
22
inputs = {
33
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
44
flake-utils.url = "github:numtide/flake-utils";
5-
rust-overlay = {
6-
url = "github:oxalica/rust-overlay";
7-
inputs = {
8-
nixpkgs.follows = "nixpkgs";
9-
};
10-
};
5+
116
obelisk = {
127
url = "github:obeli-sk/obelisk/latest";
138
inputs = {
149
nixpkgs.follows = "nixpkgs";
1510
flake-utils.follows = "flake-utils";
16-
rust-overlay.follows = "rust-overlay";
1711
};
1812
};
1913
};
20-
outputs = { self, nixpkgs, flake-utils, rust-overlay, obelisk }:
21-
flake-utils.lib.eachDefaultSystem
22-
(system:
23-
let
24-
overlays = [ (import rust-overlay) ];
25-
pkgs = import nixpkgs {
26-
inherit system overlays;
27-
};
28-
in
29-
{
30-
devShells.default = pkgs.mkShell {
31-
nativeBuildInputs = [
32-
obelisk.packages.${system}.default
33-
pkgs.gh
34-
];
35-
};
36-
}
37-
);
14+
15+
outputs = { nixpkgs, flake-utils, obelisk, ... }:
16+
flake-utils.lib.eachDefaultSystem (system:
17+
let
18+
pkgs = nixpkgs.legacyPackages.${system};
19+
in {
20+
devShells.default = pkgs.mkShell {
21+
packages = [
22+
obelisk.packages.${system}.default
23+
pkgs.gh
24+
];
25+
};
26+
});
3827
}

0 commit comments

Comments
 (0)