Commit Graph

29 Commits

Author SHA1 Message Date
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 a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Sigmanificient
63d05d989e pkgs/development: remove unused arguments 2024-08-03 17:18:20 +02:00
Weijia Wang
2da9bfe297
Merge pull request #318646 from hraban/clasp/mainprogram
clasp-common-lisp: set meta.mainProgram
2024-06-12 00:27:54 +02:00
Hraban Luyat
bbbca25450 clasp-common-lisp: set meta.mainProgram 2024-06-09 19:44:10 -04: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
Kasper Gałkowski
6e2956f10b clasp-common-lisp: 2.2.0 -> 2.6.0
Same flags as in from debian/arch builds are used (mixed bytecode mode).

This release bundles dependencies that were previously fetched from their git
repositories. It means that the repo-pinning code can be deleted.

Clasp needs ASDF with changes not yet merged to the canonical repository. Such a
patch was added to the asdf derivation to avoid adding conditionals in the lisp
builder.
2024-06-05 02:24:58 +02:00
Philip Taron
27a9a1ca3f
clasp-common-lisp: use ninjaFlags instead of explicitly setting buildPhase and installPhase 2023-12-13 23:49:09 -08:00
Philip Taron
cee762101c
clasp-common-lisp: fix build warning
This resolves the annoying message for every compilation line:

```
clang-15: warning: argument unused during compilation: '-stdlib=libstdc++' [-Wunused-command-line-argument]
```
2023-12-13 23:40:35 -08:00
Philip Taron
c6234da698
clasp-common-lisp: fetch dependencies in Nix
I'm doing this as I wasn't able to reproduce the tarball that the
previous derivation produced, and some of the repositories that were
pinned no longer exist.
2023-12-13 23:40:35 -08:00
Philip Taron
3023b2d0ba
clasp-common-lisp: use callPackage style instead of with pkgs; 2023-12-13 23:40:35 -08:00
Mario Rodas
1d3593a6d1 clasp-common-lisp: build with fmt 9
Clasp is not compatible with fmt 10 yet.
2023-05-20 04:20:00 +00:00
Kasper Gałkowski
6817b72ca3 lisp-modules: set maintainers to the lisp team 2023-04-05 20:52:27 +02:00
Kasper Gałkowski
7fa285932c clasp-common-lisp: set correct platforms 2023-04-05 17:35:58 +02:00
Kasper Gałkowski
c2d2e8272a lisp-modules: remove left over "..." in argument lists
This was left over after 84eea85ad9
2023-03-22 21:07:36 +01:00
Kasper Gałkowski
97ec9764a4 clasp-common-lisp: fix eval
Forgot this change in 84eea85ad9
2023-03-13 23:42:00 +01:00
Kasper Gałkowski
254765f3d2 lisp-modules: make spec.flags a list of strings 2023-03-02 19:04:47 +01:00
Kasper Gałkowski
a43b5237ed clasp: init at 2.2.0 2023-03-02 19:04:46 +01:00
Kasper Gałkowski
6c96e30a3a clasp: remove 2023-03-02 19:04:46 +01:00
Frederik Rietdijk
250544f209 clasp: use python3 2021-07-27 20:37:04 +02:00
Felix Buehler
e023025ee0 various: cleanup of "inherit version;" 2021-07-17 22:39:35 +02:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Ben Siraphob
8dd78bb4fb treewide: fix double quoted strings in meta.description 2021-01-16 11:29:30 +07:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Michael Raskin
eb5d51d4cf clasp-common-lisp: update/fix build, 2018-11-28 prerelease (towards 0.9) 2019-01-11 16:29:29 +01:00
Matthew Bauer
f2a20b6e52 treewide: use wafHook
Replace "waf" phases with wafHook that manages everything
automatically. Should make things more modular.

Packages affected here are:

- a2jmidid
- ams-lv2
- ardour
- fomp
- guitarix
- ingen
- jalv
- mda-lv2
- non
- patchage
- hamster-time-tracker
- kupfer
- xiphos
- xfce4-dockbarx-plugin
- xfce4-namebar-plugin
- dropbox
- clasp
- aubio
- liliv
- lv2
- lvtk
- ntk
- raul
- sratom
- suil
- ganv
- ndn-cxx
- ns3
- serd
- sord
- termbox
- wxmupen64plus
- jackaudio
- pflask
- blockhash
- glmark2
- weighttp
2018-11-13 19:13:48 -06:00
Uli Baum
4c2388dee3 clasp-common-lisp: mark as broken
no successful hydra build since 2018-01-03
2018-09-08 20:08:49 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Michael Raskin
5fe5afe8ee clasp-common-lisp: init at 0.4.99.20170801 2017-10-24 08:43:41 +02:00