mirror of
https://github.com/Smaug123/nix-dotfiles
synced 2025-10-12 18:08:40 +00:00
Fix up Cmake again
This commit is contained in:
4
home.nix
4
home.nix
@@ -1,6 +1,6 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let username = "patrick"; in
|
||||
let username = "Patrick"; in
|
||||
let dotnet = pkgs.dotnet-sdk_6; in
|
||||
|
||||
{
|
||||
@@ -104,7 +104,7 @@ 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 -DCMAKE_AR=${pkgs.darwin.cctools}/bin/ar -DCMAKE_RANLIB=${pkgs.darwin.cctools}/bin/ranlib";
|
||||
cmake = "cmake -DCMAKE_MAKE_PROGRAM=${pkgs.gnumake}/bin/make -DCMAKE_AR=${pkgs.darwin.cctools}/bin/ar -DCMAKE_RANLIB=${pkgs.darwin.cctools}/bin/ranlib -DGMP_INCLUDE_DIR=${pkgs.gmp.dev}/include/";
|
||||
ar = "${pkgs.darwin.cctools}/bin/ar";
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user