1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

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