Les Partages de Memiks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
[Nix-dev] drone and nix (sort of solved) https://nixos.org/nix-dev/2017-June/023903.html
Mon Jan 27 08:23:35 2020 archive.org
QRCode

Hi all, I while ago here I asked about using nix with drone.io (a CI system which uses docker), to deal with push based tests. I previously reported back with a solution with gitlab, but I did end up with a workable (not perfect) solution for drone. On the 'drone agent' machine run this once: # docker volume create nix # docker run --rm -v nix:/newnix nixos/nix cp -a /nix/store /nix/var /newnix in the .drone.yml files: pipeline: build: image: nixos/nix commands: ... volumes: - nix:/nix/ And whenever you want to update nixchannel: # docker run -v nix:/nix/ --rm -ti nixos/nix nix-channel --update This will share the /nix directory with every build, so rebuild (and downloads!) are kept to a minimum. Maybe it helps someone. Thanks! Harmen

4769 links, including 1683 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn