Commit Graph

21 Commits

Author SHA1 Message Date
Silvan Mosberger
667d42c00d treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
Sandro Jäckel
f6ba649ddc appimage-run: set meta.mainProgram 2024-02-26 14:35:27 +01:00
Atemu
f63a12f296 tree-wide: buildFHSUserEnv -> buildFHSEnv 2023-04-16 10:15:13 +02:00
Victor Engmark
73981dd9c2 feat: Create desktop item for appimage-run
Thanks @jtotnar for help with the tests
<https://discourse.nixos.org/t/how-to-test-desktop-item-mime-types/24510>!
2023-02-28 19:35:05 +13:00
Victor Engmark
0acc6df742 refactor: Add spacing around tests 2023-02-28 19:35:05 +13:00
Guillaume Girol
c0cdf0ad4b appimage-run: export OWD
documented here: https://docs.appimage.org/packaging-guide/environment-variables.html

Fixes #203330
2022-11-29 12:00:00 +00:00
Guillaume Girol
b28e5f3c9a appimage-run: add regression test 2021-01-05 20:26:15 +01:00
Bignaux Ronan
a3df64c8a7 appimage-exec.sh: simplify and improve getopts options 2020-03-08 20:34:23 +01:00
Bignaux Ronan
b36d3f2c4a appimage: replace writeScript to a standalone appimage-exec.sh 2020-03-07 20:24:26 +01:00
Bignaux Ronan
349e923e00 appimage-run: replace writeScript to a standalone appimage-exec.sh 2020-03-05 18:53:11 +01:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Timo Kaufmann
19e075b53b appimage-run: pass arguments to appimage 2019-04-20 12:32:09 +02:00
Timo Kaufmann
6af25fd1ad appimage-run: add usage message 2019-04-20 12:31:44 +02:00
Jörg Thalheim
dadc7eb329 treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
tilpner
58443d8a50 appimageTools: init
The appimageTools attrset contains utilities to prevent
the usage of appimage-run to package AppImages, like done/attempted
in #49370 and #53156.

This has the advantage of allowing for per-package environment changes,
and extracts into the store instead of the users home directory.

The package list was extracted into appimageTools to prevent
duplication.
2019-02-23 21:04:21 +01:00
Kamil Chmielewski
e7fd32d2f1 appimage-run: fix missing libatk-bridge-2.0.so.0
Fix `error while loading shared libraries: libatk-bridge-2.0.so.0`
when trying to run Beaker Browser >= 0.8.0
2018-11-26 21:37:07 +01:00
tilpner
62dc7fbc61 appimage-run: Fix type-1 support, used wrong directory 2018-10-16 13:57:15 +02:00
Till Höppner
5fb0ed64d0 appimage-run: Support type-1 Appimages (#45973)
This attempts to detect older appimages and extract them
in the same manner as new ones, without changing filesystem paths
2018-09-19 18:42:12 +02:00
volth
cc55a3ebcb treewide: fix build with disallowed aliases (#43872)
fixes build with disallowed aliases
2018-07-21 22:03:24 -04:00
Brandon Smith
5f59d13f8c appimage-run: add libudev to inputs (#43269)
Required by Ledger Live
2018-07-11 14:34:59 +00:00
tilpner
f38459442a appimage-run: init
This adds a best-effort hack to run AppImages, which currently don't
work out-of-the-box on NixOS. This is not preferable to using packaged
applications, but may help users if the application they want to run
is not in nixpkgs.

It uses the package list from the Steam chroot, but without Steam
packages.
2018-06-15 11:02:15 +02:00