Loading pkgs/by-name/xp/xplr/package.nix +4 −5 Original line number Diff line number Diff line Loading @@ -4,20 +4,19 @@ rustPlatform, fetchFromGitHub, }: rustPlatform.buildRustPackage rec { pname = "xplr"; version = "0.21.9"; version = "1.0.0"; src = fetchFromGitHub { owner = "sayanarijit"; repo = pname; rev = "v${version}"; hash = "sha256-0c2QJUEQwKEzzDBDP5XdX7xe1rivazsoZtepB4Dxp/c="; hash = "sha256-QeR7KXwRGfAU31ueI6v26pKnoQdj2C7bXlcMP4qKvZg="; }; useFetchCargoVendor = true; cargoHash = "sha256-D8BYJtf6joAXyqLDdAeP4GGAA9W5dvA16ia4/ZeZWaE="; cargoHash = "sha256-UkyRl2eY520JPxtcOl7hvkY3MCH2bi2jL9zCJEdkQmU="; # fixes `thread 'main' panicked at 'cannot find strip'` on x86_64-darwin env = lib.optionalAttrs (stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin) { Loading @@ -26,7 +25,7 @@ rustPlatform.buildRustPackage rec { # error: linker `aarch64-linux-gnu-gcc` not found postPatch = '' rm .cargo/config rm .cargo/config.toml ''; postInstall = '' Loading Loading
pkgs/by-name/xp/xplr/package.nix +4 −5 Original line number Diff line number Diff line Loading @@ -4,20 +4,19 @@ rustPlatform, fetchFromGitHub, }: rustPlatform.buildRustPackage rec { pname = "xplr"; version = "0.21.9"; version = "1.0.0"; src = fetchFromGitHub { owner = "sayanarijit"; repo = pname; rev = "v${version}"; hash = "sha256-0c2QJUEQwKEzzDBDP5XdX7xe1rivazsoZtepB4Dxp/c="; hash = "sha256-QeR7KXwRGfAU31ueI6v26pKnoQdj2C7bXlcMP4qKvZg="; }; useFetchCargoVendor = true; cargoHash = "sha256-D8BYJtf6joAXyqLDdAeP4GGAA9W5dvA16ia4/ZeZWaE="; cargoHash = "sha256-UkyRl2eY520JPxtcOl7hvkY3MCH2bi2jL9zCJEdkQmU="; # fixes `thread 'main' panicked at 'cannot find strip'` on x86_64-darwin env = lib.optionalAttrs (stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin) { Loading @@ -26,7 +25,7 @@ rustPlatform.buildRustPackage rec { # error: linker `aarch64-linux-gnu-gcc` not found postPatch = '' rm .cargo/config rm .cargo/config.toml ''; postInstall = '' Loading