Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
head.hackage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alex Biehl
head.hackage
Commits
176a73bb
Commit
176a73bb
authored
6 years ago
by
Kosyrev Serge
Browse files
Options
Downloads
Patches
Plain Diff
review: apply suggestion by Matthew Pickering
parent
6956c2fd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/overrides.nix
+4
-12
4 additions, 12 deletions
scripts/overrides.nix
with
4 additions
and
12 deletions
scripts/overrides.nix
+
4
−
12
View file @
176a73bb
...
@@ -4,18 +4,10 @@
...
@@ -4,18 +4,10 @@
# it can either be a local directory or fetched from the web
# it can either be a local directory or fetched from the web
}:
}:
let
let
ghc
=
(
haskell
.
packages
.
ghc822
.
override
(
oldArgs
:
{
hpkgs
=
haskell
.
packages
.
ghc822
.
extend
(
self
:
super
:
overrides
=
self
:
super
:
{
aeson
=
haskell
.
lib
.
addBuildDepends
super
.
aeson
[
self
.
contravariant
];
});
let
parent
=
(
oldArgs
.
overrides
or
(
_
:
_
:
{}))
self
super
;
ghc
=
hpkgs
.
ghcWithPackages
(
ps
:
with
ps
;
in
[
hopenssl
distribution-nixpkgs
]);
parent
//
(
with
haskell
.
lib
;
with
self
;
{
aeson
=
overrideCabal
super
.
aeson
(
drv
:
{
libraryHaskellDepends
=
drv
.
libraryHaskellDepends
++
[
contravariant
];
});
});
}))
.
ghcWithPackages
(
ps
:
with
ps
;
[
ps
.
hopenssl
ps
.
distribution-nixpkgs
]);
in
in
stdenv
.
mkDerivation
{
stdenv
.
mkDerivation
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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