···8585 default = "[::1]";
8686 description = ''
8787 Address the server will listen on.
8888+ Ignored if `unixSocket` is set.
8889 '';
9090+ };
9191+9292+ unixSocket = lib.mkOption {
9393+ type = lib.types.nullOr lib.types.str;
9494+ default = null;
9595+ description = ''
9696+ Enable Unix Socket for the server to listen on.
9797+ `listenAddress` and `port` will be ignored.
9898+ '';
9999+ example = "/run/netbox/netbox.sock";
89100 };
9010191102 package = lib.mkOption {
···114125 default = 8001;
115126 description = ''
116127 Port the server will listen on.
128128+ Ignored if `unixSocket` is set.
117129 '';
118130 };
119131···345357 serviceConfig = defaultServiceConfig // {
346358 ExecStart = ''
347359 ${pkg.gunicorn}/bin/gunicorn netbox.wsgi \
348348- --bind ${cfg.listenAddress}:${toString cfg.port} \
360360+ --bind ${
361361+ if (cfg.unixSocket != null) then
362362+ "unix:${cfg.unixSocket}"
363363+ else
364364+ "${cfg.listenAddress}:${toString cfg.port}"
365365+ } \
349366 --pythonpath ${pkg}/opt/netbox/netbox
350367 '';
351368 PrivateTmp = true;
+1-1
nixos/tests/aaaaxy.nix
···2222 "ln -s '${pkgs.aaaaxy.testing_infra}/assets/demos/benchmark.dem' '/tmp/aaaaxy/assets/demos/'",
2323 """
2424 '${pkgs.aaaaxy.testing_infra}/scripts/regression-test-demo.sh' \
2525- 'aaaaxy' 'on track for Any%, All Paths, No Teleports and No Coil' \
2525+ 'aaaaxy' 'on track for Any%, All Paths, All Flipped, No Teleports and No Coil' \
2626 '${pkgs.aaaaxy}/bin/aaaaxy' '/tmp/aaaaxy/assets/demos/benchmark.dem'
2727 """,
2828 )
···8899buildGoModule rec {
1010 pname = "consul";
1111- version = "1.20.3";
1111+ version = "1.20.4";
12121313 # Note: Currently only release tags are supported, because they have the Consul UI
1414 # vendored. See
···2222 owner = "hashicorp";
2323 repo = pname;
2424 tag = "v${version}";
2525- hash = "sha256-Bgzanv7z2mVtzp6UC5mxzkYaE82ULioVmaXN2DqJ4LI=";
2525+ hash = "sha256-pvTHrFrnRSprsbIPenVPVnnmU59OQCZc9DF+8wcWJ3A=";
2626 };
27272828 # This corresponds to paths with package main - normally unneeded but consul
···3232 "connect/certgen"
3333 ];
34343535- vendorHash = "sha256-Sa6OcRMgx1WUXVNbgSAR+2KWYlc6b/50ZqPS8/ycBkI=";
3535+ vendorHash = "sha256-hAnIKuFtS6l4nhq8bTcHkvW43FT6K8+0FglRRNfDtPg=";
36363737 doCheck = false;
3838
···4545 hash = "sha256-e3IW8D4aLU6d36ErUHDUDiXF1lN4HCn5OCX6GwaT3iQ=";
4646 };
47474848+ patches = [
4949+ # Disable debug symbols in release builds
5050+ # The debug symbols are stripped afterwards anyways, and building with them requires extra memory
5151+ ./disable-debug.patch
5252+ ];
5353+4854 # Dirty approach to add patches after cargoSetupPostUnpackHook
4955 # We should eventually use a cargo vendor patch hook instead
5056 preConfigure = ''
···635635 ### H ###
636636637637 hacksaw = throw "'hacksaw' has been removed due to lack of upstream maintenance"; # Added 2025-01-25
638638+ haven-cli = throw "'haven-cli' has been removed due to the official announcement of the project closure. Read more at https://havenprotocol.org/2024/12/12/project-closure-announcement"; # Added 2025-02-25
638639 HentaiAtHome = hentai-at-home; # Added 2024-06-12
639640 hll2390dw-cups = throw "The hll2390dw-cups package was dropped since it was unmaintained."; # Added 2024-06-21
640641 hop-cli = throw "hop-cli has been removed as the service has been shut-down"; # Added 2024-08-13