tup: explain blocker for darwin build
This commit is contained in:
parent
31a3099d4b
commit
21f9e5aac2
@ -1,6 +1,8 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fuse3, pkg-config, pcre }:
|
||||
{ lib, stdenv, fetchFromGitHub, fuse3, macfuse-stubs, pkg-config, pcre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
fuse = if stdenv.isDarwin then macfuse-stubs else fuse3;
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "tup";
|
||||
version = "0.7.10";
|
||||
outputs = [ "bin" "man" "out" ];
|
||||
@ -13,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ fuse3 pcre ];
|
||||
buildInputs = [ fuse pcre ];
|
||||
|
||||
configurePhase = ''
|
||||
sed -i 's/`git describe`/v${version}/g' src/tup/link.sh
|
||||
@ -50,6 +52,13 @@ stdenv.mkDerivation rec {
|
||||
homepage = "http://gittup.org/tup/";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ ehmry ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
platforms = platforms.unix;
|
||||
|
||||
# TODO: Remove once nixpkgs uses newer SDKs that supports '*at' functions.
|
||||
# Probably MacOS SDK 10.13 or later. Check the current version in
|
||||
# ../../../../os-specific/darwin/apple-sdk/default.nix
|
||||
#
|
||||
# https://github.com/gittup/tup/commit/3697c74
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user