nix: fix nix-build

This commit is contained in:
Mustafa Çalışkan 2022-05-28 11:11:31 +03:00
parent 0ea2135aa5
commit 123d6c72e4
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
(import packages/nix/flake-compat.nix).defaultNix (import nix/flake-compat.nix).defaultNix

View File

@ -1,9 +1,9 @@
let let
lock = builtins.fromJSON (builtins.readFile ../../flake.lock); lock = builtins.fromJSON (builtins.readFile ../flake.lock);
inherit (lock.nodes.flake-compat.locked) rev narHash; inherit (lock.nodes.flake-compat.locked) rev narHash;
flake-compat = fetchTarball { flake-compat = fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${rev}.tar.gz"; url = "https://github.com/edolstra/flake-compat/archive/${rev}.tar.gz";
sha256 = narHash; sha256 = narHash;
}; };
in in
import flake-compat { src = ../..; } import flake-compat { src = ../.; }