From 32f4cb5cbba313b7af2fce46139c04d9469cb72a Mon Sep 17 00:00:00 2001 From: Kleidi Bujari Date: Fri, 24 Jan 2025 12:14:23 -0500 Subject: 25-jan sprint --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'flake.nix') 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 -- cgit v1.3.1