aboutsummaryrefslogtreecommitdiff
path: root/pkgs/build-support (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-12-05add classifier as an argumenthlolli1-15/+8
2020-12-04fetchzip: get write permission on unpacked directoryLuke Granger-Brown1-0/+7
This is a workaround for NixOS/nix#4295, which caused single-user Linux Nix installations using sandboxed builds to start failing to build fetchzip derivations after 4a5c49363a58e711c2016b9ebb6f642e3c9c1be5. In short: removing write permissions for the entire directory is great, except we then can't rename(2) it to the final Nix store path out of the sandbox, because we don't have write permission on the directory and thus cannot update the ".." directory entry.
2020-12-02dockerTools.binSh: initFlorian Klink1-0/+8
2020-12-02dockerTools.fakeNss: initFlorian Klink2-11/+29
This provides a /etc/passwd and /etc/group that contain root and nobody. Useful when packaging binaries that insist on using nss to look up username/groups (like nginx). The current nginx example used the `runAsRoot` parameter to setup /etc/group and /etc/passwd (which also doesn't exist in buildLayeredImage), so we can now just use fakeNss there and use buildLayeredImage.
2020-12-02firefoxaddon: formatting nitpicksJörg Thalheim1-6/+1
2020-12-02Added missing sha1 and sha512 flagsLuis Hebendanz1-5/+9
2020-12-02Added fetchfirefoxaddonLuis Hebendanz1-0/+38
2020-12-01nix-prefetch-docker: output informational messages to stderredef1-7/+7
Informational messages belong on stderr, not on stdout and intermixed with structured output for programmatic use. Change-Id: I34d094d04460494e9ec8953db7490f4e2292d959
2020-11-28buildRustCrate: add host platform to rlib hash suffixBen Wolsieffer1-1/+5
2020-11-29copyDesktopItems: add new setup-hookFabian Möller1-0/+42
2020-11-29lib, binutils: Move Risc-V bfdEmulation to be by the othersJohn Ericson1-1/+2
2020-11-27make-desktopitem: desktop-file-utils is a nativeBuildInputFlorian Klink1-9/+12
This fixes cross-compilation of a NixOS with the manual enabled.
2020-11-26fetchzip: remove write permissions for unpacked filesMetaDark1-2/+7
Fixes https://github.com/NixOS/nixpkgs/issues/38649
2020-11-26wrapGAppsNoGuiHook: initJan Tojnar1-1/+3
2020-11-24utillinux: rename to util-linuxGraham Christensen3-20/+20
2020-11-24appimage-run: parse readelf's output in C localeSymphorien Gibol1-3/+7
fixes #101137
2020-11-24referencesByPopularity: Don't use buildPackages at call-siteadisbladis1-2/+1
It's cleaner to reference buildPackages directly in build-support/docker directly.
2020-11-22buildFHSUserEnvBubblewrap: use arrays for constructing argument listAtemu1-18/+21
Generally a cleaner way of doing it and prevents issues with spaces in paths Used to fix #97234 but #101967 already didt this with a smaller scope
2020-11-20dockerTools: Always cross compile for another arch in the cross exampleadisbladis1-2/+7
The example fails to build on aarch64, so lets cross build for gnu64.
2020-11-19dockerTools: Add cross exampleadisbladis1-1/+8
2020-11-19dockerTools: Set correct architecture when cross compilingadisbladis1-3/+14
2020-11-19dockerTools.buildLayeredImage: Fix cross compilationadisbladis1-4/+4
2020-11-14fetchMavenArtifact: support artifact classifier syntaxhlolli1-5/+14
2020-11-14bintools-wrapper: remove redundant argzowoq1-1/+1
cctools 949.0.1 warns if min version is passed twice.
2020-11-09Initial support for OpenRISC 1000 (or1k)Samuel Dionne-Riel1-0/+1
2020-11-09Initial implementation of mmix cross-compileBen Siraphob1-0/+1
2020-11-09docker: add final newline to detjson.pySamuel Gräfenstein1-1/+1
2020-11-09pkgs/*: add final newline to .nix filesSamuel Gräfenstein1-1/+1
2020-11-03docker: Fix broken pipe on docker layer creationMichael1-2/+2
Add `-p` to the `tee` command to avoid exiting on breaking pipe due to tarsum finishing before tar which creating docker layers.
2020-11-01stdenv: add -frandom-seed to NIX_CFLAGS_COMPILE for reproducibilityAndreas Rammhold1-0/+4
This adds -frandom-seed to each compiler invocation in stdenv. The object here is to make the compierl invocations produce the same output every time they are called (for the same derivation). When the -frandom-seed option is not set the compiler will use a combination of random numbers (in GCC's case from /dev/urandom) and the durrent time to produce a "random" input per file. This can (among other things) lead to different ordering of symbols in the produced object files. For reason of reproducibility we prefer having the same derivation produce the exact same outputs. This is not a silver bullet but one way to tame the compiler.
2020-10-30buildFHSUserEnvBubblewrap: fix whitespace with root directoriesJonathan Ringer1-3/+3
2020-10-29writers.writeNginxConfig: fix cross-compilationBen Wolsieffer1-3/+4
Native versions of awk, sed and gixy need to be used.
2020-10-28buildBazelPackage: build name from pname/versionMatthieu Coudron1-1/+1
and updated bazel-remote accordingly.
2020-10-26Recover the complicated situation after my bad mergeVladimír Čunát2-32/+105
I made a mistake merge. Reverting it in c778945806b undid the state on master, but now I realize it crippled the git merge mechanism. As the merge contained a mix of commits from `master..staging-next` and other commits from `staging-next..staging`, it got the `staging-next` branch into a state that was difficult to recover. I reconstructed the "desired" state of staging-next tree by: - checking out the last commit of the problematic range: 4effe769e2b - `git rebase -i --preserve-merges a8a018ddc0` - dropping the mistaken merge commit and its revert from that range (while keeping reapplication from 4effe769e2) - merging the last unaffected staging-next commit (803ca85c209) - fortunately no other commits have been pushed to staging-next yet - applying a diff on staging-next to get it into that state
2020-10-26Re-Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"Vladimír Čunát2-32/+105
This reverts commit c778945806b44d46ec16bc4302e7e7163e6bab97. I believe this is exactly what brings the staging branch into the right shape after the last merge from master (through staging-next); otherwise part of staging changes would be lost (due to being already reachable from master but reverted).
2020-10-25Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"Vladimír Čunát2-105/+32
I'm sorry; I didn't notice it contained staging commits. This reverts commit 17f5305b6c20df795c365368d2d868266519599e, reversing changes made to a8a018ddc0a8b5c3d4fa94c94b672c37356bc075.
2020-10-24fetchfossil: Depend on cacertAshish SHUKLA1-2/+2
Without it, it'll not able to verify SSL certificates, rendering it mostly useless
2020-10-18validatePkgConfig: fix variable scopeDaniël de Kok1-2/+1
validatePkgConfig failed due to a wrong variable scope, as reported in issue #100834. This change corrects the variable scoping.
2020-10-17add sysroot lockfile update script then run itAaron Janse4-11/+42
2020-10-17NEEDS REVIEW: enable sysroot differentlyAaron Janse1-4/+4
2020-10-17enforce noCheck when useSysrootAaron Janse1-0/+4
2020-10-17minor clean upAaron Janse1-2/+3
2020-10-15fix whitespaceAaron Janse1-1/+1
2020-10-15parameterize rustcSrcAaron Janse1-1/+1
2020-10-15make-desktopitem: name was being used instead of desktopNameLeon Vack1-1/+1
Name should be used as filename and desktopName for the name attribute of the desktop entry (according to docs).
2020-10-14use rustcSrcAaron Janse1-17/+11
2020-10-14rust: Add support for managing target JSON in NixJohn Ericson4-6/+6
2020-10-14make-desktopitem: minor fixes and code stylepiegames1-10/+12
2020-10-12fix some whitespaceAaron Janse1-1/+1
2020-10-12fix compile errorAaron Janse1-1/+3