add DependsOnPrint

This commit is contained in:
2025-03-17 12:56:57 -05:00
parent 830fe14355
commit 296c601143

View File

@@ -95,6 +95,32 @@
}; };
DependsOnPrint = pkgs.stdenvNoCC.mkDerivation {
name = "DependsOnPrint";
src = ./.;
nativeBuildInputs = with pkgs; [
gcc
];
buildPhase = ''
g++ \
modules/DependsOnPrint/src/*.cpp src/App.cpp \
-fpic -shared \
-I src -I include \
-Wall \
-o $name
'';
installPhase = ''
mkdir -p $out/bin
cp $name $out/bin
'';
};
Window = pkgs.stdenvNoCC.mkDerivation { Window = pkgs.stdenvNoCC.mkDerivation {
name = "Window"; name = "Window";