Created
July 3, 2024 15:47
-
-
Save V3ntus/607d6f085a75e9408ddeb270c5d6528b to your computer and use it in GitHub Desktop.
Nix/NixOS shell for Flutter desktop development
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
{ pkgs ? import <nixpkgs> {} }: | |
pkgs.mkShell { | |
nativeBuildInputs = with pkgs; [ | |
clang | |
cmake | |
ninja | |
pkg-config | |
gtk3 | |
flutter | |
]; | |
LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [ | |
fontconfig.lib | |
sqlite.out | |
]; | |
GSETTINGS_SCHEMA_DIR="${pkgs.gtk3}/share/gsettings-schemas/gtk+3-3.24.41/glib-2.0/schemas/"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment