Different output filename
This commit is contained in:
parent
4db22860c9
commit
b912ff28ad
|
@ -16,7 +16,7 @@
|
||||||
});
|
});
|
||||||
in {
|
in {
|
||||||
packages = rec {
|
packages = rec {
|
||||||
document = pkgs.stdenvNoCC.mkDerivation rec {
|
document = pkgs.stdenvNoCC.mkDerivation rec {
|
||||||
pname = throw "put document name here";
|
pname = throw "put document name here";
|
||||||
version = "0.0";
|
version = "0.0";
|
||||||
src = ./src;
|
src = ./src;
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
'';
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp ${texInput}.pdf $out/
|
cp ${texInput}.pdf $out/${pname}.pdf
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
default = document;
|
default = document;
|
||||||
|
|
Loading…
Reference in a new issue