From 79b42f0842b879c3263a1c43b03746117c0aa3d8 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 26 Oct 2022 12:34:16 +0200 Subject: [PATCH] Remove dead code The module system guarantees presence of these attrs. --- modules/apps.nix | 2 +- modules/packages.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/apps.nix b/modules/apps.nix index f081552..7e92fef 100644 --- a/modules/apps.nix +++ b/modules/apps.nix @@ -83,7 +83,7 @@ in config = { flake.apps = mapAttrs - (k: v: v.apps or { }) + (k: v: v.apps) config.allSystems; perInput = system: flake: diff --git a/modules/packages.nix b/modules/packages.nix index 8c08a09..3c06d0b 100644 --- a/modules/packages.nix +++ b/modules/packages.nix @@ -42,7 +42,7 @@ in config = { flake.packages = mapAttrs - (k: v: v.packages or { }) + (k: v: v.packages) config.allSystems; perInput = system: flake: