zellij/shell.nix
a-kenji 49396fab21
init: nix support (#1131)
* init(nix): initial nix support

* nix(compat): add flake-compat

* remove `macro expansion`

* remove `extraEntries` from `makeDesktopItem`

* fix Categories

* add darwin compatibilty
2022-02-27 13:07:26 +01:00

14 lines
318 B
Nix

(import
(
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 = ./.;
}).shellNix