aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMustafa Çalışkan <muscaln@protonmail.com>2022-05-28 11:11:31 +0300
committerMustafa Çalışkan <muscaln@protonmail.com>2022-05-28 11:32:16 +0300
commit123d6c72e4308a0194d57f5a910d063bd84941e2 (patch)
treefd762d32b1853fbdc54b98dd9b531377805d5664
parent0ea2135aa54dbfe582e3d91cefbec1d22ffedabc (diff)
downloadPrismLauncher-123d6c72e4308a0194d57f5a910d063bd84941e2.tar.gz
PrismLauncher-123d6c72e4308a0194d57f5a910d063bd84941e2.tar.bz2
PrismLauncher-123d6c72e4308a0194d57f5a910d063bd84941e2.zip
nix: fix nix-build
-rw-r--r--default.nix2
-rw-r--r--nix/flake-compat.nix4
2 files changed, 3 insertions, 3 deletions
diff --git a/default.nix b/default.nix
index 5abfc1bd..146942d5 100644
--- a/default.nix
+++ b/default.nix
@@ -1 +1 @@
-(import packages/nix/flake-compat.nix).defaultNix
+(import nix/flake-compat.nix).defaultNix
diff --git a/nix/flake-compat.nix b/nix/flake-compat.nix
index bb7ee13e..8b6cb99c 100644
--- a/nix/flake-compat.nix
+++ b/nix/flake-compat.nix
@@ -1,9 +1,9 @@
let
- lock = builtins.fromJSON (builtins.readFile ../../flake.lock);
+ lock = builtins.fromJSON (builtins.readFile ../flake.lock);
inherit (lock.nodes.flake-compat.locked) rev narHash;
flake-compat = fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${rev}.tar.gz";
sha256 = narHash;
};
in
-import flake-compat { src = ../..; }
+import flake-compat { src = ../.; }