chore: Tweak

This commit is contained in:
Tom Hubrecht 2025-02-20 14:32:42 +01:00
parent a2a58ceda9
commit d8a9d8753a
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc
3 changed files with 6 additions and 15 deletions

View file

@ -1,4 +1 @@
let (import ./flake-compat.nix).defaultNix.default
flake = import ./flake-compat.nix;
in
flake.defaultNix.default

View file

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

View file

@ -1,4 +1 @@
let (import ./flake-compat.nix).shellNix
flake = import ./flake-compat.nix;
in
flake.shellNix