Make naersk's nixpkgs follows ours

This commit is contained in:
Andrey Golovizin 2021-11-02 16:05:05 +01:00
parent 80cfed1d68
commit 75c6f8afe2
2 changed files with 8 additions and 16 deletions

19
flake.lock generated
View file

@ -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"
}
}
},

View file

@ -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 }: