Skip to content

Commit 0014c98

Browse files
author
jdev082
committed
feat(nix): improved nix devshell for development
Signed-off-by: jdev082 <jdev082@jdev.eu.org>
1 parent 257d077 commit 0014c98

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.envrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
use flake
1+
use flake

flake.nix

+13-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
(final: prev: rec {
1010
nodejs = prev.nodejs_latest;
1111
pnpm = prev.nodePackages.pnpm;
12-
yarn = (prev.yarn.override { inherit nodejs; });
1312
})
1413
];
1514
supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
@@ -20,7 +19,19 @@
2019
{
2120
devShells = forEachSupportedSystem ({ pkgs }: {
2221
default = pkgs.mkShell {
23-
packages = with pkgs; [ nodejs pnpm yarn ];
22+
packages = (with pkgs;
23+
[
24+
nodejs python3 libcxx systemd libpulseaudio libdrm mesa stdenv.cc.cc
25+
alsa-lib atk at-spi2-atk at-spi2-core cairo cups dbus expat fontconfig
26+
freetype gdk-pixbuf glib glibc gtk3 libnotify libuuid nspr nss pango systemd
27+
libappindicator-gtk3 libdbusmenu libxkbcommon zlib
28+
]
29+
) ++ (with pkgs.xorg;
30+
[
31+
libXScrnSaver libXrender libXcursor libXdamage libXext libXfixes libXi
32+
libXrandr libX11 libXcomposite libxshmfence libXtst libxcb
33+
]
34+
);
2435
};
2536
});
2637
};

0 commit comments

Comments
 (0)