about summary refs log tree commit diff
path: root/release.nix
AgeCommit message (Collapse)AuthorFilesLines
2018-05-30 release.nix: Generate the installer scriptEelco Dolstra1-0/+21
2018-04-19 Fix tests.evalNixOSEelco Dolstra1-1/+2
This failed because NixOS' release.nix calls builtins.fetchGit.
2018-04-11 Remove non-existant fedora27i386Eelco Dolstra1-1/+0
2018-04-07 release.nix: Use $sourceRoot instead of hardcoded source directoryBogdan Seniuc1-2/+2
2018-03-29 Expand the multi-user installer to support Linuxes with systemdGraham Christensen1-5/+29
- 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
2018-03-26 release.nix: Use pkgs.closureInfo for binaryTarballTuomas Tynkkynen1-5/+5
pathsFromGraph is legacy since Nix 2.0.
2018-03-22 Add Boost dependency to Fedora/Ubuntu buildsEelco Dolstra1-8/+8
2018-03-22 Remove Fedora / Ubuntu releases that are no longer in NixpkgsEelco Dolstra1-4/+2
2018-03-22 Remove some release-critical jobsEelco Dolstra1-6/+0
The release does not in fact depend on Ubuntu/Fedora builds (we don't publish the build results).
2018-03-20 Fix coverage jobEelco Dolstra1-7/+5
2018-03-19 Fix build on non-x86_64-linuxEelco Dolstra1-2/+4
2018-03-14 Factor out commonality between release.nix and shell.nixEelco Dolstra1-24/+4
2018-03-14 Use boost::format from the boost packageEelco Dolstra1-2/+3
Note that this only requires headers from boost so it doesn't add a runtime dependency. Also, use Nixpkgs 18.03.
2018-03-03 release.nix: don't try to use nix-2.0 branch, no longer existsWill Dietz1-1/+1
Probably should point at the 18.03 release branch once that's made.
2018-02-20 Fix evaluation of binaryTarball.aarch64-linuxEelco Dolstra1-5/+6
2018-02-07 SimplifyEelco Dolstra1-1/+1
2018-02-07 Merge branch 'fix-aarch64-test' of https://github.com/grahamc/nixEelco Dolstra1-5/+7
2018-01-18 Don't define builtins.{currentSystem,currentTime} in pure modeEelco Dolstra1-1/+1
This makes it easier to provide a default, e.g. system = builtins.currentSystem or "x86_64-linux";
2018-01-16 Add pure evaluation modeEelco Dolstra1-1/+1
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.
2018-01-10 release: access fetchGit from builtins to fix eval w/1.11 (<1.12)Will Dietz1-1/+1
2018-01-04 Fix Fedora 25 i386 RPM buildBenjamin Hipple1-1/+2
2018-01-02 Fix RPM builds by increasing VM memory sizeBenjamin Hipple1-1/+1
The VM was running out of RAM while handling debug symbols, which caused the eu-strip to fail while separating debug symbols.
2017-12-25 Remove debug lineEelco Dolstra1-1/+0
2017-12-22 release.nix: Use fetchTarball and fetchGitEelco Dolstra1-16/+17
In particular, using fetchGit means we don't need hackery to clean the source tree when building from an unclean tree.
2017-12-12 tests.setuid: only on i686 and x86_64 linuxsGraham Christensen1-4/+6
2017-12-04 Simplify build by including nlohmann/json.hppEelco Dolstra1-2/+0
2017-11-14 Add dependencies for coverage testEelco Dolstra1-1/+1
2017-11-14 Update lcov filterEelco Dolstra1-1/+1
2017-11-14 Remove ncurses-binEelco Dolstra1-1/+1
2017-11-03 fetchGit: Add a testEelco Dolstra1-0/+3
2017-11-01 Add fetchMercurial primopEelco Dolstra1-1/+1
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"; }
2017-10-06 fixing bashisms in test codeJörg Thalheim1-1/+1
This fixed the build on ubuntu/debian, where dash is the sh.
2017-09-14 Remove Debian 8 and Ubuntu 14.10Eelco Dolstra1-6/+4
These have a GCC (4.9) that is too old. https://hydra.nixos.org/eval/1391740
2017-08-21 Allow builders to create activitiesEelco Dolstra1-0/+2
Actually, currently they can only create download activities. Thus, downloads by builtins.fetchurl show up in the progress bar.
2017-08-19 Remove nix-mode.el from Nix.Matthew Bauer1-1/+1
This removes the file nix-mode.el from Nix. The file is now available within the repository https://github.com/NixOS/nix-mode. Fixes #662 Fixes #1040 Fixes #1054 Fixes #1055 Closes #1119 Fixes #1419 NOTE: all of the above should be fixed within NixOS/nix-mode. If one of those hasn’t please reopen within NixOS/nix-mode and not within NixOS/nix.
2017-07-14 Switch to a fancy multi-user installer on DarwinGraham Christensen1-1/+6
2017-07-14 Shellcheck the existing installerGraham Christensen1-1/+4
2017-07-14 Tarball job: Include libseccomp on Linux onlyEelco Dolstra1-2/+1
2017-06-19 Let hydra choose an alternate list of systemsShea Levy1-3/+1
2017-06-01 Fix coverage jobEelco Dolstra1-1/+1
2017-06-01 RPM, Deb: Add dependency on libseccompEelco Dolstra1-3/+3
2017-05-29 Add test for setuid seccomp filterEelco Dolstra1-0/+5
2017-05-29 Add a seccomp filter to prevent creating setuid/setgid binariesEelco Dolstra1-0/+2
This prevents builders from setting the S_ISUID or S_ISGID bits, preventing users from using a nixbld* user to create a setuid/setgid binary to interfere with subsequent builds under the same nixbld* uid. This is based on aszlig's seccomp code (47f587700d646f5b03a42f2fa57c28875a31efbe). Reported by Linus Heckemann.
2017-05-15 Add --with-sandbox-shell configure flagEelco Dolstra1-5/+4
And add a 116 KiB ash shell from busybox to the release build. This helps to make sandbox builds work out of the box on non-NixOS systems and with diverted stores.
2017-05-10 Replace readline by linenoiseEelco Dolstra1-11/+11
Using linenoise avoids a license compatibility issue (#1356), is a lot smaller and doesn't pull in ncurses.
2017-05-03 Fix Ubuntu 16.10 buildEelco Dolstra1-9/+9
http://hydra.nixos.org/build/52420073
2017-05-03 Fix perlBindings.x86_64-darwinEelco Dolstra1-1/+1
http://hydra.nixos.org/build/52401151
2017-04-28 Check for libreadlineEelco Dolstra1-3/+3
2017-04-25 Make "nix repl" buildEelco Dolstra1-1/+2
2017-04-14 Build on aarch64-linuxEelco Dolstra1-1/+1