From c3cf5254fe8b6ecf1674da5b12b4633507b72052 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Thu, 11 Jan 2024 15:06:37 +0100 Subject: [PATCH] condence packages --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index cc85621..67a299b 100644 --- a/flake.nix +++ b/flake.nix @@ -221,11 +221,11 @@ nixosModules = mkHosts mkModule; nixosConfigurations = mkHosts mkConfig; - packages = forAllSystems ({ inputs, pkgs, flakes, ... }: { + packages = forAllSystems ({ inputs, pkgs, lib, flakes, ... }: { mpv-webm = pkgs.callPackage ./pkgs/mpv-webm.nix {}; # TODO: https://github.com/NixOS/nixpkgs/pull/238659, remove when i switch to 23.11 - nixos-rebuild-nom = with pkgs; writeScriptBin "nixos-rebuild" '' - exec ${nixos-rebuild}/bin/nixos-rebuild "$@" |& ${nix-output-monitor}/bin/nom + nixos-rebuild-nom = pkgs.writeScriptBin "nixos-rebuild" '' + exec ${lib.getExe pkgs.nixos-rebuild} "$@" |& ${lib.getExe pkgs.nix-output-monitor} ''; # nixos-generators images