Nix Packages collection & NixOS
Go to file
Eelco Dolstra b89f941b20 Provide missing command suggestions, Ubuntu style
If the user tries to run a program that doesn't exist from Bash, the
program name is looked up in a database that maps to Nix package
names.  If it is found, we print out a message like:

  $ pdflatex
  The program ‘pdflatex’ is currently not installed. It is provided by
  several packages. You can install it by typing one of the following:
    nix-env -i tetex
    nix-env -i texlive-core

If the environment variable $NIX_AUTO_INSTALL is set, the command is
installed and executed automatically:

  $ hello --version
  The program ‘hello’ is currently not installed. It is provided by
  the package ‘hello’, which I will now install for you.
  installing `hello-2.8'
  hello (GNU hello) 2.8
  Copyright (C) 2011 Free Software Foundation, Inc. ...

To use this, you must currently manually put the SQLite programs
database in /var/lib/nixos/programs.sqlite.  In the future, this file
should be provided as part of the NixOS channel so it gets updated
automatically.  To get a test version:

  $ curl http://nixos.org/~eelco/programs.sqlite.xz | xz -d > /var/lib/nixos/programs.sqlite
2013-01-30 15:00:59 +01:00
doc Rename ‘boot.systemd’ to ‘systemd’ 2013-01-16 12:33:18 +01:00
gui renaming all occurrences of /var/run/{booted,current}-system 2012-07-23 14:01:35 -04:00
lib Parameterise the path to nixpkgs. 2013-01-28 16:11:44 +01:00
maintainers Doh 2013-01-25 17:12:38 +01:00
modules Provide missing command suggestions, Ubuntu style 2013-01-30 15:00:59 +01:00
tests Remove obsolete file 2012-12-21 00:18:12 +01:00
.gitignore Ignore .version-suffix file created by nixos-rebuild 2013-01-16 10:12:42 -05:00
.version Bump the NixOS version number to 0.2 2013-01-15 14:25:13 +01:00
COPYING * Add a license, finally :-) 2010-05-28 11:48:41 +00:00
default.nix Parameterise the path to nixpkgs. 2013-01-28 16:11:44 +01:00
README * URL updates. 2008-05-09 15:08:43 +00:00
release-combined.nix * Include all of Nixpkgs. 2012-04-11 09:17:32 +00:00
release.nix NixOS channel: Use XZ compression for nixexprs.tar 2013-01-30 12:26:41 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.