Commit Graph

13 Commits

Author SHA1 Message Date
Randy Eckenrode
19fbec8a7f
unar: fix build with clang 16
* Set deployment target based on stdenv; and
* Work around https://github.com/NixOS/nixpkgs/issues/166205.
2023-11-06 22:32:36 -05:00
Jan Malakhovski
d098c821d6 treewide: remove unneeded dots and slashes in sourceRoots 2023-08-12 08:29:56 +00:00
Jan Malakhovski
591ccfe5b9 treewide: noop: refer to src.name or similar where appropriate, part 3: more use cases
This continues where d8f7f6a5ce left off. Similarly
to that commit, this commit this also points `sourceRoot`s to `src.name` and similar
instead of keeping hardcoded names, and edits other derivation attrs do do the same,
where appropriate.

Also, similarly to d8f7f6a5ce some of expressions this
edits use `srcs` attribute with customly-named sources, so they have to be moved
into `let` blocks to keep evaluation efficient (the other, worse, way to do this
would to recurcively refer to `elemAt n finalAttrs.srcs` or, similarly, with `rec`).
2023-08-11 09:20:44 +00:00
Piotr Halama
357600c08f unar: fix linker failure 2022-10-20 13:19:43 +02:00
Thiago Kenji Okada
6add5e0656 unar: make it build on Darwin
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2021-11-10 21:56:38 -03:00
Sandro
b0f93a0133
unar: remove \ from longDescription 2021-07-17 20:55:28 +02:00
Ben Siraphob
223f25cf4a treewide: add targetPrefix to hardcoded references to CC=cc 2021-02-20 01:01:46 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
ajs124
27e5a3f6c3 unar: fix build with new gnustep-base
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230627 for reference
2020-05-22 21:01:46 +02:00
Peter Hoeg
991c4d48db unar: 1.10.1 -> 1.10.7 2020-05-03 12:45:08 +08:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Peter Hoeg
0e23e81cc0 unar: minor cleanups 2018-04-09 15:14:27 +08:00
Ram Kromberg
db862d8271 unar: init at 1.10.1 (#17830) 2016-08-19 13:44:19 +02:00