Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
horizon-platform
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Théophile Choutri
horizon-platform
Commits
b011fc27
Commit
b011fc27
authored
1 year ago
by
Raoul Hidalgo Charman
Browse files
Options
Downloads
Patches
Plain Diff
Add cabal-fmt
parent
6ff00701
Branches
Branches containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
horizon.dhall
+1
-0
1 addition, 0 deletions
horizon.dhall
horizon.lock
+4
-0
4 additions, 0 deletions
horizon.lock
overlay.nix
+2
-0
2 additions, 0 deletions
overlay.nix
pkgs/cabal-fmt.nix
+35
-0
35 additions, 0 deletions
pkgs/cabal-fmt.nix
with
42 additions
and
0 deletions
horizon.dhall
+
1
−
0
View file @
b011fc27
...
...
@@ -91,6 +91,7 @@ let packages =
, bytestring-tree-builder =
H.callHackage "bytestring-tree-builder" "0.2.7.11"
, c2hs = H.callHackage "c2hs" "0.28.8"
, cabal-fmt = H.callHackage "cabal-fmt" "0.1.9"
, cache = H.callHackage "cache" "0.1.3.0"
, canonical-json = H.callHackage "canonical-json" "0.6.0.1"
, casing = H.callHackage "casing" "0.1.4.1"
...
...
This diff is collapsed.
Click to expand it.
horizon.lock
+
4
−
0
View file @
b011fc27
...
...
@@ -278,6 +278,10 @@
, mapValue =
"6d6262823310cf14a23c4fb5e0374a16a29b0ca6f667e9d0510f17383c3951b0"
}
, { mapKey = "cabal-fmt"
, mapValue =
"7da8d5b11fb001d85323ae05a3b1b090b35e55f93d2ed5bba5aef3c18d711623"
}
, { mapKey = "cache"
, mapValue =
"a49e00288043640d75f03ee1ef20218116f36561ef2573ac7321fcf6b3881105"
...
...
This diff is collapsed.
Click to expand it.
overlay.nix
+
2
−
0
View file @
b011fc27
...
...
@@ -141,6 +141,8 @@ final: prev: with pkgs.haskell.lib; {
c2hs
=
final
.
callPackage
(
./pkgs/c2hs.nix
)
{
};
cabal-fmt
=
final
.
callPackage
(
./pkgs/cabal-fmt.nix
)
{
};
cache
=
final
.
callPackage
(
./pkgs/cache.nix
)
{
};
canonical-json
=
final
.
callPackage
(
./pkgs/canonical-json.nix
)
{
};
...
...
This diff is collapsed.
Click to expand it.
pkgs/cabal-fmt.nix
0 → 100644
+
35
−
0
View file @
b011fc27
{
mkDerivation
,
Cabal-syntax
,
QuickCheck
,
base
,
bytestring
,
containers
,
directory
,
filepath
,
integer-logarithms
,
lib
,
mtl
,
optparse-applicative
,
parsec
,
pretty
,
process
,
tasty
,
tasty-golden
,
tasty-hunit
,
tasty-quickcheck
,
temporary
}:
mkDerivation
{
pname
=
"cabal-fmt"
;
version
=
"0.1.9"
;
sha256
=
"963c57afe24e450733feb536fde3478412a3b423f748a4858504c0134ff76c01"
;
isLibrary
=
false
;
isExecutable
=
true
;
enableSeparateDataOutput
=
false
;
libraryHaskellDepends
=
[
base
bytestring
Cabal-syntax
containers
directory
filepath
mtl
parsec
pretty
];
executableHaskellDepends
=
[
base
bytestring
directory
filepath
optparse-applicative
];
testHaskellDepends
=
[
base
bytestring
Cabal-syntax
containers
filepath
integer-logarithms
process
QuickCheck
tasty
tasty-golden
tasty-hunit
tasty-quickcheck
temporary
];
enableLibraryProfiling
=
true
;
enableExecutableProfiling
=
true
;
doHaddock
=
false
;
jailbreak
=
true
;
doCheck
=
false
;
doBenchmark
=
false
;
hyperlinkSource
=
false
;
description
=
"Format .cabal files"
;
license
=
"GPL-3.0-or-later AND BSD-3-Clause"
;
broken
=
false
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment