Created
October 18, 2017 20:33
-
-
Save rycee/c4a49338aa5c6571d78ef0710987527c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
let | |
stdenv = pkgs.stdenv; | |
deps = with pkgs; [ | |
zlib.out | |
xlibs.libSM.out | |
# More packages go here... | |
]; | |
in | |
stdenv.mkDerivation { | |
name = "qtjambivars"; | |
shellHook = '' | |
export LD_LIBRARY_PATH=${stdenv.lib.makeLibraryPath deps}''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment