add gluon substrate as flake input
This commit is contained in:
18
flake.nix
18
flake.nix
@@ -129,16 +129,22 @@
|
|||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export HOME="$TMPDIR/home"
|
export HOME="$TMPDIR/home"
|
||||||
mkdir -p "$HOME/.gluon/substrate"
|
export GRADLE_OPTS="-Duser.home=$HOME ''${GRADLE_OPTS:-}"
|
||||||
cp -f ${javafxStaticSdkZip} "$HOME/.gluon/substrate/openjfx-21-ea+11.3-linux-x86_64-static.zip"
|
for gluonHome in "$HOME/.gluon" /build/.gluon; do
|
||||||
chmod u+w "$HOME/.gluon/substrate/openjfx-21-ea+11.3-linux-x86_64-static.zip"
|
mkdir -p "$gluonHome/substrate"
|
||||||
|
cp -f ${javafxStaticSdkZip} "$gluonHome/substrate/openjfx-21-ea+11.3-linux-x86_64-static.zip"
|
||||||
|
chmod u+w "$gluonHome/substrate/openjfx-21-ea+11.3-linux-x86_64-static.zip"
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
export HOME="$TMPDIR/home"
|
export HOME="$TMPDIR/home"
|
||||||
mkdir -p "$HOME/.gluon/substrate"
|
export GRADLE_OPTS="-Duser.home=$HOME ''${GRADLE_OPTS:-}"
|
||||||
cp -f ${javafxStaticSdkZip} "$HOME/.gluon/substrate/openjfx-21-ea+11.3-linux-x86_64-static.zip"
|
for gluonHome in "$HOME/.gluon" /build/.gluon; do
|
||||||
chmod u+w "$HOME/.gluon/substrate/openjfx-21-ea+11.3-linux-x86_64-static.zip"
|
mkdir -p "$gluonHome/substrate"
|
||||||
|
cp -f ${javafxStaticSdkZip} "$gluonHome/substrate/openjfx-21-ea+11.3-linux-x86_64-static.zip"
|
||||||
|
chmod u+w "$gluonHome/substrate/openjfx-21-ea+11.3-linux-x86_64-static.zip"
|
||||||
|
done
|
||||||
export LD_LIBRARY_PATH="${pkgs.lib.makeLibraryPath runtimeLibs}:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="${pkgs.lib.makeLibraryPath runtimeLibs}:$LD_LIBRARY_PATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user