Add offline installer #12
|
@ -515,7 +515,7 @@
|
|||
|
||||
msys2-offline-installer = pkgs.stdenv.mkDerivation {
|
||||
name = "msys2-offline-installer";
|
||||
buildInputs = with pkgs; [ p7zip wine64 ];
|
||||
buildInputs = with pkgs; [ p7zip ];
|
||||
src = ./.;
|
||||
msys2_qt_ifw = pkgs.stdenvNoCC.mkDerivation rec {
|
||||
|
||||
name = "msys2_qt_ifw";
|
||||
|
@ -564,7 +564,7 @@
|
|||
# needed for sed and 7z
|
||||
sb10q marked this conversation as resolved
Outdated
sb10q
commented
Why? Why?
esavkin
commented
So that 7z can place the archive in this directory So that 7z can place the archive in this directory
sb10q
commented
Needs detailed explanation in comments. Needs detailed explanation in comments.
|
||||
chmod -R 700 qt-ifw
|
||||
sb10q marked this conversation as resolved
Outdated
sb10q
commented
find? There are only two files and the paths are known, no? find? There are only two files and the paths are known, no?
|
||||
sed -i "s|@DATE@|$(date +'%Y-%m-%d')|g" qt-ifw/config/config.xml qt-ifw/packages/com.msys2.root/meta/package.xml ;
|
||||
sed -i "s|@VERSION@|$(date +'%Y%m%d')|g" qt-ifw/config/config.xml qt-ifw/packages/com.msys2.root/meta/package.xml ;
|
||||
sed -i "s|@VERSION@|${artiqpkgs.packages.x86_64-linux.artiq.version}|g" qt-ifw/config/config.xml qt-ifw/packages/com.msys2.root/meta/package.xml ;
|
||||
|
||||
7z a -mx9 -md128m "qt-ifw/packages/com.msys2.root/data/msys64.7z" "$msys2_artiq_root/"*
|
||||
${pkgs.wineWowPackages.stable}/bin/wine64 $msys2_qt_ifw/mingw64/bin/binarycreator.exe \
|
||||
|
|
Loading…
Reference in New Issue
Please pay attention.