1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-08-01 04:57:44 +00:00

refactor: simplify shellhook

This commit is contained in:
Kevin Amado 2022-01-30 13:32:17 -05:00
parent 59c879aedb
commit 8df9020a1d
No known key found for this signature in database
GPG key ID: FFF341057F503148

View file

@ -64,14 +64,12 @@
fenix.latest.rustfmt fenix.latest.rustfmt
inputs.alejandra.outputs.defaultPackage.${ system } inputs.alejandra.outputs.defaultPackage.${ system }
nixpkgs.jq nixpkgs.jq
nixpkgs.nodejs
nixpkgs.nodePackages.prettier nixpkgs.nodePackages.prettier
nixpkgs.nodePackages.prettier-plugin-toml
nixpkgs.shfmt nixpkgs.shfmt
treefmt treefmt
]; ];
shellHook =
''
export NODE_PATH=${ nixpkgs.nodePackages.prettier-plugin-toml }/lib/node_modules:$NODE_PATH
'';
}; };
} }
); );