Skip to content

Instantly share code, notes, and snippets.

@dit7ya
Created July 7, 2022 17:48
Show Gist options
  • Save dit7ya/c3a1607bd55ca43109c9d1efcc68747b to your computer and use it in GitHub Desktop.
Save dit7ya/c3a1607bd55ca43109c9d1efcc68747b to your computer and use it in GitHub Desktop.
Tauri on NixOS Wayland
{
inputs = {
naersk.url = "github:nmattia/naersk/master";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
utils.url = "github:numtide/flake-utils";
};
outputs = {
self,
nixpkgs,
utils,
naersk,
...
}:
utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {inherit system;};
naersk-lib = pkgs.callPackage naersk {};
in {
devShell = with pkgs;
mkShell {
buildInputs = [
pkgconfig
openssl
sass
glib
cairo
pango
atk
gdk-pixbuf
libsoup
gtk3
dbus
webkitgtk
librsvg
patchelf
];
};
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment