- 9 Posts
- 26 Comments
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•permitted insecure package isn't actually permittedEnglish
1·3 months agoi think imma go with that, tho i’d prefer if i could have my config stay pure i’ll have to troubleshoot more
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•permitted insecure package isn't actually permittedEnglish
1·3 months agothat kinda sucks, i tried to un-override all flakes ik could use nodejs so they can use their verson of nixpkgs (which should allow nodejs 20) but nope still broken
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•permitted insecure package isn't actually permittedEnglish
1·3 months agoso overriding this potential flake’s nixpkgs input won’t apply my permitted insecure package ? dam i thought it would, ig i gotta hunt for that flake now
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•permitted insecure package isn't actually permittedEnglish
1·3 months agoyea I’m in fact evalutating a flake, u can find it here, but I usually override my inputs’ nixpkgs input with mine. I’m using nh to rebuild my config, running
nh os switch -H nixos
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•permitted insecure package isn't actually permittedEnglish
2·3 months agoYea 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
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•Use multiple ? in flake input urlEnglish
1·3 months agoo i didn’t know those worked just like regular urls, makes sense now
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•Use multiple ? in flake input urlEnglish
1·3 months agoo yea that did work, I didn’t find anywhere where this could be documented so I had no idea, thanks a lot!!
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•Is it possible to use `nix-update-script` on a local package ?English
1·5 months agoWell that does works, idk if it’s the best way to do so tho, I did reuse ur timestamp function tho thanks
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•Use multiple path/fetchers in `home.file."path".source`English
2·6 months agoo yea this did work, i went with the first snippet but im curious abt what the better thing abt diong it in multiple files
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•Patching package using override and overrideAttrsEnglish
1·7 months agoyea no idea why, only happens when i override these two packages
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•Patching package using override and overrideAttrsEnglish
1·7 months agowell this only happens when i use the override on these packages so i suppose it is related
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•Patching package using override and overrideAttrsEnglish
1·7 months agoyea that worked, now im getting this tho:
… while calling the 'head' builtin at /nix/store/kfcxqcxb9hcq6x33sg4cmwakbb1ifwg9-source/lib/attrsets.nix:1713:13: 1712| if length values == 1 || pred here (elemAt values 1) (head values) then 1713| head values | ^ 1714| else … while evaluating the attribute 'value' at /nix/store/kfcxqcxb9hcq6x33sg4cmwakbb1ifwg9-source/lib/modules.nix:1118:7: 1117| // { 1118| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1119| inherit (res.defsFinal') highestPrio; … while evaluating the option `system.build.toplevel': … while evaluating definitions from `/nix/store/kfcxqcxb9hcq6x33sg4cmwakbb1ifwg9-source/nixos/modules/system/activation/top-level.nix': … while evaluating the option `warnings': … while evaluating definitions from `/nix/store/kfcxqcxb9hcq6x33sg4cmwakbb1ifwg9-source/nixos/modules/system/boot/systemd.nix': … while evaluating the option `systemd.services.home-manager-claymorwan.serviceConfig': … while evaluating definitions from `/nix/store/x4cardk9amcfpx2r02v8ic20aclgjxf4-source/nixos': … while evaluating the option `home-manager.users.claymorwan.home.file."/home/claymorwan/.config/fontconfig/conf.d/10-hm-fonts.conf".source': … while evaluating definitions from `/nix/store/x4cardk9amcfpx2r02v8ic20aclgjxf4-source/modules/files.nix': … while evaluating the option `home-manager.users.claymorwan.home.file."/home/claymorwan/.config/fontconfig/conf.d/10-hm-fonts.conf".text': … while evaluating definitions from `/nix/store/x4cardk9amcfpx2r02v8ic20aclgjxf4-source/modules/misc/xdg.nix': … while evaluating the option `home-manager.users.claymorwan.xdg.configFile."fontconfig/conf.d/10-hm-fonts.conf".text': … while evaluating definitions from `/nix/store/x4cardk9amcfpx2r02v8ic20aclgjxf4-source/modules/misc/fontconfig.nix': … while evaluating the option `home-manager.users.claymorwan.fonts.fontconfig.configFile.fonts.text': … while evaluating definitions from `/nix/store/x4cardk9amcfpx2r02v8ic20aclgjxf4-source/modules/misc/fontconfig.nix': (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: cannot coerce a set to a string: { __functionArgs = «thunk»; __functor = «lambda __functor @ /nix/store/kfcxqcxb9hcq6x33sg4cmwakbb1ifwg9-source/lib/trivial.nix:1017:17»; override = «thunk»; tests = «thunk»; version = 1; }
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•Patching package using override and overrideAttrsEnglish
1·7 months agoo 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,
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•Using local package as dependency for another packageEnglish
2·7 months agoyea i was abt to edit the post saying i found out lol, but still thanks for the help
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•Separating flake inputs in multiple filesEnglish
1·8 months agoo yea now i see better how it works, all i gotta do is learn some emacs stuff and then i should be able to do it, thanks a lot!
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•Separating flake inputs in multiple filesEnglish
1·8 months agoo thanks, i’ll take a closer look but for what i’ve seen so far it kinda looks complex I also flake-part mentioned in some of the commits,i remember seeing it a few times and apparently it can modularize flakes or sum like that, can it modularize inputs too outta curiosity
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•Separating flake inputs in multiple filesEnglish
1·8 months agofirst 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
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•Separating flake inputs in multiple filesEnglish
2·8 months agoyea 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.nixis 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
claymorwan@lemmy.blahaj.zoneOPto
Nix / NixOS@programming.dev•Separating flake inputs in multiple filesEnglish
2·8 months agoI 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
it’s okay that was a good guess