packages/stevenblack-hosts: convert to mkDerivation

This commit is contained in:
Max Headroom 2022-07-30 19:48:40 +02:00
parent d2b5c50380
commit fe05355c46

View file

@ -1,9 +1,13 @@
{ runCommand, npins, pins }: { stdenvNoCC, npins, pins }:
let let
src = npins.mkSource pins.stevenblack; src = npins.mkSource pins.stevenblack;
in in
runCommand "stevenblack-hosts-${pins.stevenblack.version}" {} '' stdenvNoCC.mkDerivation {
pname = "stevenblack-hosts";
inherit (pins.stevenblack) version;
buildCommand = ''
cp ${src}/hosts $out cp ${src}/hosts $out
'' '';
}