Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save colemickens/feebb43f241ce173c7b3a198f5c8d64e to your computer and use it in GitHub Desktop.
Save colemickens/feebb43f241ce173c7b3a198f5c8d64e to your computer and use it in GitHub Desktop.
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