diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2022-03-10 16:27:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-10 16:27:39 +0100 |
| commit | bd849574bec51f03187522c6773e284e0f9a3d51 (patch) | |
| tree | 1f5423b2c052f9ad60890a408c72b549d70a4c09 /shell.nix | |
| parent | add(nix): lorri integration (#1200) (diff) | |
| download | sl0ppij-bd849574bec51f03187522c6773e284e0f9a3d51.tar.gz sl0ppij-bd849574bec51f03187522c6773e284e0f9a3d51.tar.xz sl0ppij-bd849574bec51f03187522c6773e284e0f9a3d51.zip | |
add(nix): treefmt / alejandra (#1201)
* add(nix): treefmt / alejandra
* fmt the nix tree
* add fmt check for nix to ci
* switch `nixpkgs-fmt` -> `alejandra`
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -1,13 +1,14 @@ (import - ( - let - lock = builtins.fromJSON (builtins.readFile ./flake.lock); - in +( + 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 +) +{ + src = ./.; +}) +.shellNix |
