aboutsummaryrefslogtreecommitdiff
path: root/scripts/nix-install-package.in
AgeCommit message (Collapse)Author
2016-08-10Remove nix-install-package.Shea Levy
Refs #831
2016-04-11Remove manifest supportEelco Dolstra
Manifests have been superseded by binary caches for years. This also gets rid of nix-pull, nix-generate-patches and bsdiff/bspatch.
2015-01-30nix-install-package: follow symlinksJaka Hudoklin
2014-09-23Pass through --set from nix-install-package command line to nix-envShell Turner
2014-08-29Shut up "Wide character" warnings in Perl scriptsEelco Dolstra
2014-08-20Use proper quotes everywhereEelco Dolstra
2014-08-13Use $XDG_RUNTIME_DIR for temporary filesEelco Dolstra
2014-08-07nix-install-package: Use extra-binary-cachesEelco Dolstra
2012-10-03When ‘--help’ is given, just run ‘man’ to show the manual pageEelco Dolstra
I.e. do what git does. I'm too lazy to keep the builtin help text up to date :-) Also add ‘--help’ to various commands that lacked it (e.g. nix-collect-garbage).
2012-07-30Do some validation of URLsEelco Dolstra
2012-07-30nix-install-package: Support binary cachesEelco Dolstra
The .nixpkg file format is extended to optionally include the URL of a binary cache, which will be used in preference to the manifest URL (which can be set to a non-existent value).
2012-01-05* Add a -I flag to the Perl bindings to nix-build and some otherEelco Dolstra
scripts. * Include the version and architecture in the -I flag so that there is at least a chance that a Nix binary built for one Perl version will run on another version.
2011-10-10* Set the executable bit on scripts.Eelco Dolstra
2011-10-10* Install NixManifest.pm, NixConfig.pm and GeneratePatches.pm underEelco Dolstra
the Nix:: namespace.
2011-04-19* nix-install-package: unset NIX_REMOTE because $NIX_MANIFESTS_DIREelco Dolstra
doesn't work when building through the Nix daemon. This also ensures an error message when the user doesn't have sufficient privileges to do nix-pull.
2009-02-27* nix-install-package: don't pollute /nix/var/nix/manifests.Eelco Dolstra
2008-11-20* Urgh.Eelco Dolstra
2007-09-18* Remove garbage.Eelco Dolstra
2006-10-04* tmpnam() -> File::Temp::tempdir().Eelco Dolstra
2006-09-25* Quick hack to let nix-install-package set the package name properlyEelco Dolstra
(e.g., "java-front-0.9pre15899" instead of "java-front"; particularly important when doing upgrades later on).
2006-09-25* Clean up calls to system().Eelco Dolstra
2006-09-21* `nix-install-package --url': install from a URL (NIX-12).Eelco Dolstra
* `nix-install-package --help' (NIX-9). * `nix-install-package --non-interactive': don't prompt or pause. * Tests for nix-install-package. * Security fixes: filter the values obtained from the nixpkg.
2006-09-21* Try konsole and gnome-terminal in addition to xterm.Eelco Dolstra
2005-03-11* nix-install-package: install outPath, not drvPath, for now.Eelco Dolstra
* nix-prefecth-url: print out in base-16.
2005-02-25* Pause if errors occur.Eelco Dolstra
2005-02-25* nix-install-package: Use the new (trivial) package format generatedEelco Dolstra
by the build farm. See e.g., http://catamaran.labs.cs.uu.nl/dist/nixpkgs-0.8/nixpkgs-0.7pre2302/; the user can click on packages, and they will be installed (assuming the `application/nix-package' MIME type has been associated with `nix-install-package'). Nix expressions are no longer involved: a "package" is just a pointer to a manifest, and the top-level store derivation to be added to the user environment. This makes these packages independent from Nix expression evolution. Note that we install the store derivation ($drvPath), not the resulting output path ($outPath). This is equivalent, except that installing the derivation maintains the back-link from the output path to the derivation that built it. This is useful for maintenance. * Automatically re-exec in an xterm so that the user sees something when `nix-install-package' is run from a browser.
2004-04-06* Switched from wget to curl.Eelco Dolstra
* Made the dependencies on bzip2 and the shell explicit.
2004-03-15* Make perl a dependency of Nix.Eelco Dolstra
2004-01-14* Improved `nix-push': it now uses HTTP PUT (instead of rsync) to copyEelco Dolstra
files. Target location is no longer hard-coded; it accepts a number of URLs on the command line. * `nix-install-package': compatibility fixes.
2003-11-24* One-click installation :-)Eelco Dolstra
The script nix-install-package takes a `Nix package file' (which contains one or more derivations, along with URLs of Nix caches), unpacks it, pulls the caches, and installs the derivations in the user's environment. For best results, associate the command `xterm -e /nix/bin/nix-install-package' with the MIME type `application/x-nix-package' and visit http://losser.st-lab.cs.uu.nl/~eelco/test/.