mirror of
https://github.com/logos-co/logos-module-loader.git
synced 2026-08-31 06:31:18 +00:00
23 lines
438 B
Nix
23 lines
438 B
Nix
# Installs the logos-module-loader headers
|
|
{ pkgs, common, src }:
|
|
|
|
pkgs.stdenv.mkDerivation {
|
|
pname = "${common.pname}-headers";
|
|
version = common.version;
|
|
|
|
inherit src;
|
|
inherit (common) meta;
|
|
|
|
dontBuild = true;
|
|
dontConfigure = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/include/logos_module_loader
|
|
cp src/logos_module_loader/*.h $out/include/logos_module_loader/
|
|
|
|
runHook postInstall
|
|
'';
|
|
}
|