lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

ustr: migrate to by-name

+16 -10
+16 -8
pkgs/development/libraries/ustr/default.nix pkgs/by-name/us/ustr/package.nix
··· 1 - { lib, stdenv, fetchgit }: 1 + { 2 + lib, 3 + stdenv, 4 + fetchgit, 5 + }: 2 6 3 7 stdenv.mkDerivation (finalAttrs: { 4 8 pname = "ustr"; ··· 18 22 19 23 # Fix detection of stdint.h 20 24 postPatch = '' 21 - sed -i 's,\(have_stdint_h\)=0,\1=1,g' Makefile 22 - sed -i 's,\(USTR_CONF_HAVE_STDINT_H\) 0,\1 1,g' ustr-import.in 23 - ''; 25 + substituteInPlace Makefile \ 26 + --replace-fail "have_stdint_h=0" "have_stdint_h=1" 24 27 25 - preBuild = '' 26 - makeFlagsArray+=("prefix=$out") 27 - makeFlagsArray+=("LDCONFIG=echo") 28 - makeFlagsArray+=("HIDE=") 28 + cat ustr-import.in | grep USTR_CONF 29 + substituteInPlace ustr-import.in \ 30 + --replace-fail "USTR_CONF_HAVE_STDINT_H 0" "USTR_CONF_HAVE_STDINT_H 1" 29 31 ''; 32 + 33 + makeFlags = [ 34 + "prefix=${placeholder "out"}" 35 + "LDCONFIG=echo" 36 + "HIDE=" 37 + ]; 30 38 31 39 # Remove debug libraries 32 40 postInstall = ''
pkgs/development/libraries/ustr/va_args.patch pkgs/by-name/us/ustr/va_args.patch
-2
pkgs/top-level/all-packages.nix
··· 24804 24804 24805 24805 unixODBCDrivers = recurseIntoAttrs (callPackages ../development/libraries/unixODBCDrivers { }); 24806 24806 24807 - ustr = callPackage ../development/libraries/ustr { }; 24808 - 24809 24807 usrsctp = callPackage ../development/libraries/usrsctp { }; 24810 24808 24811 24809 usbredir = callPackage ../development/libraries/usbredir { };