Skip to content

Commit

Permalink
Add the final changes for yesterday's presentation
Browse files Browse the repository at this point in the history
- Reorder some list items
- NixOps demo -> nixos-container demo
- Populate the Nixpkgs overlays slide
- Populate the NixUP & co. slide
  • Loading branch information
primeos committed Nov 18, 2017
1 parent f60910a commit d3ae948
Showing 1 changed file with 29 additions and 7 deletions.
36 changes: 29 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,13 @@
<textarea data-template>
# Problems of classical package managers

- Upgrades/configuration changes destructively update the system
state (overwriting files in sequence -> temporary inconsistency)
- State -> nondeterministic builds -> not reproducible
- Different versions of a binary
- Package conflicts
- State -> nondeterministic builds -> not reproducible
- No rollbacks
- No configuration management (NixOS)
- Updates/configuration changes destructively update the system
state (overwriting files in sequence -> temporary inconsistency)
- No configuration management
Notes:
- Apps might have an undefined behaviour or crash when launched
during an upgrade + possibility of permanent damage when
Expand Down Expand Up @@ -208,14 +208,15 @@
<textarea data-template>
# Problems

- Lacking manpower/workforce (e.g. for better
testing/security/documentation)
- Not all packages are reproducible (2016: 12.8%)
- Running pre-compiled binaries
- Scripts with hard-coded paths don't work
- No GUI for package/configuration management
- No LTS releases or super stable (i.e. old :P) branches
- Not all use-cases or configuration options supported
- Some tricks available + PRs welcome ;)
- Lacking manpower/workforce (e.g. security, documentation)
- Scripts with hard-coded paths don't work
Notes:
- 13 Dec 2016: "Currently, out of 36550 build steps in a full NixOS
evaluation, only 4699 (12.8%) were detected as non-deterministic.
Expand Down Expand Up @@ -471,19 +472,40 @@
</section>
<section data-markdown data-separator-notes="^Notes:">
<textarea data-template>
# NixOps
# nixos-container

- **Demo** <!-- TODO -->
</textarea>
</section>
<section data-markdown data-separator-notes="^Notes:">
<textarea data-template>
# Nixpkgs overlays

```nix
self: super:
# self: Final package set / fixed-point result (use as dependencies)
# super: Previous evaluation result
{
nix = super.nix.override {
storeDir = "${<nix-dir>}/store";
stateDir = "${<nix-dir>}/var";
};
boost = super.boost.override {
python = self.python3;
};
rr = super.callPackage ./pkgs/rr {
stdenv = self.stdenv_32bit;
};
}
```
</textarea>
</section>
<section data-markdown data-separator-notes="^Notes:">
<textarea data-template>
# NixUP & co.

- Nix User Profile
- Manage $HOME
</textarea>
</section>
<section data-markdown data-separator-notes="^Notes:">
Expand Down

0 comments on commit d3ae948

Please sign in to comment.