summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index ecb7b72..1afc072 100644
--- a/flake.nix
+++ b/flake.nix
@@ -11,6 +11,10 @@
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
nixos-hardware.url = "github:nixos/nixos-hardware/master";
+
+ # Rust projects
+ naersk.url = "github:nix-community/naersk";
+ naersk.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, ... } @ inputs:
@@ -41,6 +45,8 @@
depot = readTree.fix (self: readDepot {
depot = self;
+ inherit inputs;
+
# x86_64-linux is hardcoded as the package arch only for the
# mod directory. This workaround keeps the flake pure,
# at the expense of only supporting one system. This can