flake: use makeBinaryWrapper

This commit is contained in:
figsoda 2023-04-15 10:18:46 -04:00
parent d43225f76a
commit ecdedfac73

View File

@ -29,7 +29,15 @@
packages = forEachSystem (system: packages = forEachSystem (system:
let let
inherit (nixpkgs.legacyPackages.${system}) inherit (nixpkgs.legacyPackages.${system})
darwin gitMinimal installShellFiles makeWrapper mercurial nixVersions rustPlatform stdenv; darwin
gitMinimal
installShellFiles
makeBinaryWrapper
mercurial
nixVersions
rustPlatform
stdenv
;
in in
{ {
default = rustPlatform.buildRustPackage { default = rustPlatform.buildRustPackage {
@ -51,7 +59,7 @@
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles
makeWrapper makeBinaryWrapper
]; ];
buildInputs = optionals stdenv.isDarwin [ buildInputs = optionals stdenv.isDarwin [