Skip to content

Commit

Permalink
feat: Update packages
Browse files Browse the repository at this point in the history
 + sgillespie.cachix.org
 + mingw64
 + All default packages
  • Loading branch information
sgillespie committed Jun 13, 2023
1 parent de828fe commit 5946f0c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ cabal.sandbox.config
cabal.project.local
cabal.project.local~
.HTF/
.ghc.environment.*
.ghc.environment.*

# Nix
.direnv
.envrc
15 changes: 11 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,20 @@
flake = pkgs.hixProject.flake {};
in flake // {
legacyPackages = pkgs;

packages.default = flake.packages."seangine:exe:seangine";
packages = flake.packages // {
default = flake.packages."seangine:exe:seangine";
};
});

nixConfig = {
extra-substituters = ["https://cache.iog.io"];
extra-trusted-public-keys = ["hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="];
extra-substituters = [
"https://sgillespie.cachix.org"
"https://cache.iog.io"
];
extra-trusted-public-keys = [
"sgillespie.cachix.org-1:Zgif/WHW2IzHqbMb1z56cMmV5tLAA+zW9d5iB5w/VU4="
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
];
allow-import-from-derivation = "true";
};
}
5 changes: 1 addition & 4 deletions nix/hix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
compiler-nix-name = "ghc928";

crossPlatforms = p: pkgs.lib.optionals pkgs.stdenv.hostPlatform.isx86_64 ([
# p.mingwW64
# p.ghcjs # TODO GHCJS support for GHC 9.2
] ++ pkgs.lib.optionals pkgs.stdenv.hostPlatform.isLinux [
# p.musl64
p.mingwW64
]);

shell.tools.cabal = "latest";
Expand Down

0 comments on commit 5946f0c

Please sign in to comment.