mirror of
https://github.com/nix-community/nurl.git
synced 2024-09-11 10:10:39 +03:00
flake: use makeBinaryWrapper
This commit is contained in:
parent
d43225f76a
commit
ecdedfac73
12
flake.nix
12
flake.nix
@ -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 [
|
||||||
|
Loading…
Reference in New Issue
Block a user