stylix: update and simplify flake-compat instructions (#816)
Link: https://github.com/danth/stylix/pull/816 Reviewed-by: Daniel Thwaites <danth@danth.me>
This commit is contained in:
parent
bae5cbb8fb
commit
d513f59da5
2 changed files with 4 additions and 7 deletions
|
|
@ -1,9 +1,10 @@
|
|||
(import (
|
||||
let
|
||||
inherit (lock.nodes.flake-compat.locked) narHash rev;
|
||||
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;
|
||||
url = "https://github.com/edolstra/flake-compat/archive/${rev}.tar.gz";
|
||||
sha256 = narHash;
|
||||
}
|
||||
) { src = ./.; }).defaultNix
|
||||
|
|
|
|||
|
|
@ -24,11 +24,7 @@
|
|||
};
|
||||
|
||||
base16.url = "github:SenchoPens/base16.nix";
|
||||
|
||||
flake-compat = {
|
||||
flake = false;
|
||||
url = "github:edolstra/flake-compat";
|
||||
};
|
||||
flake-compat.url = "github:edolstra/flake-compat";
|
||||
|
||||
flake-utils = {
|
||||
inputs.systems.follows = "systems";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue