diff options
author | seth <getchoo@tuta.io> | 2023-05-27 13:45:28 -0400 |
---|---|---|
committer | seth <getchoo@tuta.io> | 2023-05-27 19:14:50 -0400 |
commit | d582bf7f1f803d0ea8422732b46e25ee05f2fcb0 (patch) | |
tree | 30e294481b00a0d979dc0cbf4a697e99ab4ad513 /default.nix | |
parent | f24211e8b5d9af24ac3e27b0fdb50000a962c35f (diff) | |
download | PrismLauncher-d582bf7f1f803d0ea8422732b46e25ee05f2fcb0.tar.gz PrismLauncher-d582bf7f1f803d0ea8422732b46e25ee05f2fcb0.tar.bz2 PrismLauncher-d582bf7f1f803d0ea8422732b46e25ee05f2fcb0.zip |
feat(nix): flake-utils -> flake-parts
Signed-off-by: seth <getchoo@tuta.io>
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 15 |
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 |