final: prev: with prev; { # keep sources this first sources = callPackage (import ./_sources/generated.nix) { }; # then, call packages with `final.callPackage` gpu-switch = writeShellScriptBin "gpu-switch" (import ./gpu-switch.nix final); import-gtk-settings = writeShellScriptBin "import-gtk-settings" ( import ./import-gtk-settings.nix final ); lgcl = writeShellScriptBin "lgcl" (import ./lgcl.nix final); mailto-mutt = writeShellScriptBin "mailto-mutt" (import ./mailto-mutt.nix final); mopidy-jellyfin = import ./mopidy-jellyfin.nix final; mu = writeShellScriptBin "mu" (import ./mu.nix final); notes = writeShellScriptBin "notes" (import ./notes.nix final); psos = writeShellScriptBin "psos" (import ./psos.nix final); psos-docs = import ./psos-docs.nix final; s = writeShellScriptBin "s" (import ./s.nix final); scan2paperless = writeShellScriptBin "scan2paperless" (import ./scan2paperless.nix final); sway-launcher = writeScriptBin "sway-launcher" (import ./sway-launcher.nix final); swaylock-bg = writeShellScriptBin "swaylock-bg" (import ./swaylock-bg.nix final); toggle-kbd-layout = writeShellScriptBin "toggle-kbd-layout" (import ./toggle-kbd-layout.nix final); wcwd = writeShellScriptBin "wcwd" (import ./wcwd.nix final); drone-docker-runner = writeShellScriptBin "drone-docker-runner" ( import ./drone-docker-runner.nix final ); record-screen = writeShellScriptBin "record-screen" (import ./record-screen.nix final); cockroach-bin = import ./cockroach.nix final; prison-break = import ./prison-break.nix final; actual-server = import ./actual-server.nix final; # ps-fixes }