From c2bba4760c2c16f798821740091a7f165055b234 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 7 Jun 2022 11:30:30 +0000 Subject: [PATCH] Update default.nix to build with pinned nixpkgs (fixes #113) --- default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.nix b/default.nix index ef58216..bde26d6 100644 --- a/default.nix +++ b/default.nix @@ -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 @@ -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"