backport in-review gemConfig for sqlite3 1.5.0
This commit is contained in:
parent
8f8532979c
commit
54cbb5ae5d
10
flake.nix
10
flake.nix
|
@ -17,6 +17,16 @@
|
||||||
lockfile = ./Gemfile.lock;
|
lockfile = ./Gemfile.lock;
|
||||||
gemset = ./gemset.nix;
|
gemset = ./gemset.nix;
|
||||||
ignoreCollisions = true;
|
ignoreCollisions = true;
|
||||||
|
gemConfig = pkgs.defaultGemConfig // {
|
||||||
|
sqlite3 = attrs: {
|
||||||
|
nativeBuildInputs = [ pkgs.pkg-config pkgs.sqlite.dev ];
|
||||||
|
buildInputs = [ pkgs.sqlite.out ];
|
||||||
|
buildFlags = [
|
||||||
|
"--enable-system-libraries"
|
||||||
|
"--with-pkg-config=${pkgs.pkg-config}/bin/pkg-config"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in rec {
|
in rec {
|
||||||
packages.x86_64-linux = rec {
|
packages.x86_64-linux = rec {
|
||||||
|
|
Loading…
Reference in a new issue