nixpkgs/pkgs/by-name/no/novnc/fix-paths.patch
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

23 lines
838 B
Diff

diff --git a/utils/novnc_proxy b/utils/novnc_proxy
index 0900f7e..a931763 100755
--- a/utils/novnc_proxy
+++ b/utils/novnc_proxy
@@ -22,7 +22,7 @@ usage() {
echo " Default: self.pem"
echo " --key KEY Path to key file, when not combined with cert"
echo " --web WEB Path to web files (e.g. vnc.html)"
- echo " Default: ./"
+ echo " Default: @out@/share/webapps/novnc"
echo " --ssl-only Disable non-https connections."
echo " "
echo " --record FILE Record traffic to FILE.session.js"
@@ -44,7 +44,7 @@ PORT="6080"
VNC_DEST="localhost:5900"
CERT=""
KEY=""
-WEB=""
+WEB="@out@/share/webapps/novnc"
proxy_pid=""
SSLONLY=""
RECORD_ARG=""