Now one can be capable of building using nix build >:3
parent
711a97cded
commit
c38f86ddbe
|
@ -48,10 +48,10 @@
|
||||||
name = "SFMLtest";
|
name = "SFMLtest";
|
||||||
src = self;
|
src = self;
|
||||||
buildInputs = cppDependencies;
|
buildInputs = cppDependencies;
|
||||||
buildPhase = "c++ -std=c++17 -o ${binName} ${./src/main.cpp} -lPocoFoundation -lboost_system";
|
buildPhase = "make -j $NIX_BUILD_CORES";
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp ${binName} $out/bin/
|
mv $TMP/source/bin/${binName} $out/bin
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue