mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 14:42:29 +02:00
use the recommended way of using flake-compat
This commit is contained in:
17
default.nix
17
default.nix
@ -1,13 +1,10 @@
|
||||
(
|
||||
import
|
||||
(import
|
||||
(
|
||||
builtins.fetchTarball {
|
||||
url = "https://github.com/edolstra/flake-compat/archive/99f1c2157fba4bfe6211a321fd0ee43199025dbf.tar.gz";
|
||||
sha256 = "0x2jn3vrawwv9xp15674wjz9pixwjyj3j771izayl962zziivbx2";
|
||||
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
|
||||
{ src = ./.; }
|
||||
).defaultNix
|
||||
|
Reference in New Issue
Block a user