Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 34cce365 authored by Millian Poquet's avatar Millian Poquet
Browse files

[nix] keep default.nix simple

parent 767e43b6
No related branches found
No related tags found
No related merge requests found
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
let texlive = pkgs.texlive.combine {
inherit (pkgs.texlive)
everypage
scheme-full
xkeyval
times
courier
wrapfig
xcolor
booktabs
caption
siunitx
fixme
todo
tabulary
algorithms
algorithmicx
acmart
totpages
environ
trimspaces
ncctools
comment
dirtree ;
};
inputs = [ texlive pkgs.dia rubber ninja ];
let
texlive = pkgs.texlive.combined.scheme-minimal;
in
stdenv.mkDerivation rec {
name = "slides";
src = ./.;
buildInputs = [ texlive pkgs.dia rubber ninja ];
buildPhase = "make";
stdenv.mkDerivation rec {
name="paper";
src = ./.;
buildPhase = "make";
buildInputs = inputs;
installPhase = ''
mkdir $out
cp slides.pdf $out
installPhase = ''
mkdir $out
cp slides.pdf $out
'';
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment