Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christopher League
bookme
Commits
e9d771fc
Commit
e9d771fc
authored
May 13, 2019
by
Christopher League
Browse files
use nixpkgs-stackage in the build
instead of relying on it as an overlay
parent
cc0830f3
Pipeline
#825
passed with stage
in 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
default.nix
View file @
e9d771fc
{
nixpkgs
?
import
<
nixpkgs
>
{}
}:
with
nixpkgs
;
let
stackageSrc
=
builtins
.
fetchTarball
{
url
=
https://github.com/typeable/nixpkgs-stackage/archive/0c2597f1d300ea4d124c2078777d1bb598d6995f.tar.gz
;
sha256
=
"1imd6l6kc8ncw1jc7z9aj6spmm0a21l64ig45xfi0640df7v9x2r"
;
};
nixpkgs
=
import
<
nixpkgs
>
{
overlays
=
[
(
import
stackageSrc
)
];
};
inherit
(
nixpkgs
)
pkgs
lib
;
# This requires the nixpkgs-stackage overlay.
hpkgs
=
nixpkgs
.
pkgs
.
haskell
.
packages
.
stackage
.
lts-1110
;
hlib
=
nixpkgs
.
pkgs
.
haskell
.
lib
;
hpkgs
=
pkgs
.
haskell
.
packages
.
stackage
.
lts-1110
;
hlib
=
pkgs
.
haskell
.
lib
;
# The gogol package is not part of stackage LTS, and it's a bit
# tricky to build. Best results so far are with LTS specified above
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment