Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
presentation-slides
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
nix-tutorial
presentation-slides
Commits
34cce365
Commit
34cce365
authored
5 years ago
by
Millian Poquet
Browse files
Options
Downloads
Patches
Plain Diff
[nix] keep default.nix simple
parent
767e43b6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
default.nix
+11
-37
11 additions, 37 deletions
default.nix
with
11 additions
and
37 deletions
default.nix
+
11
−
37
View file @
34cce365
{
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
''
;
''
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment