-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[backport 24.05] nixfmt-rfc-style updates (#327693)
* Fix the update script so it points at the new nixos/nixfmt repo and bump to the lasest version on master. (cherry picked from commit 2c2f1d0) * nixfmt: unstable-2024-05-28 -> unstable-2024-07-03 (cherry picked from commit 72ae7e0) * nixfmt-rfc-style: unstable-2024-07-03 -> unstable-2024-07-12 Notably includes NixOS/nixfmt#219 and NixOS/nixfmt#220 (cherry picked from commit 8058a2a) --------- Co-authored-by: Daniel Baker <daniel.n.baker@gmail.com>
- Loading branch information
Showing
4 changed files
with
13 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-03-01 | ||
2024-07-12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,28 @@ | ||
# This file has been autogenerate with cabal2nix. | ||
# Update via ./update.sh | ||
{ mkDerivation, base, cmdargs, directory, fetchzip, filepath, lib | ||
, megaparsec, mtl, parser-combinators, safe-exceptions, scientific | ||
, text, transformers, unix | ||
, megaparsec, mtl, parser-combinators, pretty-simple | ||
, safe-exceptions, scientific, text, transformers, unix | ||
}: | ||
mkDerivation { | ||
pname = "nixfmt"; | ||
version = "0.5.0"; | ||
version = "0.6.0"; | ||
src = fetchzip { | ||
url = "https://github.com/piegamesde/nixfmt/archive/2b5ee820690bae64cb4003e46917ae43541e3e0b.tar.gz"; | ||
sha256 = "1i1jbc1q4gd7fpilwy6s3a583yl5l8d8rlmipygj61mpclg9ihqg"; | ||
url = "https://github.com/nixos/nixfmt/archive/83de1eceaae8a891ae52a3a2b82226540207309e.tar.gz"; | ||
sha256 = "0lnl9vlbyrfplmq3hpmpjlmhjdwwbgk900wgi25ib27v0mlgpnxp"; | ||
}; | ||
isLibrary = true; | ||
isExecutable = true; | ||
libraryHaskellDepends = [ | ||
base megaparsec mtl parser-combinators scientific text transformers | ||
base megaparsec mtl parser-combinators pretty-simple scientific | ||
text transformers | ||
]; | ||
executableHaskellDepends = [ | ||
base cmdargs directory filepath safe-exceptions text unix | ||
]; | ||
jailbreak = true; | ||
homepage = "https://github.com/serokell/nixfmt"; | ||
description = "An opinionated formatter for Nix"; | ||
homepage = "https://github.com/NixOS/nixfmt"; | ||
description = "Official formatter for Nix code"; | ||
license = lib.licenses.mpl20; | ||
mainProgram = "nixfmt"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters