Skip to content

Commit

Permalink
feat: Update rust-overlay, using non-flake overlay
Browse files Browse the repository at this point in the history
Thus reducing flake.lock size
  • Loading branch information
srid committed Sep 2, 2024
1 parent 747daa6 commit e922400
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 44 deletions.
46 changes: 4 additions & 42 deletions flake.lock

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

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
rust-overlay.url = "github:oxalica/rust-overlay";
rust-overlay.inputs.nixpkgs.follows = "nixpkgs";
rust-overlay.flake = false;
crane.url = "github:ipetkov/crane";
crane.inputs.nixpkgs.follows = "nixpkgs";
};
Expand Down
2 changes: 1 addition & 1 deletion nix/modules/flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ in
config = {
# See nix/modules/nixpkgs.nix (the user must import it)
nixpkgs.overlays = [
rustFlakeInputs.rust-overlay.overlays.default
(import rustFlakeInputs.rust-overlay)
];

# lib.mapAttrs over config.rust-project.crates returning its outputs.packages (combined)
Expand Down

0 comments on commit e922400

Please sign in to comment.