devShells: rust-x11
This commit is contained in:
parent
fcddc9a7d4
commit
1b2822c813
@ -17,6 +17,7 @@ in forAllSystems(system: let
|
|||||||
openfoam = import ./openfoam.nix { inherit pkgs bpkgs; };
|
openfoam = import ./openfoam.nix { inherit pkgs bpkgs; };
|
||||||
|
|
||||||
rust = import ./rust.nix { inherit pkgs cranelib; };
|
rust = import ./rust.nix { inherit pkgs cranelib; };
|
||||||
|
rust-x11 = import ./rust-x11.nix { inherit pkgs cranelib; };
|
||||||
|
|
||||||
go = import ./go.nix { inherit pkgs; };
|
go = import ./go.nix { inherit pkgs; };
|
||||||
})
|
})
|
||||||
|
10
devShells/rust-x11.nix
Normal file
10
devShells/rust-x11.nix
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{ pkgs, cranelib, ... }:
|
||||||
|
cranelib.devShell {
|
||||||
|
packages = with pkgs; [ libGL xorg.libXi xorg.libX11 xorg.libXcursor lld libxkbcommon ];
|
||||||
|
|
||||||
|
shellHook = ''
|
||||||
|
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${
|
||||||
|
with pkgs; lib.makeLibraryPath [ libGL xorg.libX11 xorg.libXi xorg.libXcursor libxkbcommon ]
|
||||||
|
}"
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user