49 Commits

Author SHA1 Message Date
Marcin Serwin d74c3ad29f maintainers: remove vrthra (#530740) 2026-06-19 19:16:22 +00:00
·𐑑𐑴𐑕𐑑𐑩𐑤 dde6eefd58 factor: override deployment copy-file to skip setting file permissions
Assisted-by: DeepSeek V4 Flash
2026-06-11 22:46:33 +07:00
·𐑑𐑴𐑕𐑑𐑩𐑤 7aaa9694b8 factor: deploy script prints its path handling version differences
In 0.101 & on non-macOS builds, Factor added a .out extension to
deployments. The current Nix derivation is built with path assumptions
in mind. Rather than running switch-cases on versions+OS or relying on
globbing in the shell scripts, the deploy script has been modified to
print its resolved deploy path to a file so that the build can continue
knowing exactly where the files are / should go. This handles both with
& without .out extension as the tests pass on 0.99, 0.100, & 0.101.
2026-06-11 22:46:29 +07:00
·𐑑𐑴𐑕𐑑𐑩𐑤 5d13d05d5e factor: use indent strings for install phase 2026-06-11 22:32:15 +07:00
·𐑑𐑴𐑕𐑑𐑩𐑤 58eddaf709 factor: add language string annotations
tree-sitter can highlight these (& more depending on editor setup), &
for the rest of users, it’s still an annotation that helps keep track of
what language we are working in.
2026-06-11 22:32:15 +07:00
·𐑑𐑴𐑕𐑑𐑩𐑤 59d0bc1cf9 factor: capitalize “Usage” as is customary 2026-06-11 22:32:15 +07:00
·𐑑𐑴𐑕𐑑𐑩𐑤 3678d107b7 factor: add hello-world test 2026-06-11 22:32:14 +07:00
Hythera b2dc2ea4dd maintainers: remove vrthra 2026-06-11 16:07:05 +02:00
·𐑑𐑴𐑕𐑑𐑩𐑤 e0006ff7f7 factor: use makeBinaryWrapper
No Bash overhead
2026-06-04 16:04:36 +07:00
Michael Raitza a6cddcfe93 factor-lang: 0.100 -> 0.101
Fixes issues with the help browser by copying vocabulary roots instead
of symlinking them.  Although, I am convinced that this is an issue that
should be fixed upstream, eventually.

Fixes #469242
Fixes #474869
2026-01-09 13:20:10 +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
Wolfgang Walther 91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
Aleksana bae757a5bb treewide: fix mismatched runHook invocations in Phase (#428951) 2025-08-01 17:07:28 +08:00
mivorasu ee0866bddd treewide: conform descriptions to the standards 2025-07-28 04:39:00 +00:00
mivorasu c6b15e1db9 treewide: fix mismatched runHook invocations in Phase 2025-07-28 04:12:58 +00:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
·𐑑𐑴𐑕𐑑𐑩𐑤 0c84d34f95 factorPackages.buildFactorVocab: fix find directory typo 2025-06-23 23:36:51 +07:00
Michael Raitza 812a744582 factor-lang: 0.99 -> 0.100
Keep 0.99 around as they are not 100% backwards compatible.

Fixes #393387
2025-04-03 22:28:45 +02:00
Michael Raitza ba8b602211 factor: Restructure package for easier extension 2025-04-03 16:33:05 +02:00
Silvan Mosberger 374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](https://github.com/NixOS/nixpkgs/tree/8616af08d915377bd930395f3b700a0e93d08728/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Sigmanificient 91d5ab3ae4 treewide: remove unused rec expressions 2025-03-14 05:15:05 +01:00
Peder Bergebakken Sundt 5aba99242e treewide: fix typos in comments
Made with

```shell
git restore .
fd '\.nix$' pkgs/ --type f -j1 -x bash -xc "$(cat <<"EOF"
    typos --no-check-filenames --write-changes "$1"
    git diff --exit-code "$1" && exit
    #( git diff "$1" | grep -qE "^\+ +[^# ]") && git restore "$1"
    count1="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> ' | wc -l )"
    count2="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> (<span style="color:#f8f8f2;"> *</span>)?<span style="color:#75715e;">.*</span>$' | wc -l )"
    [[ $count1 -ne $count2 ]] && git restore "$1"
EOF
)" -- {}
```

and filtered with `GIT_DIFF_OPTS='--unified=15' git -c interactive.singleKey=true add --patch`

I initially tried using the tree-sitter cli, python bindings and even ast-grep through various means, but this is what I ended up with.
2025-02-24 10:44:41 +01:00
Wolfgang Walther 31706d4a55 treewide: fix sed -ie and friends
GNU sed's man page has this to say about "-i":

  Because -i takes an optional argument, it should not be followed by
  other short options:
  [..]
  sed -iE '...' FILE
    This is equivalent to --in-place=E, creating FILEE as backup of FILE

This means all "-iX" did not have the intended effect X, so we can
instead remove them.
2024-11-17 18:24:54 +01:00
Anderson Torres 084dc9a4df treewide: remove vrthra from meta.maintainers [no orphans]
Tracking issue: https://github.com/NixOS/nixpkgs/issues/290642

Inactive since at least 2017.
2024-07-07 12:18:57 -03: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
Michael Raitza 71cbe0d18a factor: Fix withLibs wrapper 2024-01-10 10:09:20 +01:00
olus2000 85d04f272a factor-lang: fix upgrade to include changes from 8d999d4 2023-11-06 09:09:32 +01:00
olus2000 044b0ec94d factor-lang: 0.98 -> 0.99
changelog: https://re.factorcode.org/2023/08/factor-0-99-now-available.html
2023-10-29 08:04:22 +01:00
spacefrogg 8d999d48c5 factor: Fix "resource:work" pointing to store
The necessary changes to io.pathnames absolute-path did not end up in
the final factor image. Build a local boot image and bootstrap factor
twice to make it contain all build modifications.

Fixes #212254
2023-03-11 22:20:19 +01:00
AndersonTorres c254a6e12e factor98: add longDescription 2021-11-26 10:22:03 -03:00
Sandro 72ca633e48 factor-lang: quote homepage url 2021-11-26 10:09:12 -03:00
Michael Raitza 4f5daac94e factor-lang: Rewrite builder in preparation for 0.99
Fixes #136400
2021-11-25 18:01:09 +01:00
Ben Siraphob 127733211e treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
Ben Siraphob e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Ben Siraphob acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Michael Reilly 84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
c0bw3b 9367367dfd Treewide: fix URL permanent redirects
Permanent redirects on homepages and/or source URLs
as reported by Repology
2019-11-16 01:41:23 +01: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
worldofpeace b1bc0645ea gdk-pixbuf: rename from gdk_pixbuf 2019-07-22 18:50:57 -04:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Michael Raitza 69cabf7750 factor-lang: 0.97 -> 0.98
Much improved build with support for GUI libraries and FUEL, the emacs
development environment.

Also directs the work vocabulary to point to /var/lib/factor as a machine-local
writable location. So, scaffolding should work as intended, now.
2018-10-20 02:51:35 +02:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Alexander V. Nikolaev 1bc1909e5b treewide: transition from mesa_glu to libGLU 2018-02-24 17:05:43 +02:00
Vladimír Čunát 0610584998 factor-lang: fix libGL when the OS uses non-mesa
I was careful to keep libGLU in LD_LIBRARY_PATH,
in the unlikely case that it's actually used.
Reported in https://github.com/NixOS/nixpkgs/issues/30749#issuecomment-341987725
2017-11-05 18:43:20 +01:00
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Tuomas Tynkkynen 07491d68c3 treewide: Fix output references to ncurses 2016-08-23 04:53:24 +03:00
Rahul Gopinath 35c544e6d4 factor: disable build on i686-linux
The factor language should be built only on x86_64 machines.
2016-06-09 04:19:00 -07:00
Rahul Gopinath 51a7260fba factor-lang: Init at 0.98
Factor is a concatenative, stack-based programming language.
2016-06-08 21:45:43 -07:00