Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00

155 lines
2.3 KiB
Nix

# This has been automatically generated by the script
# ./update.sh. This should not be changed by hand.
{
mkDerivation,
aeson,
aeson-pretty,
ansi-terminal,
async-pool,
base,
bower-json,
bytestring,
containers,
cryptonite,
dhall,
directory,
either,
extra,
fetchgit,
file-embed,
filepath,
foldl,
fsnotify,
generic-lens,
Glob,
hspec,
hspec-discover,
hspec-megaparsec,
http-client,
http-conduit,
http-types,
lens-family-core,
lib,
megaparsec,
mtl,
network-uri,
open-browser,
optparse-applicative,
prettyprinter,
process,
QuickCheck,
retry,
rio,
rio-orphans,
safe,
semver-range,
stm,
stringsearch,
tar,
template-haskell,
temporary,
text,
time,
transformers,
turtle,
unliftio,
unordered-containers,
uri-encode,
utf8-string,
versions,
with-utf8,
yaml,
zlib,
}:
mkDerivation {
pname = "spago";
version = "0.21.0";
src = fetchgit {
url = "https://github.com/purescript/spago.git";
sha256 = "1v5y15nhw6smnir0y7y854pa70iv8asxsqph2y8rz1c9lkz5d41g";
rev = "c354f4a461f65fcb83aaa843830ea1589f6c7179";
fetchSubmodules = true;
};
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson
aeson-pretty
ansi-terminal
async-pool
base
bower-json
bytestring
containers
cryptonite
dhall
directory
either
file-embed
filepath
foldl
fsnotify
generic-lens
Glob
http-client
http-conduit
http-types
lens-family-core
megaparsec
mtl
network-uri
open-browser
optparse-applicative
prettyprinter
process
retry
rio
rio-orphans
safe
semver-range
stm
stringsearch
tar
template-haskell
temporary
text
time
transformers
turtle
unliftio
unordered-containers
uri-encode
utf8-string
versions
with-utf8
yaml
zlib
];
executableHaskellDepends = [
ansi-terminal
base
text
turtle
with-utf8
];
testHaskellDepends = [
base
containers
directory
extra
hspec
hspec-megaparsec
megaparsec
process
QuickCheck
temporary
text
turtle
versions
];
testToolDepends = [ hspec-discover ];
homepage = "https://github.com/purescript/spago#readme";
license = lib.licenses.bsd3;
mainProgram = "spago";
}