cctools, darwin biutils: Use pname and version
This commit is contained in:
parent
234446a447
commit
ef328622e0
@ -14,7 +14,8 @@ in
|
|||||||
|
|
||||||
# TODO: loop over targetPrefixed binaries too
|
# TODO: loop over targetPrefixed binaries too
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "${targetPrefix}cctools-binutils-darwin";
|
pname = "${targetPrefix}cctools-binutils-darwin";
|
||||||
|
inherit (cctools) version;
|
||||||
outputs = [ "out" "info" "man" ];
|
outputs = [ "out" "info" "man" ];
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
mkdir -p $out/bin $out/include
|
mkdir -p $out/bin $out/include
|
||||||
|
@ -18,7 +18,7 @@ assert (!stdenv.hostPlatform.isDarwin) -> maloader != null;
|
|||||||
|
|
||||||
let
|
let
|
||||||
baseParams = rec {
|
baseParams = rec {
|
||||||
name = "${targetPrefix}cctools-port-${version}";
|
pname = "${targetPrefix}cctools-port";
|
||||||
version = "895";
|
version = "895";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user