Last active
November 27, 2024 02:17
-
-
Save brandoncc/2118b442ced586f5ab0a9d9b1dfa173f to your computer and use it in GitHub Desktop.
Revisions
-
brandoncc revised this gist
Nov 27, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ## Option 1 Make sure these are in devenv.nix ```nix packages = with pkgs; [ -
brandoncc revised this gist
Nov 27, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Make sure these are in devenv.yaml enable = true; }; env.NIX_CFLAGS_COMPILE = "-I ${pkgs.mariadb-connector-c}/include/mariadb"; ``` ## Option 2 -
brandoncc revised this gist
Nov 27, 2024 . 1 changed file with 18 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,21 @@ ## Option 1 Make sure these are in devenv.yaml ```nix packages = with pkgs; [ libmysqlclient ]; services.mysql = { enable = true; }; env.NIX_CFLAGS_COMPILE = "-I ${pkgs.libxml2.dev}/include/libxml2 -I ${pkgs.mariadb-connector-c}/include/mariadb"; ``` ## Option 2 Make sure these are in devenv.yaml ```yaml -
brandoncc renamed this gist
Nov 27, 2024 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
brandoncc created this gist
Nov 27, 2024 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ Make sure these are in devenv.yaml ```yaml inputs: nixpkgs-unstable: url: github:nixos/nixpkgs/nixpkgs-unstable ``` Make sure these are in devenv.nix ```nix packages = with pkgs; [ zstd ]; services.mysql = { enable = true; package = pkgs-unstable.percona-server; }; ```