···28 else if final.isLinux then "glibc"
29 # TODO(@Ericson2314) think more about other operating systems
30 else "native/impure";
00000000031 } // mapAttrs (n: v: v final.parsed) inspect.predicates
32 // args;
33 in final;
···28 else if final.isLinux then "glibc"
29 # TODO(@Ericson2314) think more about other operating systems
30 else "native/impure";
31+ extensions = {
32+ sharedLibrary =
33+ /**/ if final.isDarwin then ".dylib"
34+ else if final.isWindows then ".dll"
35+ else ".so";
36+ executable =
37+ /**/ if final.isWindows then ".exe"
38+ else "";
39+ };
40 } // mapAttrs (n: v: v final.parsed) inspect.predicates
41 // args;
42 in final;
+1-1
nixos/modules/hardware/raid/hpsa.nix
···2425 for file in $out/bin/*; do
26 chmod +w $file
27- patchelf --set-interpreter "$(cat $NIX_BINUTILS/nix-support/dynamic-linker)" \
28 --set-rpath ${lib.makeLibraryPath [ pkgs.stdenv.cc.cc ]} \
29 $file
30 done
···2425 for file in $out/bin/*; do
26 chmod +w $file
27+ patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
28 --set-rpath ${lib.makeLibraryPath [ pkgs.stdenv.cc.cc ]} \
29 $file
30 done
···1-{ stdenv, fetchurl, unzip, mono, avrgcclibc, avrdude, gtk2, xdg_utils }:
23stdenv.mkDerivation rec {
4 name = "avrdudess-2.2.20140102";
···23 export LD_LIBRARY_PATH="${stdenv.lib.makeLibraryPath [gtk2 mono]}"
24 # We need PATH from user env for xdg-open to find its tools, which
25 # typically depend on the currently running desktop environment.
26- export PATH="${stdenv.lib.makeBinPath [ avrgcclibc avrdude xdg_utils ]}:\$PATH"
2728 # avrdudess must have its resource files in its current working directory
29 cd $out/avrdudess && exec ${mono}/bin/mono "$out/avrdudess/avrdudess.exe" "\$@"
···1+{ stdenv, fetchurl, unzip, mono, avrbinutils, avrgcc, avrdude, gtk2, xdg_utils }:
23stdenv.mkDerivation rec {
4 name = "avrdudess-2.2.20140102";
···23 export LD_LIBRARY_PATH="${stdenv.lib.makeLibraryPath [gtk2 mono]}"
24 # We need PATH from user env for xdg-open to find its tools, which
25 # typically depend on the currently running desktop environment.
26+ export PATH="${stdenv.lib.makeBinPath [ avrgcc avrbinutils avrdude xdg_utils ]}:\$PATH"
2728 # avrdudess must have its resource files in its current working directory
29 cd $out/avrdudess && exec ${mono}/bin/mono "$out/avrdudess/avrdudess.exe" "\$@"
···89let
10 mavenRepo = import ./mesos-deps.nix { inherit stdenv curl; };
11- soext = if stdenv.system == "x86_64-darwin" then "dylib" else "so";
12 # `tar -z` requires gzip on $PATH, so wrap tar.
13 # At some point, we should try to patch mesos so we add gzip to the PATH when
14 # tar is invoked. I think that only needs to be done here:
···193 mkdir -p $out/share/java
194 cp src/java/target/mesos-*.jar $out/share/java
195196- MESOS_NATIVE_JAVA_LIBRARY=$out/lib/libmesos.${soext}
197198 mkdir -p $out/nix-support
199 touch $out/nix-support/setup-hook
···89let
10 mavenRepo = import ./mesos-deps.nix { inherit stdenv curl; };
011 # `tar -z` requires gzip on $PATH, so wrap tar.
12 # At some point, we should try to patch mesos so we add gzip to the PATH when
13 # tar is invoked. I think that only needs to be done here:
···192 mkdir -p $out/share/java
193 cp src/java/target/mesos-*.jar $out/share/java
194195+ MESOS_NATIVE_JAVA_LIBRARY=$out/lib/libmesos${stdenv.hostPlatform.extensions.sharedLibrary}
196197 mkdir -p $out/nix-support
198 touch $out/nix-support/setup-hook
···1+{ stdenv, fetchurl, avrgcc, avrbinutils, automake, autoconf }:
2+3+let
4+ version = "2.0.0";
5+in
6+stdenv.mkDerivation {
7+ name = "avr-libc-${version}";
8+9+ src = fetchurl {
10+ url = http://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.0.0.tar.bz2;
11+ sha256 = "15svr2fx8j6prql2il2fc0ppwlv50rpmyckaxx38d3gxxv97zpdj";
12+ };
13+14+ buildInputs = [ avrgcc avrbinutils automake autoconf ];
15+ configurePhase = ''
16+ unset LD
17+ unset AS
18+ unset AR
19+ unset CC
20+ unset CXX
21+ unset RANLIB
22+ unset STRIP
23+24+ ./configure --prefix=$out --build=$(./config.guess) --host=avr
25+ '';
26+27+ # Make sure we don't strip the libraries in lib/gcc/avr.
28+ stripDebugList= "bin";
29+ dontPatchELF = true;
30+31+ meta = with stdenv.lib; {
32+ description = "a C runtime library for AVR microcontrollers";
33+ homepage = http://savannah.nongnu.org/projects/avr-libc/;
34+ license = licenses.bsd3;
35+ platforms = platforms.unix;
36+ maintainers = with maintainers; [ mguentner ];
37+ };
38+}
+1-1
pkgs/development/node-packages/README.md
···5 1. Modify `pkgs/development/node-packages/node-packages-v6.json` to add, update
6 or remove package entries. (Or `pkgs/development/node-packages/node-packages-v4.json`
7 for packagages depending on Node.js 4.x)
8- 2. Run the script: `cd pkgs/development/node-packages && ./generate.sh`.
9 3. Build your new package to test your changes:
10 `cd /path/to/nixpkgs && nix-build -A nodePackages.<new-or-updated-package>`.
11 To build against a specific Node.js version (e.g. 4.x):
···5 1. Modify `pkgs/development/node-packages/node-packages-v6.json` to add, update
6 or remove package entries. (Or `pkgs/development/node-packages/node-packages-v4.json`
7 for packagages depending on Node.js 4.x)
8+ 2. Run the script: `(cd pkgs/development/node-packages && ./generate.sh)`.
9 3. Build your new package to test your changes:
10 `cd /path/to/nixpkgs && nix-build -A nodePackages.<new-or-updated-package>`.
11 To build against a specific Node.js version (e.g. 4.x):
···28 meta = with stdenv.lib; {
29 description = "Backports of new features in Python’s weakref module";
30 license = licenses.psfl;
31- maintainers = with maintainers; [ jpbernardy ];
32 };
33}
···28 meta = with stdenv.lib; {
29 description = "Backports of new features in Python’s weakref module";
30 license = licenses.psfl;
31+ maintainers = with maintainers; [ jyp ];
32 };
33}
···23 meta = {
24 license = lib.licenses.mit;
25 description = "smart_open is a Python 2 & Python 3 library for efficient streaming of very large file";
26- maintainers = with lib.maintainers; [ jpbernardy ];
27 };
28}
···23 meta = {
24 license = lib.licenses.mit;
25 description = "smart_open is a Python 2 & Python 3 library for efficient streaming of very large file";
26+ maintainers = with lib.maintainers; [ jyp ];
27 };
28}