about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2017-04-25 Set default installableEelco Dolstra1-1/+7
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-25 Interpret any installable containing a slash as a pathEelco Dolstra1-11/+7
So "nix path-info ./result" now works.
2017-04-25 Make StorePathsCommand a subclass of InstallablesCommandEelco Dolstra2-24/+33
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-25 Move code aroundEelco Dolstra8-80/+68
2017-04-25 Add "nix eval" commandEelco Dolstra1-0/+44
This replaces "nix-instantiate --eval". The result is evaluated strictly since this seems more useful.
2017-04-25 Restructure installables handling in the "nix" commandEelco Dolstra9-124/+257
2017-04-24 Remove debug statementEelco Dolstra1-1/+0
2017-04-24 Factor out --jsonEelco Dolstra3-8/+14
2017-04-24 nix-shell -p: Use runCommandCCEelco Dolstra1-1/+1
This restores pre-17.03 behaviour by making gcc available.
2017-04-24 Merge pull request #1347 from kennyballou/sm-grammar-fixEelco Dolstra1-1/+1
Fix small grammar issue about page
2017-04-24 Merge pull request #1351 from earldouglas/ellipsesEelco Dolstra1-1/+1
Drop misleading ellipses
2017-04-24 Merge pull request #1348 from armijnhemel/nix-envEelco Dolstra1-1/+1
better document --meta option for nix-env
2017-04-21 Merge pull request #1352 from corngood/cygwin-fixesEelco Dolstra4-5/+10
Cygwin fixes
2017-04-21 add helper function to set 'interruptThrown'David McFarland3-3/+8
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-21 set _GNU_SOURCE on cygwinDavid McFarland1-2/+2
this is needed for pipe2()
2017-04-20 Drop misleading ellipsesJames Earl Douglas1-1/+1
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-20 Detect lsofEelco Dolstra4-4/+12
Also, don't use lsof on Linux since it's not needed. Fixes #1328.
2017-04-20 Improve nix show-config --jsonEelco Dolstra6-40/+68
In particular, show descriptions. This could be used for manpage generation etc.
2017-04-20 Setting: Remove "Tag" template argumentEelco Dolstra5-74/+90
2017-04-20 Read per-user settings from ~/.config/nix/nix.confEelco Dolstra8-24/+70
2017-04-20 binary-caches-parallel-connections -> http-connectionsEelco Dolstra2-3/+4
2017-04-20 nix.conf man page: binary-caches -> substitutersEelco Dolstra1-21/+13
2017-04-20 Reimplement trusted-substituters (aka trusted-binary-caches)Eelco Dolstra2-6/+46
2017-04-19 document optionArmijn Hemel1-1/+1
2017-04-19 Fix small grammar issue about pagekballou1-1/+1
Fix subject-verb agreement issue in introduction/about.
2017-04-19 Reimplement connect-timeoutEelco Dolstra2-0/+5
Fixes #1339.
2017-04-19 getDerivations(): Filter out packages with bad derivation namesEelco Dolstra1-0/+6
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-18 Merge pull request #1337 from lheckemann/doc-tryEvalEelco Dolstra1-0/+13
Manual: document tryEval
2017-04-18 Merge pull request #1321 from shlevy/channel-direct-tarball-errorEelco Dolstra1-6/+3
nix-channel: error out if direct tarball unpack fails.
2017-04-17 Manual: document tryEvalLinus Heckemann1-0/+13
2017-04-14 Shut up some warningsEelco Dolstra6-13/+17
2017-04-14 DohEelco Dolstra1-1/+1
2017-04-14 Build on aarch64-linuxEelco Dolstra1-1/+1
2017-04-14 Fix 32-bit buildEelco Dolstra1-1/+3
http://hydra.nixos.org/build/51569816
2017-04-14 Fix Perl bindingsEelco Dolstra1-1/+0
2017-04-14 Minor cleanupEelco Dolstra2-3/+3
2017-04-14 nix-daemon: Don't set untrusted-* settingsEelco Dolstra1-3/+1
These are no longer used anywhere.
2017-04-14 nix-daemon: Don't die if the user sends an unknown settingEelco Dolstra1-4/+8
2017-04-13 Add "nix show-config" commandEelco Dolstra1-0/+43
This dumps the entire Nix configuration, including all options that have default values.
2017-04-13 Convert Settings to the new config systemEelco Dolstra18-530/+332
This makes all config options self-documenting. Unknown or unparseable config settings and --option flags now cause a warning.
2017-04-13 Support arbitrary numeric types for settingsEelco Dolstra1-4/+17
2017-04-13 Validate Boolean settings betterEelco Dolstra1-1/+6
2017-04-13 Merge branch 'rework-options' of https://github.com/copumpkin/nixEelco Dolstra11-92/+221
2017-04-13 Add a Config class to simplify adding configuration settingsEelco Dolstra16-40/+334
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-13 canonPath(): Check against empty pathsEelco Dolstra1-0/+2
2017-04-13 Add warn functionEelco Dolstra2-1/+16
2017-04-13 Initialise loggerEelco Dolstra3-4/+1
2017-04-13 Merge pull request #1325 from benley/float-rl-1.12Eelco Dolstra2-7/+7
Move note about float support out of the wrong release notes
2017-04-12 Move note about float support out of the wrong release notesBenjamin Staffin2-7/+7
Looks like this snuck into the 1.11 release notes post-release, but float support isn't actually present until 1.12.
2017-04-12 Merge pull request #1302 from dtzWill/fix/nix-optionsEelco Dolstra3-0/+9
Process nix.conf options in "new" commands, add test