45 Commits

Author SHA1 Message Date
Matteo Pacini b2546c2c8f open-watcom-v2-unwrapped: disable strictflexarrays1 to fix build 2026-04-13 23:26:45 +01:00
Matteo Pacini 5728c77d16 open-watcom-v2-unwrapped: 0-unstable-2025-11-15 -> 0-unstable-2026-04-11 2026-04-11 22:15:15 +01:00
Hythera 2065890c71 open-watcom-{bin,v2,v2-full}: set pname and version 2026-02-22 15:09:57 +01:00
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
OPNA2608 48886168b3 open-watcom-v2-unwrapped: Only pull in DOSBox when building docs, fix docs build
We were doing it like this in the past, only changed to unconditionally pulling in DOSBox cus upstream said it
might be necessary.

Turns out that the docs build hasn't worked in awhile cus DOSBox doesn't launch without OpenGL available to it.
Since the docsless variant is unaffected, DOSBox does only seem necessary when building the docs.

Also, fix the docs build by using llvmpipe for OpenGL.
2025-11-20 02:36:43 +01:00
OPNA2608 13b7a967c8 open-watcom-v2-unwrapped: Do abit of housekeeping
- rec -> finalAttrs
- Drop meta-wide with lib
- GUI tool building can default to stdenv.hostPlatform.isWindows, prolly closer to correct than defaulting to false
- substituteInPlace accepts multiple files, for loop not necessary
- Just to be safe, reject non-GNU & non-Clang compilers. Who knows what Watcom needs to build on those...
- Use lib functions for path-related stuff (makeBinPath, getExe)
2025-11-15 19:16:38 +01:00
OPNA2608 fe7ee79571 {open-watcom-v2,open-watcom-bin}: Adjust looked-for strings in file output 2025-11-15 19:00:52 +01:00
OPNA2608 d08fb84387 open-watcom-v2-unwrapped: 0-unstable-2025-05-07 -> 0-unstable-2025-11-15 2025-11-15 18:04:20 +01:00
Wolfgang Walther 91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
OPNA2608 0de0388b3e wrapWatcom: Fix file identification checks 2025-05-08 15:06:39 +02:00
OPNA2608 e94a9bb87b open-watcom-v2-unwrapped: 0-unstable-2024-10-13 -> 0-unstable-2025-05-07 2025-05-08 15:05:49 +02:00
Silvan Mosberger 4f0dadbf38 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 https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Steven Keuchel 1117016a45 open-watcom-bin: do an unattended instead of a scripted install 2024-10-31 14:55:12 +01:00
OPNA2608 105d59fd6a open-watcom-v2: 0-unstable-2024-05-14 -> 0-unstable-2024-10-13 2024-10-19 15:18:21 +02:00
Alexis Hildebrandt f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
OPNA2608 16685630aa open-watcom-v2-unwrapped: 0-unstable-2023-11-24 -> 0-unstable-2024-05-14 2024-05-14 08:14:00 +02:00
OPNA2608 5c85ae0bac open-watcom-v2-unwrapped: unstable-2023-11-24 -> 0-unstable-2023-11-24 2024-05-05 16:22:46 +02:00
a-n-n-a-l-e-e ce789e7e35 llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043)
- merge libcxxabi into libcxx for LLVM 12, 13, 14, 15, 16, 17, and git.
- remove the link time workaround `-lc++ -lc++abi` from 58 packages as it is no longer required.
- fixes https://github.com/NixOS/nixpkgs/issues/166205
- provides alternative fixes for. https://github.com/NixOS/nixpkgs/issues/269548 https://github.com/NixOS/nix/issues/9640
- pkgsCross.x86_64-freebsd builds work again

This change can be represented in 3 stages
1. merge libcxxabi into libcxx -- files: pkgs/development/compilers/llvm/[12, git]/{libcxx, libcxxabi}
2. update stdenv to account for merge -- files: stdenv.{adapters, cc.wrapper, darwin}
3. remove all references to libcxxabi outside of llvm (about 58 packages modified)

### merging libcxxabi into libcxx
- take the union of the libcxxabi and libcxx cmake flags
- eliminate the libcxx-headers-only package - it was only needed to break libcxx <-> libcxxabi circular dependency
- libcxx.cxxabi is removed. external cxxabi (freebsd) will symlink headers / libs into libcxx.
- darwin will re-export the libcxxabi symbols into libcxx so linking `-lc++` is sufficient.
- linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient.
- libcxx/default.nix [12, 17] are identical except for patches and `LIBCXX_ADDITIONAL_LIBRARIES` (only used in 16+)
- git/libcxx/defaul.nix  does not link with -nostdlib when useLLVM is true so flag is removed. this is not much different than before as libcxxabi used -nostdlib where libcxx did not, so libc was linked in anyway.

### stdenv changes
- darwin bootstrap, remove references to libcxxabi and cxxabi
- cc-wrapper: remove c++ link workaround when libcxx.cxxabi doesn't exist (still exists for LLVM pre 12)
- adapter: update overrideLibcxx to account for a pkgs.stdenv that only has libcxx

### 58 package updates
- remove `NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}` as no longer needed
- swift, nodejs_v8 remove libcxxabi references in the clang override

https://github.com/NixOS/nixpkgs/pull/292043
2024-03-11 03:53:37 -07:00
OPNA2608 cb28201998 open-watcom-v2-unwrapped: unstable-2023-05-17 -> unstable-2023-11-24, fix on Darwin 2024-01-15 09:14:14 -08:00
Christoph Neidahl 43da3da1a0 open-watcom-v2-unwrapped: unstable-2023-03-20 -> unstable-2023-05-17 (#230544)
* open-watcom-v2-unwrapped: unstable-2023-03-20 -> unstable-2023-05-07

* open-watcom-v2-unwrapped: unstable-2023-05-07 -> unstable-2023-05-17
2023-05-25 21:15:50 +02:00
OPNA2608 c1f45a9ae6 open-watcom-v2-unwrapped: unstable-2023-01-30 -> unstable-2023-03-20 2023-03-20 15:54:08 +01:00
OPNA2608 a6ae9718fb wrapWatcom: Handle ARM-based hostPlatform 2023-01-30 15:18:41 +01:00
OPNA2608 d32b1cbc6c open-watcom-v2-unwrapped: unstable-2022-10-03 -> unstable-2023-01-30
Enable on more platforms
2023-01-30 15:18:31 +01:00
Christoph Neidahl 285dc9c1de open-watcom-v2: Fix bindir name for Darwin (#191537) 2022-10-12 21:08:31 +02:00
OPNA2608 924372998b open-watcom-v2-unwrapped: opt-out of nixpkgs-update 2022-10-09 13:55:19 +02:00
R. Ryantm 25b7035513 open-watcom-v2-unwrapped: unstable-2022-08-02 -> unstable-2022-10-03 2022-10-03 15:25:33 +00:00
Artturin c6568adb00 treewide: makeWrapper buildInputs to nativeBuildInputs
most found with https://github.com/siraben/nix-lint
2022-08-16 13:14:19 +03:00
OPNA2608 16395a9797 wrapWatcom: use passthru.prettyName 2022-08-03 16:37:59 +02:00
OPNA2608 cf6b5e1624 open-watcom-bin-unwrapped: improve meta 2022-08-03 16:37:59 +02:00
OPNA2608 aa30734c17 open-watcom-v2-unwrapped: unstable-2022-05-04 -> unstable-2022-08-02 2022-08-03 15:30:35 +02:00
R. Ryantm e997da6800 open-watcom-v2-unwrapped: unstable-2022-05-03 -> unstable-2022-05-04 2022-05-06 08:55:39 +00:00
R. Ryantm 11beba2dfc open-watcom-v2-unwrapped: unstable-2022-04-29 -> unstable-2022-05-03 2022-05-03 16:11:39 +00:00
R. Ryantm c64751f2bf open-watcom-v2-unwrapped: unstable-2022-04-24 -> unstable-2022-04-29 2022-04-30 09:57:15 +00:00
R. Ryantm 9ef062f508 open-watcom-v2-unwrapped: unstable-2022-04-23 -> unstable-2022-04-24 2022-04-25 08:35:12 +00:00
R. Ryantm 1b6f0a2de8 open-watcom-v2-unwrapped: unstable-2022-04-21 -> unstable-2022-04-23 2022-04-23 10:38:59 +00:00
R. Ryantm 05f47e6cfc open-watcom-v2-unwrapped: unstable-2022-04-18 -> unstable-2022-04-21 2022-04-21 07:56:14 +00:00
R. Ryantm eb57cadcaa open-watcom-v2-unwrapped: unstable-2022-03-14 -> unstable-2022-04-18 2022-04-18 07:33:01 +00:00
R. Ryantm 9c951ed83e open-watcom-v2-unwrapped: unstable-2022-02-22 -> unstable-2022-03-14 2022-03-14 06:29:38 +00:00
OPNA2608 9cb9dc9a1a open-watcom-v2: unstable-2022-01-18 -> unstable-2022-02-22 2022-02-23 00:06:04 +01:00
R. Ryantm 43736a560e open-watcom-v2-unwrapped: unstable-2021-12-10 -> unstable-2022-01-18 2022-01-19 07:09:31 +00:00
OPNA2608 53d2e5a407 wrapWatcom: inherit compiler's meta 2021-12-10 14:02:48 +01:00
OPNA2608 b03ca8faa8 open-watcom-v2: unstable-2021-11-30 -> unstable-2021-12-10 2021-12-10 13:31:40 +01:00
Christoph Neidahl 113f047ae7 open-watcom-v2: init at unstable 2021-11-30 (#124000) 2021-12-06 11:05:03 -05:00