summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-07-08 16:27:25 -0400
committerKjetil Orbekk <kj@orbekk.com>2023-07-08 16:29:46 -0400
commit38a00ffd05e1106a5e8d7b6ac53b9c1519bc0296 (patch)
treed9fde03902b8aa3b37ecaf1874a4d7031825efe2 /flake.nix
parent0a8bf0cbb82f16bce7b05e74dc1b85ca16dc15a5 (diff)
add support for output path
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index acd46fe..c29f113 100644
--- a/flake.nix
+++ b/flake.nix
@@ -28,6 +28,7 @@
let
pkgs = import nixpkgs {
inherit system;
+ overlays = [ fenix.overlays.default];
};
inherit (pkgs) lib;
@@ -132,9 +133,14 @@
# Extra inputs can be added here
nativeBuildInputs = with pkgs; [
- cargo
- rustc
- rust-analyzer
+ (pkgs.fenix.complete.withComponents [
+ "cargo"
+ "clippy"
+ "rust-src"
+ "rustc"
+ "rustfmt"
+ ])
+ rust-analyzer-nightly
firefox
geckodriver
pkg-config