summary refs log tree commit diff
path: root/rust/flake.nix
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2024-09-13 18:13:05 -0700
committerIrene Knapp <ireneista@irenes.space>2024-09-13 18:13:05 -0700
commit1b4dc93157de9448f567ae0c361961ad8886bc25 (patch)
tree27d5f6d927a0d762ea16cc202548df4c03a15e6f /rust/flake.nix
parentf923f80209ce8d748e284a62fbaf6344151e16c9 (diff)
updates
especially wrt crane, but also nixpkgs 24.05

Force-Push: yes
Change-Id: I4449a342fe4fa17571a61717a7ec74fa78182bc2
Diffstat (limited to 'rust/flake.nix')
-rw-r--r--rust/flake.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/rust/flake.nix b/rust/flake.nix
index a01f74d..da10ce4 100644
--- a/rust/flake.nix
+++ b/rust/flake.nix
@@ -4,11 +4,10 @@
       type = "github";
       owner = "NixOS";
       repo = "nixpkgs";
-      ref = "nixos-23.05";
+      ref = "nixos-24.05";
     };
 
     crane = {
-      inputs.nixpkgs.follows = "nixpkgs";
       url = "github:ipetkov/crane";
     };
   };
@@ -19,7 +18,7 @@
       nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
   in {
     packages = forAllSystems (system: let pkgs = nixpkgsFor.${system}; in {
-      default = crane.lib.${system}.buildPackage {
+      default = (crane.mkLib pkgs).buildPackage {
         src = ./.;
       };
     });