mirror of
https://gitlab.com/ArkHost/HelixNotes.git
synced 2026-07-24 07:45:57 +02:00
39 lines
740 B
Nix
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;
|
|
};
|
|
}
|