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