aboutsummaryrefslogtreecommitdiff
path: root/nix/flake-compat.nix
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-07-10 19:38:30 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2022-07-10 19:38:30 +0200
commitb3b76d5d56f9b6849464a6df2031058c98359fbc (patch)
tree211464fb189ef1202093f206d93f3b9f139fd284 /nix/flake-compat.nix
parent3bc02b9662b84c2ab86b5de1b08b4537177fde90 (diff)
parentcd948dceaed4625e7a876f680d3dc028e6cfe6de (diff)
downloadPrismLauncher-b3b76d5d56f9b6849464a6df2031058c98359fbc.tar.gz
PrismLauncher-b3b76d5d56f9b6849464a6df2031058c98359fbc.tar.bz2
PrismLauncher-b3b76d5d56f9b6849464a6df2031058c98359fbc.zip
Merge branch 'develop' into feature/sparkle-mac
# Conflicts: # .github/workflows/build.yml
Diffstat (limited to 'nix/flake-compat.nix')
-rw-r--r--nix/flake-compat.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nix/flake-compat.nix b/nix/flake-compat.nix
new file mode 100644
index 00000000..8b6cb99c
--- /dev/null
+++ b/nix/flake-compat.nix
@@ -0,0 +1,9 @@
+let
+ 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 = ../.; }