Commit graph

18284 commits

Author SHA1 Message Date
Eelco Dolstra
e855c7e2c9 nix-channel improvements
"nix-channel --add" now accepts a second argument: the channel name.
This allows channels to have a nicer name than (say) nixpkgs_unstable.
If no name is given, it defaults to the last component of the URL
(with "-unstable" or "-stable" removed).

Also, channels are now stored in a profile
(/nix/var/nix/profiles/per-user/$USER/channels).  One advantage of
this is that it allows rollbacks (e.g. if "nix-channel --update" gives
an undesirable update).
2012-04-14 18:38:52 +02:00
Eelco Dolstra
969a14599d If "pv" is available at compile time, hard-code its path 2012-04-13 14:41:33 +02:00
Shea Levy
34a85c5405 nix-copy-closure: Move the progressViewer directly adjacent to the ssh call so that network progress is what's measured 2012-04-13 14:29:12 +02:00
Shea Levy
055e803851 Add the '--show-progress' flag to nix-copy-closure 2012-04-13 14:29:12 +02:00
Eelco Dolstra
00c98a6bef Use Bison 2.5 2012-04-13 14:28:26 +02:00
Vincent Ambo
84b6f5b417 * colouring tool changes 2012-04-12 02:56:33 +02:00
Eelco Dolstra
209927bb27 Unconfuse Rob 2012-04-10 16:40:51 +02:00
Eelco Dolstra
1fb30e6d50 Handle the case where $SHELL is not set 2012-04-10 13:52:37 +02:00
Rob Vermaas
8f6146a7bc Merge pull request #5 from shlevy/doc-fix
Nix is on github now
2012-04-09 00:24:08 -07:00
Shea Levy
242a99c95a Nix is on github now 2012-04-08 23:59:02 -04:00
Eelco Dolstra
533250a4a3 Fix building from the tarball 2012-04-06 22:54:15 +02:00
Eelco Dolstra
831c7aa410 Documentation fix 2012-04-06 22:03:19 +02:00
Eelco Dolstra
5863987bba Include environment variables in the manpages 2012-04-06 21:56:20 +02:00
Eelco Dolstra
998b977ede Include common options in the manpages using some XInclude hackery 2012-04-06 21:45:00 +02:00
Eelco Dolstra
d49ef039dd Update affiliation 2012-04-06 21:43:56 +02:00
Vincent Ambo
bb981085a6 * removed entryEscape -> Posting pure HTML from now on (pre tag where necessary) 2012-04-06 20:32:25 +02:00
Eelco Dolstra
5a6d50998d Add a missing DocBook source file to the tarball
Reported on IRC by Adrian Siekierka.
2012-04-06 20:26:30 +02:00
Eelco Dolstra
f2467eb6a0 On Linux, pretend we're building on Linux 2.6
Setting the UNAME26 personality causes "uname" to return "2.6.x",
regardless of the kernel version.  This improves determinism in
a few misbehaved packages.
2012-04-05 13:03:19 +02:00
Hydra mirror
3b859ead37 nix-generate-patches: Optionally write new patches to $NIX_ALL_PATCHES 2012-04-04 20:46:18 +00:00
Eelco Dolstra
34ea91b259 Include --keep-going in --help 2012-04-04 16:22:32 +02:00
Eelco Dolstra
0837348049 Follow redirects when checking for the existence of MANIFEST.bz2
If we don't follow redirects, we might think that MANIFEST.bz2 exists
just because the HEAD request succeeds on the redirector URI.
2012-04-04 15:41:35 +02:00
Vincent Ambo
d1297a50b5 * typo in cabal file 2012-04-04 04:13:18 +02:00
Vincent Ambo
d15a01007e * comment deletion (this doesn't look nice, but nobody except for me sees the admin page so I DON'T CARE :D) 2012-04-04 04:10:26 +02:00
Vincent Ambo
533463511f * changes to cabal file 2012-04-04 02:50:40 +02:00
Vincent Ambo
ad1ee4d89e * updated cabal file (dependency on recaptcha package) 2012-04-04 02:21:42 +02:00
Vincent Ambo
3e16a443e6 version 3.3:
* added reCaptcha again (got too much spam)
2012-04-04 02:20:56 +02:00
Eelco Dolstra
b8fb0ce563 Update "nix-build --help" 2012-03-27 11:59:36 +02:00
Eelco Dolstra
5144abe5b6 Add an option "--exclude" to filter dependencies in "nix-build --run-env"
Sometimes when doing "nix-build --run-env" you don't want all
dependencies to be built.  For instance, if we want to do "--run-env"
on the "build" attribute in Hydra's release.nix (to get Hydra's build
environment), we don't want its "tarball" dependency to be built.  So
we can do:

  $ nix-build --run-env release.nix -A build --exclude 'hydra-tarball'

This will skip the dependency whose name matches the "hydra-tarball"
regular expression.  The "--exclude" option can be repeated any number
of times.
2012-03-27 11:40:47 +02:00
Eelco Dolstra
3e94ffffd6 Allow the command executed by "nix-build --run-env" to be overriden with --command 2012-03-27 11:16:43 +02:00
Eelco Dolstra
446b827bae Mac OS X fix 2012-03-26 23:18:36 +02:00
Eelco Dolstra
480dda0e42 Delete non-directory valid paths right away
It's unlikely that rename() is faster than unlink() on a regular file
or symlink, so don't bother.
2012-03-26 20:56:30 +02:00
Eelco Dolstra
117670be57 Make the garbage collector more concurrent
Make the garbage collector more concurrent by deleting valid paths
outside the region where we're holding the global GC lock.  This
should greatly reduce the time during which new builds are blocked,
since the deletion accounts for the vast majority of the time spent in
the GC.

To ensure that this is safe, the valid paths are invalidated and
renamed to some arbitrary path while we're holding the lock.  This
ensures that we when we finally delete the path, it's not a (newly)
valid or locked path.
2012-03-26 20:43:33 +02:00
Eelco Dolstra
8be1979f1a Remove the --max-links GC option
We don't need this anymore now that current filesystems support more
than 32,000 files in a directory.
2012-03-26 20:00:02 +02:00
Vincent Ambo
5b80f528c7 * default rss feed link now points to an XML file 2012-03-25 20:56:19 +02:00
Vincent Ambo
1e45dcf7c8 * update and run scripts (using privbind) 2012-03-25 19:56:38 +02:00
Vincent Ambo
4b66c19242 * updated TODO 2012-03-25 19:54:26 +02:00
Vincent Ambo
dfc81e1282 * updated version in Cabal file 2012-03-25 19:35:30 +02:00
Vincent Ambo
658ba0c999 * updated Cabal file 2012-03-25 19:35:14 +02:00
Vincent Ambo
8b64d14a72 * removed System.Environment from Main.hs
* using the brand-new Options package to parse command line options (--port and --statedir)
2012-03-25 19:29:38 +02:00
Vincent Ambo
74ce7d9bf0 * small colouriser tool to run .hs files through HsColour 2012-03-25 19:01:56 +02:00
Vincent Ambo
7f4761bf7c * changed version tag to 3.2 2012-03-24 00:34:41 +01:00
Vincent Ambo
efbec9ff76 * added RSS.hs: functions to create an RSS feed
* added RSS feed handler
* FromReqURI instance for BlogLang
* fixed RSS-feed link
2012-03-24 00:32:38 +01:00
Vincent Ambo
a405e185ba Updated .hgignore to include the entire BlogState/ directory and *.orig files 2012-03-23 22:55:59 +01:00
Vincent Ambo
a57faddd25 * sequence_ $ map to mapM_ 2012-03-23 22:52:54 +01:00
Vincent Ambo
2738271e67 version 3.1.2:
* CSS changes for HsColour
2012-03-23 03:20:36 +01:00
Vincent Ambo
87924c405d version 3.1.1:
* added background texture for .middle
* removed accidental </br> which caused W3 validation to fail

New design is now complete.

--HG--
rename : res/ios-linen.jpg => res/hbg.jpg
2012-03-22 20:58:13 +01:00
Lluís Batlle i Rossell
85799bf89e Fixing the default of sync-before-registering
Setting 'false' as default, as suggested by Eelco.

I also added a comment about the setting in the code.
2012-03-22 20:05:54 +01:00
Lluís Batlle i Rossell
25de80e2b6 Adding a nix option to sync before registering a path, for non-ext*
filesystems.
2012-03-22 19:57:42 +01:00
Vincent Ambo
ac1a4ddcb0 * backup script 2012-03-22 14:46:35 +01:00
Vincent Ambo
c620521f47 * restored missing file 2012-03-22 14:43:59 +01:00