Update dependencies

This commit is contained in:
Charlotte Van Petegem 2021-06-10 10:13:45 +02:00
parent 4555e8ffd2
commit 5f4193f20e
No known key found for this signature in database
GPG key ID: 019E764B7184435A
3 changed files with 10 additions and 37 deletions

View file

@ -1,6 +1,6 @@
let
pkgs = import <nixpkgs> { };
extraRpath = pkgs.stdenv.lib.strings.makeLibraryPath (with pkgs; [ ffmpeg_3 ]);
extraRpath = pkgs.lib.strings.makeLibraryPath (with pkgs; [ ffmpeg_3 ]);
java = pkgs.writeShellScriptBin "java" ''
old_path="$(patchelf --print-rpath ${pkgs.jdk11}/bin/java)"
LD_LIBRARY_PATH="$old_path:${extraRpath}" ${pkgs.jdk11}/bin/java $@