From 21bdbaf226790c4105efb1741d86e43d8fff40b5 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Mon, 17 Jun 2024 13:06:29 +0300 Subject: [PATCH] Nix: don't strip debug symbols --- flake.lock | 12 ++++++------ nix/default.nix | 4 ++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 6650250..74efeac 100644 --- a/flake.lock +++ b/flake.lock @@ -10,11 +10,11 @@ ] }, "locked": { - "lastModified": 1717881334, - "narHash": "sha256-a0inRgJhPL6v9v7RPM/rx1kbXdfe3xJA1c9z0ZkYnh4=", + "lastModified": 1718618721, + "narHash": "sha256-6TVYD4IIdZ8kU9Nw1/SGFZuCwfZslf7sXItN3RQ07o0=", "owner": "hyprwm", "repo": "hyprutils", - "rev": "0693f9398ab693d89c9a0aa3b3d062dd61b7a60e", + "rev": "d4c71b925c2153864bf8303a11e26290b43df5a6", "type": "github" }, "original": { @@ -25,11 +25,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1717602782, - "narHash": "sha256-pL9jeus5QpX5R+9rsp3hhZ+uplVHscNJh8n8VpqscM0=", + "lastModified": 1718318537, + "narHash": "sha256-4Zu0RYRcAY/VWuu6awwq4opuiD//ahpc2aFHg2CWqFY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e8057b67ebf307f01bdcc8fba94d94f75039d1f6", + "rev": "e9ee548d90ff586a6471b4ae80ae9cfcbceb3420", "type": "github" }, "original": { diff --git a/nix/default.nix b/nix/default.nix index 25df375..1cf305c 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -21,6 +21,10 @@ stdenv.mkDerivation { outputs = ["out" "dev"]; + cmakeBuildType = "RelWithDebInfo"; + + dontStrip = true; + meta = with lib; { homepage = "https://github.com/hyprwm/hyprlang"; description = "The official implementation library for the hypr config language";