tony / oxwm

retreive the dependency from the derivation Browse files
Sigmanificient committed 2025-12-14 parent 5e36ac3 commit d4ac9b516725cb289494a5c02bbbc638dec5e5bd
Showing 1 changed file with 3 additions and 8 deletions. UnifiedSplit
+3 −8 flake.nix
@@ -21,23 +21,18 @@
21 21
22 22 devShells = forAllSystems (pkgs: {
23 23 default = pkgs.mkShell {
24 - buildInputs = [
24 + inputsFrom = [self.packages.${pkgs.stdenv.hostPlatform.system}.oxwm];
25 + packages = [
25 26 pkgs.rustc
26 27 pkgs.cargo
27 28 pkgs.alacritty
28 29 pkgs.just
29 30 pkgs.xorg.xorgserver
30 - pkgs.xorg.libX11
31 - pkgs.xorg.libXft
32 - pkgs.xorg.libXrender
33 - pkgs.freetype
34 - pkgs.fontconfig
35 - pkgs.pkg-config
36 31 ];
37 32 shellHook = ''
38 33 export PS1="(oxwm-dev) $PS1"
39 34 '';
40 - RUST_SRC_PATH = "${pkgs.rustPlatform.rustLibSrc}";
35 + env.RUST_SRC_PATH = "${pkgs.rustPlatform.rustLibSrc}";
41 36 };
42 37 });
43 38