diff --git a/flake.lock b/flake.lock index 2702dd4..e66988b 100644 --- a/flake.lock +++ b/flake.lock @@ -757,6 +757,21 @@ "type": "github" } }, + "nixos-nixpkgs": { + "locked": { + "lastModified": 1724956629, + "narHash": "sha256-ZX4gCiRd9VnfDDetgu02VIYvPTBPvfzNK53OJ3aGab0=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "cc223bad7ef2ad0ac4c2db75136864233e40465b", + "type": "github" + }, + "original": { + "owner": "nixos", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1714555275, @@ -1042,6 +1057,7 @@ "flake-compat": "flake-compat", "flake-utils": "flake-utils", "naersk": "naersk", + "nixos-nixpkgs": "nixos-nixpkgs", "nixpkgs": "nixpkgs_2", "serokell-nix": "serokell-nix" } diff --git a/flake.nix b/flake.nix index c0d9b5c..9dfaae3 100644 --- a/flake.nix +++ b/flake.nix @@ -11,14 +11,15 @@ inputs = { flake-compat.flake = false; naersk.url = "github:nix-community/naersk"; + nixos-nixpkgs.url = "github:nixos/nixpkgs"; }; - outputs = { self, nixpkgs, flake-utils, serokell-nix, naersk, ... }: + outputs = { self, nixpkgs, flake-utils, serokell-nix, naersk, nixos-nixpkgs, ... }: flake-utils.lib.eachSystem [ "x86_64-linux" ] (system: let pkgs = nixpkgs.legacyPackages.${system}.extend serokell-nix.overlay; naersk' = pkgs.callPackage naersk {}; - nix = pkgs.nix; + nix = nixos-nixpkgs.legacyPackages.${system}.nix; update-daemon = naersk'.buildPackage { src = builtins.path {