Do not do a static build.
This commit is contained in:
10
flake.nix
10
flake.nix
@@ -33,10 +33,9 @@
|
|||||||
system:
|
system:
|
||||||
let
|
let
|
||||||
overlays = [ (import rust-overlay) ];
|
overlays = [ (import rust-overlay) ];
|
||||||
pkgs =
|
pkgs = import nixpkgs {
|
||||||
(import nixpkgs {
|
|
||||||
inherit system overlays;
|
inherit system overlays;
|
||||||
}).pkgsStatic;
|
};
|
||||||
rustToolchain = pkgs.pkgsBuildHost.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
|
rustToolchain = pkgs.pkgsBuildHost.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -67,10 +66,9 @@
|
|||||||
system:
|
system:
|
||||||
let
|
let
|
||||||
overlays = [ (import rust-overlay) ];
|
overlays = [ (import rust-overlay) ];
|
||||||
pkgs =
|
pkgs = import nixpkgs {
|
||||||
(import nixpkgs {
|
|
||||||
inherit system overlays;
|
inherit system overlays;
|
||||||
}).pkgsStatic;
|
};
|
||||||
cargoToml = (pkgs.lib.importTOML ./Cargo.toml);
|
cargoToml = (pkgs.lib.importTOML ./Cargo.toml);
|
||||||
rustToolchain = pkgs.pkgsBuildHost.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
|
rustToolchain = pkgs.pkgsBuildHost.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
|
||||||
rustPlatform = pkgs.makeRustPlatform {
|
rustPlatform = pkgs.makeRustPlatform {
|
||||||
|
|||||||
Reference in New Issue
Block a user