aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-06-15 10:35:26 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-06-15 10:35:26 +0300
commit182e19eae3e2aa9f50dde140d10db858b5bf6076 (patch)
treee36e6ddfeb937b52208ccd6bd2d9fc10cd6c4a37 /default.nix
parent9ca74cd0095a7e2be40e72e36f5b51dd80f198bb (diff)
parent9908e115aa6bdfcceefd1425406d1b6d1c1bdec4 (diff)
downloadPrismLauncher-182e19eae3e2aa9f50dde140d10db858b5bf6076.tar.gz
PrismLauncher-182e19eae3e2aa9f50dde140d10db858b5bf6076.tar.bz2
PrismLauncher-182e19eae3e2aa9f50dde140d10db858b5bf6076.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into develop
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix15
1 files changed, 14 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index 146942d5..c7d0c267 100644
--- a/default.nix
+++ b/default.nix
@@ -1 +1,14 @@
-(import nix/flake-compat.nix).defaultNix
+(
+ 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