tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
libiberty: Add dev output
John Ericson
8 years ago
c0a04ec2
9ea242c6
+8
-4
2 changed files
expand all
collapse all
unified
split
lib
maintainers.nix
pkgs
development
libraries
libiberty
default.nix
+1
lib/maintainers.nix
···
205
eqyiel = "Ruben Maher <r@rkm.id.au>";
206
ericbmerritt = "Eric Merritt <eric@afiniate.com>";
207
ericsagnes = "Eric Sagnes <eric.sagnes@gmail.com>";
0
208
erictapen = "Justin Humm <justin.humm@posteo.de>";
209
erikryb = "Erik Rybakken <erik.rybakken@math.ntnu.no>";
210
ertes = "Ertugrul Söylemez <esz@posteo.de>";
···
205
eqyiel = "Ruben Maher <r@rkm.id.au>";
206
ericbmerritt = "Eric Merritt <eric@afiniate.com>";
207
ericsagnes = "Eric Sagnes <eric.sagnes@gmail.com>";
208
+
ericson2314 = "John Ericson <John.Ericson@Obsidian.Systems>";
209
erictapen = "Justin Humm <justin.humm@posteo.de>";
210
erikryb = "Erik Rybakken <erik.rybakken@math.ntnu.no>";
211
ertes = "Ertugrul Söylemez <esz@posteo.de>";
+7
-4
pkgs/development/libraries/libiberty/default.nix
···
1
-
{ stdenv, lib, fetchurl, gcc, staticBuild ? false }:
2
3
stdenv.mkDerivation rec {
4
name = "libiberty-${gcc.cc.version}";
5
6
inherit (gcc.cc) src;
7
0
0
8
postUnpack = "sourceRoot=\${sourceRoot}/libiberty";
9
10
-
configureFlags = [ "--enable-install-libiberty" ] ++ lib.optional (!staticBuild) "--enable-shared";
0
11
12
-
postInstall = lib.optionalString (!staticBuild) ''
13
cp pic/libiberty.a $out/lib*/libiberty.a
14
'';
15
···
17
homepage = http://gcc.gnu.org/;
18
license = licenses.lgpl2;
19
description = "Collection of subroutines used by various GNU programs";
20
-
maintainers = with maintainers; [ abbradar ];
21
platforms = platforms.unix;
22
};
23
}
···
1
+
{ stdenv, fetchurl, gcc, staticBuild ? false }:
2
3
stdenv.mkDerivation rec {
4
name = "libiberty-${gcc.cc.version}";
5
6
inherit (gcc.cc) src;
7
8
+
outputs = [ "out" "dev" ];
9
+
10
postUnpack = "sourceRoot=\${sourceRoot}/libiberty";
11
12
+
configureFlags = [ "--enable-install-libiberty" ]
13
+
++ stdenv.lib.optional (!staticBuild) "--enable-shared";
14
15
+
postInstall = stdenv.lib.optionalString (!staticBuild) ''
16
cp pic/libiberty.a $out/lib*/libiberty.a
17
'';
18
···
20
homepage = http://gcc.gnu.org/;
21
license = licenses.lgpl2;
22
description = "Collection of subroutines used by various GNU programs";
23
+
maintainers = with maintainers; [ abbradar ericson2314 ];
24
platforms = platforms.unix;
25
};
26
}