o yea this did work, i went with the first snippet but im curious abt what the better thing abt diong it in multiple files
well this only happens when i use the override on these packages so i suppose it is related
o dam yea i had forgotten abt the parens, now i do get this error tho, also good to mention that both package doesn't have any patches to beguin with
error: function 'anonymous lambda' called with unexpected argument 'patches'
at /nix/store/kfcxqcxb9hcq6x33sg4cmwakbb1ifwg9-source/pkgs/tools/misc/qt5ct/default.nix:1:1:
1| {
| ^
2| mkDerivation,
yea i was abt to edit the post saying i found out lol, but still thanks for the help
first time im earing of Org Roam, but i think i kinda understand, do ya got a repo where i can see how u did it im kinda interested
yea i think it may just not be possible yet, looking it up more i've seen people talking abt how a big con of flakes is that flake.nix is not parsed like regular nix files. I'm not sure why they made it work like that but it gets changed eventually cuz that's really too bad we can't do things as simple as imports
I followed how u did it but it doesn't seem to work, i keep getting hit with this error:
error: expected a set but got a thunk at /home/claymorwan/.dotfiles/NixOS/flake.nix:4:3
returns this error
error: attribute 'multiPkgs' missing
at /nix/store/j9lcrp816krraglnjk6r8iacl6jvww87-source/nixos/modules/home/packages.nix:24:19:
23| (lutris.overrideAttrs (_: prevAttrs: {
24| multiPkgs = prevAttrs.multiPkgs ++ [
| ^
25| (pkgs.runCommand "steamrun-lib" { } ''
if i were to guess maybe cuz multiPkgs is defined in fhsenv.nix in not in default.nix, could be wring tho im pretty new to nix packaging
tried that too, didn't work either sadly
Nope im not running them inside lutris, just thought if i had nix-ld enabled it'd work but apparently not
I did check, "Disable Lutris runtime" is checked off and "Prefer system libraries" is checked on, still doesn't work and dies with an exit code 134
I did notice lutris having its own FHS when upgrading, but aw man this looks pretty dam complicated, I'm like a week old to NixOS I have no idea how imma do this lmao, i did attempt the following
failed attemps
home.packages = with pkgs; [
lutris.overrideAttrs (finalAttrs: previousAttrs: {
multiPkgs = self ++ [(pkgs.runCommand "steamrun-lib" {}
"mkdir $out; ln -s ${pkgs.steam-run.fhsenv}/usr/lib64 $out/lib")];
})
];
and
home.packages = with pkgs; [
lutris.override {
buildFHSEnv = self.buildFHSEnv.override {
multiPkgs = self ++ [(pkgs.runCommand "steamrun-lib" {}
"mkdir $out; ln -s ${pkgs.steam-run.fhsenv}/usr/lib64 $out/lib")];
};
}
];
which obviously didn't work, so yea im kinda lost
I'm also really surprised that lutris' FHS just does not have anything to run native linux game by default
claymorwan
0 post score0 comment score
Yea I'm pretty sure I've also did this correctly since it in fact worked just fine with this electron package I've had in here for a little while now. Looking in nix-tree and searching for
nodejsbut the only nodejs versions I'm finding are24.14.1and no sign of the insecure version. Tried exporting the env and rebuilding my config but it didn't work either