mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 07:49:25 +08:00
17 lines
344 B
Nix
17 lines
344 B
Nix
{ stdenv, src, autoPatchelfHook, xorg }: stdenv.mkDerivation
|
|
{
|
|
name = "atomkit";
|
|
inherit src;
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
buildInputs = [ stdenv.cc.cc xorg.libX11 ];
|
|
nativeBuildInputs = [ autoPatchelfHook ];
|
|
installPhase =
|
|
''
|
|
runHook preInstall
|
|
mkdir -p $out
|
|
cp -r * $out
|
|
runHook postInstall
|
|
'';
|
|
}
|