From 995082661f90769a4fb307412380b1ab47b934b4 Mon Sep 17 00:00:00 2001 From: Patrick Date: Sat, 14 Feb 2026 12:46:11 +0100 Subject: update flake --- common.nix | 4 ++++ flake.nix | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/common.nix b/common.nix index 9cc41e6..8b3fced 100644 --- a/common.nix +++ b/common.nix @@ -43,6 +43,10 @@ stdenv.mkDerivation { separateDebugInfo = true; + dontPatchELF = true; + dontStrip = true; + dontShrinkRpath = true; + nativeBuildInputs = [ pkg-config asciidoc diff --git a/flake.nix b/flake.nix index 61cef2c..46e3eb4 100644 --- a/flake.nix +++ b/flake.nix @@ -57,7 +57,7 @@ environment.systemPackages = with pkgs; [ gdb file ]; networking.useDHCP = false; - networking.firewall.allowedTCPPorts = [ 22 80 ]; + networking.firewall.allowedTCPPorts = [ 22 80 1234 ]; services.openssh.enable = true; users.users.root.openssh.authorizedKeys.keys = [ "${builtins.readFile "/home/ps/.ssh/id_ed25519.pub"}" ]; @@ -126,7 +126,6 @@ scan-path=/srv/git ''} env SCRIPT_FILENAME ${pkgs.writeShellScript "debug-cgi.cgi" '' - #!/usr/bin/env sh ${pkgs.gdb}/bin/gdbserver :1234 ${self.packages.${pkgs.stdenv.hostPlatform.system}.default}/cgit/cgit.cgi ''} } -- cgit v1.2.3