nixfmt-rfc-style: 2024-07-12 -> 2024-08-08
- nixfmt --version shows the actual version, closes https://github.com/NixOS/nixfmt/issues/229 - Support for pipe operators - Fix for an infinite recursion
This commit is contained in:
@@ -1 +1 @@
|
||||
2024-07-12
|
||||
2024-08-08
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
# This file has been autogenerate with cabal2nix.
|
||||
# Update via ./update.sh
|
||||
{ mkDerivation, base, cmdargs, directory, fetchzip, filepath, lib
|
||||
, megaparsec, mtl, parser-combinators, pretty-simple
|
||||
, safe-exceptions, scientific, text, transformers, unix
|
||||
{ mkDerivation, base, bytestring, cmdargs, directory, fetchzip
|
||||
, file-embed, filepath, lib, megaparsec, mtl, parser-combinators
|
||||
, pretty-simple, safe-exceptions, scientific, text, transformers
|
||||
, unix
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "nixfmt";
|
||||
version = "0.6.0";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/nixos/nixfmt/archive/83de1eceaae8a891ae52a3a2b82226540207309e.tar.gz";
|
||||
sha256 = "0lnl9vlbyrfplmq3hpmpjlmhjdwwbgk900wgi25ib27v0mlgpnxp";
|
||||
url = "https://github.com/nixos/nixfmt/archive/a707c70ab6fed71032ac55bb1029306a50a80d34.tar.gz";
|
||||
sha256 = "1v5hch8j1w1bvn2r4xz4ym60ykgsc074y28vpin9qraagv06x8sm";
|
||||
};
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
@@ -18,7 +19,8 @@ mkDerivation {
|
||||
text transformers
|
||||
];
|
||||
executableHaskellDepends = [
|
||||
base cmdargs directory filepath safe-exceptions text unix
|
||||
base bytestring cmdargs directory file-embed filepath
|
||||
safe-exceptions text unix
|
||||
];
|
||||
jailbreak = true;
|
||||
homepage = "https://github.com/NixOS/nixfmt";
|
||||
|
||||
@@ -8,13 +8,17 @@
|
||||
let
|
||||
inherit (haskell.lib.compose) overrideCabal justStaticExecutables;
|
||||
|
||||
overrides = {
|
||||
overrides = rec {
|
||||
version = "unstable-${lib.fileContents ./date.txt}";
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
||||
maintainers = lib.teams.formatter.members;
|
||||
|
||||
preBuild = ''
|
||||
echo -n 'nixpkgs-${version}' > .version
|
||||
'';
|
||||
|
||||
# These tests can be run with the following command.
|
||||
#
|
||||
# $ nix-build -A nixfmt-rfc-style.tests
|
||||
|
||||
Reference in New Issue
Block a user