From a4b72ab9e0d746968de46b79d37d317a427bc317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Tue, 20 Aug 2024 21:17:25 +0200 Subject: [PATCH] apt: mock version use 9000, mock libc6 by default --- modules/apt/apt-mock-packages.sh | 2 +- modules/apt/default.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/apt/apt-mock-packages.sh b/modules/apt/apt-mock-packages.sh index 29b9c66..d204cbb 100644 --- a/modules/apt/apt-mock-packages.sh +++ b/modules/apt/apt-mock-packages.sh @@ -9,7 +9,7 @@ Status: install ok installed Priority: optional Maintainer: Dummy Architecture: all -Version: 0 +Version: 9000 Description: Dummy-package to resolve dependencies " } diff --git a/modules/apt/default.nix b/modules/apt/default.nix index f1265ad..acfa96c 100644 --- a/modules/apt/default.nix +++ b/modules/apt/default.nix @@ -25,6 +25,8 @@ in }; config = mkIf (cfg.enable) { + programs.apt.fakePackages = [ "libc6" ]; + environment.systemPackages = [ apt pkgs.gnupg