mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
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
|
||||
stdenv.mkDerivation {
|
||||
name = "${targetPrefix}cctools-binutils-darwin";
|
||||
pname = "${targetPrefix}cctools-binutils-darwin";
|
||||
inherit (cctools) version;
|
||||
outputs = [ "out" "info" "man" ];
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin $out/include
|
||||
|
@ -18,7 +18,7 @@ assert (!stdenv.hostPlatform.isDarwin) -> maloader != null;
|
||||
|
||||
let
|
||||
baseParams = rec {
|
||||
name = "${targetPrefix}cctools-port-${version}";
|
||||
pname = "${targetPrefix}cctools-port";
|
||||
version = "895";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
Loading…
Reference in New Issue
Block a user