rmtrash: use stdenvNoCC

This commit is contained in:
Ben Siraphob 2021-03-22 15:47:11 +07:00
parent ea39c3ddab
commit 55ce4c9b03

View file

@ -1,7 +1,7 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper
{ lib, stdenvNoCC, fetchFromGitHub, makeWrapper
, trash-cli, coreutils, which, getopt }:
stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "rmtrash";
version = "1.14";
@ -12,9 +12,6 @@ stdenv.mkDerivation rec {
sha256 = "0wfb2ykzlsxyqn9krfsis9jxhaxy3pxl71a4f15an1ngfndai694";
};
dontConfigure = true;
dontBuild = true;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
@ -35,5 +32,6 @@ stdenv.mkDerivation rec {
'';
license = licenses.gpl3Plus;
maintainers = with maintainers; [ peelz ];
platforms = platforms.all;
};
}