summaryrefslogtreecommitdiffstats
path: root/shell.nix
AgeCommit message (Collapse)Author
2020-07-17Add back flake-compat shell.nixJohn Ericson
This was removed in the merge commit adf2fbbdc2c94644b0d1023d844c7dc0e485a20f. I think this was a mistake that occurred when resolving a conflict.
2020-06-26Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-06-17Simplify shell.nix and default.nixEelco Dolstra
2020-06-17Remove rustfmtEelco Dolstra
2020-03-13Remove the tarball jobEelco Dolstra
Source tarballs are not very useful anymore. People who want to build from source can also just build from the Git repository. Once upon a time, the source tarball also saved users from needing a few dependencies (e.g. bison and flex) but those are dwarfed by the other dependencies, so it's no longer worth it. Note: the release script should be updated to copy the vendoredCrates tarball.
2020-02-25Add backward compatibility default.nix / shell.nixEelco Dolstra
This uses https://github.com/edolstra/flake-compat which is a bit more general than #3366.
2020-02-19Use Nixpkgs 20.03Eelco Dolstra
2020-02-18Remove outdated shell.nixEelco Dolstra
Looks like this got accidentally revived after 204291f0598c43b10cf20a89b49fc63624d78c7c.
2020-02-18Build with large config Boehm GCEelco Dolstra
2020-01-13Fix Nixpkgs dependencyEelco Dolstra
2019-12-10Update to async/await-enabled tokioEelco Dolstra
2019-11-26Add some Rust codeEelco Dolstra
2019-10-25Switch to nixpkgs 19.09John Ericson
2019-05-17fetchGit -> fetchTarballEelco Dolstra
(cherry picked from commit cbfdea685764bf66443a999e672656c54289b8c9)
2019-04-01Use Nixpkgs 19.03Eelco Dolstra
2018-11-01Disable the S3 content-encoding patchEelco Dolstra
Since we're not using multi-part uploads at the moment, we can drop this patch.
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.
2017-12-04Simplify build by including nlohmann/json.hppEelco 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-08-21Allow builders to create activitiesEelco Dolstra
Actually, currently they can only create download activities. Thus, downloads by builtins.fetchurl show up in the progress bar.
2017-05-29Add a seccomp filter to prevent creating setuid/setgid binariesEelco Dolstra
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-15Add --with-sandbox-shell configure flagEelco Dolstra
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-10Replace readline by linenoiseEelco Dolstra
Using linenoise avoids a license compatibility issue (#1356), is a lot smaller and doesn't pull in ncurses.
2017-04-28Check for libreadlineEelco Dolstra
2017-04-26Simplify building nix-perl in nix-shellEelco Dolstra
2017-04-25Make "nix repl" buildEelco Dolstra
2017-04-10shell.nix: Remove more dependenciesEelco Dolstra
Thanks @copumpkin.
2017-04-10shell.nix: Remove obsolete flagsEelco Dolstra
2017-03-15Add support for brotli compressionEelco Dolstra
Build logs on cache.nixos.org are compressed using Brotli (since this allows them to be decompressed automatically by Chrome and Firefox), so it's handy if "nix log" can decompress them.
2017-01-24shell.nix: Add a flag for using clangEelco Dolstra
2016-12-19Revert "shell.nix: Add libseccomp"Eelco Dolstra
This reverts commit 1df82b62456b3194b3d8be0562e886cf16bf9379.
2016-12-15Merge branch 'master' of github.com:NixOS/nixEelco Dolstra
2016-12-15shell.nix: Add libseccompEelco Dolstra
2016-12-11Add missing DBD::SQLite to shell.nixLinus Heckemann
2016-12-06Add shell.nixEelco Dolstra