Johbo's Notes - Working on the Web
  • About Me
  • Archives

Using Nix in Docker to build Sphinx documents

Sun 15 April 2018 by Johannes Bornhold in nixos Tags nix / docker / container

Building PDF documents via Sphinx depends of LaTeX being available, this resulted in quite heavy container images which took also very long to build. Out of curiosity I tested to build a minimal Texlive environment based on Nix and got surprisingly nice results, both the image size and the build time dropped significantly.

more ...

Run a command with extra packages available

Thu 28 December 2017 by Johannes Bornhold in nixos Tags pip2nix / nix-shell

Small snippet how to run a command with a few extra dependencies inside of the environment in an ad-hoc fashion.

more ...

Building a NixOS image for VirtualBox

Wed 27 December 2017 by Johannes Bornhold in nixos Tags nixos / virtualization / image

NixOS allows to easily build images of a machine configuration. This post shows in an example how to build a more recent version of the base image which NixOPS uses to spin off Virtualbox based machines. The idea should be applicable to all kinds of machine configurations.

more ...

NixOPS Defaults

Sat 18 November 2017 by Johannes Bornhold in nixos Tags nixops / nix

Quick note about the attribute "defaults" in a NixOPS network description.

more ...

Building a NixOS container from macOS

Tue 31 October 2017 by Johannes Bornhold in nixos Tags nix / container

When experimenting with NixOS containers, it is sometimes quite nice to just build the container derivation and inspect the result. Being able to use the remote building features makes this even more convenient.

more ...

Nixpkgs library discovery: remove

Tue 31 October 2017 by Johannes Bornhold in nixos Tags nix / library / nixpkgs / pip2nix

A quick example about how to use the library function remove to adjust a package's dependencies based on a given condition.

more ...

Remote building

Tue 31 October 2017 by Johannes Bornhold in nixos Tags nix / nixos / nixops / osx

Quick note about the needed bits to get remote building for Nix into a working state on OSX.

more ...

#Nix geht mehr!

Sat 26 November 2016 by Johannes Bornhold in nixos Tags nixos / nix / fun

My personal collection of Nix related jokes in German. Can't help myself, I still like those ;)

more ...

Update your node-env.nix for recent nixpkgs

Wed 09 November 2016 by Johannes Bornhold in nixos Tags node2nix / nix

Quick hints on getting your node2nix based environment updated for recent versions of nixpkgs.

more ...

Upgrading old NixOS machines

Tue 01 November 2016 by Johannes Bornhold in nixos Tags nixos / nix

Upgrading old NixOS machines can lead to a situation where the rebuild fails due to an unknown hash algorithm. This post shows a workaround to get started again.

more ...

  • «
  • 1
  • 2
  • »
  • Social

    • mastodon
    • matrix
    • github
  • Categories

    • cloud
    • develop
    • event
    • hello
    • macos
    • nixos
    • tools

© 2018 Johannes Bornhold

Back to top