Commit Graph
506308 Commits
Author SHA1 Message Date
Adam Joseph 7621636030 gcc: use Nix instead of bash for conditional
Now that we use the standard builder, the commands produced by
pre-configure.nix are wrapped in a bash function.  Inside of a bash
function, `export foo=` will still add `foo` to the environment of
any child processes forked after that point, but those variables
will *not* be visible to bash code which is outside of the
function-scope in which the `export` occurs.

Weird crap like this is yet another reason why we need to move away
from using bash for logic.  Let's switch.
2023-07-07 05:56:46 -07:00
Adam Joseph e99f6372fa gcc: use callFile instead of callPackage for builder.nix 2023-07-07 05:56:46 -07:00
Adam Joseph 5eaf17927e gcc: add -g to declare
The bash `declare` builtin works differently when it occurs inside
function, as it now does due to breaking up the monolithic
`builder.sh` into separate phases.  We have to add `-g` in order to
get the outside-of-a-bash-function behavior when using `declare`
within a bash function.
2023-07-07 05:56:46 -07:00
Adam Joseph 67da7b9a1f gcc: remove builder.sh 2023-07-07 05:56:44 -07:00
Adam Joseph e3f05c22aa gcc: use common/builder.nix
This commit replaces `stdenv.mkDerivation` with `(callPackage
../common/builder.nix {})` in all versions of gcc.
2023-07-07 05:55:15 -07:00
Adam Joseph c413f5a6c1 gcc: remove builder = ../builder.sh from gcc/${version}/default.nix
This commit deletes the custom builder attribute from all gcc versions.
2023-07-07 05:55:15 -07:00
Adam Joseph 1157e1d856 gcc: add args to common/builder.nix, split up script into phases
This commit adds arguments to `builder.nix`, making it a callable
function, and splits up the single massive shell script into
separate attributes for each phase.  It also drops the first two
lines and the last line because these are part of the default
builder.

All script lines which were not part of a phase function have been
moved into `preUnpack` since this is the first phase that runs.
Subsequent commits will move parts of this to more sensible
locations.
2023-07-07 05:55:15 -07:00
Adam Joseph 72284b0d40 gcc: make common/builder.nix into valid Nix syntax
This commit performs two search-and-replace operations:

- replace all `${` with `''${`
- replace `''` with `""` in shell scripts

This commit is left unsquashed to make review of the subsequent
commits easier.
2023-07-07 05:55:15 -07:00
Adam Joseph caf22a33eb gcc: copy gcc/builder.sh to gcc/common/builder.nix
This commit is left unsquashed to make review of the subsequent
commits easier.
2023-07-07 05:55:15 -07:00
SandroandGitHub ae6388356f Merge pull request #153527 from andersk/python3-symlinks
python3: Add manpage symlink to fix ‘man python’
2023-07-20 22:07:42 +02:00
github-actions[bot]andGitHub 6ce03a2dbd Merge staging-next into staging 2023-07-20 18:01:51 +00:00
github-actions[bot]andGitHub da1f279ece Merge master into staging-next 2023-07-20 18:01:17 +00:00
Ulrik StridandGitHub 14cc255189 Merge pull request #244446 from vbgl/ocaml-bisect_ppx-2.8.3
ocamlPackages.bisect_ppx: 2.8.2 → 2.8.3
2023-07-20 19:28:52 +02:00
Felix BühlerandGitHub f7bb884c13 Merge pull request #243850 from mattchrist/nixos/freshrss_auth_type
nixos/freshrss: authType option
2023-07-20 18:58:45 +02:00
Varun MadiathandAnderson Torres 4b7ad2c7ea jesec-rtorrent: Add patch to prevent segfault 2023-07-20 12:28:14 -03:00
Ryan LahfaandGitHub 1a335c25e3 Merge pull request #244423 from RaitoBezarius/update/netdata 2023-07-20 17:22:01 +02:00
SandroandGitHub 081d7a5712 Merge pull request #243568 from tjni/fetchsvn 2023-07-20 17:08:53 +02:00
SandroandGitHub 21e2e172b9 Merge pull request #244472 from JesusMtnezForks/hugo 2023-07-20 17:03:04 +02:00
SandroandGitHub 03bdf06c55 Merge pull request #244398 from tfmoraes/blackbox_terminal_0.14 2023-07-20 16:55:27 +02:00
Samuel AinsworthandGitHub 56f391f69a Merge pull request #243010 from GaetanLepage/tensorflow-datasets-update
python3Packages.tensorflow-datasets: 4.8.2 -> 4.9.2
2023-07-20 07:51:38 -07:00
SandroandGitHub 6accf8e503 Merge pull request #244499 from GaetanLepage/cool-retro-term 2023-07-20 16:45:46 +02:00
SandroandGitHub dfe350f22a Merge pull request #244473 from 999eagle/update/searxng 2023-07-20 16:21:40 +02:00
Mario RodasandGitHub af07eea2cd Merge pull request #244412 from r-ryantm/auto-update/nodejs
nodejs: 18.16.1 -> 18.17.0
2023-07-20 09:16:26 -05:00
Gaetan Lepage c87e4eb5c3 cool-retro-term: 1.1.1 -> 1.2.0 2023-07-20 15:59:29 +02:00
figsodaandGitHub 4eb7071907 Merge pull request #244333 from matthiasbeyer/add-git-backdate
git-backdate: init at 2023-07-19
2023-07-20 09:54:48 -04:00
Nick CaoandGitHub fc865094fb Merge pull request #244448 from NickCao/qt
qt6: 6.5.1 -> 6.5.2
2023-07-20 07:54:46 -06:00
Sascha Grunertandzowoq 7c14607112 runc: 1.1.7 -> 1.1.8
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-07-20 23:44:54 +10:00
Florian KlinkandGitHub 77f8c78bea Merge pull request #244466 from RaitoBezarius/networkd/netdev-mac
nixos/networkd: fix netdev MAC addresses asserts
2023-07-20 16:39:32 +03:00
Thiago Franco de Moraes 4c6d4170f2 blackbox-terminal: 0.13.2 -> 0.14.0 2023-07-20 10:38:49 -03:00
Mario RodasandGitHub 1afd4dbfe5 Merge pull request #244443 from r-ryantm/auto-update/python311Packages.islpy
python311Packages.islpy: 2023.1 -> 2023.1.2
2023-07-20 08:24:06 -05:00
Florian KlinkandGitHub 02b780891d Merge pull request #244455 from flokli/kernel-ip-route-multipath
linuxPackages: set IP_ROUTE_MULTIPATH to yes
2023-07-20 16:05:38 +03:00
EmilyandGitHub 7a542bd218 Merge pull request #243797 from foo-dogsquared/add-ictree
ictree: init at 1.0.1
2023-07-20 14:58:27 +02:00
Sophie Tauchert c6b3caa1fd searxng: freeze version 2023-07-20 14:29:34 +02:00
SandroandAnderson Torres ffaadc7b70 aliases: remove edited suffix in comment 2023-07-20 09:25:48 -03:00
ruby0bandAnderson Torres a63cd87da9 pyload-ng: init at 0.5.0b3.dev72 2023-07-20 09:25:48 -03:00
ruby0bandAnderson Torres 812e0432fd python3Packages.flask-themes2: init at 1.0.0 2023-07-20 09:25:48 -03:00
github-actions[bot]andzowoq d6ff2965db terraform-providers.tencentcloud: 1.81.14 -> 1.81.15 2023-07-20 22:08:55 +10:00
github-actions[bot]andzowoq 0a2e9d073b terraform-providers.oci: 5.4.0 -> 5.5.0 2023-07-20 22:08:55 +10:00
github-actions[bot]andzowoq f38ecdcc5a terraform-providers.spotinst: 1.126.0 -> 1.127.0 2023-07-20 22:08:55 +10:00
github-actions[bot]andzowoq 93d160476b terraform-providers.scaleway: 2.24.0 -> 2.25.0 2023-07-20 22:08:55 +10:00
github-actions[bot]andzowoq 3a7c90bb08 terraform-providers.mongodbatlas: 1.10.1 -> 1.10.2 2023-07-20 22:08:55 +10:00
github-actions[bot]andzowoq bd95a7a683 terraform-providers.linode: 2.5.1 -> 2.5.2 2023-07-20 22:08:55 +10:00
github-actions[bot]andzowoq 8781d90d7d terraform-providers.launchdarkly: 2.13.1 -> 2.13.2 2023-07-20 22:08:55 +10:00
github-actions[bot]andGitHub 5be3671e93 Merge staging-next into staging 2023-07-20 12:01:57 +00:00
github-actions[bot]andGitHub 37df58121d Merge master into staging-next 2023-07-20 12:01:16 +00:00
Daniel KempkensandYt c118bb4f9a elixir: make mix interpreter path absolute
Remove the implicit dependency on `elixir` being somewhere in `PATH`.

Before:

```
$ nix build '.#elixir_1_15'
$ ./result/bin/mix --version
env: ‘elixir’: No such file or directory
```

After:

```
$ nix build '.#elixir_1_15'
$ ./result/bin/mix --version
Erlang/OTP 25 [erts-13.2.2.2] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]

Mix 1.15.2 (compiled with Erlang/OTP 25)
```

This was caused by the shebang interpreter directive being set to
`${coreutils}/bin/env elixir`, whereas now the `elixir` part is replaced
with the full path to the interpreter.

We can't get rid of the `${coreutils}/bin/env` part, because without it
all scripts are interpreted as shell scripts.
2023-07-20 20:52:55 +09:00
happysaladaandYt e17114622d nodePackages: update to latest 2023-07-20 20:48:58 +09:00
Ryan LahfaandGitHub faa1bc7353 Merge pull request #244395 from pogobanane/master 2023-07-20 13:08:17 +02:00
Mario RodasandGitHub 5df4d78d54 Merge pull request #243945 from gaelreyrol/minify-update-2.12.7
minify: 2.11.1 -> 2.12.7
2023-07-20 05:51:35 -05:00
JesusMtnez c2f683a58a hugo: 0.115.3 -> 0.115.4 2023-07-20 11:51:59 +02:00