You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
{pkgs, ...}@args:
|
|
{name, src, setupCommands}:
|
|
((import (pkgs.stdenv.mkDerivation {
|
|
name = name;
|
|
src = src;
|
|
buildCommand = ''
|
|
mkdir $out
|
|
tar -xzvf $src -C $out
|
|
cd $out
|
|
${setupCommands}
|
|
'';
|
|
})) {}).package
|