Skip to content

Commit

Permalink
Update default.nix to build with pinned nixpkgs (fixes nh2#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
robx committed Jun 7, 2022
1 parent bd66b86 commit c2bba47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Note: This is just a minimal example. For proper usage, see the README.

{ nixpkgs ? (import ./nixpkgs.nix).pkgsMusl, compiler ? "ghc864", strip ? true }:
{ nixpkgs ? (import ./nixpkgs.nix).pkgsMusl, compiler ? "ghc8104", strip ? true }:


let
Expand All @@ -21,7 +21,7 @@ let
enableSharedExecutables = false;
enableSharedLibraries = false;
executableHaskellDepends = [ base scotty ];
license = stdenv.lib.licenses.bsd3;
license = pkgs.lib.licenses.bsd3;
configureFlags = [
"--ghc-option=-optl=-static"
"--extra-lib-dirs=${pkgs.gmp6.override { withStatic = true; }}/lib"
Expand Down

0 comments on commit c2bba47

Please sign in to comment.