АБ
Size: a a a
АБ
АБ
АЕ
АЕ
VY
АБ
nix flake add nixpkgs/release-20.03 github:NixOS/nixpkgs/nixos-20.03И в
flake.nix
пишуnixpkgs = {То
type = "indirect";
id = "nixpkgs/release-20.03";
};
$ nixos-rebuild switchПри этом
cannot find flake 'flake:nixpkgs/release-20.03' in the flake registries
$ nix flake list...
user flake:nixpkgs/release-20.03 github:NixOS/nixpkgs/nixos-20.03
user
, в чём отличие от global
, нужно ли использовать global
вместо user
и как добавить global
flake я тоже пока не понимаю)d
АБ
АБ
АЕ
АБ
АБ
rm -rf *
АЕ
d
d
d
АЕ
VY
nix-repl> builtins.currentSystemно при свиче:
"x86_64-linux"
error: attribute 'currentSystem' missing, at /nix/store/l3i4dxnghgxh3dcs33vbwd4ljgpyfdk3-source/pkgs/top-level/impure.nix:87:34вообще ничего не понимаю(
(use '--show-trace' to show detailed location information)
VY
АБ
nix-repl> builtins.currentSystemно при свиче:
"x86_64-linux"
error: attribute 'currentSystem' missing, at /nix/store/l3i4dxnghgxh3dcs33vbwd4ljgpyfdk3-source/pkgs/top-level/impure.nix:87:34вообще ничего не понимаю(
(use '--show-trace' to show detailed location information)
currentSystem