Created
July 7, 2022 17:48
-
-
Save dit7ya/c3a1607bd55ca43109c9d1efcc68747b to your computer and use it in GitHub Desktop.
Tauri on NixOS Wayland
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
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