Commit Graph

18 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
e7e1dea32d domoticz: 2024.4 -> 2024.7 2024-07-22 03:48:50 +00:00
aleksana
592e3845c4 treewide: sha256 -> hash attribute for fetchgit 2024-07-14 19:10:08 +08:00
R. Ryantm
21d904b5f4 domoticz: 2023.2 -> 2024.4 2024-02-01 01:44:46 +00:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Sandro Jäckel
fccf04b620 treewide: replace -DCMAKE_BUILD_TYPE in cmakeFlags with cmakeBuildType 2023-09-08 14:18:26 +00:00
R. Ryantm
2a681d0cb8 domoticz: 2023.1 -> 2023.2 2023-08-10 04:54:09 +00:00
Jonas Heinrich
8fab0b16e2
domoticz: Add changelog 2023-02-20 12:26:04 +01:00
R. Ryantm
8239d1fde5 domoticz: 2022.2 -> 2023.1 2023-02-19 15:04:26 +00:00
R. Ryantm
4fe6ecc1fd domoticz: 2022.1 -> 2022.2 2022-11-10 21:18:19 +08:00
R. Ryantm
8b7773a343 domoticz: 2021.1 -> 2022.1 2022-02-12 21:39:51 -08:00
Dmitry Kalinkin
c0d24bd6e2
domoticz: mark as broken on darwin 2021-12-26 13:50:25 -05:00
Thomas Gerbet
fbb4917115 domoticz: 2020.2 -> 2021.1
Fix package build.
2021-09-03 10:24:14 +02:00
Felix Buehler
a56d117bdb servers: replace name with pname&version 2021-07-26 20:15:46 +02: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
Ed Cragg
89e5a7f31f nixos/domoticz: update to use GPL3 plus license
Per review comments on #86404 and [1].

[1] https://discourse.nixos.org/t/lib-licenses-gpl3-co-are-now-deprecated/8206
2020-10-11 11:16:45 +01:00
Ed Cragg
68f7d07483 domoticz: init at 2020.2 2020-05-17 14:20:09 +01:00