Граф коммитов

264 Коммитов

Автор SHA1 Сообщение Дата
K900 9b11a87c0c firefox-nightly-bin: drop patchelf hack
Now included in nixpkgs proper
2024-01-04 13:58:21 +01:00
K900 6eabade97b firefox-nightly-bin: preserve old nativeBuildInputs
oops >____<
2023-09-27 11:08:01 +02:00
K900 7800b921f7 firefox-nightly: use patched patchelf (heh) to not break binaries 2023-09-25 11:23:02 +02:00
K900 d8a0a26242 firefox-nightly-bin: remove more old nixpkgs compat stuff 2023-09-21 17:49:48 +02:00
K900 2e48a6d982 firefox-nightly-bin: remove old workarounds
These are included in every supported version of nixpkgs, so we no longer need them here.
2023-09-21 11:13:08 +02:00
Christian Albrecht db89c8707e overlays.rust: fix fromManifest postBuild realpath for rust-src build
When building rust-src like in
```
nix build --impure -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/tags/23.05.tar.gz --argstr PWD $PWD --expr '{ PWD }:(import <nixpkgs> { overlays = (builtins.getFlake PWD).overlays.rust ];}).latest.rustChannels.stable.rust-src' -L --out-link rust-src-stable
```
after fixing the previous error the build failed since commit f6fe8508b0 with an error like
```
realpath: missing operand
```
because, bash shopt nullglob is enabled during build which leads to a
non-existing glob matching pattern to be a null string and therefore
the check with `ls $out/lib/librustc_driver-*.so` lists the whole
directory and succeeds.
```
bash -c 'shopt -s nullglob; if ls $PWD/rust-o*.nixxxxxxxxxxx &> /dev/null ; then echo yes ; else echo no ; fi'
yes
```

This commit changes the check to compare the null string resulting
from glob pattern match with nullglob enabled against another null
string.
2023-07-28 11:25:31 +02:00
Christian Albrecht cadfc54b24 overlays.rust: fix fromManifest postBuild chmod for rust-src build
When building rust-src like in
```
nix build --impure -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/tags/23.05.tar.gz --argstr PWD $PWD --expr '{ PWD }:(import <nixpkgs> { overlays = (builtins.getFlake PWD).overlays.rust ];}).latest.rustChannels.stable.rust-src' -L --out-link rust-src-stable
```
the build failed since commit f6fe8508b0 with an error like
```
chmod: cannot access '/nix/store/rawpkwl6b5h2qqv41w8yqgpayp89q9xa-rust-src-1.71.0-2023-07-12-8ede3aae2/bin/rustc': No such file or directory
```
because, indeed this file is not present in rust-src build output.

This commit moves the failing commands inside the conditional block
so that they are only executed when the file is present.
2023-07-28 11:25:31 +02:00
tali 3a44b87835 doc: fix typo
Co-authored-by: Artturi <Artturin@artturin.com>
2023-06-26 11:24:36 +02:00
tali auster 0eb84fdf57 doc: fix flake overlay path description 2023-06-26 11:24:36 +02:00
K900 e6ca26fe8b Update gpg incantations to work with 2.4.1
There's some weird new behavior with keyring paths and keyboxd,
so avoid the entire footgun by just explicitly telling it what key to use.
2023-05-19 11:12:39 +02:00
Nicolas B. Pierron c7104980ce Update the GPG key which is used to sign Firefox releases.
The GPG matches the one published on
https://blog.mozilla.org/security/2023/05/11/updated-gpg-key-for-signing-firefox-releases/
2023-05-12 11:39:06 +02:00
Nicolas B. Pierron b8fb014c96 Patch glxtest and vaapitest added to probe hardware when Firefox is started. 2023-05-11 14:31:48 +02:00
Naïm Favier 78e723925d rust-overlay: drop `header` function
It was removed in https://github.com/NixOS/nixpkgs/pull/210993
2023-02-27 11:22:59 +01:00
Chaitanya Koparkar 85eb0ba7d8 Remove rr overlay
As of
541d30a3a9
the upstream rr package supports i686-linux out of the box,
making this overlay unnecessary.

h/t @Artturin:
https://github.com/mozilla/nixpkgs-mozilla/issues/300#issuecomment-1368220307.
2023-02-02 17:08:25 +01:00
Bastian Köcher f6fe8508b0 Fix SYSROOT detection on latest nightly
Rust changed the way the SYSROOT is determined in: https://github.com/rust-lang/rust/pull/103660

Before this change the SYSROOT was determined based on the rustc
executable. Now it is determined based on the librustc_driver-*.so file.
This pr fixes the detection by copying the library to the derivation as
we have done it for the rustc executable.
2023-01-26 14:22:43 +01:00
Cole Mickens d38863db88
Merge pull request #302 from andersk/authenticity
Improve file authenticity check; fix to work in pure evaluation mode
2023-01-04 16:25:08 -08:00
Anders Kaseorg 0fb535079f Improve file authenticity check; fix to work in pure evaluation mode
verifyFileAuthenticity now asserts that the checksums it’s verifying
really contain the file to be verified.  Also, it now accepts SHA-256
hashes of the checksum files themselves, so that after storing the
result of an impurely evaluated versionInfo call, one can build
firefoxVersion in pure evaluation mode.  This is necessary for
flake-firefox-nightly:

https://github.com/colemickens/flake-firefox-nightly/issues/3

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-12-31 14:00:00 -08:00
Anders Kaseorg 80627b2827 Replace removed runCommandNoCC alias with runCommand
It has been synonymous with runCommand since
97bfc2fac9
(2016-09-26), was deprecated in
https://github.com/NixOS/nixpkgs/pull/134225 (2021-08-15), and was
removed in https://github.com/NixOS/nixpkgs/pull/192681 (2022-09-24).

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-10-03 11:34:56 +02:00
Cole Mickens 0508a66e28 expose firefox variants 2022-07-07 19:18:06 +02:00
Artturin c89bd565a2 remove url literals 2022-07-07 19:15:16 +02:00
K900 e1f7540fc0 firefox-overlay: cleaner way to get function args
Co-authored-by: Anders Kaseorg <andersk@mit.edu>
2022-04-20 15:05:18 +02:00
K900 74f5449b03 firefox-overlay: pass wmClass to wrapFirefox if supported
Also slightly refactor things for readability.
2022-04-20 15:05:18 +02:00
Ash Walker 15b7a05f20 Fix Importing `rr-overlay.nix`
The repository flake currently tries to import `rr-overlay`, without an extension, so here's a fix for that typo.
2022-02-21 18:21:04 +01:00
Harry Maclean 5ebfc1cbfc Support TOML-formatted rust-toolchain files
The `rustToolchain` option can now by given a path to a TOML-formatted
toolchain file, which is expected to have the extension `.toml`. We
parse it and extract the `channel` and `date`.
2022-02-21 18:20:17 +01:00
alyaeanyx f233fdc4ff add flake instructions to README.rst 2022-01-31 14:12:44 +01:00
alyaeanyx 8d46bede78 Add initial flake support
Add initial flake support
2022-01-31 14:12:44 +01:00
Dzmitry Malyshau 7c1e8b1dd6 Update moz-phab description
It's no longer just a wrapper around Arcanist. It's also now officially packaged - 
https://github.com/NixOS/nixpkgs/pull/146430
2021-12-07 09:28:33 -05:00
Dzmitry Malyshau cbc7435f5b gecko: add libXtst dependency 2021-11-19 10:51:56 -05:00
Dzmitry Malyshau b4130d2704 gecko: disable bootstrap for development 2021-11-19 10:51:56 -05:00
Nicolas B. Pierron 764ed9c972 Gecko: Add clang13 target for running clang-format. 2021-11-16 09:46:48 -05:00
Nicolas B. Pierron a4e7a0cbbe Gecko: Use inotify to override mach downloaded files when created. 2021-11-16 09:46:48 -05:00
Dzmitry Malyshau b4e3430328 Add a note about mach virtualenv setup 2021-11-16 15:15:35 +01:00
Dzmitry Malyshau 2ab9f8c316 Bump Python to 3.8 2021-11-16 15:15:35 +01:00
Dzmitry Malyshau 7d685f0a09 Remove Vydio 2021-11-16 15:15:35 +01:00
Dzmitry Malyshau 4c8fc3d7b6 Remove Vydio 2021-11-15 17:16:09 +01:00
Nicolas B. Pierron 9f70f86d73 Revert "Revert "firefox: Firefox nightly depends on libXtst.""
This reverts commit 728f3df893.
2021-11-10 19:39:44 +01:00
Nicolas B. Pierron 728f3df893 Revert "firefox: Firefox nightly depends on libXtst."
This reverts commit cf58c4c67b.
2021-11-10 19:35:52 +01:00
Nicolas B. Pierron cf58c4c67b firefox: Firefox nightly depends on libXtst. 2021-11-04 18:36:55 +01:00
Kreyren 829715e746 README: Added quotes to prevent word splitting 2021-11-04 18:22:19 +01:00
Nicolas B. Pierron 6070a8ee79 Gecko: Add Clang12 in the compiler-overlay as it is required for clang-format. 2021-10-21 18:20:29 +02:00
Nicolas B. Pierron 1295f34722 Remove outdated valgrind 2021-10-21 18:20:29 +02:00
Nicolas B. Pierron cd53a47baa Gecko: Add m4 as a dependency. 2021-10-21 18:20:29 +02:00
Nicolas B. Pierron 9b9616a54f Gecko: Update how we extract gcc from the stdenv. 2021-10-21 18:20:29 +02:00
Nicolas B. Pierron 518e6a685e Replace self.lib by super.lib. 2021-10-21 18:20:29 +02:00
Nicolas B. Pierron ad40e66f3d cbindgen: update 0.13.1 -> 0.14.3. 2021-10-21 18:19:56 +02:00
Nicolas B. Pierron d41cea62ec Rust: Export the manifest file under /nix-support. 2021-10-21 18:17:05 +02:00
Nicolas B. Pierron c0912b5000 Gecko: fix libclang-path to avoid adding /lib twice. 2021-10-21 18:17:05 +02:00
Nicolas B. Pierron e18c89607b Gecko: Use stdenv's clang for clang paths. 2021-10-21 18:17:05 +02:00
Ethan Glasser-Camp 2f03e7aff1 Gecko: Make jsdoc an argument, and add fzf.
Moving jsdoc as an argument is closer to the convention of Nixpkgs.

Adding fzf to make `mach try fuzzy` minimally work.
2021-10-21 18:14:25 +02:00
Anders Kaseorg 0510159186 firefoxVersion: Fix for upstream browserName → applicationName rename
Fixes this error on current nixos-unstable:

$ nix build -Lf '<nixpkgs>' latest.firefox-bin
error: 'wrapper' at /nix/store/bgamkl5agk73pncifps984yil4hfhvkk-nixos-21.11pre308541.6fc5211eddd/nixos/pkgs/applications/networking/browsers/firefox/wrapper.nix:23:5 called with unexpected argument 'browserName', at /nix/store/bgamkl5agk73pncifps984yil4hfhvkk-nixos-21.11pre308541.6fc5211eddd/nixos/lib/customisation.nix:69:16

See
711d674e13.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-08-17 20:37:26 +02:00