Vladimír Čunát
dfd3ede68d
Merge branch 'master' into staging-next
2020-10-31 14:30:44 +01:00
Jonathan Ringer
ec38df81a9
buildFHSUserEnvBubblewrap: fix whitespace with root directories
2020-10-30 22:52:58 -07:00
Matthew Bauer
989b403c7f
Merge pull request #96318 from matthewbauer/provide-patchelf-in-native-stdenv
...
stdenv/native: provide patchelf on linux
2020-10-30 13:32:13 -05:00
Jörg Thalheim
d420c85a55
Merge pull request #102123 from lopsided98/nginx-conf-cross
...
writers.writeNginxConfig: fix cross-compilation
2020-10-30 12:45:04 +01:00
Ben Wolsieffer
4366281075
writers.writeNginxConfig: fix cross-compilation
...
Native versions of awk, sed and gixy need to be used.
2020-10-29 21:39:22 -04:00
Matthieu Coudron
1f9ab74d4c
buildBazelPackage: build name from pname/version
...
and updated bazel-remote accordingly.
2020-10-28 17:55:10 +01:00
Vladimír Čunát
89023c38fc
Recover the complicated situation after my bad merge
...
I made a mistake merge. Reverting it in c778945806
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: 4effe769e2
- `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 (803ca85c20
)
- 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-26 09:01:04 +01:00
Vladimír Čunát
c778945806
Revert "Merge #101508 : libraw: 0.20.0 -> 0.20.2"
...
I'm sorry; I didn't notice it contained staging commits.
This reverts commit 17f5305b6c
, reversing
changes made to a8a018ddc0
.
2020-10-25 09:41:51 +01:00
Ashish SHUKLA
4eb42a4f1d
fetchfossil: Depend on cacert
...
Without it, it'll not able to verify SSL certificates, rendering
it mostly useless
2020-10-24 16:43:05 +05:30
Frederik Rietdijk
23890fc236
Merge staging-next into staging
2020-10-20 20:55:46 +02:00
Jan Tojnar
5c766c5c24
Merge branch 'staging-next' into staging
2020-10-18 21:21:03 +02:00
Daniël de Kok
48a20e9337
validatePkgConfig: fix variable scope
...
validatePkgConfig failed due to a wrong variable scope, as reported in
issue #100834 . This change corrects the variable scoping.
2020-10-18 14:00:05 +02:00
Aaron Janse
512458c68a
add sysroot lockfile update script then run it
2020-10-17 01:34:51 -07:00
Aaron Janse
d884b2d877
NEEDS REVIEW: enable sysroot differently
2020-10-17 00:48:38 -07:00
Aaron Janse
7c92361028
enforce noCheck when useSysroot
2020-10-17 00:47:14 -07:00
Aaron Janse
dec97eb3e9
minor clean up
2020-10-17 00:45:27 -07:00
Aaron Janse
e745f9333e
fix whitespace
2020-10-15 19:03:10 -07:00
Aaron Janse
d906fda8d2
parameterize rustcSrc
2020-10-15 17:27:51 -07:00
Leon Vack
f275b320d9
make-desktopitem: name was being used instead of desktopName
...
Name should be used as filename and desktopName for the name attribute of the desktop entry (according to docs).
2020-10-15 14:29:32 +02:00
Aaron Janse
a153be896f
use rustcSrc
2020-10-14 22:54:04 -07:00
maralorn
ae2630c96a
Merge pull request #91790 from piegamesde/improve-makedesktopitem
...
make-desktopitem: refactoring, documentation and improvement
2020-10-15 02:42:12 +02:00
John Ericson
c0df12de5d
rust: Add support for managing target JSON in Nix
2020-10-14 04:20:23 +00:00
John Ericson
6866f26c89
Merge remote-tracking branch 'upstream/master' into aj-rust-custom-target
2020-10-14 02:54:31 +00:00
piegames
3a76d4caea
make-desktopitem: minor fixes and code style
2020-10-14 01:19:43 +02:00
Frederik Rietdijk
dc0aeee5db
Merge staging-next into staging
2020-10-13 19:35:37 +02:00
Frederik Rietdijk
9e1943edc0
Merge master into staging-next
2020-10-13 19:34:34 +02:00
Aaron Janse
3f3491d64d
fix some whitespace
2020-10-12 18:41:13 -07:00
Aaron Janse
0fca6ba580
fix compile error
2020-10-12 14:48:07 -07:00
John Ericson
d3d55bcc81
Merge pull request #99066 from lopsided98/buildrustcrate-target-vars
...
buildRustCrate: fix target config environment variables on 32-bit ARM
2020-10-11 16:46:29 -04:00
Lily Ballard
03c9f6a647
installShellFiles: Add test suite
2020-10-08 15:08:40 -07:00
Lily Ballard
866a7de409
Fix doc comment for installManPage
2020-10-08 15:08:40 -07:00
Lily Ballard
7e1e8543fc
installShellFiles: Enhance installShellCompletion
...
Teach installShellCompletion how to install completions from a named
pipe. Also add a convenience flag `--cmd NAME` that synthesizes the name
for each completion instead of requiring repeated `--name` flags.
Usage looks something like
installShellCompletion --cmd foobar \
--bash <($out/bin/foobar --bash-completion) \
--fish <($out/bin/foobar --fish-completion) \
--zsh <($out/bin/foobar --zsh-completion)
Fixes #83284
2020-10-08 15:08:40 -07:00
Aaron Janse
f8ea4e0c3d
makeRustPlatform: support custom targets
2020-10-08 14:32:49 -07:00
Frederik Rietdijk
692d219a93
Merge staging-next into staging
2020-10-06 10:25:58 +02:00
Ben Wolsieffer
91bc6128b9
buildRustCrateTests: support cross-compilation
2020-09-29 14:33:49 -04:00
Ben Wolsieffer
f0fdecfbb4
buildRustCrate: fix target config environment variables on 32-bit ARM
2020-09-29 01:40:06 -04:00
John Ericson
cffc0eaa98
Merge pull request #99050 from lopsided98/buildrustcrate-cross
...
buildRustCrate: support cross compilation
2020-09-29 00:13:26 -04:00
Ben Wolsieffer
a0e7613509
defaultCrateOverrides: move pkgconfig to nativeBuildInputs
...
This fixes cross-compiling.
2020-09-28 19:47:52 -04:00
Ben Wolsieffer
295a6690f9
buildRustCrate: support cross compilation
2020-09-28 19:46:04 -04:00
Jan Tojnar
32b4375f10
Merge branch 'staging-next' into staging
2020-09-29 00:12:29 +02:00
Jan Tojnar
d471c5d1f3
Merge branch 'staging-next' into staging
2020-09-24 23:09:00 +02:00
Vladimír Čunát
a8cda11090
Merge #97597 : stdenv wrappers: improve purity checking
2020-09-24 10:58:10 +02:00
zowoq
e4c71e6c6c
buildRustPackage: support setting test-threads
2020-09-24 07:19:58 +10:00
Shea Levy
b694eb6e6a
firmware-manager: Init at 0.1.1
2020-09-23 06:01:05 -04:00
WORLDofPEACE
978e419abe
Merge branch 'staging-next' into staging
2020-09-20 18:43:38 -04:00
WORLDofPEACE
34aaac6d7c
Merge branch 'staging-next' into staging
2020-09-20 18:41:15 -04:00
zowoq
4482e5ec2c
dotnetenv: editorconfig fixes
2020-09-21 08:30:58 +10:00
Lars Jellema
7ea5b08cfc
gnat: fix build
2020-09-19 20:54:27 -07:00
Anderson Torres
6740a5998b
Merge pull request #93082 from cfhammill/cfh/fix-singularity-shell-copy
...
singularity-tools: Check for /bin/sh existence before symlink
2020-09-19 00:42:29 -03:00
Vladimír Čunát
372f89cc44
Merge branch 'master' into staging-next
2020-09-16 17:58:45 +02:00
Anderson Torres
a5931fa6e3
Merge pull request #95409 from utdemir/stream_layered_image_fix
...
dockerTools.streamLayeredImage: Store the customisation layer as a tarball
2020-09-14 11:05:48 -03:00
WORLDofPEACE
4085eee678
Merge pull request #97801 from rycee/user-session-dbus2
...
Make socket activated user dbus session mandatory
2020-09-14 00:37:09 -04:00
WORLDofPEACE
f5fdc6b240
Merge pull request #97894 from TethysSvensson/fixBusybox
...
busybox: Fix 404 error by using git instead
2020-09-13 14:25:22 -04:00
Tethys Svensson
43cd431b44
fetchgitlab: Escape a few more characters in the revision
2020-09-13 12:34:08 +02:00
Maximilian Bosch
25e60944c6
python3Packages.python-engineio: fix build w/glibc-2.32
...
Also had to wrap `__nss_files_fopen` in `libredirect` as this is the way
now `nss` uses to retrieve file-databases[1].
[1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=299210c1fa67e2dfb564475986fce11cd33db9ad;hp=469c03907b116c37c98d8ad7a9edac2bdbf3e934
2020-09-12 23:04:50 +02:00
Robert Helgesson
fbc5093649
hooks: add moveSystemdUserUnitsHook
...
This hook moves systemd user service file from `lib/systemd/user` to
`share/systemd/user`. This is to allow systemd to find the user
services when installed into a user profile. The `lib/systemd/user`
path does not work since `lib` is not in `XDG_DATA_DIRS`.
2020-09-12 18:29:46 +02:00
Vladimír Čunát
e88e14ec8d
Merge branch 'master' into staging-next
...
A few thousand rebuilds per platform have arrived in the meantime.
2020-09-11 14:24:13 +02:00
Tyson Whitehead
5796715bb7
Accept $TMP, $TMPDIR, $TEMP, and $TEMPDIR paths in purity check
2020-09-10 12:39:08 -04:00
John Ericson
5fd27509cf
Merge pull request #97387 from Ericson2314/fix-android-prebuilt
...
cc-wrapper: Fix for prebuilt android
2020-09-08 20:24:50 -04:00
John Ericson
204dc3a88b
cc-wrapper: Fix for prebuilt android
...
We don't want to use Nix-built GCC's libs with prebuilt clang in this
case.
2020-09-07 15:08:11 -04:00
Dominik Xaver Hörl
b20ec4f719
pkgs/build-support/writers: allow passing ghc arguments in writeHaskell
2020-09-07 19:36:58 +02:00
Frederik Rietdijk
5ceea5705a
Revert "utils.bash: also "fix" cc-wrapper and pkg-config-wrapper"
...
Follow up to the revert in e560459c5b
.
This reverts commit 1936b11f63
.
2020-09-07 16:31:59 +02:00
Frederik Rietdijk
be61518b91
Merge staging-next into staging
2020-09-07 16:31:37 +02:00
Frederik Rietdijk
1936b11f63
utils.bash: also "fix" cc-wrapper and pkg-config-wrapper
2020-09-07 07:19:26 +02:00
Frederik Rietdijk
e560459c5b
Revert "utils.bash: revert #93560 for darwin, unblocks channels"
...
Revert the hack and the original faulty commit.
This reverts commit 48264ee506105a2f5e61e5d327599e9f301bd77f.
Revert "Purity checking should accept $TMP and not just /tmp"
This reverts commit fb777be7d2
.
2020-09-06 18:16:14 +02:00
Frederik Rietdijk
1d881848f8
Merge staging-next into staging
2020-09-06 18:15:07 +02:00
Frederik Rietdijk
d362c0e54e
Merge master into staging-next
2020-09-06 18:14:23 +02:00
Frederik Rietdijk
08eb704bc3
utils.bash: revert #93560 for darwin, unblocks channels
...
Temporary fix. We definitely do not want to have two separate
implementations.
2020-09-06 18:14:08 +02:00
Evan Stoll
19cb34b04b
buildSupport.rust: fix typo in verifyCargoDeps message ( #97058 )
2020-09-05 17:04:32 -04:00
Florian Klink
98d6b55fdc
nixos/testing: remove remaining coverage-data logic
...
This isn't used anymore as per
https://github.com/NixOS/nixpkgs/pull/72354#discussion_r451031449 .
2020-09-05 16:07:59 +02:00
Frederik Rietdijk
af81d39b87
Merge staging-next into staging
2020-09-04 20:03:30 +02:00
Tyson Whitehead
fb777be7d2
Purity checking should accept $TMP and not just /tmp
2020-09-04 19:58:46 +02:00
Jan Tojnar
5079e1cd3b
Merge pull request #96939 from jtojnar/drop-gst-010
2020-09-04 17:13:43 +02:00
Utku Demir
ae82f81bfa
dockerTools.streamLayeredImage: Store the customisation layer as a tarball
...
This fixes as issue described here[1], where permissions set by 'extraCommands'
were ignored by Nix.
[1] https://github.com/NixOS/nixpkgs/pull/91084#issuecomment-669834938
2020-09-04 16:53:23 +12:00
Matthew Bauer
3a9b91b486
Merge pull request #96562 from obsidiansystems/bazel-add-dont-add-bazel-opts
...
build-bazel-package: add dontAddBazelOpts arg
2020-09-02 16:29:53 -05:00
John Ericson
1965a241fc
Merge pull request #61019 from volth/gcc.arch-amd
...
platform.gcc.arch: support for AMD CPUs
2020-09-01 22:31:16 -04:00
Jan Tojnar
d2d24c9a2b
appimage: remove ancient gst dep
...
it is insecure and broken
2020-09-02 02:24:07 +02:00
Matthew Bauer
27fb209194
build-bazel-package: add dontAddBazelOpts arg
...
This adds an option to skip adding --copt and --linkopt to Bazel
flags. In some cases, Bazel doesn’t like these flags, like when a
custom toolchain is being used (as opposed to the builtin one. The
compiler can still get the dependencies since it is invoked through
gcc wrapper and picks up the NIX_CFLAGS_COMPILE / NIX_LDFLAGS.
2020-08-28 15:10:59 -05:00
Linus Heckemann
86fa61033a
Merge pull request #96008 from baloo/baloo/bugfixes/make-modules-closure_firmware
...
makeModulesClosure: fixup firmware extraction
2020-08-28 14:04:10 +02:00
Daniël de Kok
923c9f62c4
fetchCrate: accept pname besides crateName
...
This enables short argument attrsets similar to fetchPypi:
src = fetchCrate {
inherit pname version;
sha256 = "02h8pikmk19ziqw9jgxxf7kjhnb3792vz9is446p1xfvlh4mzmyx";
};
2020-08-28 08:34:22 +02:00
Arthur Gautier
70bc1a3f49
makeModulesClosuse: read modules from corrent kernel version
...
Before this commit, the firmware information would be loaded from the
currently running kernel, not from the kernel to be loaded.
This commit ensures the correct kernel version and modules are read.
2020-08-27 10:48:18 -07:00
Arthur Gautier
ee8572d6b3
makeModulesClosure: fixup firmware extraction
...
After a recent upgrade of modinfo, its output is now incorrect for
builtin modules. This commit filters out the output until a fix is made
available upstream
2020-08-27 10:45:23 -07:00
Matthew Bauer
4830967736
Fix cc-wrapper in native stdenv
2020-08-26 14:36:26 -05:00
Jan Tojnar
58377555ed
Merge branch 'staging-next' into staging
2020-08-23 02:18:27 +02:00
Jan Tojnar
91104b5417
Merge branch 'master' into staging-next
2020-08-23 02:00:50 +02:00
Jörg Thalheim
542f4e4ad0
Merge pull request #95622 from marsam/buildrustpackage-parallel-build
...
buildRustPackage: add support for parallel build
2020-08-19 17:33:46 +01:00
Jörg Thalheim
bd0e645f02
Merge pull request #94442 from Atemu/buildFHSUserEnvBw
2020-08-19 17:28:02 +01:00
Frederik Rietdijk
0ac85bc455
Merge master into staging-next
2020-08-17 14:54:39 +02:00
Jörg Thalheim
b1d86d0e51
build-fhs-user-env-bubblewrap: consistent camelCase
2020-08-17 10:05:25 +02:00
Michael Eden
8c91b3c5b7
fhs-userenv-bubblewrap: bind mount host's devfs
...
Allows us to talk to devices
2020-08-17 08:49:34 +02:00
Michael Eden
2da4f24e22
fhs-userenv-bubblewrap: bind mount parts of host etc directly
2020-08-17 08:49:29 +02:00
Michael Eden
2ddb43ec24
fhs-userenv-bubblewrap: change to using bubblewrap over chrootenv
2020-08-17 08:49:24 +02:00
Atemu
fafbfd2305
fhs-userenv-bubblewrap: start with build-fhs-userenv
...
Just here to track @illegalprime's actual changes to build-fhs-userenv in the
next commits
2020-08-17 08:48:31 +02:00
Mario Rodas
b52808f1ad
buildRustPackage: add support for parallel build
2020-08-16 10:00:00 -05:00
Vladimír Čunát
3937923f81
nixos/systemd.tmpfiles.packages: fix an edge case
...
symlinkJoin can break (silently) when the passed paths contain symlinks
to directories. This should work now.
Down-side: when lib/tmpfiles.d doesn't exist for some passed package,
the error message is a little less explicit, because we never get
to the postBuild phase (and symlinkJoin doesn't provide a better way):
/nix/store/HASH-NAME/lib/tmpfiles.d: No such file or directory
Also, it seemed pointless to create symlinks for whole package trees
and using only a part of the result (usually very small part).
2020-08-16 10:23:53 +02:00
Frederik Rietdijk
cfe6081cee
Merge staging-next into staging
2020-08-15 09:12:42 +02:00
Frederik Rietdijk
d59c57f8a6
Merge pull request #92412 from matthewbauer/blas-cross
...
Blas/Lapack cross fixes
2020-08-15 08:55:57 +02:00
Jörg Thalheim
1f2c19f158
Merge pull request #68524 from nspin/pr/repo-manifest-name
...
fetchRepoProject: add manifestName parameter
2020-08-14 20:08:25 +01:00
Linus Heckemann
efc739f1d2
Merge pull request #92081 from CrystalGamma/modules-closure
...
makeModulesClosure: handle builtin modules better
2020-08-13 22:37:36 +02:00
Frederik Rietdijk
f707715136
Merge master into staging-next
2020-08-11 10:26:35 +02:00