nix: ship debug info
This commit is contained in:
@@ -1,7 +1,11 @@
|
|||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
sane.programs.nix = {
|
sane.programs.nix = {
|
||||||
# packageUnwrapped = pkgs.nixVersions.latest; #< XXX(2025-03-17): sometimes `nixVersions.latest` fails to eval T_T
|
# packageUnwrapped = pkgs.nixVersions.latest; #< XXX(2025-03-17): sometimes `nixVersions.latest` fails to eval T_T
|
||||||
|
packageUnwrapped = pkgs.nix.overrideAttrs (_: {
|
||||||
|
# ship debug info, used by gdb (/run/current-system/sw/lib/debug)
|
||||||
|
separateDebugInfo = true;
|
||||||
|
});
|
||||||
sandbox.method = null; #< TODO: sandbox ?
|
sandbox.method = null; #< TODO: sandbox ?
|
||||||
env.NIXPKGS_ALLOW_UNFREE = "1"; #< FUCK OFF YOU'RE SO ANNOYING
|
env.NIXPKGS_ALLOW_UNFREE = "1"; #< FUCK OFF YOU'RE SO ANNOYING
|
||||||
persist.byStore.plaintext = [
|
persist.byStore.plaintext = [
|
||||||
|
Reference in New Issue
Block a user