Commit Graph

236118 Commits

Author SHA1 Message Date
Jan Tojnar
2bfa6aa848
nixosTests.installed-tests: Add the test data to VM closure
Flatpak’s installed tests build Flatpak runtimes, among other things.
Upstream code does this by copying some programs on `PATH`
as well as some possible dependencies from host’s /usr.
We patch the code to use `nix-store --query --requisites`
to make the dependency discovery easier.

The Flatpak’s installed tests add `socat` to `PATH` and later run
`nix-store --query --requisites` on its location but it was failing with

    error: path '/nix/store/qcyf7nq5vvfw32967sv4j6z190inrbrc-socat-1.7.3.4' is not valid

The issue occurred because, while the host Nix store is bind mounted into the test VM,
the VM’s store uses its own database that only contains the packages in the VM’s closure.
Since the test commands are not actually part of the VM but only passed through PTY,
the `flatpak.installedTests` derivation was not part of the VM’s closure, so `nix-store`
in the VM could not get information about its dependency `socat`.

Let’s make the `installedTests` of the tested package part of the test VM’s closure
by passing it as a global environment variable. This will also have the added benefit
that user no longer has to type the path when running the installed tests manually in the VM;
they can just use `gnome-desktop-testing-runner -d $TESTED_PACKAGE_INSTALLED_TESTS`,
which is much more conducive to tab completion.
2020-07-24 16:30:49 +02:00
maralorn
359d2e6892
Merge pull request #93768 from maralorn/hls
[haskell-updates] haskellPackages.haskell-language-server: 0.2.0.0 -> 0.2.2.0
2020-07-24 15:54:06 +02:00
maralorn
7841ad9663
Merge pull request #93762 from maralorn/fix-neuron
[haskell-updates] haskellPackages.neuron: Fix deps and build
2020-07-24 15:53:31 +02:00
Marek Mahut
1d097a6c9b
Merge pull request #93767 from mmilata/trezorctl-shell-completion
pythonPackages.trezor: enable shell completion
2020-07-24 15:38:16 +02:00
zowoq
7b6b361ee9 tealdeer: cleanup 2020-07-24 23:25:17 +10:00
Malte Brandy
ccb418a358
haskellPackages.haskell-language-server: 0.2.0.0 -> 0.2.2.0 2020-07-24 15:04:25 +02:00
Martin Milata
681268d2e0 pythonPackages.trezor: enable shell completion 2020-07-24 14:49:01 +02:00
Jan Solanti
a104d213e7 renderdoc: 1.8 -> 1.9 2020-07-24 15:44:59 +03:00
Daniël de Kok
c343d71fca
Merge pull request #93721 from r-ryantm/auto-update/alttab
alttab: 1.4.0 -> 1.5.0
2020-07-24 14:15:13 +02:00
zowoq
87e5155596 shfmt: run checks 2020-07-24 22:12:37 +10:00
zowoq
6f832d4cf7 kepubify: run checks 2020-07-24 22:12:37 +10:00
Malte Brandy
8b95d6de9c
haskellPackages.neuron: Fix build for 0.6.0 and deps 2020-07-24 13:59:18 +02:00
sternenseemann
d7e5006b53 licensee: init at 9.14.0 2020-07-24 13:42:49 +02:00
Michael Weiss
11fbe97810
chromium{Beta,Dev}: M84 -> M85 -> M86 (broken)
Mark chromiumDev as broken since the build requires LLVM 11 which is not
yet in Nixpkgs (due to the lack of an RC, see #93324). Build error:
clang (LLVM option parsing): Unknown command line argument '-basic-aa-recphi=0'.  Try: 'clang (LLVM option parsing) --help'
clang (LLVM option parsing): Did you mean '--basicaa-recphi=0'?
ninja: build stopped: subcommand failed.
2020-07-24 13:40:24 +02:00
Malte Brandy
698a614ea0
haskelllPackages.dependent-sum-aeson-orphans: apply patch to fix build 2020-07-24 13:38:36 +02:00
Peter Simons
0351afda02 git-annex: update SHA256 hash for the new 8.20200720.1 version 2020-07-24 13:28:34 +02:00
adisbladis
ea63a04660
Merge pull request #93716 from adisbladis/emacs-native-comp
emacs: Add infrastructure for native-comp
2020-07-24 13:15:22 +02:00
Peter Simons
6acca641f9 Merge remote-tracking branch 'origin/master' into haskell-updates. 2020-07-24 13:08:06 +02:00
Malte Brandy
692715dc95 haskellPackages.jsaddle-warp: Fix build
Disables a patch that is applied on upstream because of new version.
2020-07-24 13:07:34 +02:00
Peter Simons
5e2890288c haskell-streaming-commons: update to version 2.2.2.1 to avoid test suite bug 2020-07-24 13:07:34 +02:00
Domen Kožar
6d54b2f918 ghc 8.8.4, 8.10.1: disable profiled builds on aarch64 to avoid 2GB output limit 2020-07-24 13:07:34 +02:00
Bas van Dijk
9d17ec4073 haskellPackages.splot: fix build
Also introduce the top-level `splot` package which only provides the
statically linked `splot` binary.
2020-07-24 13:07:34 +02:00
Peter Simons
5d021fedc3 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.5-10-gf433b07 from Hackage revision
dce52887af.
2020-07-24 13:07:29 +02:00
Peter Simons
229a83288d hackage2nix.yaml: update list of broken builds to avoid evaluation errors
Ping @maralorn, because neuron appears to be broken.
2020-07-24 13:07:28 +02:00
Peter Simons
b4dd96b206 sad: mark package as broken because if depends on dropped ghc-8.4.4
Ping @schmitthenner.
2020-07-24 13:06:29 +02:00
Peter Simons
30464da7b8 bluespec: mark package as broken because it depends on dropped ghc-8.4.4
Ping @flokli and @thoughtpolice.
2020-07-24 13:06:22 +02:00
Peter Simons
f1182ecc91 ghc: drop obsolete 8.4.x version
We generally keep only the last 3 major releases of GHC.
2020-07-24 13:02:55 +02:00
Peter Simons
8ffedd8369 haskellPackages: bump default compiler to ghc-8.8.4 2020-07-24 13:02:55 +02:00
Gabor Greif
dd6ce8c879 ghc: add new version 8.8.4 2020-07-24 13:02:55 +02:00
Tyson Whitehead
52174923cc haskellPackages.Color: unmark broken 2020-07-24 13:02:55 +02:00
Tyson Whitehead
5dfff453cc haskellPackages.massiv*: disable massiv test, unmark as broken 2020-07-24 13:02:55 +02:00
Tyson Whitehead
91d52901c4 haskellPackages.scheduler: unmark as broken 2020-07-24 13:02:55 +02:00
Malte Brandy
ac8c823955 ghc.withPackages: Wrap hls with package lookup env 2020-07-24 13:02:55 +02:00
Malte Brandy
5e756f5f31 haskellPackages.haskell-language-server: 0.1.0.0 -> 0.2.0.0
generated by
pkgs/development/tools/haskell/haskell-language-server/update.sh

with some manual tweaks
2020-07-24 13:02:55 +02:00
Malte Brandy
18121c65f3 haskellPackages.hnix: Fix build
Add override as explained in the comment
2020-07-24 13:02:54 +02:00
Zhenya Vinogradov
f19f7e708e haskellPackages.xrefcheck: unmark as broken 2020-07-24 13:02:54 +02:00
Owen Shepherd
ff263519a6 haskell.packages.ghc865.rebase: jailbreak on ghc 8.6 2020-07-24 13:02:54 +02:00
Utku Demir
c6ff9d9265 nix-tree: Expose as a top-level attribute, add maintainer 2020-07-24 13:02:54 +02:00
Peter Simons
e5dae612ba hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.5-10-gf433b07 from Hackage revision
cae4f64358.
2020-07-24 13:02:54 +02:00
Peter Simons
303690cbb0 LTS Haskell 16.6 2020-07-24 13:02:54 +02:00
Martin Weinelt
579539103c
Merge pull request #93760 from r-ryantm/auto-update/tockloader
tockloader: 1.4.0 -> 1.5.0
2020-07-24 13:01:20 +02:00
R. RyanTM
aecafd476e tockloader: 1.4.0 -> 1.5.0 2020-07-24 10:49:45 +00:00
Adrian Gierakowski
76437a88bb writers.writePython2 and writePython3: use "bare" python if no deps are needed
`python.withPackages` has a runtime dependecy on bash since it's wrapped with
`makeWrapper`. This fix avoids bash as runtime dependency when it's not
needed.

as discussed here: https://github.com/NixOS/nixpkgs/issues/93609#issuecomment-662880047
2020-07-24 11:39:01 +01:00
Daniël de Kok
8b0221cbe7
Merge pull request #93577 from danieldk/freeoffice-version
softmaker-office, freeoffice: change version to edition.version
2020-07-24 12:25:11 +02:00
Maximilian Bosch
a21241c286
Merge pull request #93717 from bachp/ocrmypdf-10.3.0
ocrmypdf: 10.2.0 -> 10.3.0
2020-07-24 12:13:16 +02:00
adisbladis
5f74b92a14
emacs: Make stdenv.mkDerivation params non recursive 2020-07-24 12:11:05 +02:00
adisbladis
d1b0eef9b5
emacs: Don't use interpolation for version 2020-07-24 12:10:54 +02:00
Maximilian Bosch
f3b34ce5aa
Merge pull request #93745 from r-ryantm/auto-update/ostree
ostree: 2020.3 -> 2020.4
2020-07-24 11:50:33 +02:00
R. RyanTM
cc665aee53 shadowsocks-rust: 1.8.12 -> 1.8.13 2020-07-24 09:43:05 +00:00
Maximilian Bosch
df7b5c7fcb
Merge pull request #93731 from r-ryantm/auto-update/dunst
dunst: 1.4.1 -> 1.5.0
2020-07-24 11:41:35 +02:00