packages/stevenblack-hosts: convert to mkDerivation
This commit is contained in:
parent
d2b5c50380
commit
fe05355c46
1 changed files with 8 additions and 4 deletions
|
@ -1,9 +1,13 @@
|
|||
{ runCommand, npins, pins }:
|
||||
{ stdenvNoCC, npins, pins }:
|
||||
|
||||
let
|
||||
src = npins.mkSource pins.stevenblack;
|
||||
in
|
||||
|
||||
runCommand "stevenblack-hosts-${pins.stevenblack.version}" {} ''
|
||||
cp ${src}/hosts $out
|
||||
''
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "stevenblack-hosts";
|
||||
inherit (pins.stevenblack) version;
|
||||
buildCommand = ''
|
||||
cp ${src}/hosts $out
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue