nanorc: remove nixfmt to prevent accidental updates from r-ryantm

This commit is contained in:
Sandro Jäckel 2021-09-29 16:05:01 +02:00
parent 9566e0ffe1
commit 834adab12a
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -32,7 +32,6 @@ in stdenv.mkDerivation rec {
git
gnused
nix
nixfmt
]
}
oldVersion="$(nix-instantiate --eval -E "with import ./. {}; lib.getVersion ${pname}" | tr -d '"' | sed 's|\\.|-|g')"
@ -42,7 +41,6 @@ in stdenv.mkDerivation rec {
default_nix="$nixpkgs/pkgs/applications/editors/nano/nanorc/default.nix"
newTag=$(echo $latestTag | sed 's|\.|-|g')
update-source-version ${pname} "$newTag" --version-key=version --print-changes
nixfmt "$default_nix"
else
echo "${pname} is already up-to-date"
fi