mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-30 09:32:05 -04:00
* added non-flake nix compatibility with flake-compat * nix: move flake-compat files to distro/nix --------- Co-authored-by: LuckShiba <luckshiba@protonmail.com>
12 lines
347 B
Nix
12 lines
347 B
Nix
(import (
|
|
let
|
|
lock = builtins.fromJSON (builtins.readFile ../../flake.lock);
|
|
in
|
|
fetchTarball {
|
|
url =
|
|
lock.nodes.flake-compat.locked.url
|
|
or "https://github.com/NixOS/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
|
|
sha256 = lock.nodes.flake-compat.locked.narHash;
|
|
}
|
|
) { src = ../..; }).shellNix
|