| miklos_akos (statz) | ![]() #5, Főfasz (1047) |
4607 | #5a67 | ^ | Idézet | Wed, 17 Dec 2025 03:57:35 +01 |
| 185.187.*.* |
|
*.75.187.185.dialin.segfault.club |
Cseh feljebbvaloink munkahelyen panikoltak, hogy kapcsojjuk ki', de nem tudtuk. :DDDDDD A faszt, ez szimplan mikrofos termek lett. CMake 4.x-szel bejott egy breaking change es barmi ami CMake 3.5-ot vagy regebbit targetel az elhasal az alabbival:
-- Configuring incomplete, errors occurred!
error: Cannot build '/nix/store/n98xz8nrzcvbbxb75cnmncjfbmbmcd35-eiskaltdcpp-2.4.2.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/ckb0svhrx579y88zgky84kk3zpgpf2s1-eiskaltdcpp-2.4.2
Last 25 log lines:
> This warning is for project developers. Use -Wno-dev to suppress it.
>
> -- The C compiler identification is GNU 14.3.0
> -- The CXX compiler identification is GNU 14.3.0
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working C compiler: /nix/store/vr15iyyykg9zai6fpgvhcgyw7gckl78w-gcc-wrapper-14.3.0/bin/gcc - skipped
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Check for working CXX compiler: /nix/store/vr15iyyykg9zai6fpgvhcgyw7gckl78w-gcc-wrapper-14.3.0/bin/g++ - skipped
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
> Compatibility with CMake < 3.5 has been removed from CMake.
>
> Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
> to tell CMake that the project requires at least <min> but has been updated
> to work with policies introduced by <max> or earlier.
>
> Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
>
>
> -- Configuring incomplete, errors occurred!
For full logs, run:
nix-store -l /nix/store/n98xz8nrzcvbbxb75cnmncjfbmbmcd35-eiskaltdcpp-2.4.2.drv
Es pontosan ennyi kellett a cuccnak:
diff --git a/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix b/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix
index 9dad2f63d9d9..f57b743dd18c 100644
--- a/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix
+++ b/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix
@@ -77,6 +77,7 @@ mkDerivation rec {
"-DUSE_JS=ON"
"-DWITH_LUASCRIPTS=ON"
"-DWITH_SOUNDS=ON"
+ "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
];
postInstall = ''
Itt nincs hagyomanyos ertelemben vett csomagkezeles (ezek is leirofajlbol szuletnek), hanem minden modositas ami a rendszert erinti az ugynevezett derivation / generation. Ad-hoc jelleggel, meg a nix shell -p <pkg> paranccsal lehet futtatni telepites nelkul dolgokat. Teljesen elvont modon mukodik es az eddig ismert osszes linuxos, unixos, winfosos, vms-es, netware-s tudas repul ki az ablakon. :P Meg a userek is konfiguraciobol jonnek, pl.:
{ config, lib, pkgs, ... }:
{
users.users.user = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "kvm" "libvirtd" "wireshark" ];
};
}
Es ezt meg lehetne tovabb bonyolitani a disko kiegeszitovel, amivel a particionalast deklaralod fajlban, ott a home-manager, amivel meg a kezdeti user homeot deklaralod le. Meg ismerkedek a cuccal, de egesz jonak tunik az elvont debil idiota fejemnek. :D |