refactor(nix): pin flake-compat in default.nix
Avoids polluting downstream flake.locks Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
parent
99852c972c
commit
c367f48ec9
4 changed files with 4 additions and 52 deletions
13
default.nix
13
default.nix
|
@ -1,9 +1,4 @@
|
|||
(import (
|
||||
let
|
||||
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
|
||||
in
|
||||
fetchTarball {
|
||||
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
|
||||
sha256 = lock.nodes.flake-compat.locked.narHash;
|
||||
}
|
||||
) { src = ./.; }).defaultNix
|
||||
(import (fetchTarball {
|
||||
url = "https://github.com/edolstra/flake-compat/archive/ff81ac966bb2cae68946d5ed5fc4994f96d0ffec.tar.gz";
|
||||
sha256 = "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=";
|
||||
}) { src = ./.; }).defaultNix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue