urbit: clean-up
This commit is contained in:
parent
26875910cb
commit
93a056993f
@ -1,5 +1,6 @@
|
|||||||
{ curl, fetchFromGitHub, gcc, git, gmp, libsigsegv, meson, ncurses, ninja,
|
{ stdenv, fetchFromGitHub, curl, git, gmp, libsigsegv, meson, ncurses, ninja
|
||||||
openssl, pkgconfig, re2c, stdenv, zlib }:
|
, openssl, pkgconfig, re2c, zlib
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "urbit-${version}";
|
name = "urbit-${version}";
|
||||||
@ -14,22 +15,12 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ninja meson ];
|
nativeBuildInputs = [ pkgconfig ninja meson ];
|
||||||
|
buildInputs = [ curl git gmp libsigsegv ncurses openssl re2c zlib ];
|
||||||
buildInputs = with stdenv.lib; [
|
|
||||||
curl gcc git gmp libsigsegv ncurses openssl re2c zlib
|
|
||||||
];
|
|
||||||
|
|
||||||
# uses 'readdir_r' deprecated by glibc 2.24
|
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
'';
|
'';
|
||||||
|
|
||||||
mesonFlags = [
|
|
||||||
"--buildtype=release"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An operating function";
|
description = "An operating function";
|
||||||
homepage = https://urbit.org;
|
homepage = https://urbit.org;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user