mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
31 lines
527 B
Nix
31 lines
527 B
Nix
{ nixpkgs ? <nixpkgs>, sources ? import ./sources.nix { }
|
|
, system ? builtins.currentSystem }:
|
|
|
|
let
|
|
pkgs = import ./nixpkgs.nix { inherit sources nixpkgs system; };
|
|
crate2nix = import sources.crate2nix { inherit pkgs; };
|
|
in pkgs.mkShell {
|
|
name = "veloren-shell";
|
|
nativeBuildInputs = with pkgs; [
|
|
pkg-config
|
|
python3
|
|
git
|
|
git-lfs
|
|
niv
|
|
nixfmt
|
|
crate2nix
|
|
cargo
|
|
rustc
|
|
];
|
|
buildInputs = with pkgs; [
|
|
alsaLib
|
|
atk
|
|
cairo
|
|
glib
|
|
gtk3
|
|
libudev
|
|
openssl
|
|
pango
|
|
];
|
|
}
|