Skip to content

Commit

Permalink
use nix master
Browse files Browse the repository at this point in the history
  • Loading branch information
Radvendii committed Aug 14, 2023
1 parent abf7146 commit 4c691cb
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 3 deletions.
76 changes: 74 additions & 2 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
url = "github:tweag/topiary";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-input = {
url = "github:nixos/nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};

nixConfig = {
Expand All @@ -35,6 +39,7 @@
, rust-overlay
, crane
, topiary
, nix-input
}:
let
SYSTEMS = [
Expand Down Expand Up @@ -213,7 +218,7 @@
# https://pyo3.rs/v0.17.3/building_and_distribution#configuring-the-python-version
nativeBuildInputs = with pkgs; [ pkg-config python3 ];
buildInputs = with pkgs; [
nixVersions.nix_2_16
nix-input.packages.${system}.default
boost # implicit dependency of nix
];
};
Expand Down

0 comments on commit 4c691cb

Please sign in to comment.