Enough to build Lean

This commit is contained in:
Smaug123
2021-12-05 15:22:43 +00:00
parent 13e0ea2511
commit db1d15fdf2

View File

@@ -24,7 +24,7 @@ let dotnet = pkgs.dotnet-sdk_6; in
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "21.05";
home.stateVersion = "21.11";
home.packages =
[
@@ -99,7 +99,8 @@ let dotnet = pkgs.dotnet-sdk_6; in
vim = "nvim";
view = "vim -R";
nix-upgrade = "sudo -i sh -c 'nix-channel --update && nix-env -iA nixpkgs.nix && launchctl remove org.nixos.nix-daemon && launchctl load /Library/LaunchDaemons/org.nixos.nix-daemon.plist'";
cmake = "cmake -DCMAKE_MAKE_PROGRAM=${pkgs.gnumake}/bin/make";
cmake = "cmake -DCMAKE_MAKE_PROGRAM=${pkgs.gnumake}/bin/make -DCMAKE_AR=${pkgs.darwin.cctools}/bin/ar -DCMAKE_RANLIB=${pkgs.darwin.cctools}/bin/ranlib";
ar = "${pkgs.darwin.cctools}/bin/ar";
};
};