uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
18
pkgs/development/lisp-modules/openssl-lib-marked.nix
Normal file
18
pkgs/development/lisp-modules/openssl-lib-marked.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
with import ../../../default.nix {};
|
||||
runCommand "openssl-lib-marked" {} ''
|
||||
mkdir -p "$out/lib"
|
||||
for lib in ssl crypto; do
|
||||
version="${lib.getVersion openssl}"
|
||||
ln -s "${lib.getLib openssl}/lib/lib$lib.so" "$out/lib/lib$lib.so.$version"
|
||||
version="$(echo "$version" | sed -re 's/[a-z]+$//')"
|
||||
while test -n "$version"; do
|
||||
ln -sfT "${lib.getLib openssl}/lib/lib$lib.so" "$out/lib/lib$lib.so.$version"
|
||||
nextversion="''${version%.*}"
|
||||
if test "$version" = "$nextversion"; then
|
||||
version=
|
||||
else
|
||||
version="$nextversion"
|
||||
fi
|
||||
done
|
||||
done
|
||||
''
|
||||
Loading…
Add table
Add a link
Reference in a new issue