Skip to content

Commit

Permalink
update flake
Browse files Browse the repository at this point in the history
  • Loading branch information
riley-martin committed Jan 18, 2024
1 parent 9fa2c64 commit 24feeef
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 28 deletions.
78 changes: 57 additions & 21 deletions flake.lock

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

11 changes: 4 additions & 7 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@
pkgs = import nixpkgs {
inherit system;
overlays = [
rust-overlay.overlay
(self: super: {
rustc = self.rust-bin.stable.latest.default;
cargo = self.rust-bin.stable.latest.default;
# rust-analyzer = self.rust-bin.stable.latest.default;
})
(import rust-overlay)
];
};
inherit (import "${crate2nix}/tools.nix" { inherit pkgs; })
Expand All @@ -52,7 +47,9 @@
};

buildInputs = with pkgs; [ libinput udev ];
nativeBuildInputs = with pkgs; [ cargo-udeps rustc cargo rust-analyzer pkgconfig nixpkgs-fmt ];
nativeBuildInputs = with pkgs; [ cargo-udeps rust-analyzer pkg-config nixpkgs-fmt
rust-bin.stable.latest.default
];
buildEnvVars = {};
in
rec {
Expand Down

0 comments on commit 24feeef

Please sign in to comment.