641 Matching Annotations
  1. Last 7 days
  2. Feb 2020
    1. 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.

      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.

  3. Jan 2020
  4. Dec 2019
    1. Clojure has a programmatic macro system which allows the compiler to be extended by user code. Macros can be used to define syntactic constructs which would require primitives or built-in support in other languages. Many core constructs of Clojure are not, in fact, primitives, but are normal macros.
  5. Nov 2019
  6. Oct 2019
  7. Sep 2019
  8. Aug 2019
  9. Jul 2019
  10. Jun 2019