AP
вот в этой статье описано
http://www.haskellforall.com/2018/08/nixos-in-production.html
Size: a a a
AP
AP
AP
nix-build --attr system ./nixos.nix
sudo ./result/bin/switch-to-configuration switch
nix-env --profile /nix/var/nix/profiles/system --set ./result
b
rust = super.rust.overrideAttrs (super: rec {
version = "1.38.0"; # Required by bioyino because of new stabilized features
});
ror: attribute 'overrideAttrs' missing, at ...etc/nix/default.nix:15:20.
Понятно что нужно добраться до rust.rustc.version,
но как?JC
֍֎
(pkgs.smth.override { ... }).overrideAttrs { ... }
JC
АБ
rust = super.rust.overrideAttrs (super: rec {
version = "1.38.0"; # Required by bioyino because of new stabilized features
});
ror: attribute 'overrideAttrs' missing, at ...etc/nix/default.nix:15:20.
Понятно что нужно добраться до rust.rustc.version,
но как?JC
JC
АБ
SM
libclang
для десятой версии шланга?АБ
JC
SM
АБ
self.fetchFromGithub
АБ
SM
llvmPackages
JC
self.fetchFromGithub