File tree Expand file tree Collapse file tree 7 files changed +11
-11
lines changed
Expand file tree Collapse file tree 7 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 6060 profileName : profile : let
6161 themesFilePath = "${ profilePath } /${ profileName } /zen-themes.json" ;
6262
63- updateModsScript = pkgs . writeShellScript "zen-mods-update-${ profileName } " ''
63+ updateModsScript = pkgs . writeShellScript "zen-mods-update-${ profileName } " '' # bash
6464 THEMES_FILE="${ themesFilePath } "
6565 MODS="${ lib . concatStringsSep " " profile . mods } "
6666 BASE_DIR="${ profilePath } /${ profileName } "
Original file line number Diff line number Diff line change 499499 .groups = (.groups | sort_by(.index // 0))
500500 '' ;
501501
502- updateScript = pkgs . writeShellScript "zen-sessions-update-${ profileName } " ''
502+ updateScript = pkgs . writeShellScript "zen-sessions-update-${ profileName } " '' # bash
503503 SESSIONS_FILE="${ sessionsFile } "
504504 SESSIONS_TMP="$(mktemp)"
505505 SESSIONS_MODIFIED="$(mktemp)"
568568 rm -f "$BACKUP_FILE"
569569 '' ;
570570 in
571- nameValuePair "zen-sessions-${ profileName } " ( lib . hm . dag . entryAfter [ "writeBoundary" ] ''
571+ nameValuePair "zen-sessions-${ profileName } " ( lib . hm . dag . entryAfter [ "writeBoundary" ] '' # bash
572572 ${ updateScript }
573573 if [[ "$?" -eq 0 ]]; then
574574 $VERBOSE_ECHO "zen-sessions: Updated spaces/pins for profile '${ profileName } '"
Original file line number Diff line number Diff line change 104104 profileName : profile : let
105105 modsFilePath = "${ profilePath } /${ profileName } /chrome/sine-mods/mods.json" ;
106106
107- updateSineModsScript = pkgs . writeShellScript "zen-sine-mods-update-${ profileName } " ''
107+ updateSineModsScript = pkgs . writeShellScript "zen-sine-mods-update-${ profileName } " '' # bash
108108 MODS_FILE="${ modsFilePath } "
109109 SINE_MODS="${ lib . concatStringsSep " " profile . sine . mods } "
110110 BASE_DIR="${ profilePath } /${ profileName } "
271271 fi
272272 '' ;
273273 in
274- nameValuePair "zen-sine-mods-${ profileName } " ( lib . hm . dag . entryAfter [ "writeBoundary" ] ''
274+ nameValuePair "zen-sine-mods-${ profileName } " ( lib . hm . dag . entryAfter [ "writeBoundary" ] '' # bash
275275 ${ updateSineModsScript }
276276 if [[ "$?" -eq 0 ]]; then
277277 $VERBOSE_ECHO "zen-sine-mods: Updated sine mods for profile '${ profileName } '"
Original file line number Diff line number Diff line change 6161 then "zen-browser"
6262 else binaryName ;
6363
64- installDarwin = ''
64+ installDarwin = '' # bash
6565 runHook preInstall
6666
6767 mkdir -p "$out/Applications" "$out/bin"
9797 runHook postInstall
9898 '' ;
9999
100- installLinux = ''
100+ installLinux = '' # bash
101101 runHook preInstall
102102
103103 # Linux tarball installation
Original file line number Diff line number Diff line change 1010 inherit pkgs home-manager ;
1111 zen-browser-flake = self ;
1212
13- wrapWithX11 = testScript : ''
13+ wrapWithX11 = testScript : '' # python
1414 machine.succeed("( nohup Xvfb :99 -screen 0 1024x768x24 </dev/null >>/tmp/xvfb.log 2>&1 & )")
1515 machine.succeed("sleep 2")
1616 machine.succeed("su - testuser -c 'DISPLAY=:99 timeout 5 zen-beta about:blank' || true")
5353 ] ;
5454 } ;
5555
56- testScript = ''
56+ testScript = '' # python
5757 machine.wait_for_unit("multi-user.target")
5858 machine.wait_for_unit("home-manager-testuser.service")
5959 ${ suite . testScript }
Original file line number Diff line number Diff line change 88 } ;
99 } ;
1010
11- testScript = ''
11+ testScript = '' # python
1212 machine.succeed("su - testuser -c 'zen-beta --version'")
1313 '' ;
1414}
Original file line number Diff line number Diff line change 2929 } ;
3030 } ;
3131
32- testScript = wrapWithX11 ''
32+ testScript = wrapWithX11 '' # python
3333 machine.succeed("test -f /home/testuser/.config/zen/profiles.ini")
3434 machine.succeed("grep -q 'Name=default' /home/testuser/.config/zen/profiles.ini")
3535 machine.succeed("test -d /home/testuser/.config/zen/default")
You can’t perform that action at this time.
0 commit comments