Skip to content

Commit

Permalink
apt: mock version use 9000, mock libc6 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mkg20001 committed Aug 20, 2024
1 parent 072054b commit a4b72ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/apt/apt-mock-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Status: install ok installed
Priority: optional
Maintainer: Dummy <dummy@localhost>
Architecture: all
Version: 0
Version: 9000
Description: Dummy-package to resolve dependencies
"
}
Expand Down
2 changes: 2 additions & 0 deletions modules/apt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ in
};

config = mkIf (cfg.enable) {
programs.apt.fakePackages = [ "libc6" ];

environment.systemPackages = [
apt
pkgs.gnupg
Expand Down

0 comments on commit a4b72ab

Please sign in to comment.