Commit Graph

25 Commits

Author SHA1 Message Date
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
R. Ryantm
173f8aa342 cryfs: 0.11.3 -> 0.11.4 2023-07-25 02:59:56 +00:00
Weijia Wang
a4f237bfad cryfs: unpin boost175 2023-06-15 12:16:57 +03:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
R. Ryantm
70d9329db4 cryfs: 0.11.2 -> 0.11.3 2022-10-13 07:14:25 +00:00
Renaud
f34d641657
cryfs: 0.11.1 -> 0.11.2
and add meta.changelog
and use SPDX3 license identifier
2022-02-22 20:29:30 +01:00
Renaud
952711c6c3
cryfs: pin Boost dep to v1.75.0 2021-12-30 23:07:14 +01:00
Renaud
2bd4f74953
cryfs: 0.10.2 -> 0.11.1
Upstream now provides a way to use dependencies from nixpkgs ;
except for cryptopp and googletest.
Vendored cryptopp is v8.6.0 in cryfs 0.11.1
(#151886)
2021-12-23 22:13:08 +01:00
midchildan
755633ea54
cryfs: disable tests on Darwin
The tests [require macFUSE to be installed][1] on Darwin. This change
disable the tests because Hydra doesn't have it installed.

[1]: https://github.com/NixOS/nixpkgs/blob/master/doc/builders/packages/fuse.section.md
2021-04-24 16:32:01 +09:00
midchildan
94914230b3
cryfs: add darwin build 2021-04-20 00:51:39 +09:00
Frederik Rietdijk
11cbfae15a cryfs: use python3 2021-03-25 12:12:49 +01:00
Ben Siraphob
d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +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
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Renaud
f0b9bd93ec
cryfs: 0.9.10 -> 0.10.2
(#74296)
2019-11-29 22:58:38 +01:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00: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
Matthew Bauer
6ed49262f5 treewide: remove BUILD_TESTING flag
This is now set by CMake
2019-03-11 10:11:28 -04:00
R. RyanTM
5bb8254b9a cryfs: 0.9.9 -> 0.9.10 (#54850)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/cryfs/versions
2019-02-24 00:53:11 +01:00
Peter Hoeg
d4df7aadf9 cryfs: 0.9.8 -> 0.9.9 2018-02-07 00:29:04 +08:00
adisbladis
74ebb70f89
cryfs: 0.9.7 -> 0.9.8 2018-01-28 06:51:27 +08:00
adisbladis
7a86e4cf0d
cryfs: Enable tests 2017-10-13 23:29:20 +08:00
Peter Hoeg
ea1a925a95 cryfs: disable testing as it does not work - I pushed the wrong branch earlier 2017-10-13 20:49:54 +08:00
Peter Hoeg
515ea69f09 cryfs: init at 0.9.7 2017-10-12 12:41:05 +08:00