Updated rust version and added sqlite in flake.nix (#396)
This commit is contained in:
committed by
GitHub
parent
e66a8c6716
commit
b023e38f77
@@ -14,7 +14,7 @@
|
|||||||
# We only need the nightly overlay in the devShell because .rs files are formatted with nightly.
|
# We only need the nightly overlay in the devShell because .rs files are formatted with nightly.
|
||||||
overlays = [ (import rust-overlay) ];
|
overlays = [ (import rust-overlay) ];
|
||||||
pkgs = import nixpkgs { inherit system overlays; };
|
pkgs = import nixpkgs { inherit system overlays; };
|
||||||
rustNightly = pkgs.rust-bin.nightly."2024-03-08".default;
|
rustNightly = pkgs.rust-bin.nightly."2024-12-12".default;
|
||||||
in
|
in
|
||||||
with pkgs;
|
with pkgs;
|
||||||
{
|
{
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
};
|
};
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin
|
||||||
(with darwin.apple_sdk.frameworks; [ AppKit Security Cocoa]);
|
(with darwin.apple_sdk.frameworks; [ AppKit Security Cocoa ]);
|
||||||
};
|
};
|
||||||
|
|
||||||
devShell = mkShell {
|
devShell = mkShell {
|
||||||
@@ -38,6 +38,7 @@
|
|||||||
pkg-config
|
pkg-config
|
||||||
cargo-tarpaulin
|
cargo-tarpaulin
|
||||||
cargo-watch
|
cargo-watch
|
||||||
|
sqlite
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user