Fork of Lix to retain it clean from idiot AI sloppers

Merge pull request #9648 from cole-h/nix-shell-ordering master

nix shell: reflect command line order in PATH order (cherry picked from commit b91c935c2faf08ced2c763dcd2a831f26d84fa86) Change-Id: If16c120bb74857c2817366e74e5b0877eb997260