From 508cfbdcf2dc50d5fc7d6da17aee360e156a8eef Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Mon, 13 May 2024 17:19:21 +0200 Subject: [PATCH] nix-ld --- modules/base/nix.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/base/nix.nix b/modules/base/nix.nix index 48fea65..e6f61ad 100644 --- a/modules/base/nix.nix +++ b/modules/base/nix.nix @@ -50,6 +50,14 @@ # about our user profile. TODO: 24.04 # home-manager.users.caspervk.nix.gc = config.nix.gc; + # Run unpatched dynamic binaries on NixOS. + # https://github.com/Mic92/nix-ld + programs.nix-ld.enable = true; + + # Comma runs software without installing it. Basically it just wraps together + # `nix shell -c` and `nix-index`. You stick a `,` in front of a command to + # run it from whatever location it happens to occupy in nixpkgs without + # really thinking about it. # https://github.com/nix-community/comma programs.nix-index-database.comma.enable = true; programs.command-not-found.enable = false;