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