diff --git a/flake.lock b/flake.lock index 2a076af..b4dea6f 100644 --- a/flake.lock +++ b/flake.lock @@ -17,7 +17,9 @@ }, "naersk": { "inputs": { - "nixpkgs": "nixpkgs" + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1623927034, @@ -34,19 +36,6 @@ } }, "nixpkgs": { - "locked": { - "lastModified": 1626464457, - "narHash": "sha256-u2PCh/+8vQSLwf0mPpKHKQ8hAPB3l4uNZR3r0TdK2Lg=", - "path": "/nix/store/v9hyb5cjk6y3w97rp320h3xp246p26nr-source", - "rev": "c6c4a3d45ab200f17805d2d86a1ff1cc7ca2b186", - "type": "path" - }, - "original": { - "id": "nixpkgs", - "type": "indirect" - } - }, - "nixpkgs_2": { "locked": { "lastModified": 1626464457, "narHash": "sha256-u2PCh/+8vQSLwf0mPpKHKQ8hAPB3l4uNZR3r0TdK2Lg=", @@ -65,7 +54,7 @@ "inputs": { "flake-utils": "flake-utils", "naersk": "naersk", - "nixpkgs": "nixpkgs_2" + "nixpkgs": "nixpkgs" } } }, diff --git a/flake.nix b/flake.nix index 4ff56cd..bc27d5e 100644 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,10 @@ inputs = { nixpkgs.url = "nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; - naersk.url = "github:nmattia/naersk"; + naersk = { + url = "github:nmattia/naersk"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { self, nixpkgs, flake-utils, naersk }: