diff options
author | Will Dietz <w@wdtz.org> | 2019-04-26 17:44:21 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2019-04-26 17:44:21 -0500 |
commit | 74273c47ef644de459fd969a039c9d39ed14f668 (patch) | |
tree | 4e76399e8796f0e252a01805b5e8c6302e2a79ab /pkgs/desktops/gnustep | |
parent | 0ecfae7c0f3800e03756aadea5fda043e4cab3fa (diff) |
libobjc2: pname, cmake as nativeBuildInput
Diffstat (limited to 'pkgs/desktops/gnustep')
-rw-r--r-- | pkgs/desktops/gnustep/libobjc2/default.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/desktops/gnustep/libobjc2/default.nix b/pkgs/desktops/gnustep/libobjc2/default.nix index cb4a609a4c1ce..b238623eb09a3 100644 --- a/pkgs/desktops/gnustep/libobjc2/default.nix +++ b/pkgs/desktops/gnustep/libobjc2/default.nix @@ -1,11 +1,8 @@ { stdenv, lib, fetchFromGitHub, cmake }: -let - version = "1.9"; -in - stdenv.mkDerivation rec { - name = "libobjc2-${version}"; + pname = "libobjc2"; + version = "1.9"; src = fetchFromGitHub { owner = "gnustep"; @@ -14,7 +11,7 @@ stdenv.mkDerivation rec { sha256 = "00pscl3ly3rv6alf9vk70kxnnxq2rfgpc1ylcv6cgjs9jxdnrqmn"; }; - buildInputs = [ cmake ]; + nativeBuildInputs = [ cmake ]; cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ]; |