| 21 Jul 2021 |
David Arnold (blaggacao) | Overlays would have to be applyed, then the packages are avaliable as usual. Something like:
{
pkgs = import nixpkgs { config = {}; overlays [ osu."nixpkgs/wine-tkg" osu."nixpkgs/winestreamproxy" ];};
wine-tkg = pkgs.wine-tkg;
}
| 20:55:10 |
David Arnold (blaggacao) | * Overlays would have to be applyed, then the packages are avaliable as usual. Something like:
{
pkgs = import nixpkgs { config = {}; overlays [osu."nixpkgs/wine-tkg" osu."nixpkgs/winestreamproxy" ];};
wine-tkg = pkgs.wine-tkg;
}
| 20:55:16 |
David Arnold (blaggacao) | * Overlays would have to be applyed, then the packages are avaliable as usual. Something like:
{
pkgs = import nixpkgs { config = {}; overlays [
osu."nixpkgs/wine-tkg" osu."nixpkgs/winestreamproxy"
];};
wine-tkg = pkgs.wine-tkg;
}
| 20:55:28 |
fufexan | 😲 that makes sense | 20:55:32 |
fufexan | I haven't thought of that | 20:55:37 |
David Arnold (blaggacao) | Beware, the order of overlays is important. so wine-tkg overlay would have to go before winestreamproxy overlay | 20:56:16 |
David Arnold (blaggacao) | * Overlays would have to be applied, then the packages are avaliable as usual. Something like:
{
pkgs = import nixpkgs { config = {}; overlays [
osu."nixpkgs/wine-tkg" osu."nixpkgs/winestreamproxy"
];};
wine-tkg = pkgs.wine-tkg;
}
| 20:57:10 |
David Arnold (blaggacao) | * Overlays would have to be applied, then the packages are available as usual. Something like:
{
pkgs = import nixpkgs { config = {}; overlays [
osu."nixpkgs/wine-tkg" osu."nixpkgs/winestreamproxy"
];};
wine-tkg = pkgs.wine-tkg;
}
| 20:57:18 |
fufexan | now nix flake check fails with
error: attribute 'currentSystem' missing
at /nix/store/vmcb8svgl9h84mkqmg1nazl9zgpgn7q0-source/pkgs/top-level/impure.nix:18:43:
17| # (build, in GNU Autotools parlance) platform.
18| localSystem ? { system = args.system or builtins.currentSystem; }
| ^
19|
| 21:00:21 |
fufexan | oh wait not this one | 21:00:47 |
fufexan | okay it seems like it was that one | 21:01:34 |
David Arnold (blaggacao) | when using nix flake (pure by default) builtins.currentSystem, as an impurity, is not available. | 21:01:39 |
David Arnold (blaggacao) | * when using nix flake (pure by default) builtins.currentSystem, as an impurity, is not available. | 21:01:46 |
fufexan | then how should I set the system for pkgs? | 21:02:05 |
David Arnold (blaggacao) | I can't say much about the concrete reasons of the above error, though. | 21:02:14 |
fufexan | I feel like I'm either over-complicating something or overlays are that complicated themselves | 21:02:41 |
fufexan | maybe I shouldn't do what I want using overlays? | 21:02:53 |
David Arnold (blaggacao) | when you use fup you can pass overlays to the channel's overlaysBuilder | 21:03:55 |