lix/src
Eelco Dolstra 26cf0c674f nix run: Use packages/legacyPackages as fallback if there is no app definition
'nix run' will try to run $out/bin/<name>, where <name> is the
derivation name (excluding the version). This often works well:

  $ nix run nixpkgs#hello
  Hello, world!

  $ nix run nix -- --version
  nix (Nix) 2.4pre20200626_adf2fbb

  $ nix run patchelf -- --version
  patchelf 0.11.20200623.e61654b

  $ nix run nixpkgs#firefox -- --version
  Mozilla Firefox 77.0.1

  $ nix run nixpkgs#gimp -- --version
  GNU Image Manipulation Program version 2.10.14

though not always:

  $ nix run nixpkgs#git
  error: unable to execute '/nix/store/kp7wp760l4gryq9s36x481b2x4rfklcy-git-2.25.4/bin/git-minimal': No such file or directory
2020-06-29 19:08:50 +02:00
..
build-remote Revert the enum struct change 2020-06-18 22:11:26 +00:00
cpptoml Revert the enum struct change 2020-06-18 22:11:26 +00:00
libexpr EvalCache: Store string contexts 2020-06-29 19:08:37 +02:00
libfetchers Merge remote-tracking branch 'origin/master' into flakes 2020-06-26 08:46:46 +02:00
libmain Fix bash completion 2020-06-29 14:37:22 +02:00
libstore Merge remote-tracking branch 'origin/master' into flakes 2020-06-26 08:46:46 +02:00
libutil Merge remote-tracking branch 'origin/master' into flakes 2020-06-26 08:46:46 +02:00
nix nix run: Use packages/legacyPackages as fallback if there is no app definition 2020-06-29 19:08:50 +02:00
nix-build appended ' __attribute__((weak)); ' to 'extern char * * environ ' 2020-06-17 03:25:34 +01:00
nix-channel Merge branch 'master' into errors-phase-2 2020-05-11 14:35:30 -06:00
nix-collect-garbage Remove global -I flags 2020-03-30 15:30:19 +02:00
nix-copy-closure Revert the enum struct change 2020-06-18 22:11:26 +00:00
nix-daemon Remove trailing whitespace 2020-06-15 14:12:39 +02:00
nix-env Revert the enum struct change 2020-06-18 22:11:26 +00:00
nix-instantiate remove 'format' from Error constructor calls 2020-04-21 17:07:07 -06:00
nix-prefetch-url Revert the enum struct change 2020-06-18 22:11:26 +00:00
nix-store Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype 2020-06-18 23:01:58 +00:00
resolve-system-dependencies StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00