Tweaks for nix-shell
This commit is contained in:
parent
7cd386894d
commit
659c829e88
7
dev-shell
Executable file
7
dev-shell
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#! /bin/sh
|
||||||
|
s=$(type -p nix-shell)
|
||||||
|
exec $s release.nix -A build.x86_64-linux --exclude tarball --command "
|
||||||
|
export NIX_REMOTE=daemon
|
||||||
|
export NIX_PATH='$NIX_PATH'
|
||||||
|
export NIX_BUILD_SHELL=$(type -p bash)
|
||||||
|
exec $s release.nix -A tarball" "$@"
|
|
@ -52,8 +52,7 @@
|
||||||
|
|
||||||
|
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>2009</year>
|
<year>2009-2013</year>
|
||||||
<year>2010</year>
|
|
||||||
<holder>Eelco Dolstra</holder>
|
<holder>Eelco Dolstra</holder>
|
||||||
</copyright>
|
</copyright>
|
||||||
|
|
||||||
|
@ -64,6 +63,7 @@
|
||||||
<xi:include href="introduction.xml" />
|
<xi:include href="introduction.xml" />
|
||||||
<xi:include href="installation.xml" />
|
<xi:include href="installation.xml" />
|
||||||
<xi:include href="projects.xml" />
|
<xi:include href="projects.xml" />
|
||||||
|
<xi:include href="hacking.xml" />
|
||||||
|
|
||||||
|
|
||||||
</book>
|
</book>
|
||||||
|
|
|
@ -24,7 +24,7 @@ in rec {
|
||||||
|
|
||||||
versionSuffix = if officialRelease then "" else "pre${toString hydraSrc.revCount}-${hydraSrc.gitTag}";
|
versionSuffix = if officialRelease then "" else "pre${toString hydraSrc.revCount}-${hydraSrc.gitTag}";
|
||||||
|
|
||||||
preConfigure = ''
|
preHook = ''
|
||||||
# TeX needs a writable font cache.
|
# TeX needs a writable font cache.
|
||||||
export VARTEXFONTS=$TMPDIR/texfonts
|
export VARTEXFONTS=$TMPDIR/texfonts
|
||||||
'';
|
'';
|
||||||
|
@ -118,7 +118,7 @@ in rec {
|
||||||
gzip bzip2 lzma gnutar unzip git gitAndTools.topGit mercurial gnused graphviz bazaar
|
gzip bzip2 lzma gnutar unzip git gitAndTools.topGit mercurial gnused graphviz bazaar
|
||||||
] ++ lib.optionals stdenv.isLinux [ rpm dpkg cdrkit ] );
|
] ++ lib.optionals stdenv.isLinux [ rpm dpkg cdrkit ] );
|
||||||
|
|
||||||
preConfigure = "patchShebangs .";
|
preCheck = "patchShebangs .";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/nix-support
|
mkdir -p $out/nix-support
|
||||||
|
|
Loading…
Reference in a new issue