Skip to content
Snippets Groups Projects
  1. Sep 26, 2018
  2. Aug 30, 2018
  3. Aug 21, 2018
  4. Aug 19, 2018
  5. Jul 31, 2018
  6. May 30, 2018
  7. Apr 19, 2018
  8. Apr 11, 2018
  9. Apr 07, 2018
  10. Mar 29, 2018
    • Graham Christensen's avatar
      Expand the multi-user installer to support Linuxes with systemd · 2921165a
      Graham Christensen authored
       - darwin installer: delete hardware report, not necessary
       - moves os-specific code from the darwin installer to to `poly_*`
         functions
       - adds profile.d support to the profile targets, which automatically
         handles many distros which don't have a /etc/bashrc but do have an
         /etc/profile.d
       - /bin/bash -> /usr/bin/env bash
       - document why each excluded shellcheck check is excluded
       - rename the multi-user to Daemon-based
      2921165a
  11. Mar 26, 2018
  12. Mar 22, 2018
  13. Mar 20, 2018
  14. Mar 19, 2018
  15. Mar 14, 2018
  16. Mar 03, 2018
  17. Feb 20, 2018
  18. Feb 07, 2018
  19. Jan 18, 2018
  20. Jan 16, 2018
    • Eelco Dolstra's avatar
      Add pure evaluation mode · d4dcffd6
      Eelco Dolstra authored
      In this mode, the following restrictions apply:
      
      * The builtins currentTime, currentSystem and storePath throw an
        error.
      
      * $NIX_PATH and -I are ignored.
      
      * fetchGit and fetchMercurial require a revision hash.
      
      * fetchurl and fetchTarball require a sha256 attribute.
      
      * No file system access is allowed outside of the paths returned by
        fetch{Git,Mercurial,url,Tarball}. Thus 'nix build -f ./foo.nix' is
        not allowed.
      
      Thus, the evaluation result is completely reproducible from the
      command line arguments. E.g.
      
        nix build --pure-eval '(
          let
            nix = fetchGit { url = https://github.com/NixOS/nixpkgs.git; rev = "9c927de4b179a6dd210dd88d34bda8af4b575680"; };
            nixpkgs = fetchGit { url = https://github.com/NixOS/nixpkgs.git; ref = "release-17.09"; rev = "66b4de79e3841530e6d9c6baf98702aa1f7124e4"; };
          in (import (nix + "/release.nix") { inherit nix nixpkgs; }).build.x86_64-linux
        )'
      
      The goal is to enable completely reproducible and traceable
      evaluation. For example, a NixOS configuration could be fully
      described by a single Git commit hash. 'nixos-rebuild' would do
      something like
      
        nix build --pure-eval '(
          (import (fetchGit { url = file:///my-nixos-config; rev = "..."; })).system
        ')
      
      where the Git repository /my-nixos-config would use further fetchGit
      calls or Git externals to fetch Nixpkgs and whatever other
      dependencies it has. Either way, the commit hash would uniquely
      identify the NixOS configuration and allow it to reproduced.
      d4dcffd6
  21. Jan 10, 2018
  22. Jan 05, 2018
  23. Jan 03, 2018
  24. Dec 25, 2017
  25. Dec 22, 2017
  26. Dec 12, 2017
  27. Dec 04, 2017
  28. Nov 14, 2017
  29. Nov 03, 2017
  30. Nov 01, 2017
    • Eelco Dolstra's avatar
      Add fetchMercurial primop · 1969f357
      Eelco Dolstra authored
      E.g.
      
        $ nix eval '(fetchMercurial https://www.mercurial-scm.org/repo/hello)'
        { branch = "default"; outPath = "/nix/store/alvb9y1kfz42bjishqmyy3pphnrh1pfa-source"; rev = "82e55d328c8ca4ee16520036c0aaace03a5beb65"; revCount = 1; shortRev = "82e55d328c8c"; }
      
        $ nix eval '(fetchMercurial { url = https://www.mercurial-scm.org/repo/hello; rev = "0a04b987be5ae354b710cefeba0e2d9de7ad41a9"; })'
        { branch = "default"; outPath = "/nix/store/alvb9y1kfz42bjishqmyy3pphnrh1pfa-source"; rev = "0a04b987be5ae354b710cefeba0e2d9de7ad41a9"; revCount = 0; shortRev = "0a04b987be5a"; }
      
        $ nix eval '(fetchMercurial /tmp/unclean-hg-tree)'
        { branch = "default"; outPath = "/nix/store/cm750cdw1x8wfpm3jq7mz09r30l9r024-source"; rev = "0000000000000000000000000000000000000000"; revCount = 0; shortRev = "000000000000"; }
      1969f357
  31. Oct 06, 2017
Loading