nix: flake: use 'nixpkgs' input for 'naersk'

This commit is contained in:
Bruno BELANYI 2021-03-29 19:32:31 +00:00
parent 8a655debae
commit 746f2be141
2 changed files with 8 additions and 17 deletions

View file

@ -49,7 +49,9 @@
}, },
"naersk": { "naersk": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs" "nixpkgs": [
"nixpkgs"
]
}, },
"locked": { "locked": {
"lastModified": 1614785451, "lastModified": 1614785451,
@ -67,20 +69,6 @@
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": {
"lastModified": 1617038346,
"narHash": "sha256-5AVL8TxnUT/8rX1XfxK05fP+jdf20jhg5gjZ2TLo/Wc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8e71416e5d4306c3800133ca6dc2ad4469480b90",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1616670887, "lastModified": 1616670887,
"narHash": "sha256-wn+l9qJfR5sj5Gq4DheJHAcBDfOs9K2p9seW2f35xzs=", "narHash": "sha256-wn+l9qJfR5sj5Gq4DheJHAcBDfOs9K2p9seW2f35xzs=",
@ -102,7 +90,7 @@
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"mozillapkgs": "mozillapkgs", "mozillapkgs": "mozillapkgs",
"naersk": "naersk", "naersk": "naersk",
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs"
} }
} }
}, },

View file

@ -1,6 +1,9 @@
{ {
inputs = { inputs = {
naersk.url = "github:nmattia/naersk/master"; naersk = {
url = "github:nmattia/naersk/master";
inputs.nixpkgs.follows = "nixpkgs";
};
mozillapkgs = { mozillapkgs = {
url = "github:mozilla/nixpkgs-mozilla"; url = "github:mozilla/nixpkgs-mozilla";
flake = false; flake = false;