Commit Graph

96 Commits

Author SHA1 Message Date
liberodark
2743a20db7 openbsd: fix eval on riscv64-linux 2026-08-10 13:22:39 +02:00
bin
c90576aecf openbsd: bump sources to 7.9 2026-06-23 10:10:24 -04:00
Sigmanificient
0bbc8dffae treewide: set meta.license on hooks 2026-05-25 13:48:20 +02:00
Felix Bühler
cda22db97c treewide: use pname and version (#460481) 2025-12-14 15:37:21 +00: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
Felix Buehler
2722f50026 treewide: use pname and version 2025-11-23 20:17:11 +01:00
NAHO
c8d4dabc43 pkgs: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --type file \
      . \
      pkgs \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2025-10-04 19:02:37 +02:00
mivorasu
ee0866bddd treewide: conform descriptions to the standards 2025-07-28 04:39:00 +00:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
John Ericson
9d73d822d2 openbsd.{fdisk,umount,newfs,newfs_msdos,disklabel,mount_msdosfs,mknod}: init (#381515) 2025-02-21 17:47:21 -05:00
John Ericson
39fa23b4aa openbsd.rc: work around rc_bg bug when /bin/sh is bash (#384012) 2025-02-21 17:45:43 -05:00
Audrey Dutcher
b2030266ac patch stand to support 3x longer config lines 2025-02-21 12:30:16 -07:00
Audrey Dutcher
10e0c7fa4e openbsd.rc: work around rc_bg bug when /bin/sh is bash 2025-02-21 12:02:29 -07:00
Audrey Dutcher
d3d66c33c6 openbsd.mknod: init 2025-02-21 10:18:37 -07:00
Audrey Dutcher
3a7e3cf4a8 openbsd.mount_msdos: init 2025-02-21 10:17:10 -07:00
Audrey Dutcher
ebe60dfbbe openbsd.disklabel: init 2025-02-21 10:16:55 -07:00
nixpkgs-ci[bot]
3dbb87768a Merge staging-next into staging 2025-02-13 06:05:17 +00:00
Audrey Dutcher
529f6e094f openbsd.makedev: init (#360332) 2025-02-12 19:04:05 -07:00
Audrey Dutcher
28c1296b43 openbsd.rc: init (#371705) 2025-02-12 19:03:06 -07:00
Audrey Dutcher
2fbc7757ca openbsd.libc: add libkvm (#381566) 2025-02-12 19:00:24 -07:00
Audrey Dutcher
7c8a24b91f openbsd.{sys,stand}: patch to support nixbsd init 2025-02-12 18:54:49 -07:00
Audrey Dutcher
3c8536f7ee openbsd.rc: init
This includes a somewhat substantial patch for nixpkgs-appropriatness.
See patch file for details.
2025-02-12 18:51:37 -07:00
Audrey Dutcher
8b08408e97 openbsd.makedev: init
MAKEDEV is a shell script that can generate OpenBSD device nodes. It is
useful on an OpenBSD system for disaster recovery and also on a
non-OpenBSD system for cross-compilation.
2025-02-12 18:49:12 -07:00
Audrey Dutcher
9f355b12e5 openbsd.libc: add libkvm
This package is also included in libc on FreeBSD.
2025-02-12 18:34:58 -07:00
John Ericson
d930e1774c openbsd.fsck: init (#371707) 2025-02-12 20:32:07 -05:00
Artemis Tosini
cd0f063702 openbsd.shutdown: Set paths for halt, reboot, wall 2025-02-12 12:14:15 -07:00
Artemis Tosini
f3f5493bce openbsd.wall: init 2025-02-12 12:14:11 -07:00
Artemis Tosini
e08317b18d openbsd.reboot: init 2025-02-12 12:13:49 -07:00
Audrey Dutcher
5d3564ed4c openbsd.sys: pin compiler to clang 18
Otherwise (clang 19), it fails to compile:

> --- locore.o ---
> /build/locore-e779a9.s:692:9: error: invalid number of bytes
>  .space (.Liretq_swapgs - XUsyscall_meltdown) - (. - Xsyscall_meltdown), 0xcc
>         ^
> *** [locore.o] Error code 1
>
> make: stopped in /build/sys-openbsd-filtered-src/sys/arch/amd64/compile/GENERIC/obj
> 1 error
>
> make: stopped in /build/sys-openbsd-filtered-src/sys/arch/amd64/compile/GENERIC/obj

Eventually, OpenBSD will fix this upstream. For now they are stuck on
clang 16.
2025-02-12 12:00:25 -07:00
Audrey Dutcher
f585ece291 openbsd.umount: init 2025-02-12 11:29:20 -07:00
Audrey Dutcher
1cd6b63ee1 openbsd.{newfs,newfs_msdos}: init 2025-02-12 11:29:14 -07:00
Audrey Dutcher
4864e3583e openbsd.fdisk: init 2025-02-12 11:26:44 -07:00
Artemis Tosini
c5b0ba5f0a openbsd.mkDerivation: Set proper MACHINE variables (#359473) 2025-01-23 19:04:14 +00:00
Audrey Dutcher
dd9e65d1b9 openbsd.mount: init 2025-01-15 17:55:35 -07:00
Artemis Tosini
bffd9c03d1 openbsd.{ktrace,kdump}: init 2025-01-06 23:48:24 -08:00
Artemis Tosini
a62ed0e93d openbsd.vmstat: init 2025-01-06 23:48:20 -08:00
Artemis Tosini
f91116ab40 openbsd.top: init 2025-01-06 23:47:43 -08:00
Artemis Tosini
5586cef733 openbsd.{newsyslog,syslogd}: init 2025-01-06 23:47:25 -08:00
Artemis Tosini
7e447e6b5f openbsd: Add most packages from src/bin 2025-01-06 23:46:33 -08:00
Artemis Tosini
195f62db64 openbsd.dmesg: init 2025-01-06 23:46:28 -08:00
Audrey Dutcher
2e1652a44c openbsd.{id,libkvm,pkill,su}: init 2025-01-06 23:46:18 -08:00
Artemis Tosini
49f416fc63 openbsd.slaac{d,ctl}: init 2025-01-06 23:46:11 -08:00
Artemis Tosini
4042d960c3 openbsd.{dhcpleasectl,dhcpleased}: init 2025-01-06 23:46:07 -08:00
Artemis Tosini
e54ba62f32 openbsd.route: init 2025-01-06 23:46:03 -08:00
Audrey Dutcher
8607e0063b openbsd.libexecinfo: init 2025-01-06 23:45:55 -08:00
Audrey Dutcher
52f3e97ee4 openbsd.fsck: unveil /nix/store too 2025-01-06 23:07:55 -08:00
Artemis Tosini
55d65381bb openbsd.fsck: Override paths 2025-01-06 23:07:50 -08:00
Artemis Tosini
fb6a7bfe74 openbsd.{fsck,fsck_ffs,fsck_msdos}: init 2025-01-06 23:07:46 -08:00
Audrey Dutcher
c08ca11683 openbsd.ttyflags: init 2025-01-06 22:48:55 -08:00
Artemis Tosini
069d41d971 openbsd.kvm_mkdb: init 2025-01-06 22:25:52 -08:00