install (of course there's no "make install", that would be too
easy). Also create some wrapper scripts "oowriter", "oodraw" etc.
(I haven't done a full build of this yet, I've hacked on a tmpdir
left behind by nix-build -K.)
svn path=/nixpkgs/trunk/; revision=9260
It compiles now, but I haven't figure out how to do the
equivalent of a "make install". But you can build with -K
and then do
$ cd /tmp/nix-.../OOF680_m18/instsetoo_native/util
$ dmake openoffice_en-US PKGFORMAT=archive
and you get a big tarball in
/tmp/nix-.../OOF680_m18/instsetoo_native/unxlngi6.pro/OpenOffice/archive/install/en-US
that you can unpack anywhere to get a more-or-less working OpenOffice.
svn path=/nixpkgs/trunk/; revision=9257
easier. Instead of writing
config.get ["foo" "bar"]
it would be much cleaner to just write
config.foo.bar
only this doesn't handle the case where option foo.bar is not
supplied in the configuration; in that case we need to take the
default value from some set of option definitions
(system/options.nix in NixOS).
Following a suggestion from Martin, the function `combine' (need
better name) takes a set of option definitions (which follow the
attribute set structure of the options) and a set of options and
fills in missing values in the latter with default values from the
former. This only works with very recent versions of Nix (it needs
Marc Weber's listToAttrs primop).
svn path=/nixpkgs/trunk/; revision=9203
fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/zapping/zapping-0.9.6.tar.bz2;
md5 = "8306775c6a11de4d72345b5eee970ea6";
};
you can write
fetchurl {
url = mirror://sourceforge/zapping/zapping-0.9.6.tar.bz2;
md5 = "8306775c6a11de4d72345b5eee970ea6";
};
which causes fetchurl to try the SourceForge mirrors listed in the
`sourceforge' attribute in build-support/fetchurl/mirrors.nix.
(They're currently tried in sequence, and the lists of mirrors are
not configurable yet.)
The syntax for mirror URLs is mirror://site/path/to/file, where
`site' is currently one of `sourceforge', `gnu' (mirrors of
ftp://ftp.gnu.org/pub/gnu) and `kernel' (mirrors of
http://www.all.kernel.org/pub/).
svn path=/nixpkgs/trunk/; revision=9197
build a minimal text which includes given strings and satisfies
'dependencies' of type A requires B to go before it. Just like
global variable intialization must occur before using them. Supposed
to be used for constructing builder.sh .
svn path=/nixpkgs/trunk/; revision=9196
URLs to http://nix.cs.uu.nl/dist/tarballs. With content-addressable
mirror support (r9190, NIXPKGS-70) this is no longer necessary:
fetchurl will try to download from that location automatically. So
we can keep the original URLs.
svn path=/nixpkgs/trunk/; revision=9192