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> {} }: { pkgs ? import <nixpkgs> {} }:
with pkgs; with pkgs;
let texlive = pkgs.texlive.combine { let
inherit (pkgs.texlive) texlive = pkgs.texlive.combined.scheme-minimal;
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 ];
in in
stdenv.mkDerivation rec {
name = "slides";
src = ./.;
buildInputs = [ texlive pkgs.dia rubber ninja ];
buildPhase = "make";
stdenv.mkDerivation rec { installPhase = ''
mkdir $out
name="paper"; cp slides.pdf $out
src = ./.;
buildPhase = "make";
buildInputs = inputs;
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