aboutsummaryrefslogtreecommitdiffstats
path: root/shell.nix
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2022-03-10 16:27:39 +0100
committerGitHub <noreply@github.com>2022-03-10 16:27:39 +0100
commitbd849574bec51f03187522c6773e284e0f9a3d51 (patch)
tree1f5423b2c052f9ad60890a408c72b549d70a4c09 /shell.nix
parentadd(nix): lorri integration (#1200) (diff)
downloadsl0ppij-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.nix17
1 files changed, 9 insertions, 8 deletions
diff --git a/shell.nix b/shell.nix
index 9eb132a5..a3b4d760 100644
--- a/shell.nix
+++ b/shell.nix
@@ -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