aboutsummaryrefslogtreecommitdiff
path: root/release.nix
AgeCommit message (Collapse)Author
2019-08-28Fix macOS buildEelco Dolstra
https://hydra.nixos.org/build/99500938
2019-08-27Update the libboost hackEelco Dolstra
This cuts about 46 MiB from the closure.
2019-08-27Compress binary tarballs using xzEelco Dolstra
Fixes https://github.com/NixOS/nix/issues/240. Apparently 'tar -xf' can decompress xz files on macOS nowadays.
2019-05-17fetchGit -> fetchTarballEelco Dolstra
(cherry picked from commit cbfdea685764bf66443a999e672656c54289b8c9)
2019-04-01Use Nixpkgs 19.03Eelco Dolstra
2019-03-25version -> .version, avoid conflict with C++20 <version>Will Dietz
2019-02-22remove noop uses of nix-store --initzimbatm
the nix-store --init command is a noop apparently
2019-01-11install: Use base-16 hashesEelco Dolstra
Issue #2623.
2018-09-26bump base nixpkgs used by default 18.03 -> 18.09Will Dietz
2018-08-30nix upgrade-nix: Handle .nix-profile being a link to .../profiles/per-user/...Eelco Dolstra
Also some cosmetic improvements.
2018-08-30Add simple test for nix upgrade-nixEelco Dolstra
2018-08-30Remove boost from the closureEelco Dolstra
This reduces the size of the closure by 45 MiB.
2018-08-22Merge pull request #2368 from dezgeg/drop-dead-codeEelco Dolstra
Drop dead code
2018-08-21Disable the Ubuntu 17.10 buildEelco Dolstra
Ubuntu 17.10 doesn't have libbrotli. https://hydra.nixos.org/build/79867741
2018-08-20Drop all references to NIX_INDENT_MAKETuomas Tynkkynen
Dead code since https://github.com/NixOS/nixpkgs/commit/6669a3b47711dc967df0ea8ff93fa9857aad015d
2018-08-20Drop all references to --disable-init-stateTuomas Tynkkynen
It's all dead code since 2014 (commit 0c6d62cf27b3b2).
2018-07-31Disable rpm_fedora27x86_64Eelco Dolstra
Fedora 27 provides an incompatible version of Boost (1.64.0).
2018-07-31Fix RPM buildEelco Dolstra
https://hydra.nixos.org/build/73991153
2018-05-30release.nix: Generate the installer scriptEelco Dolstra
2018-04-19Fix tests.evalNixOSEelco Dolstra
This failed because NixOS' release.nix calls builtins.fetchGit.
2018-04-11Remove non-existant fedora27i386Eelco Dolstra
2018-04-07release.nix: Use $sourceRoot instead of hardcoded source directoryBogdan Seniuc
2018-03-29Expand the multi-user installer to support Linuxes with systemdGraham Christensen
- 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-26release.nix: Use pkgs.closureInfo for binaryTarballTuomas Tynkkynen
pathsFromGraph is legacy since Nix 2.0.
2018-03-22Add Boost dependency to Fedora/Ubuntu buildsEelco Dolstra
2018-03-22Remove Fedora / Ubuntu releases that are no longer in NixpkgsEelco Dolstra
2018-03-22Remove some release-critical jobsEelco Dolstra
The release does not in fact depend on Ubuntu/Fedora builds (we don't publish the build results).
2018-03-20Fix coverage jobEelco Dolstra
2018-03-19Fix build on non-x86_64-linuxEelco Dolstra
2018-03-14Factor out commonality between release.nix and shell.nixEelco Dolstra
2018-03-14Use boost::format from the boost packageEelco Dolstra
Note that this only requires headers from boost so it doesn't add a runtime dependency. Also, use Nixpkgs 18.03.
2018-03-03release.nix: don't try to use nix-2.0 branch, no longer existsWill Dietz
Probably should point at the 18.03 release branch once that's made.
2018-02-20Fix evaluation of binaryTarball.aarch64-linuxEelco Dolstra
2018-02-07SimplifyEelco Dolstra
2018-02-07Merge branch 'fix-aarch64-test' of https://github.com/grahamc/nixEelco Dolstra
2018-01-18Don't define builtins.{currentSystem,currentTime} in pure modeEelco Dolstra
This makes it easier to provide a default, e.g. system = builtins.currentSystem or "x86_64-linux";
2018-01-16Add pure evaluation modeEelco Dolstra
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-10release: access fetchGit from builtins to fix eval w/1.11 (<1.12)Will Dietz
2018-01-04Fix Fedora 25 i386 RPM buildBenjamin Hipple
2018-01-02Fix RPM builds by increasing VM memory sizeBenjamin Hipple
The VM was running out of RAM while handling debug symbols, which caused the eu-strip to fail while separating debug symbols.
2017-12-25Remove debug lineEelco Dolstra
2017-12-22release.nix: Use fetchTarball and fetchGitEelco Dolstra
In particular, using fetchGit means we don't need hackery to clean the source tree when building from an unclean tree.
2017-12-12tests.setuid: only on i686 and x86_64 linuxsGraham Christensen
2017-12-04Simplify build by including nlohmann/json.hppEelco Dolstra
2017-11-14Add dependencies for coverage testEelco Dolstra
2017-11-14Update lcov filterEelco Dolstra
2017-11-14Remove ncurses-binEelco Dolstra
2017-11-03fetchGit: Add a testEelco Dolstra
2017-11-01Add fetchMercurial primopEelco Dolstra
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-06fixing bashisms in test codeJörg Thalheim
This fixed the build on ubuntu/debian, where dash is the sh.