Created
June 16, 2020 22:28
-
-
Save colemickens/feebb43f241ce173c7b3a198f5c8d64e 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
let | |
mozpkgs = builtins.fetchTarball { url = "https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz"; }; | |
pkgs = import ../../nixpkgs/cmpkgs { | |
overlays = [ | |
(import "${mozpkgs}/rust-overlay.nix") | |
(import "${mozpkgs}/rust-src-overlay.nix") | |
]; | |
}; | |
in | |
pkgs.stdenv.mkDerivation { | |
name = "devenv"; | |
nativeBuildInputs = with pkgs; [ | |
cmake | |
freetype | |
latest.rustChannels.nightly.rust | |
ncurses | |
pkgconfig | |
nodejs | |
go | |
lldb | |
python3 | |
]; | |
buildInputs = with pkgs; [ | |
openssl | |
gpgme libgpgerror libgit2 git # passrs | |
dbus # passrs libsecret | |
]; | |
RUST_BACKTRACE = 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment