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