Commit Graph

6 Commits

Author SHA1 Message Date
Filippo Berto
b3c41de572
nfd: 0.7.1 -> 22.12 2023-02-14 18:57:56 +01:00
Adam Joseph
42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
figsoda
ec8cb34358 treewide: fix typos 2022-12-17 19:39:44 -05:00
Artturin
ec35f6341b lua-packages: try splicing 2022-08-26 20:04:02 +03:00
Filippo Berto
3aee8d70cc
NDN: fix builds after boost upgrade
- updated derivations with the correct boost version
- prepared check phases for unit tests. Some of them don't work on upstream and have already been reported years ago
- checked that the produced software works as expected
2021-12-30 15:52:45 +01:00
Filippo Berto
2f89af4d34
nfd: init at 0.7.1 (#144010)
* nfd: init at version 0.7.1

- Add NFD derivation
- Link NFD derivation as a top-level package

* Applied revision suggestions

* Add fetchSubmodules

NFD uses websocket++ 0.8.1-hotfix in their stable release so that it can be built with boost 175.
ndn-cxx is built with boost 169 in nixpkgs, although it could use the newest version, so I'm matching the same version.

* Fixed tests and cleanup

* Fix typo in repo revision

* Add fetch submodules

NFD build script requires the complete websocket++ source in the build directory.
I could not build it reusing the packages websocket++.

* Call to pre and post check hooks

Co-authored-by: Ryan Burns <52847440+r-burns@users.noreply.github.com>

* Default to fetch NFD submodules

* Fix license

Co-authored-by: Ryan Burns <52847440+r-burns@users.noreply.github.com>

* Switch to lib.optional for parameter string

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

* Change prefix as per nix defaults

* Removed redundant prefix environment variable

* Homepage to HTTPS

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Co-authored-by: Ryan Burns <52847440+r-burns@users.noreply.github.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-12-02 18:06:02 -08:00