Commit Graph

23 Commits

Author SHA1 Message Date
Aleksana
fb9c62762a
cbconvert: use versionCheckHook (#360862) 2024-12-12 21:42:32 +08: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 a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Jordan Williams
014764ffc9
cbconvert-gui: install icon to correct directory 2024-12-02 09:52:00 -06:00
Jordan Williams
ab4ab7b35c
cbconvert: use versionCheckHook 2024-12-01 14:24:42 -06:00
wxt
0d71320797
cbmc: 6.0.1 -> 6.4.0 2024-11-25 16:44:04 +08:00
wxt
1d2443c3d7
cbmc: nixfmt 2024-11-25 16:44:02 +08:00
Aleksana
7b4dbe2e60
cbmc-viewer: init at 3.8 (#306266) 2024-11-23 17:10:18 +08:00
Sandro
e054cac841
cbconvert: 1.0.4 -> 1.1.0 (#354495) 2024-11-19 10:48:55 +01:00
mrtnvgr
e14a0ae522
cbmp: init at 1.1.1 (#329351)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-11-11 14:08:12 +01:00
Jacek Generowicz
8ce2f1475d cbmc-viewer: init at 3.8 2024-11-10 00:23:19 +01:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Jordan Williams
45599a3be4
cbconvert: 1.0.4 -> 1.1.0 2024-11-08 08:08:33 -06:00
Jordan Williams
e7e66352e9
cbconvert: init at 1.0.4 2024-11-04 07:24:14 -06: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
Emily
3b5f32c447
python312Packages.blessings: drop (#336152) 2024-09-22 15:25:12 +01:00
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
Sigmanificient
7a58572d13 cbeams: modernize, add sigmanificient to maintainers 2024-08-24 00:33:47 +02:00
Sigmanificient
e414edaa0d cbeams: migrate to pkgs/by-name, modernize 2024-08-24 00:33:46 +02:00
Ilan Joselevich
e4d93e7f56
cbtemulator: 1.22.0 -> 1.29.0 2024-08-19 01:42:46 +03:00
amesgen
50118841a9
cbor-diag: move to by-name 2024-08-04 15:11:26 +02:00
Sigmanificient
512e8afdb9 treewide: remove unused occurence of stdenv (and other) arguments
format (will squash)
2024-07-14 04:32:56 +02:00
Florian Klink
fcab9c5556 cbtemulator: init at 1.22.0
This packages cbtemulator, an in-memory emulator for Google Bigtable.

I added a small smoketest, setting up tables, inserting a value, and
asserting we get it back.
2024-03-23 18:24:44 +01:00
Christina Sørensen
721c07b750
cbmbasic: init at unstable-2022-12-18
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-16 06:17:35 +02:00