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 daab727Copy full SHA for daab727
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 nix
3
#
4
# This script will update the nixfmt derivation to the latest version using
5
# cabal2nix.
@@ -24,4 +24,7 @@ cabal2nix --jailbreak \
24
"https://github.com/nixos/nixfmt/archive/${release_tag}.tar.gz" \
25
>> "$derivation_file"
26
27
+nix-shell "$script_dir/../../../../" \
28
+ --run "treefmt $derivation_file"
29
+
30
echo "Finished."
0 commit comments