chore: Tweak
This commit is contained in:
parent
a2a58ceda9
commit
d8a9d8753a
3 changed files with 6 additions and 15 deletions
|
@ -1,4 +1 @@
|
||||||
let
|
(import ./flake-compat.nix).defaultNix.default
|
||||||
flake = import ./flake-compat.nix;
|
|
||||||
in
|
|
||||||
flake.defaultNix.default
|
|
||||||
|
|
|
@ -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 = ./.;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,4 +1 @@
|
||||||
let
|
(import ./flake-compat.nix).shellNix
|
||||||
flake = import ./flake-compat.nix;
|
|
||||||
in
|
|
||||||
flake.shellNix
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue