🩹 fix for niv/haskell on aarch64-darwin
This commit is contained in:
parent
b0d60905ab
commit
f30e648d85
@ -3,12 +3,13 @@ let
|
||||
dotfiles = builtins.fetchTarball
|
||||
"https://github.com/walkah/dotfiles/archive/main.tar.gz";
|
||||
|
||||
in {
|
||||
in
|
||||
{
|
||||
imports = [ <home-manager/nix-darwin> ./homebrew.nix ];
|
||||
|
||||
# List packages installed in system profile. To search by name, run:
|
||||
# $ nix-env -qaP | grep wget
|
||||
environment.systemPackages = with pkgs; [ emacs-nox vim ghc stack ];
|
||||
environment.systemPackages = with pkgs; [ emacs-nox vim ghc go gopls niv rustup stack ];
|
||||
|
||||
# Use a custom configuration.nix location.
|
||||
# $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix
|
||||
@ -35,6 +36,16 @@ in {
|
||||
'';
|
||||
};
|
||||
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
haskellPackages = pkgs.haskellPackages.override {
|
||||
overrides = self: super: {
|
||||
niv = pkgs.haskell.lib.overrideCabal super.niv (drv: {
|
||||
enableSeparateBinOutput = false;
|
||||
});
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
zsh = {
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user