Skip to content

Commit

Permalink
apt: add hack for search
Browse files Browse the repository at this point in the history
  • Loading branch information
mkg20001 committed Aug 20, 2024
1 parent 6767a8d commit 3c2f0d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/apt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ in
type = with types; listOf str;
};

nixLDPackages = options.programs.nix-ld.libraries;
nixLDPackages = if options.programs ? "nix-ld"
then options.programs.nix-ld.libraries
else mkOption { type = types.listOf types.str; default = []; };
};

config = mkIf (cfg.enable) {
Expand Down

0 comments on commit 3c2f0d6

Please sign in to comment.