mirror of
https://github.com/input-output-hk/foliage.git
synced 2024-12-02 07:54:45 +03:00
Dance around compiler versions
This commit is contained in:
parent
3e99be2211
commit
164217b7fb
@ -1,5 +1,5 @@
|
||||
packages: .
|
||||
index-state: 2022-08-29T00:00:00Z
|
||||
index-state: 2023-01-08T00:00:00Z
|
||||
with-compiler: ghc-9.2.5
|
||||
allow-newer:
|
||||
, tomland:base
|
||||
|
18
flake.nix
18
flake.nix
@ -18,17 +18,18 @@
|
||||
overlays = [ haskell-nix.overlay ];
|
||||
};
|
||||
|
||||
pkgs-static-where-possible = if pkgs.stdenv.hostPlatform.isLinux then
|
||||
if pkgs.stdenv.hostPlatform.isAarch64 then
|
||||
pkgs.pkgsCross.aarch64-multiplatform-musl
|
||||
pkgs-static-where-possible =
|
||||
if pkgs.stdenv.hostPlatform.isLinux then
|
||||
if pkgs.stdenv.hostPlatform.isAarch64 then
|
||||
pkgs.pkgsCross.aarch64-multiplatform-musl
|
||||
else
|
||||
pkgs.pkgsCross.musl64
|
||||
else
|
||||
pkgs.pkgsCross.musl64
|
||||
else
|
||||
pkgs;
|
||||
pkgs;
|
||||
|
||||
project = pkgs-static-where-possible.haskell-nix.cabalProject' {
|
||||
src = ./.;
|
||||
compiler-nix-name = "ghc8107";
|
||||
compiler-nix-name = "ghc925";
|
||||
shell.tools = {
|
||||
cabal = { };
|
||||
hlint = { };
|
||||
@ -38,7 +39,8 @@
|
||||
|
||||
flake = project.flake { };
|
||||
|
||||
in flake // { packages.default = flake.packages."foliage:exe:foliage"; });
|
||||
in
|
||||
flake // { packages.default = flake.packages."foliage:exe:foliage"; });
|
||||
|
||||
nixConfig = {
|
||||
extra-substituters = [
|
||||
|
Loading…
Reference in New Issue
Block a user