{"action":"closed","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/43049","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/43049/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/43049/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/43049/events","html_url":"https://github.com/NixOS/nixpkgs/issues/43049","id":338383564,"node_id":"MDU6SXNzdWUzMzgzODM1NjQ=","number":43049,"title":"Deprecate propagatedUserEnvPkgs","user":{"login":"matthewbauer","id":19036,"node_id":"MDQ6VXNlcjE5MDM2","avatar_url":"https://avatars0.githubusercontent.com/u/19036?v=4","gravatar_id":"","url":"https://api.github.com/users/matthewbauer","html_url":"https://github.com/matthewbauer","followers_url":"https://api.github.com/users/matthewbauer/followers","following_url":"https://api.github.com/users/matthewbauer/following{/other_user}","gists_url":"https://api.github.com/users/matthewbauer/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewbauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewbauer/subscriptions","organizations_url":"https://api.github.com/users/matthewbauer/orgs","repos_url":"https://api.github.com/users/matthewbauer/repos","events_url":"https://api.github.com/users/matthewbauer/events{/privacy}","received_events_url":"https://api.github.com/users/matthewbauer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-07-04T22:18:52Z","updated_at":"2018-08-09T10:38:16Z","closed_at":"2018-08-09T10:38:16Z","author_association":"MEMBER","body":"## Issue description\r\n\r\nWith Nix 2.0 having the ```nix run``` command, we can no longer assume that packages will be installed by users before being run. It seems like this is a good opportunity to officially deprecate ```propagatedUserEnvPkgs``` as it only works when something is installed. Otherwise people are encouraged to utilize this for certain things, where they should instead use makeWrapper.\r\n\r\nAlso it would be nice to get rid of Nix's support for ```nix-support/propagated-user-env-packages``` but I am much more concerned about Nixpkgs use of it.\r\n\r\n```\r\n$ find . -type d -exec grep --color -nH --null -e propagatedUserEnvPkgs \\{\\} +\r\n./pkgs/misc/themes/plano/default.nix:16:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/misc/themes/jade1/default.nix:14:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/misc/themes/materia-theme/default.nix:18:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/misc/themes/orion/default.nix:12:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/misc/themes/numix-solarized/default.nix:18:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/misc/themes/greybird/default.nix:17:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/misc/themes/blackbird/default.nix:17:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/misc/themes/numix/default.nix:18:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/misc/themes/vertex/default.nix:17:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/misc/themes/obsidian2/default.nix:14:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/misc/themes/arc/default.nix:23:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/misc/themes/adapta/default.nix:32:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/misc/themes/zuki/default.nix:16:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/misc/themes/numix-sx/default.nix:12:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/tools/misc/alarm-clock-applet/default.nix:41:  propagatedUserEnvPkgs = [ gnome2.GConf.out ];\r\n./pkgs/tools/security/hash-slinger/default.nix:22:  propagatedUserEnvPkgs = [ unbound libreswan ];\r\n./pkgs/tools/security/kwalletcli/default.nix:37:  propagatedUserEnvPkgs = [ mksh ];\r\n./pkgs/tools/networking/network-manager/applet.nix:35:  propagatedUserEnvPkgs = [\r\n./pkgs/tools/bluetooth/blueman/default.nix:33:  propagatedUserEnvPkgs = [ obex_data_server ];\r\n./pkgs/development/libraries/qt-5/hooks/qtbase-setup-hook.sh:41:        propagatedUserEnvPkgs+=\" $1\"\r\n./pkgs/development/libraries/kde-frameworks/kservice/default.nix:17:  propagatedUserEnvPkgs = [ shared-mime-info ]; # for kbuildsycoca5\r\n./pkgs/development/libraries/kde-frameworks/solid.nix:16:  propagatedUserEnvPkgs = [ media-player-info ];\r\n./pkgs/development/libraries/kde-frameworks/default.nix:49:                    propagatedUserEnvPkgs=\"$propagatedUserEnvPkgs @${out}@\"\r\n./pkgs/development/libraries/grantlee/5/setup-hook.sh:10:        propagatedUserEnvPkgs+=\" $1\"\r\n./pkgs/development/ruby-modules/gem/default.nix:48:, propagatedUserEnvPkgs ? []\r\n./pkgs/development/ruby-modules/gem/default.nix:213:  propagatedUserEnvPkgs = gemPath ++ propagatedUserEnvPkgs;\r\n./pkgs/development/compilers/swift/default.nix:163:  propagatedUserEnvPkgs = [ git pkgconfig ];\r\n./pkgs/development/compilers/chicken/eggDerivation.nix:22:  propagatedUserEnvPkgs = buildInputs ++ [ chicken ];\r\n./pkgs/desktops/plasma-5/default.nix:51:                    propagatedUserEnvPkgs=\"$propagatedUserEnvPkgs @${out}@\"\r\n./pkgs/desktops/deepin/deepin-gtk-theme/default.nix:14:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/desktops/gnome-3/core/gnome-contacts/default.nix:17:  propagatedUserEnvPkgs = [ evolution-data-server ];\r\n./pkgs/desktops/gnome-3/core/empathy/default.nix:25:  propagatedUserEnvPkgs = [\r\n./pkgs/desktops/gnome-3/core/sushi/default.nix:19:  propagatedUserEnvPkgs = [ gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good ];\r\n./pkgs/desktops/gnome-3/core/gnome-shell/default.nix:48:  propagatedUserEnvPkgs = [\r\n./pkgs/desktops/gnome-3/apps/gnome-nettool/default.nix:18:  propagatedUserEnvPkgs = [ nmap inetutils ];\r\n./pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix:28:  propagatedUserEnvPkgs = [ spice-gtk ];\r\n./pkgs/desktops/gnome-3/apps/evolution/default.nix:17:  propagatedUserEnvPkgs = [ gnome3.evolution-data-server ];\r\n./pkgs/desktops/gnome-3/apps/polari/default.nix:17:  propagatedUserEnvPkgs = [ telepathy-idle telepathy-logger ];\r\n./pkgs/desktops/mate/mate-themes/default.nix:17:  propagatedUserEnvPkgs = [ gtk-engine-murrine ];\r\n./pkgs/top-level/emacs-packages.nix:182:    propagatedUserEnvPkgs = [ external.elpy ] ++ packageRequires;\r\n./pkgs/top-level/emacs-packages.nix:245:    propagatedUserEnvPkgs = [ external.ghc-mod ];\r\n./pkgs/top-level/emacs-packages.nix:280:    propagatedUserEnvPkgs = [ external.hindent ];\r\n./pkgs/top-level/emacs-packages.nix:299:    propagatedUserEnvPkgs = [ external.rtags ];\r\n./pkgs/top-level/emacs-packages.nix:363:    propagatedUserEnvPkgs = [ external.structured-haskell-mode ];\r\n./pkgs/applications/misc/onboard/default.nix:96:  propagatedUserEnvPkgs = [\r\n./pkgs/applications/misc/yakuake/default.nix:58:  propagatedUserEnvPkgs = [ konsole ];\r\n./pkgs/applications/office/kexi/default.nix:30:  propagatedUserEnvPkgs = [ kproperty ];\r\n./pkgs/applications/office/gnucash/2.4.nix:27:  propagatedUserEnvPkgs = [ gconf ];\r\n./pkgs/applications/office/gnucash/default.nix:44:  propagatedUserEnvPkgs = [ dconf ];\r\n./pkgs/applications/office/calligra/default.nix:43:  propagatedUserEnvPkgs = [ kproperty ];\r\n./pkgs/applications/office/mendeley/default.nix:104:  propagatedUserEnvPkgs = [ gconf ];\r\n./pkgs/applications/networking/instant-messengers/swift-im/default.nix:26:  propagatedUserEnvPkgs = [ GConf ];\r\n./pkgs/applications/editors/jetbrains/default.nix:169:      propagatedUserEnvPkgs = [ python ];\r\n./pkgs/applications/editors/emacs-modes/gh/default.nix:13:  propagatedUserEnvPkgs = [ pcache logito ];\r\n./pkgs/applications/editors/emacs-modes/ensime/default.nix:12:  propagatedUserEnvPkgs = [ autoComplete dash s scalaMode2 sbtMode ];\r\n./pkgs/applications/editors/emacs-modes/gist/default.nix:22:  propagatedUserEnvPkgs = [ gh pcache logito ];\r\n./pkgs/applications/editors/emacs-modes/org2blog/default.nix:13:  propagatedUserEnvPkgs = [ org xmlRpc metaweblog ];\r\n./pkgs/applications/editors/emacs-modes/jdee/default.nix:70:    propagatedUserEnvPkgs = propagatedBuildInputs; # FIXME: Not honored\r\n./pkgs/applications/editors/emacs-modes/ecb/default.nix:13:  propagatedUserEnvPkgs = propagatedBuildInputs;\r\n./pkgs/applications/editors/emacs-modes/color-theme-solarized/default.nix:15:  propagatedUserEnvPkgs = [ colorTheme ];\r\n./pkgs/applications/editors/emacs-modes/metaweblog/default.nix:13:  propagatedUserEnvPkgs = [ xmlRpc ];\r\n./pkgs/applications/editors/kile/default.nix:55:  propagatedUserEnvPkgs = [ konsole ];\r\n./pkgs/applications/kde/konsole.nix:22:  propagatedUserEnvPkgs = [ (lib.getBin kinit) ];\r\n./pkgs/applications/kde/kalarm.nix:36:  propagatedUserEnvPkgs = [ kdepim-runtime ];\r\n./pkgs/applications/kde/spectacle.nix:19:  propagatedUserEnvPkgs = [ kipi-plugins libkipi ];\r\n./pkgs/applications/kde/kate.nix:24:  propagatedUserEnvPkgs = [ konsole ];\r\n./pkgs/applications/kde/gwenview.nix:20:  propagatedUserEnvPkgs = [ kipi-plugins libkipi (lib.getBin kinit) ];\r\n./pkgs/applications/kde/kdebugsettings.nix:19:  propagatedUserEnvPkgs = [ ];\r\n./pkgs/applications/kde/k3b.nix:33:  propagatedUserEnvPkgs = [ (lib.getBin kinit) ];\r\n./pkgs/applications/kde/kmail.nix:28:  propagatedUserEnvPkgs = [ kdepim-runtime kwallet ];\r\n./pkgs/applications/audio/paprefs/default.nix:16:  propagatedUserEnvPkgs = [ GConf ];\r\n./pkgs/applications/backup/deja-dup/default.nix:40:  propagatedUserEnvPkgs = [ duplicity ];\r\n./pkgs/applications/window-managers/velox/default.nix:33:  propagatedUserEnvPkgs = [ swc ];\r\n./pkgs/applications/window-managers/awesome/default.nix:32:  propagatedUserEnvPkgs = [ hicolor-icon-theme ];\r\n./pkgs/build-support/emacs/generic.nix:50:  propagatedUserEnvPkgs = packageRequires;\r\n./pkgs/build-support/agda/default.nix:36:    propagatedUserEnvPkgs = self.buildDependsAgda;\r\n./pkgs/games/gtetrinet/default.nix:17:  propagatedUserEnvPkgs = [ GConf ];\r\n```"}}
{"actor":{"display_login":"edolstra"}}