aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-04-25StorePathCommands: Build installablesEelco Dolstra
So for instance "nix copy --to ... nixpkgs.hello" will build nixpkgs.hello first. It's debatable whether this is a good idea. It seems desirable for commands like "nix copy" but maybe not for commands like "nix path-info".
2017-04-25Set default installableEelco Dolstra
Thus $ nix build -f foo.nix will build foo.nix. And $ nix build will build default.nix. However, this may not be a good idea because it's kind of inconsistent, given that "nix build foo" will build the "foo" attribute from the default installation source (i.e. the synthesis of $NIX_PATH), rather than ./default.nix. So I may revert this.
2017-04-25Interpret any installable containing a slash as a pathEelco Dolstra
So "nix path-info ./result" now works.
2017-04-25Make StorePathsCommand a subclass of InstallablesCommandEelco Dolstra
This allows commands like 'nix path-info', 'nix copy', 'nix verify' etc. to work on arbitrary installables. E.g. to copy geeqie to a binary cache: $ nix copy -r --to file:///tmp/binary-cache nixpkgs.geeqie Or to get the closure size of thunderbird: $ nix path-info -S nixpkgs.thunderbird
2017-04-25Move code aroundEelco Dolstra
2017-04-25Add "nix eval" commandEelco Dolstra
This replaces "nix-instantiate --eval". The result is evaluated strictly since this seems more useful.
2017-04-25Restructure installables handling in the "nix" commandEelco Dolstra
2017-04-24Remove debug statementEelco Dolstra
2017-04-24Factor out --jsonEelco Dolstra
2017-04-24nix-shell -p: Use runCommandCCEelco Dolstra
This restores pre-17.03 behaviour by making gcc available.
2017-04-24Merge pull request #1347 from kennyballou/sm-grammar-fixEelco Dolstra
Fix small grammar issue about page
2017-04-24Merge pull request #1351 from earldouglas/ellipsesEelco Dolstra
Drop misleading ellipses
2017-04-24Merge pull request #1348 from armijnhemel/nix-envEelco Dolstra
better document --meta option for nix-env
2017-04-21Merge pull request #1352 from corngood/cygwin-fixesEelco Dolstra
Cygwin fixes
2017-04-21add helper function to set 'interruptThrown'David McFarland
this fixes a linker failure on cygwin 64 due to some bad interaction between tls and shared libraries. see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64697
2017-04-21set _GNU_SOURCE on cygwinDavid McFarland
this is needed for pipe2()
2017-04-20Drop misleading ellipsesJames Earl Douglas
This portion of the quick start guide may lead to confusion for newcomers to Nix. This change clarifies the example to one that can be copied in its entirety.
2017-04-20Detect lsofEelco Dolstra
Also, don't use lsof on Linux since it's not needed. Fixes #1328.
2017-04-20Improve nix show-config --jsonEelco Dolstra
In particular, show descriptions. This could be used for manpage generation etc.
2017-04-20Setting: Remove "Tag" template argumentEelco Dolstra
2017-04-20Read per-user settings from ~/.config/nix/nix.confEelco Dolstra
2017-04-20binary-caches-parallel-connections -> http-connectionsEelco Dolstra
2017-04-20nix.conf man page: binary-caches -> substitutersEelco Dolstra
2017-04-20Reimplement trusted-substituters (aka trusted-binary-caches)Eelco Dolstra
2017-04-19document optionArmijn Hemel
2017-04-19Fix small grammar issue about pagekballou
Fix subject-verb agreement issue in introduction/about.
2017-04-19Reimplement connect-timeoutEelco Dolstra
Fixes #1339.
2017-04-19getDerivations(): Filter out packages with bad derivation namesEelco Dolstra
In particular, this disallows attribute names containing dots or starting with dots. Hydra already disallowed these. This affects the following packages in Nixpkgs master: 2048-in-terminal 2bwm 389-ds-base 90secondportraits lispPackages.3bmd lispPackages.hu.dwim.asdf lispPackages.hu.dwim.def Closes #1342.
2017-04-18Merge pull request #1337 from lheckemann/doc-tryEvalEelco Dolstra
Manual: document tryEval
2017-04-18Merge pull request #1321 from shlevy/channel-direct-tarball-errorEelco Dolstra
nix-channel: error out if direct tarball unpack fails.
2017-04-17Manual: document tryEvalLinus Heckemann
2017-04-14Shut up some warningsEelco Dolstra
2017-04-14DohEelco Dolstra
2017-04-14Build on aarch64-linuxEelco Dolstra
2017-04-14Fix 32-bit buildEelco Dolstra
http://hydra.nixos.org/build/51569816
2017-04-14Fix Perl bindingsEelco Dolstra
2017-04-14Minor cleanupEelco Dolstra
2017-04-14nix-daemon: Don't set untrusted-* settingsEelco Dolstra
These are no longer used anywhere.
2017-04-14nix-daemon: Don't die if the user sends an unknown settingEelco Dolstra
2017-04-13Add "nix show-config" commandEelco Dolstra
This dumps the entire Nix configuration, including all options that have default values.
2017-04-13Convert Settings to the new config systemEelco Dolstra
This makes all config options self-documenting. Unknown or unparseable config settings and --option flags now cause a warning.
2017-04-13Support arbitrary numeric types for settingsEelco Dolstra
2017-04-13Validate Boolean settings betterEelco Dolstra
2017-04-13Merge branch 'rework-options' of https://github.com/copumpkin/nixEelco Dolstra
2017-04-13Add a Config class to simplify adding configuration settingsEelco Dolstra
The typical use is to inherit Config and add Setting<T> members: class MyClass : private Config { Setting<int> foo{this, 123, "foo", "the number of foos to use"}; Setting<std::string> bar{this, "blabla", "bar", "the name of the bar"}; MyClass() : Config(readConfigFile("/etc/my-app.conf")) { std::cout << foo << "\n"; // will print 123 unless overriden } }; Currently, this is used by Store and its subclasses for store parameters. You now get a warning if you specify a non-existant store parameter in a store URI.
2017-04-13canonPath(): Check against empty pathsEelco Dolstra
2017-04-13Add warn functionEelco Dolstra
2017-04-13Initialise loggerEelco Dolstra
2017-04-13Merge pull request #1325 from benley/float-rl-1.12Eelco Dolstra
Move note about float support out of the wrong release notes
2017-04-12Move note about float support out of the wrong release notesBenjamin Staffin
Looks like this snuck into the 1.11 release notes post-release, but float support isn't actually present until 1.12.