We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecf1395 commit 07465d8Copy full SHA for 07465d8
pkgs/by-name/ni/nixfmt/update.sh
@@ -1,5 +1,5 @@
1
#!/usr/bin/env nix-shell
2
-#!nix-shell -i bash -p cabal2nix curl jq
+#!nix-shell --pure -i bash -p cabal2nix curl cacert jq nixfmt
3
#
4
# This script will update the nixfmt derivation to the latest version using
5
# cabal2nix.
@@ -22,6 +22,7 @@ EOF
22
23
cabal2nix --jailbreak \
24
"https://github.com/nixos/nixfmt/archive/${release_tag}.tar.gz" \
25
+ | nixfmt \
26
>> "$derivation_file"
27
28
echo "Finished."
0 commit comments