Merge pull request #333192 from helsinki-systems/upd/nixfmt-rfc-style

nixfmt-rfc-style: 2024-07-12 -> 2024-08-08
This commit is contained in:
Silvan Mosberger
2024-08-08 16:58:29 +02:00
committed by GitHub
3 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -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";
+5 -1
View File
@@ -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