| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
| |
This reverts commit 4e6bf03504c9e09f067cc6dee6b5aeec43a1405c, reversing
changes made to afd997aab6e9b7a322198092c7828d6c560ac06f.
Instead we propagate those frameworks from the compiler again
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While we currently don't have a pure swift build on macOS it's possible
to build mpv using the swift compiler from CLT. eg.
self: super:
let
CommandLineTools = "/Library/Developer/CommandLineTools";
in
{
swift = super.stdenv.mkDerivation {
name = "swift-CommandLineTools-0.0.0";
phases = [ "installPhase" "fixupPhase" ];
propagatedBuildInputs = [ self.darwin.DarwinTools ];
installPhase = ''
mkdir -p $out/bin $out/lib
ln -s ${CommandLineTools}/usr/bin/swift $out/bin
ln -s ${CommandLineTools}/usr/lib/swift $out/lib
ln -s ${CommandLineTools}/SDKs $out
'';
setupHook = builtins.toFile "hook" ''
addCommandLineTools() {
echo >&2
echo "WARNING: this is impure and unreliable, make sure the CommandLineTools are installed!" >&2
echo " $ xcode-select --install" >&2
echo >&2
[ -d ${CommandLineTools} ]
export NIX_LDFLAGS+=" -L@out@/lib/swift/macosx"
export SWIFT=swift
export SWIFT_LIB_DYNAMIC=@out@/lib/swift/macosx
export MACOS_SDK_VERSION=$(sw_vers -productVersion | awk -F. '{print $1 "." $2}')
export MACOS_SDK=@out@/SDKs/MacOSX$MACOS_SDK_VERSION.sdk
}
prePhases+=" addCommandLineTools"
'';
__impureHostDeps = [ CommandLineTools ];
};
mpv = super.mpv.override { swiftSupport = true; };
}
|
| |
|
|
|
|
| |
- - nixpkgs now with full darwin support
|
|\
| |
| | |
darwin-stdenv: bootstrap with python3
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | | |
The nss rebuild isn't so small.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Removed the unnecessary libmicrohttpd dependency, which doesn't
build on macOS. KeepassXC removed this dependency in 2.1.2
- Fixed a compiler error related to the Touch ID feature by adding a
dependency on the LocalAuthentication framework
|
| |/
| |
| |
| | |
Add macOS Catalina (10.15) "support".
|
|\ \
| |/
|/| |
Update iOS for XCode 11
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
libtool is not really needed and it interferes with
updateAutotoolsGnuConfigScriptsHook. So remove it when
cross-compiling, but leave it in native to preserve hashes.
|
| | | |
|
| | |
| | |
| | |
| | | |
Apple no longer ships with it, so best to avoid forcing it into use.
|
| | | |
|
| | | |
|
| | | |
|
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
Using a function in an if condition when set -e is set doesn't seem to
break out or return false which means the workaround from 41ca86129fa18278758e177d1821351dc608d24c
never gets triggered.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Use autoreconfHook instead of preConfigure autogen.sh. This avoids
getting the bad version of the gnu-config script and makes the newish
iOS triples work.
|
| |
| |
| |
| |
| | |
This patch is needed to build ghc, which adds -rpath flags for some
reason. Updated patch for newest cctools and reapplied.
|
|\ \
| | |
| | |
| | | |
dnicponski/scratch/update_darwin_cctools
|
| |\ \
| | | |
| | | | |
compilers, binutils: Add version and pname
|
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
libtool is not really needed and it interferes with
updateAutotoolsGnuConfigScriptsHook. So remove it when
cross-compiling, but leave it in native to preserve hashes.
|
| | | |
|
|/ /
| |
| |
| |
| | |
Update the version of `cctools` on darwin. The older version fails
to work on some modern packages, such as `bazel 1.1`.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Based on testing this issue seems to only occur with clang_7, so
we should be able to revert this when the default llvm versions are
updated.
Fixes #66811
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
| |
* wifi-password: init at 0.1.0
* Apply suggestions from code review
Co-Authored-By: symphorien <symphorien@users.noreply.github.com>
|
| |
|
|\ |
|
| |\ |
|
| | | |
|
|/ / |
|
|\| |
|
| | |
|
|/
|
|
|
|
|
|
|
| |
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
|
|\ |
|