Files
HelixNotes/codeberg-issue-assets/4ccf5eab-1732-4944-82f9-d6178823ccf8.nix
T

39 lines
740 B
Nix

{
description = "HelixNotes devshell";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = {
self,
nixpkgs,
...
}: let
system = "x86_64-linux";
pkgs = import nixpkgs {inherit system;};
in {
devShells.${system}.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
pkg-config
wrapGAppsHook4
cargo
cargo-tauri
nodejs_25
pnpm_9
];
buildInputs = with pkgs; [
librsvg
webkitgtk_4_1
];
shellHook = ''
export XDG_DATA_DIRS="$GSETTINGS_SCHEMAS_PATH" # Needed on Wayland to report the correct display scale
'';
};
formatter.${system} = pkgs.alejandra;
};
}