-
-
Save joepie91/dc41164fa15c5f07381b19add7a8d74b 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> {} }: | |
with pkgs; | |
let | |
makePackageConfigPath = stdenv.lib.makeSearchPathOutput "dev" "lib/pkgconfig"; | |
in stdenv.mkDerivation rec { | |
name = "rust-im-dev-env"; | |
buildInputs = [ | |
pkgconfig | |
openssl | |
]; | |
LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath buildInputs; | |
PKG_CONFIG_PATH = makePackageConfigPath buildInputs; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment