Link: https://github.com/nix-community/stylix/pull/1289 Reviewed-by: Daniel Thwaites <danth@danth.me> Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk> Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
10 lines
300 B
Nix
10 lines
300 B
Nix
(import (
|
|
let
|
|
inherit (lock.nodes.flake-compat.locked) narHash rev;
|
|
lock = builtins.fromJSON (builtins.readFile ./flake/dev/flake.lock);
|
|
in
|
|
fetchTarball {
|
|
url = "https://github.com/edolstra/flake-compat/archive/${rev}.tar.gz";
|
|
sha256 = narHash;
|
|
}
|
|
) { src = ./.; }).defaultNix
|