worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-inf
<energizer> % mount | rg /nix
<energizer> /dev/mapper/cryptroot on /nix type btrfs (rw,relatime,ssd,space_cache,subvolid=258,subvol=/nix) /dev/mapper/cryptroot on /nix/store type btrfs (ro,relatime,ssd,space_cache,subvolid=258,subvol=/nix)
<energizer> i think that's all normal?
iH8c0ff33 has quit [Ping timeout: 240 seconds]
<simpson> Yeah, there's nothing disabling executables.
<simpson> Can you invoke the shell script directly with bash?
<energizer> running it from within `bash --norc` gives the same error
evalexpr has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/752b6a95db9 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
acarrico has joined #nixos
<wenngle[m]> Would adding the --repair flag to the nix-shell invocation do anything to help? I don't know much about this.
<energizer> error: repairing is not supported when building through the Nix daemon
<wenngle[m]> Sorry just tried that myself
<{^_^}> [nixpkgs] @cdepillabout merged pull request #105400 → libff: init at 1.0.0 → https://git.io/JkpQ3
<energizer> `nix-store --repair --realise /nix/store/by7b4hy789sq88dx6ylgh99gc97sznr0-glances-3.1.5/bin/glances` does something
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to master: https://git.io/JkhvU
<energizer> but then https://bpa.st/UVLQ
<energizer> i guess i'll try nix-store --repair --check-contents --verify
__monty__ has quit [Quit: leaving]
<simpson> Check dmesg; I think that your drive is failing. The file /nix/store/by7b4hy789sq88dx6ylgh99gc97sznr0-glances-3.1.5/lib/python3.8/site-packages/glances/__init__.py does *not* suddenly turn into null bytes for me at line 36.
<Fare> how do you do printf debugging in nix? I'm having trouble writing a trivial recursive function, and I'm missing some simple debugging tool.
<energizer> Fare: you want one of these functions https://github.com/NixOS/nixpkgs/blob/master/lib/debug.nix
<energizer> traceSeq is a popular one
<energizer> simpson: i dont see anything obvious
<energizer> but `nix-store --repair --check-contents --verify` is finding a lot of modified files :\
<energizer> only python modules
lordcirth has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ryantm opened pull request #105413 → readme: update reference to number of packages → https://git.io/JkhJL
lordcirth has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105414 → python37Packages.Wand: 0.6.4 -> 0.6.5 → https://git.io/JkhJS
<energizer> after those repairs `glances` is working fine
<energizer> i switched from intel to amd, both x86
<energizer> i guess that somehow caused the binaries to differ...
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #105343 → linuxPackages.bpftrace: 0.11.0 -> 0.11.4 → https://git.io/JkA7v
<simpson> That makes no sense, but okay.
<wenngle[m]> I would run a btrfs scrub as well to see if it is the drive failing
<Fare> energizer, thanks a lot!
<energizer> wenngle[m]: ok
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #105415 → [20.09] linuxPackages.bpftrace: 0.11.0 -> 0.11.4 → https://git.io/JkhUS
<wenngle[m]> I don't know if it would do much as it's a separate drive mounted on the nix store and you already ran the nix-store --repair command
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105352 → python27Packages.dependency-injector: 4.4.1 -> 4.5.1 → https://git.io/JkxUV
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkhUp
mbrgm_ has joined #nixos
<{^_^}> [nixpkgs] @lukegb closed pull request #105406 → wafHook: use python3 → https://git.io/Jkp5a
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<Fare> and the bug was... wrong order of arguments :-(
<wenngle[m]> > I don't know if it would do much as it's a separate drive mounted on the nix store and you already ran the nix-store --repair command
<wenngle[m]> Never mind, you had it as a subvolume. I can't read.
<{^_^}> error: syntax error, unexpected IF, expecting ')', at (string):440:14
<{^_^}> [nixpkgs] @lukegb closed pull request #105405 → asciidoc: add minimal variant for Python 3 → https://git.io/Jkp5u
rgrau has quit [Ping timeout: 240 seconds]
supersandro2000 has quit [Disconnected by services]
<{^_^}> [nixpkgs] @lukegb closed pull request #105407 → parted: switch to python3 → https://git.io/Jkp5X
supersandro2000 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105386 → tmuxPlugins.jump: init at 2020-06-26 → https://git.io/Jkp8X
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkhT1
<genevino> so i have a customized iso.nix to create live images that fit my needs exactly - i use environment.etc."something.conf" = [...] to control files in etc, but what's the most straight forward way to control the contents of a file in /home/someuser from the iso.nix file?
<gchristensen> if you extracted the image you'd actually find there is no /etc, it is created on startup. unfortunately NixOS doesn't really have a way to put files in to /home
<lukegb> if it's a live image and you have a super simple usecase, you could potentially (ab)use a activation script
alp__ has quit [Ping timeout: 272 seconds]
schweby has quit [Quit: Das ist möglich, also tun wir es. Später.]
<genevino> hmm, i reckon i could use home-manager from iso.nix in the same way it's used for configuration.nix like described here https://nixos.wiki/wiki/Home_Manager but i don't understand how the complete construct would look with xdc.configFile. in the context of the user specified by home-manager.users.my_username = { ... } on top
schweby has joined #nixos
<genevino> s/xdc/xdg/
veleiro2 has quit [Ping timeout: 260 seconds]
andi- has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105416 → python37Packages.jupyterlab-git: 0.23.1 -> 0.23.2 → https://git.io/JkhIB
cr4y1 has quit [Ping timeout: 240 seconds]
schweby has quit [Quit: Das ist möglich, also tun wir es. Später.]
schweby has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105404 → vimPlugins.glow-nvim: init at 2020-08-31 → https://git.io/Jkp5W
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JkhLe
<genevino> ah, https://rycee.gitlab.io/home-manager/ describes it better than the wiki it seems :)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105408 → vimPlugins.nvim-ts-rainbow: init at 2020-11-25 → https://git.io/JkpdJ
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkhLO
andi- has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #105390 → backblaze: 2.0.2 -> 2.1.0 → https://git.io/Jkpuv
m0rphism has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #104807 → python37Packages.b2sdk: 1.1.4 -> 1.2.0, backblaze-b2: 2.0.2 -> 2.1.0 → https://git.io/JkMkT
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #103312 → python37Packages.b2sdk: 1.1.4 -> 1.2.0 → https://git.io/JkkZK
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 4 commits to master: https://git.io/Jkht0
<energizer> nmcli says wlan0 is unmanaged. how do i make it managed?
acarrico has quit [Ping timeout: 260 seconds]
stree has quit [Quit: Caught exception]
stree has joined #nixos
<energizer> rebooting worked
rajivr has joined #nixos
kalbasit has quit [Ping timeout: 256 seconds]
_deepfire has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105389 → portfolio: 0.49.2 -> 0.49.3 → https://git.io/JkpE5
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jkhmi
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105348 → python3.pkgs.httpbin: 0.6.2 -> 0.7.0 → https://git.io/JkAp4
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkhmM
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jkhmy
rprije has quit [Ping timeout: 240 seconds]
nehsou^ has quit []
jonatanb has quit [Ping timeout: 256 seconds]
EmoSpice has quit [Quit: WeeChat 2.7.1]
Lord_of_Life_ has joined #nixos
Lord_of_Life has quit [Ping timeout: 240 seconds]
rprije has joined #nixos
EmoSpice has joined #nixos
cole-h has joined #nixos
<EmoSpice> For those playing along at home, makeWrapper worked to inject bindings to my custom dwm overlay. But I think I prefer a different method: using stdenv's `substitute` to inject full paths to the executables I need. Thanks for the pointers. It pushed me to read over the docs more thoroughly and notice the substitute functions I'd missed :)
<infinisil> you
<infinisil> (ignore that)
<{^_^}> [nixpkgs] @aanderse opened pull request #105417 → kodi: 18.9 -> 19.0b1 → https://git.io/Jkh3o
ZaraChimera has joined #nixos
jonatanb has joined #nixos
jonatanb has quit [Ping timeout: 246 seconds]
ris has quit [Ping timeout: 256 seconds]
EmoSpice has quit [Quit: WeeChat 2.7.1]
ZaraChimera has left #nixos ["WeeChat 3.0"]
evils has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #105413 → readme: update reference to number of packages → https://git.io/JkhJL
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JkhGh
evils has joined #nixos
h0m1 has quit [Ping timeout: 272 seconds]
v0|d has quit [Remote host closed the connection]
v0|d has joined #nixos
h0m1 has joined #nixos
<Fare> OK. So if I has a path, can I compute from the nix expression the sha256 of its contents, to compare with the upstream contents, and only do trigger overrides if it differs?
<Fare> (I'm asking, because this would allow me to determine that the version hasn't changed, vs having to try to infer a semi-bullshit version from the source.
<colemickens> I don't understand the question.
iH8c0ff33 has joined #nixos
hlolli_ has joined #nixos
iH8c0ff33 has quit [Ping timeout: 240 seconds]
hlolli__ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #105416 → python37Packages.jupyterlab-git: 0.23.1 -> 0.23.2 → https://git.io/JkhIB
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JkhCO
jonatanb has joined #nixos
kzjxfgvlkdfhglks has quit [Remote host closed the connection]
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #105403 → python27Packages.ijson: 3.1.2.post0 -> 3.1.3 → https://git.io/Jkp5G
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JkhCN
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105418 → python37Packages.pytest-metadata: 1.10.0 -> 1.11.0 → https://git.io/JkhWn
<{^_^}> [nixpkgs] @marsam merged pull request #104941 → axel: 2.17.9 -> 2.17.10 → https://git.io/JkSJe
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jkhl6
pushqrdx has quit [Ping timeout: 256 seconds]
jonatanb has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @IvarWithoutBones opened pull request #105419 → oatpp: init at 1.2.0 → https://git.io/Jkh4O
_rvl has quit [Quit: ZNC 1.8.1 - https://znc.in]
gustavderdrache has quit [Quit: Leaving.]
_rvl has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105420 → python37Packages.flake8-debugger: 3.2.1 -> 4.0.0 → https://git.io/Jkh4Q
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105387 → python2Packages.ecpy: unbreak due to invalid code → https://git.io/JkpB0
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkhB9
iqubic has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
kalbasit has joined #nixos
kalbasit has quit [Ping timeout: 256 seconds]
sss2 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @RaghavSood opened pull request #105421 → cpp_ethereum: remove → https://git.io/JkhEt
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #105422 → passExtensions.pass-audit: Disable tests on darwin cause they just hang → https://git.io/JkhEZ
cptchaos83 has joined #nixos
hlolli_ has quit [Ping timeout: 272 seconds]
rprije has quit [Ping timeout: 272 seconds]
spudly111 has quit [Ping timeout: 264 seconds]
spudly111 has joined #nixos
<rogerr> i found a bug in nixos i need help fixing. https://termbin.com/ph65 has minimal reproducible config and details
jonatanb has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
stephank has quit [Quit: stephank]
stephank has joined #nixos
jonatanb has quit [Ping timeout: 240 seconds]
<siraben> I'm pinning nixpkgs in many projects but won't that lead to worse sharing in general?
ddellacosta has quit [Ping timeout: 240 seconds]
aasg has quit [Quit: Bridge terminating on SIGTERM]
waleee-cl has quit [Quit: Connection closed for inactivity]
sorki has quit [Remote host closed the connection]
sorki has joined #nixos
aasg has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #105418 → python37Packages.pytest-metadata: 1.10.0 -> 1.11.0 → https://git.io/JkhWn
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.pytest-metadata: 1.10.0 -> 1.11.0 »: https://git.io/JkhaF
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 272 seconds]
Supersonic112 is now known as Supersonic
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/3c72bb875e6 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
<{^_^}> [nixpkgs] @ryantm merged pull request #105004 → Migrated QT doc section to commonmark → https://git.io/Jk9c1
<{^_^}> [nixpkgs] @ryantm pushed commit from @wiltaylor to master « doc/Qt: migrate to CommonMark (#105004) »: https://git.io/JkhoW
Dedalo has joined #nixos
veleiro` has joined #nixos
veleiro has quit [Ping timeout: 260 seconds]
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
cantstanya has quit [Ping timeout: 240 seconds]
endformationage has quit [Quit: WeeChat 2.9]
ericsagnes has quit [Ping timeout: 264 seconds]
<fzakaria> I'm trying to do a `nix-build -A X` from the nixpkgs directory but getting an error.
<fzakaria> > error: moving build output '/nix/store/cxf88dxf01pqd1y5km75bn9qqxb21f9w-source' from the sandbox to the Nix store: Permission denied
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):440:28
<fzakaria> am I doing something dumb ?
sangoma has joined #nixos
veleiro has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<colemickens> are you using single user nix? there are some hits that indicate it might be related?
veleiro` has quit [Ping timeout: 260 seconds]
<fzakaria> Single user nix; so odd because it's just a single package that seems to have this.
<fzakaria> (or rather a few random ones i tried work fine)
ericsagnes has joined #nixos
<fzakaria> I see a few hits also but not sure if i am seeing a good explanation about the root cause or a bandaid.
<fzakaria> whoa okay if you have an install script that tries to mv a file that doesn't exist
<fzakaria> it gives that really gross error.
<fzakaria> I rebuilt it without sandbox to see the error
<fzakaria> ```nix-build --option sandbox false```
veleiro has quit [Ping timeout: 264 seconds]
veleiro`` has joined #nixos
veleiro`` has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos
hypersw has joined #nixos
hypersw has quit [Remote host closed the connection]
astylian has joined #nixos
jonringer has quit [Remote host closed the connection]
<jophish> ugh, my (sandboxed) build work locally but not on gh actions
<jophish> not the end of the world, I guess it's some timing condition
<jophish> but debugging it is going to be a real pain
red[evilred] has joined #nixos
<red[evilred]> What is the use-case for having more than one channel listed in nix-channel --list
<red[evilred]> and how are they accessed?
<edcragg> <channel-name> ?
rprije has joined #nixos
<supersandro2000> You could try if it happens with act (a tool to run GitHub actions locally)
<jophish> supersandro2000: good idea, thanks!
Rusty1 has quit [Quit: WeeChat 2.3]
<jophish> ahhh, requires docker
<jophish> not sure I want to install that and have it mess with my system!
<fzakaria> red[evilred]: the most common is having non nixpkgs software for instance home-manager
<fzakaria> channels are just pointers, so whatever you want really ; but they really break the hermeticity of nix
<fzakaria> but they sure are user friendly/easy for one-off Nix script writing
<fzakaria> jophish: i guess `while true; ` and run it a lot locally :)
<jophish> fzakaria: yeah, perhaps
m1cr0man has quit [Quit: G'luck]
m1cr0man has joined #nixos
rprije has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
stigo has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105424 → python37Packages.nibabel: 3.2.0 -> 3.2.1 → https://git.io/Jkh5g
stigo has joined #nixos
rprije has joined #nixos
veleiro has joined #nixos
palo1 has joined #nixos
ericsagnes has quit [Ping timeout: 272 seconds]
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
vidbina has joined #nixos
rprije has quit [Ping timeout: 256 seconds]
<{^_^}> [cabal2nix] @peti merged pull request #471 → Map ff to libff → https://git.io/Jkp77
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/JkhNR
<Fare> What's the right way to declare that a package will depend on another at runtime so it can dynamically load modules from it or read data files from it?
<raghavsood> You probably want a wrapper
<Fare> one that exports some shell variables, etc.?
ericsagnes has joined #nixos
<raghavsood> You can have it put the dependency package in the PATH for the package you are running, so that it can load any modules etc. required
<srhb> Fare: It really depends on the type of package. The ways in which different ecosystems handle dependencies varies at lot.
<jophish> ok, this is definitely not a race condition!
rprije has joined #nixos
<jophish> the size of the terminal is changing!
<jophish> which is weird, because I'm running this inside tmux
Maxdamantus has quit [Ping timeout: 240 seconds]
Maxdamantus has joined #nixos
deadpixels has joined #nixos
deadpixels has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105425 → python37Packages.mac_alias: 2.1.0 -> 2.1.1 → https://git.io/Jkhpk
ericsagnes has quit [Ping timeout: 240 seconds]
ericsagnes has joined #nixos
alp__ has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #104655 → ocamlPackages.batteries: 3.1.0 → 3.2.0 → https://git.io/JkKRj
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.batteries: 3.1.0 → 3.2.0 »: https://git.io/Jkhjh
Ariakenom has joined #nixos
eoli3n has joined #nixos
mutantmell has quit [Quit: WeeChat 3.0]
<Reventlov> so yeah i'm recompiling my system to get up-to-date linux headers (because nixos ships outdated linux headers)
vidbina has quit [Ping timeout: 240 seconds]
<Reventlov> and tests are running but very slowly ( from what I can see, the test after "tests/dd/unblock-sync.sh" has been running for 8 hours and still not ended
<Reventlov> is that expected ?
<Reventlov> (coreutils)
simonpe^^ has joined #nixos
<Reventlov> so, yeah, other question: is there some way to get up to date headers in another way than having to recompile pretty much everything ?
srk has quit [Quit: ZNC - http://znc.in]
sorki is now known as srk
<simonpe^^> Morning! We're using https://github.com/NixOS/nixpkgs/blob/389ac5f00e4895a9b3a86967808c8d23c69f7110/pkgs/build-support/trivial-builders.nix#L391 to build a tarball that can be deployed to another machine, can someone with a bit more nix-foo come up with a way to filter this set of files so that only the ones required to actually run the application are packaged. Right now we get a lot of additional crap
<simonpe^^> like headers and man pages;
KarlJoad has quit [Quit: ERC (IRC client for Emacs 27.1)]
<{^_^}> [nixpkgs] @vbgl opened pull request #105426 → ocamlPackages.qcheck: 0.15 → 0.16 → https://git.io/Jkjfr
thibm has joined #nixos
eoli3n_ has joined #nixos
<Fare> simonpe^^, you mean, using filterSource or some such?
sangoma has quit [Ping timeout: 264 seconds]
<Fare> builtins.filterSource is not just for source!
eoli3n_ has quit [Remote host closed the connection]
cfricke has joined #nixos
<Reventlov> and another question: can I easily "disable" tests (like the one for coreutils), but at a more general level than package ?
<thibm> Reventlov: to problem is that it will trigger rebuild of all packages (which currently have tests enabled) so I think it doesn't worth it
<simonpe^^> Fare: I was looking at that, but currently its leaning towards scanning all the binaries we "intall" and figuring out what shared libraries are required with readelf or ldd
<thibm> But I'm not aware of such knob.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105427 → python37Packages.blessed: 1.17.11 -> 1.17.12 → https://git.io/JkjUK
<thibm> (You can always patch one of mkDerivation's layer to force doCheck = false)
<Reventlov> thibm: well I have been trying to update my kernel headers for 2 days now
<Reventlov> and I didn't succeed
<Reventlov> yet
<thibm> Reventlov: I meant I think is best to disable tests manually for some packages
<thibm> for that reason (but yes, it's my opinion)
lassulus has quit [Ping timeout: 256 seconds]
<thibm> Reventlov: tests are always disabled when cross-compiling. You could find where this logic lives to force them to not run.
<thibm> Reventlov: there's config.doCheckByDefault but I guess it will not override derivation setting doCheck.
saschagrunert has joined #nixos
iqubic has joined #nixos
iqubic has left #nixos [#nixos]
iH8c0ff33 has joined #nixos
FRidh has joined #nixos
sangoma has joined #nixos
ilmu1 has quit [Ping timeout: 240 seconds]
ilmu1 has joined #nixos
FRidh has quit [Ping timeout: 260 seconds]
FRidh has joined #nixos
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105428 → python37Packages.pylibacl: 0.5.4 -> 0.6.0 → https://git.io/Jkjk2
vidbina has joined #nixos
captn3m0 has joined #nixos
captn3m0- has quit [Ping timeout: 265 seconds]
konobi has quit [Remote host closed the connection]
lassulus has joined #nixos
daGrevis has quit [Ping timeout: 260 seconds]
domogled has joined #nixos
seku has joined #nixos
<{^_^}> [nixpkgs] @marius851000 closed pull request #67569 → classicube: init at 1.0.7 → https://git.io/fjA7h
werner291 has joined #nixos
ericsagnes has quit [Ping timeout: 256 seconds]
thc202 has joined #nixos
konobi has joined #nixos
civodul has joined #nixos
daGrevis has joined #nixos
cfricke has quit [Quit: WeeChat 2.9]
cfricke has joined #nixos
ardumont has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105429 → python37Packages.smart_open: 4.0.0 -> 4.0.1 → https://git.io/Jkjt6
mallox has joined #nixos
<{^_^}> [nixpkgs] @jappeace opened pull request #105430 → haskell-xmpp: 2.0.1 Mark unbroken → https://git.io/Jkjqm
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #105431 → [20.09] palemoon: 28.14.2 -> 28.15.0 → https://git.io/Jkjqx
ericsagnes has joined #nixos
lassulus has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @prusnak merged pull request #105130 → ledger-live-desktop: 2.16.0 -> 2.17.1 → https://git.io/Jk7op
<{^_^}> [nixpkgs] @prusnak pushed 3 commits to master: https://git.io/JkjmV
ericsagnes has quit [Ping timeout: 260 seconds]
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
<{^_^}> [nixpkgs] @tadfisher opened pull request #105432 → Cross-compile configuration for reMarkable 2 tablet → https://git.io/JkjOU
respawn_ has joined #nixos
respawn_ has quit [Client Quit]
ericsagnes has joined #nixos
Dedalo has joined #nixos
hlolli has joined #nixos
doronbehar has quit [Quit: Idle for 30+ days]
ydlr[m] has quit [Quit: Idle for 30+ days]
Photonsphere[m] has quit [Quit: Idle for 30+ days]
demostanis[m] has quit [Quit: Idle for 30+ days]
<pinpox> I'm running into an error when running: "nixos-rebuild switch --upgrade" and can't update:
<pinpox> error: getting attributes of path '/nix/store/sg214klj6rzpvbj7shyizhsxx952hm88-initrd-kmod-blacklist-ubuntu': No such file or directory
<pinpox> Any ideas how to fix it? I tried collecting garbage, not sure what else I should do
jbo has quit [Ping timeout: 240 seconds]
<thibm> pinpox: is this store path on your disk?
cole-h has quit [Quit: Goodbye]
<pinpox> thibm: no, "/nix/store/sg214klj6rzpvbj7shyizhsxx952hm88-initrd-kmod-blacklist-ubuntu: No such file or directory"
<pinpox> I checked, it's not there
<thibm> can you try `nix-store -r /nix/store/sg214klj6rzpvbj7shyizhsxx952hm88-initrd-kmod-blacklist-ubuntu`?
<Fare> is anyone using cachix in a buildLayeredImage docker image in gitlab ci? Can you share the configuration?
<pinpox> thibm: as root, right?
<pinpox> sudo nix-store -r /nix/store/sg214klj6rzpvbj7shyizhsxx952hm88-initrd-kmod-blacklist-ubuntu
<pinpox> warning: you did not specify '--add-root'; the result might be removed by the garbage collector
<thibm> pinpox: it does not matter
<Fare> I get a weird error: nix-env stderr: error: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted
<thibm> pinpox: OK, the path should be on your disk right now.
<Fare> why is nix-env doing this and why is it unhappy?
<pinpox> thibm: nope, " ls /nix/store/sg214klj6rzpvbj7shyizhsxx952hm88-initrd-kmod-blacklist-ubuntu
<pinpox> "/nix/store/sg214klj6rzpvbj7shyizhsxx952hm88-initrd-kmod-blacklist-ubuntu": No such file or directory (os error 2)"
<pinpox> thibm: (also the upgrade still fails)
werner292 has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<thibm> Hm… Do you have enough place on the partition where the store live?
<thibm> Can you check if the nix-store command failed or succeed?
<pinpox> \▸ df -h /nix/store
<pinpox> Filesystem Size Used Avail Use% Mounted on
<pinpox> dev/disk/by-uuid/e9d0b6a6-e7e8-4933-9cb1-b0829ede77ff 450G 99G 328G 24% /nix/store
<{^_^}> [nixpkgs] @GovanifY opened pull request #105433 → ruffle: init at nightly-2020-11-30 → https://git.io/JkjGY
<pinpox> thibm: how?
m0rphism has joined #nixos
<pinpox> It just gives the warning about --add-root and prints the path
<thibm> pinpox: run `echo $?` right after the nix-store command
<thibm> pinpox: could you paste the whole nixos-rebuild command's output on a pastebin please?
<pinpox> thibm: it says 0
<thibm> ok
<pinpox> yes, let me rerun it, one sec
<pinpox> thibm:
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105434 → python37Packages.pybullet: 3.0.6 -> 3.0.7 → https://git.io/JkjGB
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
<pinpox> I'll try nix-store --verify --check-contents --repair
<thibm> I was tolding you to do so
<thibm> That'll be long though. Good luck ;)
<pinpox> I'll report back, it's running
<pinpox> thibm: can you explain what the error is? I don't really understand what the message means, i.e. why that path is expected to be there and is not
<pinpox> how can that happen?
<thibm> pinpox: I suppose the "getting attributes of path" means that Nix (or any child process) is using attr_get (or something related) on this path
<thibm> and the function fails telling that there is "no such file"
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105435 → python37Packages.pymavlink: 2.4.12 -> 2.4.13 → https://git.io/JkjZL
<thibm> But I don't get why the file would disappear even after you forced its realisation
<pinpox> ok the check finished. Should I try to upgrade now again?
teto has joined #nixos
<thibm> Yes, try again. But you can skip the --upgrade switch
<thibm> It updates your channel, so it's not needed to run it each time if it fails
<thibm> (except if there's a kind of transaction mechanism… not sure)
<pinpox> thibm: It works!
<pinpox> Not sure why, but it's fixed it seems
<pinpox> 🤷‍♂️
<pinpox> thibm: Thanks for the help and explanation
<pinpox> thibm++
<{^_^}> thibm's karma got increased to 8
<thibm> Cool! If the store was broken somehow, it's not suprising that weird stuff happen when we consider all the assumption Nix does on the store.
<{^_^}> [nixpkgs] @jappeace opened pull request #105436 → haskell-xmpp: 2.0.1 Mark unbroken → https://git.io/Jkjne
<{^_^}> [nixpkgs] @jappeace closed pull request #105430 → haskell-xmpp: 2.0.1 Mark unbroken → https://git.io/Jkjqm
<pinpox> I have no idea what I did to break it, but everything is fine now
spinlock[m] has joined #nixos
nschoe has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #105436 → haskell-xmpp: 2.0.1 Mark unbroken → https://git.io/Jkjne
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JkjnH
<{^_^}> [nixpkgs] @andir opened pull request #105437 → firefox: fix aarch64 build → https://git.io/Jkjnx
rgrau has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « documize-community: 3.8.1 -> 3.8.2 »: https://git.io/JkjcK
<teto> hi I would like to fetch all licenses of packages listed in a nix file. Any idea how to do that/where to look at ?
<{^_^}> [nixpkgs] @alerque opened pull request #105438 → sile: 0.10.12 → 0.10.13 → https://git.io/JkjC3
ramses_ has joined #nixos
<thibm> teto: do you mean something like `map (p: p.meta.license) [ hello gcc ]` + flatten + unique?
<teto> thibm: yep
<thibm> what would you expect as output? The full attr, the license names?
<thibm> teto: (you need to be aware than meta.license can be an attribute set or a list of those)
<thibm> but flatten + unique handle it correctly.
<{^_^}> [nixpkgs] @avdv opened pull request #105439 → bazel: 3.3.1 -> 3.7.1 → https://git.io/JkjWa
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105440 → python37Packages.vispy: 0.6.5 -> 0.6.6 → https://git.io/JkjW5
<teto> thibm: mostly a mapping (package, license). I asked because I thought nixos would already have something like that. check-meta.nix for instance but it is run on the mkDerivation call. Apparently there is a recurseIntoDerivations I could use
respawn_ has joined #nixos
seanparsons has quit [Ping timeout: 265 seconds]
wnklmnn has joined #nixos
seanparsons has joined #nixos
ericsagnes has quit [Ping timeout: 265 seconds]
jonatanb has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramses_ has quit [Ping timeout: 240 seconds]
jonatanb has quit [Remote host closed the connection]
werner292 has joined #nixos
jonatanb has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
CMCDragonkai1 has joined #nixos
ericsagnes has joined #nixos
jonatanb has quit [Remote host closed the connection]
ertugerata has joined #nixos
<{^_^}> [nixpkgs] @0x4A6F opened pull request #105441 → routinator: 0.8.0 -> 0.8.1 → https://git.io/JkjR2
ertugerata has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.09 « documize-community: 3.8.1 -> 3.8.2 »: https://git.io/Jkj08
CMCDragonkai1 has quit [Ping timeout: 240 seconds]
veleiro has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #105421 → cpp_ethereum: remove → https://git.io/JkhEt
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JkjE2
jonatanb has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/24eb3f87fc6 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/752b6a95db9 (from 14 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
jonatanb has quit [Remote host closed the connection]
jonatanb has joined #nixos
fendor has joined #nixos
Dedalo has joined #nixos
jonatanb has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #104603 → errcheck: 1.1.0 -> 1.4.0 → https://git.io/JkrHP
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JkjuS
Dedalo has quit [Quit: Textual IRC Client: www.textualapp.com]
Dedalo has joined #nixos
lovesegfault has quit [Quit: WeeChat 3.0]
<{^_^}> [nixpkgs] @adisbladis merged pull request #105113 → python: Propagate packageOverrides to pythonForBuild → https://git.io/JkQK3
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JkjzM
jonatanb has joined #nixos
Dedalo has quit [Client Quit]
hleb[m] has joined #nixos
z0k has joined #nixos
jonatanb has quit [Remote host closed the connection]
__monty__ has joined #nixos
daende has quit [Remote host closed the connection]
rgrau has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
philr has quit [Ping timeout: 256 seconds]
ericsagnes has quit [Ping timeout: 260 seconds]
CMCDragonkai1 has joined #nixos
CMCDragonkai1 has quit [Client Quit]
mallox has quit [Ping timeout: 256 seconds]
lovesegfault has joined #nixos
<{^_^}> [nixos-org-configurations] @edolstra merged pull request #136 → 20.03 is EOL → https://git.io/JkNHv
<{^_^}> [nixos-org-configurations] @edolstra pushed 2 commits to master: https://git.io/Jkjwo
ffl^ has joined #nixos
werner292 has joined #nixos
<typetetris> Dunno how it happened, but had to `chown` `/var/lib/acme/.lego` on a nixops (nixos-20.03) system today, to get let's encrypt working again ...
<{^_^}> [nixpkgs] @Atemu opened pull request #105443 → linux_zen: 5.9.10 -> 5.9.11 → https://git.io/JkjrX
<{^_^}> [nixpkgs] @zimbatm merged pull request #104977 → buildRubyGem: fix to support bundler install --redownload → https://git.io/JkSy2
<{^_^}> [nixpkgs] @zimbatm pushed commit from @fzakaria to master « buildRubyGem: fix to support bundler cmds (#104977) »: https://git.io/JkjrM
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
rprije has quit [Ping timeout: 272 seconds]
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @siraben opened pull request #105444 → octave: 5.2.0 -> 6.1.0 → https://git.io/JkjKS
alp__ has quit [Ping timeout: 272 seconds]
ericsagnes has quit [Ping timeout: 272 seconds]
julm has quit [Ping timeout: 256 seconds]
alp__ has joined #nixos
zupo has joined #nixos
f1234567[m] has joined #nixos
julm has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #105431 → [20.09] palemoon: 28.14.2 -> 28.15.0 → https://git.io/Jkjqx
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to release-20.09: https://git.io/JkjPp
mallox has joined #nixos
hyper_ch4 has joined #nixos
hyper_ch5 has quit [Ping timeout: 246 seconds]
hyper_ch5 has joined #nixos
hyper_ch4 has quit [Ping timeout: 272 seconds]
domogled has quit [Quit: domogled]
fuiltilt has quit [Quit: WeeChat 2.9]
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105375 → python27Packages.bumps: 0.7.16 -> 0.7.18 → https://git.io/JkpTR
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkjMq
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105350 → python27Packages.bsddb3: 6.2.7 -> 6.2.9 → https://git.io/Jkxeg
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkjMV
justanotheruser has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105414 → python37Packages.Wand: 0.6.4 -> 0.6.5 → https://git.io/JkhJS
cosimone has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jkjy3
cosimone has quit [Client Quit]
<{^_^}> [nixpkgs] @mschuwalow opened pull request #105445 → cups-kyodialog3: fix source url → https://git.io/Jkjyj
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105409 → bwa: expand supported platforms → https://git.io/JkpbA
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkjSs
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3ad25c54a10 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
werner292 has joined #nixos
alp__ has quit [Ping timeout: 272 seconds]
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
cosimone has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105446 → python37Packages.colander: 1.8.2 -> 1.8.3 → https://git.io/Jkj9m
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105327 → python3Packages.blis: 0.7.2 -> 0.7.3 → https://git.io/JkA2z
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JkjHF
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105447 → python37Packages.nipype: 1.5.1 -> 1.6.0 → https://git.io/JkjQR
<{^_^}> [nixpkgs] @flokli merged pull request #105102 → fribidi: fix cross → https://git.io/JkQlh
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging: https://git.io/Jkj7u
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105376 → keeweb: 1.15.7 → 1.16.0 → https://git.io/JkpT6
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jkj5v
<{^_^}> [nixpkgs] @Mic92 merged pull request #104703 → parted: build with python3 → https://git.io/JkiQs
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/Jkj5G
juboba has joined #nixos
<juboba> hi everybody
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105351 → python27Packages.bitstruct: 8.11.0 -> 8.11.1 → https://git.io/Jkxv2
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jkjdj
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #105448 → pythonPackages.uvicorn: Disable hanging tests on Darwin → https://git.io/JkjFm
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<juboba> I just installed NixOS. I've been using Nix in Ubuntu for a year now. I'm wondering if I can "export" a list of the packages installed by my user with `nix-env -i`.
<evils> juboba: `nix-env -q`
<thibm> juboba: there's nix-env -q
<thibm> although it's based on the packages' names
hyper_ch4 has joined #nixos
<juboba> yeah, I was able to do that when Ubuntu was installed
<juboba> now the .nix-env is not working anymore, so I backed it up and generated a new one
<juboba> what I need are the packages names, the names of the binaries was easy to get
<{^_^}> [nixpkgs] @mschuwalow opened pull request #105449 → ibus-engines.rime: init at 1.4.0 → https://git.io/JkjNQ
hyper_ch5 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @con-f-use opened pull request #105450 → mcomix3: manpage location, app icon → https://git.io/JkjNx
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @edolstra merged pull request #105042 → release-lib: Don't use tryEval for packagePlatforms → https://git.io/JkH3G
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/Jkjxm
<{^_^}> [nixpkgs] @groodt opened pull request #105451 → python: pip-tools: 5.3.1 -> 5.4.0 → https://git.io/JkjpN
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105380 → python37Packages.google_cloud_container: 2.1.0 -> 2.2.0 → https://git.io/JkpZp
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jkjhp
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105434 → python37Packages.pybullet: 3.0.6 -> 3.0.7 → https://git.io/JkjGB
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jkjjn
werner292 has joined #nixos
alp_ has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
Reventlov has quit [Quit: WeeChat 2.3]
Reventlov has joined #nixos
whatisRT has joined #nixos
Reventlov has joined #nixos
Reventlov has quit [Changing host]
wfranzini has joined #nixos
gueorgui has quit [Remote host closed the connection]
gueorgui has joined #nixos
<{^_^}> [nixpkgs] @zimbatm opened pull request #105452 → tree-wide: do not use pkgs.extend in nixpkgs → https://git.io/JIevJ
<juboba> is it possible to specify a version when running a `nix-shell`? i.e: ``$ nix-shell -p nodejs@10`
respawn_ has quit [Quit: Leaving]
FRidh has quit [Ping timeout: 272 seconds]
FRidh has joined #nixos
<exarkun> The version is specified by the package you select
<exarkun> There is a "nodejs-10_x" package
hyper_ch5 has joined #nixos
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105435 → python37Packages.pymavlink: 2.4.12 -> 2.4.13 → https://git.io/JkjZL
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIeJz
hlolli_ has joined #nixos
cosimone has quit [Remote host closed the connection]
hyper_ch4 has quit [Ping timeout: 256 seconds]
hlolli has quit [Ping timeout: 272 seconds]
whatisRT has quit [Quit: ZNC 1.7.5 - https://znc.in]
FRidh has quit [Ping timeout: 264 seconds]
FRidh has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #105425 → python37Packages.mac_alias: 2.1.0 -> 2.1.1 → https://git.io/Jkhpk
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JIeLs
euandreh has quit [Ping timeout: 272 seconds]
vidbina has quit [Ping timeout: 240 seconds]
tlaxkit has joined #nixos
meh` has joined #nixos
acarrico has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Maxdamantus has quit [Ping timeout: 260 seconds]
Maxdamantus has joined #nixos
orivej has joined #nixos
<juboba> thanks exarkun
alp_ has quit [Remote host closed the connection]
zupo has joined #nixos
alp_ has joined #nixos
cosimone has joined #nixos
FRidh has quit [Ping timeout: 256 seconds]
FRidh has joined #nixos
meh` has quit [Ping timeout: 264 seconds]
<octe> i'm trying to update the version of a package but the resulting binary now crashes with a segmentation fault, kind of stuck.. this is the backtrace, doesn't mean much to me: https://pastebin.com/raw/B4a30Kym
<octe> but maybe that means something to someone else?
<{^_^}> [nixpkgs] @raboof opened pull request #105454 → pyopenssl: 19.1.0 -> 20.0.0 → https://git.io/JIeOc
juboba` has joined #nixos
jbo has joined #nixos
juboba has quit [Ping timeout: 260 seconds]
bn_work has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<thibm> octe: it looks like a dynamic library (dl) inconsistency problem.
<thibm> you could check what upstream use
werner292 has joined #nixos
<octe> it's trying to load a library dynamically that isn't in the path or wrong version?
werner291 has quit [Ping timeout: 260 seconds]
werner292 is now known as werner291
cfricke has quit [Quit: WeeChat 2.9]
<risson> I'm getting `A submoduleWith option is declared multiple times with conflicting shorthandOnlyDefinesConfig values`, what does it mean exactly?
<risson> Except that all my submodules aren't declared with the same shorthandOnlyDefinesConfig
<risson> Which btw, they are, and it is `false`
<thibm> octe: I think so
z1g34n3r has quit [Remote host closed the connection]
zupo has joined #nixos
<octe> thibm, sounds reasonable.. not sure how to find out what library is an issue though, it's a binary only package so there's not source to check
FRidh has quit [Ping timeout: 256 seconds]
<octe> i tried using strace, the library it opens before crashing is just libc.so.6
<rogerr> i found a bug in nixos i need help fixing. https://termbin.com/ph65 has minimal reproducible config and details
<risson> rogerr: seems like a home-manager issue though
hyper_ch4 has joined #nixos
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/ae47c79479a (from 21 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
<risson> rogerr: if you look here https://github.com/nix-community/home-manager/blob/master/modules/home-environment.nix#L461 you'll see how the custom PATHs are added to your configuration
<risson> I'm not exactly sure hoe that "/etc/profile.d/hm-session-vars.sh" file is loaded though, but it probably has to do with the fact that when you ssh you open a new session, and I'm not sure rdp does that
werner291 has quit [Quit: werner291]
<rogerr> i can show you how
<rogerr> startwm.sh https://termbin.com/i1gq .xprofile https://termbin.com/mcxp hm-session-vars.sh https://termbin.com/zjp1
<rogerr> __HM_SESS_VARS_SOURCED=1 in both so i know it's being sourced
hyper_ch5 has quit [Ping timeout: 272 seconds]
<risson> but your path still ends up different?
<thibm> octe: how do you invoke the binary? Which version (commit) of nixpkgs are you using? I tested the upgrade quickly and it seems to work.
azazel has quit [Quit: bye]
<octe> it's not the main binary that fail, it's the Engine-binary
<octe> on my system /nix/store/kkk5jybjj16j87bzya3prvbw8xj5jn7v-bitwig-studio-3.3/libexec/bin/.BitwigStudioEngine-wrapped
<rogerr> yep it does risson
<rogerr> which means PATH must get clobbered or something
<octe> thibm, i'm not sure how to check which commit, i'm on 20.09
<octe> i can try building it on master
<risson> rogerr: have you tried displaying/storing in a file yout path right after hm-session-vars.sh has been sourced? to see if maybe something goes wrong in there
<thibm> octe: is this binary spawned from the main binary?
<octe> yes
<octe> though starting the engine binary separately doesn't crash for the old version
<rogerr> risson sorry i dont understand?
<thibm> octe: ok
<octe> i'll try building it from nixpkg-master
<thibm> That what I just did and it segfaults
<octe> oh ok, you get the same then
<octe> the previous version's engine binary runs, even if it exits with an error
<octe> the first thing it outputs is "Detected instruction set: AVX", perhaps it's trying to load/detect some cpu specific library..
<risson> I meant doing something like `echo $PATH > /tmp/path-$(date)` right after the `hm-session-vars.sh` has been sourced in your xprofile
<octe> thibm, any ideas how to debug it?
<risson> that way you'll see if something goes wrong at that point
<thibm> octe: (for the version check `lib.version`)
gustavderdrache has joined #nixos
<rogerr> risson ya i can try that. can i edit files managed by home manager? they seem to be RO
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105441 → routinator: 0.8.0 -> 0.8.1 → https://git.io/JkjR2
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIeCi
ckauhaus has joined #nixos
<risson> You can't directly, no :/
<rogerr> how can i do it then?
<risson> small trick to edit a symlink to the nix store: mv .xprofile .xprofile.bak; cat .xprofile.bak > .xprofile
<risson> and once you're done with hacking on it, mv .xprofile.bak .xprofile
<thibm> octe: you can use `dpkg -x source.deb dir` and inspect what's in dir
<{^_^}> [nixpkgs] @7c6f434c merged pull request #105444 → octave: 5.2.0 -> 6.1.0 → https://git.io/JkjKS
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JIel0
<thibm> octe: because the source is unfree, the package is a bit hacky. The real logic is in the file bitwig-studio1.nix (version 3 is just overriding it). Here you can see that we remove a bunch of .so files.
Fare has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @ratatamatata opened pull request #105455 → systemc: init at 2.3.3 → https://git.io/JIe8Q
azazel has joined #nixos
azazel has quit [Client Quit]
<octe> thibm, yes, i'll have to dig into that i guess
<{^_^}> [nixpkgs] @mweinelt merged pull request #105157 → libslirp: fix CVE-2020-29129 → https://git.io/Jk5wZ
<{^_^}> [nixpkgs] @mweinelt pushed 3 commits to master: https://git.io/JIe4V
azazel has joined #nixos
Lord_of_Life_ is now known as Lord_of_Life
kayg04 has joined #nixos
jonatanb has joined #nixos
vidbina has joined #nixos
juboba` has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105440 → python37Packages.vispy: 0.6.5 -> 0.6.6 → https://git.io/JkjW5
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIe0D
Fare has joined #nixos
ffl^ has quit []
kayg04 has quit [Quit: The Lounge - https://thelounge.chat]
ckauhaus has quit [Quit: WeeChat 2.7.1]
<rogerr> risson ok i have weird info
<rogerr> i added the echo at top of .xprofile, right after the hm session vars sourcing, and 3rd after the .profile sourcing. first file had no path addition as expected, but 2nd and 3rd did!
zupo has quit [Ping timeout: 256 seconds]
FRidh has joined #nixos
stoile has joined #nixos
<{^_^}> [nixpkgs] @drewrisinger opened pull request #105456 → [20.09] pythonPackages.pyqtgraph: use pyqt5 vs pyqt4 → https://git.io/JIeud
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to release-20.09: https://git.io/JIeuF
kayg04 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105429 → python37Packages.smart_open: 4.0.0 -> 4.0.1 → https://git.io/Jkjt6
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIe2C
<numkem> is there a way to specify substituters manually for a `nixos-rebuild`?
waleee-cl has joined #nixos
<gchristensen> --option substituters ... or --option extra-substituters ...
<{^_^}> [nixpkgs] @andir merged pull request #105287 → libproxy: fix CVE-2020-25219, CVE-2020-26154 → https://git.io/JkN4t
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JIe2x
<numkem> gchristensen: should have went through the whole manual... I was looking for a --substituters or something similar. thanks! gchristensen++
<{^_^}> gchristensen's karma got increased to 380
justanotheruser has joined #nixos
<gchristensen> numkem: eh... I submitted a whole PR adding a flag to nixos-rebuild, only to be reminded of --option :P ttps://github.com/NixOS/nixpkgs/pull/104779
<thibm> to be fair, --option is not specified is nixos-rebuild's manual
<gchristensen> heh
<gchristensen> want to PR that? :P
<numkem> that would be very helpful
<numkem> considering how important it is, having a --substituters would have been helpful
<rogerr> i found a bug in nixos i need help fixing. https://termbin.com/agal has minimal reproducible config and details
<thibm> I should definitively maintain a list of all options missing in nix commands manual and do a PR at some point
lordcirth has quit [Remote host closed the connection]
<thibm> It happens regurlarly and I don't want to open a PR for one
<thibm> (So I don't do it. Well…)
<gchristensen> why maintain a list when you could just PR each one? :)
<gchristensen> (or open bugs)
lordcirth has joined #nixos
<thibm> True
bitmapper has quit [Quit: Connection closed for inactivity]
<thibm> numkem: --option is a general switch to override nix.conf, substituters is no more or less important than other ones
<thibm> And the we would have missed 2 options in the manual :p
<numkem> a few lines explaining that would be nice. I figured rebuild was it's own thing and didn't piggy back on nix's options
prop_frms has joined #nixos
meh` has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #104385 → musl: patch CVE-2020-28928 → https://git.io/JkgKt
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JIewN
<thibm> gchristensen: let's say I'll do it in markdown ;)
<{^_^}> [nixpkgs] @ratatamatata closed pull request #105455 → systemc: init at 2.3.3 → https://git.io/JIe8Q
bitmapper has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c694210b6c8 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
ddellacosta has joined #nixos
lordcirth__ has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #105457 → [20.09] libproxy: fix CVE-2020-25219, CVE-2020-26154 → https://git.io/JIeoP
<{^_^}> [nixpkgs] @mweinelt pushed to release-20.09 « libproxy: fix CVE-2020-25219, CVE-2020-26154 »: https://git.io/JIeoy
<{^_^}> [nixpkgs] @Luis-Hebendanz closed pull request #74297 → Firefox with extensions and global config → https://git.io/JeXtG
<{^_^}> [nixpkgs] @mweinelt closed pull request #105457 → [20.09] libproxy: fix CVE-2020-25219, CVE-2020-26154 → https://git.io/JIeoP
lordcirth has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #105458 → pdftk: 3.0.8 -> 3.2.1 → https://git.io/JIeKt
UnhinchedMind has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #105459 → musl: patch CVE-2020-28928 → https://git.io/JIeK4
<{^_^}> [nixpkgs] @nbr closed pull request #101262 → ssm-session-manager-plugin: add support for x86_64-darwin → https://git.io/JTu8t
<{^_^}> [nixpkgs] @andir merged pull request #104458 → botan2: update 2.7.0 -> 2.9.0 → https://git.io/Jkak7
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JIe6t
<{^_^}> [nixpkgs] @primeos pushed to master « pdftk-legacy: Mark as broken »: https://git.io/JIe6n
FRidh has quit [Ping timeout: 240 seconds]
<siraben> Is this enough to pin configuration.nix? I did a channel update to test and it seems to be recompiling various components, hm. https://github.com/siraben/dotfiles/blob/master/nixos/configuration.nix
<sphalerite> siraben: https://github.com/siraben/dotfiles/blob/master/nixos/configuration.nix won't really pin nixpkgs for much of your system config: the things you're putting in environment.systemPackages will come from the pkgs you're defining at the top, but other than that all the packages used will come from the "ambient" nixpkgs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105460 → checkstyle: 8.37 -> 8.38 → https://git.io/JIeiO
<siraben> sphalerite: "ambient" nixpkgs? hm.
FRidh has joined #nixos
<siraben> So I'll have to use flakes?
<srk> based on your NIX_PATH
<simpson> Your channels are ambient. (Environment variables often provide ambient authority.)
<srk> nix-instantiate --find-file nixpkgs
<simpson> siraben: Lucky 10000 for this security concept. From WP https://en.wikipedia.org/wiki/Ambient_authority "The authority is "ambient" in the sense that it exists in a broadly visible environment (often, but not necessarily a global environment) where any subject can request it by name."
<simpson> e.g. <nixpkgs>
hnOsmium0001 has joined #nixos
<sphalerite> siraben: no, you don't have to use flakes
<sphalerite> siraben: you could also pass -I nixpkgs=… to nixos-rebuild every time, or otherwise ensure you have the right nixpkgs in NIX_PATH
<simpson> siraben: The upshot of what sphalerite is saying is that, if you override NIX_PATH for just a single nixos-rebuild, then you can switch over to something on a temporary basis.
<simpson> sphalerite++
<{^_^}> sphalerite's karma got increased to 116
<siraben> For me, $NIX_PATH is `/home/siraben/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels`
<sphalerite> siraben: https://gist.github.com/lheckemann/d0d256ca8404db0c550a30c2034e696e I use this hack to "persist" the nixpkgs that was used when building the currently active system
<sphalerite> Whether that's elegant or not is a matter of opinion :p
<simpson> I go completely in the other direction, and embrace channels; when I log into a machine that I haven't touched in months, I would like it to be running the channels that it's currently got, so that I don't get bitten by having to download/unbreak tools.
<sphalerite> Alternatively, you can also completely avoid nixos-rebuild and build your system from an expression that uses your niv pin instead. That does take a little extra legwork though.
zupo has joined #nixos
<lordcirth__> nixos-rebuild with a flake works great for me
_Adluc_ has joined #nixos
jonatanb has quit [Remote host closed the connection]
<thibm> sphalerite: siraben: something like `import <nixpkgs/nixos/lib/eval-config.nix> { modules = [ (import ./configuration.nix) ]; }` can be enough
ericsagnes has quit [Ping timeout: 272 seconds]
<thibm> it's a bit of work indeed, but you can easily control <nixpkgs>
crazazy[m] has quit [Quit: Idle for 30+ days]
<sphalerite> thibm: I raise you a ((import <nixpkgs> {}).nixos { imports = [./configuration.nix]; })
<sphalerite> :D
zupo has quit [Ping timeout: 240 seconds]
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
<thibm> even better
<{^_^}> [nixpkgs] @mweinelt opened pull request #105461 → botan2: 2.9.0 -> 2.17.2 → https://git.io/JIe1V
<thibm> sphalerite: `(import <nixpkgs> {}).nixos ./configuration.nix`
<thibm> p:
<sphalerite> :D
<{^_^}> [nixpkgs] @mweinelt merged pull request #105459 → [20.09] musl: patch CVE-2020-28928 → https://git.io/JIeK4
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to release-20.09: https://git.io/JIe11
<risson> rogerr: so did you find why the hm-session-vars were only sourced at some point?
<risson> maybe grepping for __HM_SOURCE_SESSION_VARS (name not accurate) will tell you
domogled has joined #nixos
derpadmin has joined #nixos
<rogerr> risson huh? i found that the path was given the addition but by the time i type echo $PATH it's gone
<rogerr> and i don't know where the disconnect is
hexo- has joined #nixos
<rogerr> i put echos to file all through startwm.sh and .xprofile and it's there
saschagrunert has quit [Quit: Leaving]
<rogerr> something is clobbering/resetting the $PATH addition. it's probably xrdp the rdp server
<rogerr> anyone can try the config (https://termbin.com/agal) and see for themselves
<{^_^}> [nixpkgs] @7c6f434c merged pull request #105458 → pdftk: 3.0.8 -> 3.2.1 → https://git.io/JIeKt
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JIeMP
<risson> ah okay I didn't get that
<rogerr> didnt get what?
ericsagnes has joined #nixos
<risson> that then PATH was set and then it wasn't
<rogerr> i could probably override this problem by setting https://github.com/neutrinolabs/xrdp/blob/176b4b15a29f25b5e1fbbd2983e193b4702cfc64/sesman/startwm.sh#L102 in startwm.sh but home manager manages the file so i can't
<rogerr> this is where the nix concept breaks down
<simpson> Nothing's hidden from you; you can change literally any of that stuff. Nix merely prevents you from forgetting that you changed something.
erasmas has joined #nixos
<simpson> rogerr: Also, as long as you're spelunking in the original source code, you might be enlightened by: https://github.com/neutrinolabs/xrdp/blob/devel/sesman/env.c#L133-L135
<rogerr> simpson i didnt say anything was hidden from me, i said i can't override the file that's generated by home manager
<{^_^}> [nixpkgs] @ruuda opened pull request #105462 → python3Packages.mypy: compile with mypyc → https://git.io/JIeSg
<rogerr> ya i saw that clear env and the naive path setting it does after. im not sure how to work around it
hexic has quit [Quit: ZNC - http://znc.in]
Adluc has quit [Quit: ZNC - http://znc.in]
<rogerr> any ideas?
fragamus has joined #nixos
<rogerr> startwm.sh https://termbin.com/tpth, xprofile https://termbin.com/xbzi, hm-session-vars.sh https://termbin.com/ptuw1 to see my experiment dumping $PATH to file at different stages of login
<typetetris> Is acme broken in 20.09 ? Have some nixops hosts with failing acme-*.services due to permission denied errors.
fragamus has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @smuggreenfrog opened pull request #105463 → python: pytest-django: 3.9.0 -> 4.1.0 → https://git.io/JIeHt
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105464 → codeql: 2.3.3 -> 2.4.0 → https://git.io/JIeHs
zupo has joined #nixos
<simpson> rogerr: Maybe? I'm going to repeat what I recommended the other day: Patch these files until they have the content that you want. The only change is that now you have the option of patching out the C code, too.
domogled has quit [Ping timeout: 264 seconds]
<rogerr> and what im saying is this is a nixos bug that needs to be fixed
<rogerr> im here reporting it and offering to help debug a fix
alp_ has quit [Remote host closed the connection]
<rogerr> there's no reason that a working nix config not working isn't a bug
alp_ has joined #nixos
<simpson> AFAICT this is Xrdp WAI. If you really disagree, then open an issue on GH for Xrdp or for nixpkgs.
<{^_^}> [nixpkgs] @smuggreenfrog opened pull request #105465 → python3Packages.pytest: 6.0.1 -> 6.1.2 → https://git.io/JIeQe
<rogerr> i give nix a config, it isn't honored. it's real simple
<rogerr> is there another channel for nix devs?
<simpson> This is the main channel. I'm being relatively generous, given that you've been cross-posting and spamming your requests for help. In particular, please use GH to file bugs as issues, or otherwise they *will* immediately get lost.
<{^_^}> [nixos-search] @ncfavier closed pull request #236 → Fix rendering of default and example values → https://git.io/JkQnB
zupo has quit [Client Quit]
<rogerr> im not spamming. if you dont want to help me just ignore me
<rogerr> the /ignore rogerr is right there
<simpson> I want to help you. You need to break out of your epistemic helplessness; the power of Nix is in being able to customize the builds of your tools with extremely high precision. If you want to build a custom Xrdp that has a patch on its shell code, or its C code, then that is an option in front of you right now.
rgrau has joined #nixos
<rogerr> helplessness? keep your insulting opinion to yourself. i've continued to research the problem and i have new info every day
<rogerr> i don't write C, this is a nix bug
<rogerr> like i said if you dont want to help me just ignore me and leave me alone you're being harassing
<simpson> This is a problem that you have repeatedly encountered on every distro that you've used, including non-Linux, and the common ingredient is Xrdp. Meanwhile, SSH works, and the whole configuration pipeline with NixOS and home-manager works via SSH.
<siraben> sphalerite: where do I put `((import <nixpkgs> {}).nixos { imports = [./configuration.nix]; })` ?
<siraben> Is that a new configuration.nix?
<simpson> Finally, it's *not even a bug*; clearly Xrdp's code was written this way, and there's clear security implications. If you want to hack up your execution environment in a custom way, alter the shell code by writing some Nix.
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105427 → python37Packages.blessed: 1.17.11 -> 1.17.12 → https://git.io/JkjUK
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIeQx
<rogerr> ya i was the 1 that told you i encountered this on other platforms, and the fix. i can't add the fix here because nixos generates config files for us and makes them read only
<rogerr> it is a bug because the config i give nix isn't honored
<rogerr> nix's xrdp module should handle this
<rogerr> we disagree, fine, just stop talking to me
<gchristensen> yikes
<{^_^}> [nixos-search] @ncfavier pushed 10 commits to fix-import-scripts: https://git.io/JIe7O
<gchristensen> probably should be tracked in the issue tracker
<rogerr> i dont have github
ben___ has joined #nixos
<thibm> siraben: it's a nix expression, put it in a file if you want. Important thing is that if you go to that direction, you don't use nixos-rebuild anymore but you're doing the plumbing yourself. Just be aware of that
<gchristensen> that is unfortunate, maybe you could get one, or somebody volunteers to do it on your behalf
<rogerr> gchristensen my hope was that once a fix was found i could give the full details to someone to post
<rogerr> i almost have that
<rogerr> i need simpson to stop harassing me
<simpson> rogerr: I'm not going to /ignore you (for philosophical reasons), but please be assured that I will not reply to you in here, #home-manager, or any other #nixos channel. No worries.
<gchristensen> my read is simpson is trying pretty hard to help
<siraben> thibm: if, would it be possible to use nixos-rebuild again?
<{^_^}> [nixos-search] @ncfavier opened pull request #239 → Fix import scripts → https://git.io/JIe7Q
kalbasit has joined #nixos
<rogerr> gchristensen he's not, and i don't care to debate it. he and i aren't going any further
<rogerr> he can leave me alone or /ignore me. i'll keep posting my issue until i find someone that wants to help debug it
<gchristensen> okay, but that sort of behavior isn't really desirable here and I think simpson was trying to help explain that, too
heyitsrama has joined #nixos
<rogerr> trying to help nixos fix a bug isn't wanted ok
<rogerr> then forget it i'll use a personal work around and fuck nixos
<gchristensen> okay
<thibm> siraben: if you keep a configuration.nix in the "regular" form, yes (like with this oneliner importing it)
<rogerr> waste of my time trying to help nixos
<rogerr> nixos bugs = harassment and apathy by the maintainers. got it
FRidh has quit [Ping timeout: 240 seconds]
<gchristensen> I think the root of the issue is the hostility, not the bug
FRidh has joined #nixos
<gchristensen> which is definitely off-topic for #nixos
<rogerr> the hostility is after several days of simpson harassing me rather than simply /ignoring me
<simpson> (I'm barely a maintainer. If I'm answering a question, then usually the package is no longer maintained, as with nvi, or it is extremely esoteric and requires a deep dive, as with Xrdp.)
<rogerr> it's not unreasonable on my part
<rogerr> im not going to take abuse
<gchristensen> well, okay, but you should know we're not inclined to either. feel free to open an issue, ask for help periodically, post patches to upstream, etc.
iH8c0ff33 has quit [Ping timeout: 272 seconds]
<rogerr> nah im just gonna use a personal fix and nixos can stay buggy, fuck it
<rogerr> not gonna take abuse AND help nixos
<gchristensen> by all means
stigo has quit [Ping timeout: 256 seconds]
<halfbit> If I need protobuf the library as a buildInput but I also need protoc as a nativeBuildInput, how can I get that working?
<halfbit> I tried adding it to both but the build then attempts to run the protoc for the target architecture instead of the native variant
UnhinchedMind has quit [Ping timeout: 245 seconds]
<halfbit> there isn't a seperate protoc package
stigo has joined #nixos
<halfbit> at least that I saw
pushqrdx has joined #nixos
astylian has quit [Remote host closed the connection]
growpotkin has joined #nixos
red[evilred] has joined #nixos
<red[evilred]> so I have a .drv file that's failing to build
fendor_ has joined #nixos
<red[evilred]> can someone point me at how I would get nix-build or whatever to just build that drv
<red[evilred]> in a way that I can examine how it failed
<thibm> red[evilred]: you can use nix-build --keep-failed to look at the build directory
<red[evilred]> perfect - thanks
<thibm> you can also invoke a shell and launch the build to see what happens
<thibm> (:s in the repl, then genericBuild)
cosimone has quit [Quit: cosimone]
<red[evilred]> it's not a package
<red[evilred]> it's a modulew
fendor has quit [Ping timeout: 240 seconds]
<red[evilred]> networking.hostFiles to be precise
<thibm> halfbit: after a quick experiment, protobuf in nativeBuildInputs provides a host architecture protoc, as expected
<red[evilred]> I think my problem is the sandbox
<thibm> red[evilred]: maybe told us what you are try to do?
<red[evilred]> Im trying to populate that with a [ "/nix/store/jhodgqwejhkgdqkewhjgeqdwkjhgdwe-examplehostfile" ];
<thibm> literally?
<red[evilred]> but I see this: cat: /nix/store/42ccy87fl9px5gdp9p1r656sxl7r79z8-samplehosts: No such file or directory
<thibm> yes
<thibm> where does this examplehostfile path comes from?
<red[evilred]> the examplehostfile is something added with nix-store --add
<ben___> Is it an anti-pattern to use Docker to add/update channels before running a nix build? I'm very new to nix and trying to make a basic user environment that can run vim and kubectl. I'm not sure if I should be using dockerTools for this, perhaps.
<{^_^}> [nixos-search] @ncfavier pushed to fix-import-scripts « improve testing of empty lists and dicts »: https://git.io/JIeF0
simonpe^^ has quit [Remote host closed the connection]
fendor_ is now known as fendor
<thibm> red[evilred]: you should, somehow, put the "source point" of this information directly in networking.hostFiles
<red[evilred]> right - otherwise what's to stop nix-collect-garbage from blowing it away
<simpson> ben___: Like, using `FROM nixos/nix` or otherwise calling Nix during your Docker build? No, it's fine and common to do that; it's like running `apt-get update`, right? But dockerTools might eventually be easier, when you want more and more stuff in there.
<red[evilred]> so how does one do that
zfnmxt has quit [Quit: Bye!]
<thibm> you are right about the sandbox
zupo has joined #nixos
<thibm> red[evilred]: you can do [ ./path/to/examplehostfile ]
<red[evilred]> you can't say "/root/samplefile" either
nehsou^ has joined #nixos
<ben___> simpson: awesome, thanks :)
<simpson> halfbit: I don't have an answer yet, but I'm rereading https://nixos.org/manual/nixpkgs/stable/#chap-cross and I have a suspicion that you *will* succeed if you specify your `protobuf` twice, in just the right way.
<thibm> red[evilred]: No you can't, same reason. But you can if you remove the quotes
<red[evilred]> ahhh
<red[evilred]> thank you
<red[evilred]> why do the quotes make a difference?
<thibm> Yes: then it's not a string (looking like a path) but a path
<thibm> An the path will be added to the store, you don't have to do it yourself
<{^_^}> [nixos-search] @ncfavier merged pull request #239 → Fix import scripts → https://git.io/JIe7Q
<{^_^}> [nixos-search] @ncfavier pushed to master « Fix import scripts, remove 19.09 branch (#239) »: https://git.io/JIeFN
<{^_^}> [nixos-search] @garbas pushed 0 commits to fix-import-scripts: https://git.io/JIeFp
domogled has joined #nixos
zfnmxt has joined #nixos
<thibm> red[evilred]: try in a repl those two lines: `"${/root/samplefile}"` and `"/root/samplefile"` to get the difference
<thibm> Well, forget about that
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105447 → python37Packages.nipype: 1.5.1 -> 1.6.0 → https://git.io/JkjQR
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIeby
UnhinchedMind has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105468 → consul: 1.8.6 -> 1.9.0 → https://git.io/JIeNv
jongewebchat has joined #nixos
jonatanb has joined #nixos
<jongewebchat> hello! i used to run "nix repl '<nixpkgs/nixos>' " in order to explore my current config values. this does not seem to work any longer if the system is configured via /etc/nixos/flake.nix - how do i explore my config now? i tried importing flake.nix, but it seems like i have to do the fixpoint iteration myself, no idea if that is the right way.
<red[evilred]> I'm wondering if we're going to have to build a custom derivation to generate that file
<{^_^}> [nixpkgs] @kisik21 opened pull request #105469 → nixos/tests/cloud-init: fix the erroring out → https://git.io/JIeNG
<red[evilred]> and then use that
<hyper_ch> ignore works both ways... instead of tellling the other user to /ignore {me}, one could also /ignore {other user}
jonatanb has quit [Ping timeout: 260 seconds]
<thibm> red[evilred]: what do you mean? If the file is already on you system, you can just refer to it with a path. If you need to generate its content, then yes, you need a derivation
<red[evilred]> but it doesn't matter how I specify the file - it can't find it
<red[evilred]> that's my problem
<red[evilred]> for example, if I use (unquoted) /etc/nixos/samplefile - it tries to do this:
<red[evilred]> cat: /etc/nixos/etc/nixos/samplehosts: No such file or directory
<simpson> halfbit: Okay, so having read the docs, I'm still a little in the dark, but I kind of understand. First, I have this patch https://bpa.st/ZFLA which splits proto3's outputs, if you're using proto3 and needed that. (The split might be wrong, too; not sure?)
<thibm> red[evilred]: there's a double /etc/nixos, there's a problem somewhere for sure
<red[evilred]> right
<simpson> halfbit: Second, I think that you possibly want to try putting protobuf into `depsBuildTarget`. I am *really* not sure how this is supposed to all come together, but maybe this is a useful direction.
<red[evilred]> so - if I change it to just ./samplehosts
<simpson> If any/all of this works, we can document it and etc.; make a bug and tag me.
<red[evilred]> the drv contains (implied cat) ... /nix/store/l2ayg7nla3va2l4nmhvfjyk8hidc5a29-extra-hosts' '/etc/nixos/samplehosts' > $out
vidbina has quit [Ping timeout: 246 seconds]
<red[evilred]> cat: /etc/nixos/samplehosts: No such file or directory
<red[evilred]> which the sandbox rightly rejects
<halfbit> thibm: thanks
<halfbit> simpson: thanks, will try these things
<simpson> Good luck. I hate fighting protoc but it is a thing we all must do sooner or later.
<halfbit> thibm: the problem is there's both a native (x86_64) protoc *and* the target protoc (aarch64) which the cmake build then chooses to use the aarch64 variant, ideally protoc would be split from the library I would think
<simpson> And hey, it's nice that nixpkgs even *has* a cross-compilation infrastructure. There can still be a good ending here.
<halfbit> simpson: I'm using nix specifically because of its cross compilation infrastructure
<red[evilred]> I'll bbiab - going to see how other modules solve the problem
<halfbit> I didn't think it was prudent trying to roll my own builds of the toolchain, libc of choice, and a dozen or so deps for my project
<halfbit> nix has all that done it seemed, with some added bonuses
iH8c0ff33 has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/24eb3f87fc6 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to python-unstable: https://git.io/JIexH
<siraben> Cross compilation with Nix <3
iH8c0ff33 has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c915b230056 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<{^_^}> [nixpkgs] @FRidh merged pull request #104781 → Staging next → https://git.io/Jk12x
<{^_^}> [nixpkgs] @FRidh pushed 91 commits to master: https://git.io/JIepX
wnklmnn has quit [Quit: Leaving]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
domogled1 has joined #nixos
domogled has quit [Ping timeout: 260 seconds]
domogled1 is now known as domogled
euandreh has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixos-search] @garbas pushed 2 commits to fix-github-actions: https://git.io/JIeha
zupo has joined #nixos
euandreh has quit [Remote host closed the connection]
<{^_^}> [nixos-search] @garbas opened pull request #240 → Correctly replace set-env with Env Files in GitHub Actions → https://git.io/JIehH
<{^_^}> [nixos-homepage] @toonn opened pull request #653 → Proofread explore page → https://git.io/JIehd
euandreh has joined #nixos
ben___ has quit [Ping timeout: 265 seconds]
<neonfuz2> So I'm trying to bump a project right now but the maintainers aren't responding. If I add myself as a maintainer and mark it as reviewed could that speed up the process?
<neonfuz2> it's been over a month now
<neonfuz2> I do intend on maintaining this package
<{^_^}> #100773 (by neonfuz, 6 weeks ago, open): rpcs3: 0.0.8-9300-341fdf7eb -> 0.0.12-10811-a86a3d2fe
<fzakaria> Is there a command to dump out my `nix.conf` including the defaults ?
<fzakaria> Can't seem to find it if so.
<{^_^}> [nixos-search] @garbas pushed to fix-github-actions « does it fail here? »: https://git.io/JIej4
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ben_ has joined #nixos
hodapp has quit [Quit: WeeChat 1.9.1]
hodapp has joined #nixos
<{^_^}> [nixpkgs] @zimbatm opened pull request #105470 → awscli2: fix bash completion name → https://git.io/JIejF
jongewebchat has quit [Remote host closed the connection]
halfbit has quit [Quit: WeeChat 2.9]
halfbit has joined #nixos
<gchristensen> zimbatm: can we drop pkgs.aws too? :)
jonatanb has joined #nixos
<{^_^}> [nixos-search] @garbas pushed to fix-github-actions « comment out some more »: https://git.io/JIve6
<{^_^}> [nixos-search] @garbas pushed to fix-github-actions « uncomment another line »: https://git.io/JIve5
<cransom> (dropping aws would be so nice.)
cole-h has joined #nixos
<{^_^}> [nixos-search] @garbas pushed to fix-github-actions « don't need 19.09 »: https://git.io/JIvvU
<{^_^}> [nixos-search] @garbas pushed 2 commits to fix-github-actions: https://git.io/JIvvs
vika_nezrimaya has joined #nixos
<{^_^}> [nixos-search] @garbas pushed to fix-github-actions « echo debug »: https://git.io/JIvvr
cosimone has joined #nixos
<{^_^}> [nixos-search] @garbas pushed to fix-github-actions « tmate »: https://git.io/JIvfZ
q_ink[m] has joined #nixos
zupo has joined #nixos
<lukegb> FRidh++ for landing staging-next
<{^_^}> FRidh's karma got increased to 24
<infinisil> Anybody got a nixpkgs PR they would like to have reviewed/merged?
<cole-h> Boy do I
<{^_^}> #103866 (by cole-h, 2 weeks ago, open): doas: 6.6.1 -> 6.8
aleph- has quit [Read error: Connection reset by peer]
Church- has joined #nixos
zupo has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #103866 → doas: 6.6.1 -> 6.8 → https://git.io/Jksbz
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/JIvJE
<infinisil> Merged!
<{^_^}> #102187 (by jkarlson, 4 weeks ago, open): modules/security/pam.nix: add enableSSHAgentAuthNoHome
<siraben> infinisil: yes please https://github.com/NixOS/nixpkgs/pull/103815
<{^_^}> #103815 (by siraben, 2 weeks ago, open): archivy: init at 0.8.5
<cole-h> infinisil++ Thanks :)
<{^_^}> infinisil's karma got increased to 381
<Ke> hmm. my branch has apparently conflicts by now
<{^_^}> [nixpkgs] @lukegb opened pull request #105471 → factorio-experimental, factorio-headless-experimental: 1.1.2 -> 1.1.3 → https://git.io/JIvJM
<Ke> I guess review is still ok
<{^_^}> #104836 (by ncfavier, 5 days ago, open): nixos/nat: support IPv6 NAT
<Ke> well not branch but comimt
zupo has joined #nixos
<infinisil> Will take a look through these!
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to python-unstable: https://git.io/JIvUm
<{^_^}> [nixos-search] @garbas pushed to fix-github-actions « we need to set the default region »: https://git.io/JIvU2
<{^_^}> [nixos-search] @garbas pushed to fix-github-actions « revert debugging stuff »: https://git.io/JIvUF
<boogiewoogie[m]> hey. the `bin/python3` in a python virtualenv is just a symlink to the system python executable. however, executing this symlink via its absolute path somehow still gives the resulting python call the symlink's corresponding virtualenv (i.e. `sys.prefix` and `sys.exec_prefix`), regardless of other factors. I was wondering how this is done, can a symlink somehow communicate with its target when it's run?
<boogiewoogie[m]> not nixos-related, sorry for off-topic. but I was pretty sure there's gotta be someone here who knows this. =)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixos-search] @garbas merged pull request #240 → Correctly replace set-env with Env Files in GitHub Actions → https://git.io/JIehH
<{^_^}> [nixos-search] @garbas pushed to master « AWS_DEFAULT_REGION was missing in our cron github actions (#240) »: https://git.io/JIvTA
<{^_^}> [nixos-search] @garbas pushed 0 commits to fix-github-actions: https://git.io/JIvTx
proofofkeags has joined #nixos
<infinisil> Ke: Yup, reviewed :)
<Ke> infinisil: thanks, but I see that the conflict already resolved the issue I had, I'll just drop the pull request, thanks
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105473 → drill: 0.6.0 -> 0.7.0 → https://git.io/JIvk4
<infinisil> Oh neat
meh` has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #103815 → archivy: init at 0.8.5 → https://git.io/Jk3Fm
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/JIvkE
<Ke> this one
<infinisil> Nice
<infinisil> siraben: Merged!
<{^_^}> [nixpkgs] @jkarlson closed pull request #102187 → modules/security/pam.nix: add enableSSHAgentAuthNoHome → https://git.io/JT9tY
alp_ has quit [Ping timeout: 272 seconds]
<Ke> the other commit was from march, so it had been there for quite a while
c0c0 has quit [Quit: WeeChat 2.9]
<Ke> =o)
<{^_^}> [nixos-homepage] @garbas pushed to github-actions « add nix profile to PATH »: https://git.io/JIvkK
<Ke> maybe it came through via staging or something
<{^_^}> [nixos-homepage] @garbas opened pull request #654 → add nix profile to PATH → https://git.io/JIvkP
<{^_^}> [nix] @edolstra pushed 9 commits to eval-optimisations: https://git.io/JIvkd
<FRidh> boogiewoogie[m]: if I am correct argv contains the path to the symlink, as that is how it is invoked. Then, it checks $argv/bin/../pyvenv.cfg If that file exists, it knows its in a venv, and loads what it should
<FRidh> or more like $(dirname( $argv))/../pyvenv.cfg
<FRidh> *argc and in python you can check sys.executable
<{^_^}> [nixpkgs] @danieldk opened pull request #105474 → WIP: rocm: update to 3.10.0 → https://git.io/JIvIz
<{^_^}> [nixos-homepage] @garbas merged pull request #653 → Proofread explore page → https://git.io/JIehd
<{^_^}> [nixos-homepage] @garbas pushed 5 commits to master: https://git.io/JIvIK
jonatanb has quit [Remote host closed the connection]
<{^_^}> [nixos-homepage] @garbas merged pull request #654 → add nix profile to PATH → https://git.io/JIvkP
<{^_^}> [nixos-homepage] @garbas pushed 2 commits to master: https://git.io/JIvI1
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to github-actions: https://git.io/JIvID
<infinisil> nf: Reviewed, looks pretty good!
zupo has joined #nixos
<nf> thanks!
<infinisil> I've got some more time for PR reviews/merges if anybody wants me to take a look at some :)
<prop_frms> I would like to improve the nix-shell for NixOS configuration as suggested by volth so that localSystem.platform is replicated in the shell environment. https://github.com/NixOS/nixpkgs/issues/25264#issuecomment-312402534
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b6bca3d8061 (from 14 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
stigo has quit [Read error: Connection reset by peer]
zupo has quit [Client Quit]
<emilsp> is there documentation about all the groups that exist by default on nixos? Looking to make my default user able to write to tty devices
<prop_frms> So far I have an overlay with config.nixpkgs.config expanded to just config. See https://psty.io/p?q=52bf3
sigmundv has joined #nixos
stigo has joined #nixos
<mgsk> I have a mkDerivation that I import in configuration.nix. How do I make that available to e.g. a shell.nix? The mkDerivation defines "sbcl", and my shell.nix refers to that name, but it uses the sbcl in nixpkgs
sangoma has quit [Quit: WeeChat 2.9]
<fzakaria> gchristensen: what do you mean drop aws ? In the base Nix installation?
<gchristensen> pkgs.aws is never the tool anyone is looking for
<gchristensen> > pkgs.aws.meta.homepage
<fzakaria> oh lol
<fzakaria> gchristensen: something that comes up a lot for me + when I review PRs is namespacing
<fzakaria> There's too much of a "let's Nixify every single tiny project" in the monorepo that is at odds with that
sangoma has joined #nixos
<gchristensen> yea
UnhinchedMind has quit [Ping timeout: 245 seconds]
Edward- has joined #nixos
<fzakaria> There's some waterfall:
<fzakaria> person learns Nix -> person Nixifies their random application -> person submits it to Nixpkgs -> person never uses nix again & their application has 0 users
<gchristensen> =)
<fzakaria> (i forgot person has now domain squatted)
<fzakaria> I know a lot of discussion on discourse especiall with jringer is about making nix more user friendly & even more open to contributions.
<fzakaria> After having used nix for 1+ year in a professional capacity at work; i want the opposite lol.
Edward- has quit [Remote host closed the connection]
<fzakaria> i mean user friendliness is great; i mean more geared though to professionals/SRE/DevOps & a higher bar for submission of apps or some sort of staging workflow to promote them.
<fzakaria> to `top-level.nix`
<gchristensen> there is a double-edged sword to being so big tent, and one side is if you have it packaged, you have fewer reasons to avoid nix
<Yaniel> top-level.nix is getting inconveniently large tbh
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105476 → elementary-planner: 2.5.4 -> 2.5.7 → https://git.io/JIvto
<Yaniel> a proper, well-publicized search is a lot better for user friendliness
<gchristensen> yea
eoli3n has quit [Remote host closed the connection]
<fzakaria> somehow adopting NUR would be better; or i guess flakes might solve that since there's less of a need to have it all in a monorepo
eoli3n has joined #nixos
<gchristensen> Yaniel: I believe that one problem facing Nix(OS) is we need to be able to grow in a way where users don't feel like their immediate goal is "get it in nixpkgs/nixos"
<fzakaria> but then how do you solve search :)
<Yaniel> NUR/flakes I suppose does solve that
<Yaniel> and some kind of searx thing for discovery
<gchristensen> an example of this is nixos probaly has no business having a module for weechat as a service being evaluated on every nixos-rebuild ever
<fzakaria> lol
<Ke> heh just realized that actually that earlier commit did not fix my pull request issue, just makes workaround a bit easier
<fzakaria> If the burden to maintain moves to authors then I find you'll get higher quality or none at all (my favorite two options)
<gchristensen> hehe
<fzakaria> none > poor
<gchristensen> for some values of none and poor and ecosystem size I agree
<Ke> on my personal nixos I use imports for the modules I want in, why can't nixos modules be like that?
<Ke> I guess imports is slightly nasty, because it gets evaluated early on
<gchristensen> well we don't have a structure for that
<Yaniel> -> flakes
kalbasit_ has joined #nixos
<Yaniel> oh yea *modules*
<Ke> not saying it's really something that could be done today
<Yaniel> can flakes add modules?
<lordcirth__> Flakes solve a lot of stuff. Needs better docs and tools, though
<lukegb> infinisil: #105296 and #105471 :P
<{^_^}> https://github.com/NixOS/nixpkgs/pull/105296 (by lukegb, 1 day ago, open): factorio: add update script
<{^_^}> https://github.com/NixOS/nixpkgs/pull/105471 (by lukegb, 44 minutes ago, open): factorio-experimental, factorio-headless-experimental: 1.1.2 -> 1.1.3
<gchristensen> something like Chef's "Supermarket" would be useful here
<gchristensen> a pattern for ways to people to share modules
<Ke> I guess flakes make me think of some abandonware repo, where user has to evaluate which flakes are still alive
<lordcirth__> Well, the thing about flakes is that abandonware works
<fzakaria> isn't that the case with submissions into nixpkgs anyways ?
<gchristensen> :)
kalbasit has quit [Ping timeout: 256 seconds]
<lordcirth__> It might not be secure, due to patches, but if it worked then it should work now
lordcirth__ is now known as Lordcirth
<Yaniel> tbh flakes also makes things easier to sell to corporate users, for that exact reason :D
<fzakaria> NUR/flakes + ability to register a Git/Hg repository to be indexed/search following some convention.
<Ke> lordcirth_: freezing your system to stone age is not wroking imo
<fzakaria> as a corporate user i don't seem to care at all about flakes
<fzakaria> Niv got me 100% there
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105296 → factorio: add update script → https://git.io/JkNwD
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JIvqB
<Lordcirth> Ke, it's not ideal, but neither is having a prod you can't rebuild
<Ke> even failing to compile is better than depending on years old stuff
<fzakaria> I think you underestimate how old corporate world depends on "old stuff"
<Ke> but then you don't even get a warning that your system is broken
<Lordcirth> With a working baseline, you can try to update it and fix problems as they arise. With a non-working baseline, you may not know why it doesn't compile and don't know where to start.
<Ke> which is imo quite horrible
<Lordcirth> You definitely want to document and/or have something checking for deps that are old
<Ke> fzakaria: I am not corporate world
<supersandro2000> lukegb: I let you wait one day. That is really short for nixpkgs time
<Lordcirth> "If I update glibc from X.Y to X.Z it crashes" is a lot better than "it worked 3 years ago and not now"
<Ke> I guess it would be ok for me, if you could set some minimum age for flake's deps
<Ke> maximum...
<gchristensen> fzakaria: "old stuff" heh yea
<Lordcirth> Yeah, a tool that checked flake.lock's and looked up the commit dates would be pretty cool
<lukegb> supersandro2000: yeah, I know, but my factorio ⚙️
<infinisil> lukegb: Hehe, supersandro2000 was faster :)
<lukegb> On a related note I've been trying to go through nixpkgs PRs in reverse order and see whether the _really old ones_ are still moving
<infinisil> ,random-pr
<{^_^}> https://github.com/NixOS/nixpkgs/pull/93365 (by fzakaria, 19 weeks ago, open): spacevim: init at c937c0e
<infinisil> I've been using this occasionally ^
<lukegb> yeah, that's neat too
<Lordcirth> That's neat
<fzakaria> NixOS/Nixpkgs should go lean and then have two variants; one variant should be highly curated & crafted.
<fzakaria> The bottom tier should be extremely minimal.
<fzakaria> infinisil: cool cmd
<Lordcirth> fzakaria, BSD style? With a clear line between OS and other programs?
<{^_^}> [nixpkgs] @grahamc merged pull request #105452 → tree-wide: do not use pkgs.extend in nixpkgs → https://git.io/JIevJ
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JIvmI
<lukegb> It depends how lean: is lean "lean enough to build the minimal ISO" or "lean enough to build the GNOME/KDE ISOs"?
<simpson> Are there any practices within nixpkgs for marking Nix expressions as generated by tools? I am fixing a file which was hand-edited several times, and would be glad to include it in some list of files which generate a warning when edited or something for maintainers.
<fzakaria> I'd leave that up to a BFDL but probably include basic programming language support & system services.
<Ke> I think archlinux also has tiers
<Ke> like core, whatever and user contributed aur
<Lordcirth> simpson, I would just put a comment at the top
<supersandro2000> lukegb: the factory must grow!
<boogiewoogie[m]> FRidh: aah, I see. yeah, makes sense. thanks for clearing this up for me!
<simpson> Lordcirth: There is one, but that didn't stop folks. I'm updating the docs and hopefully that will at least clear up what folks are supposed to do.
<lukegb> simpson: add one at the bottom as well :>
<lukegb> Unless people are editing it in the middle, in which case, oh well
<supersandro2000> fzakaria: just install nix and only use nix-shell. Can't get more minimal than that
<{^_^}> [nixpkgs] @adisbladis opened pull request #105477 → poetry2nix: 1.13.0 -> 1.14.0 → https://git.io/JIvmW
zupo has joined #nixos
<simpson> lukegb++ Lordcirth++ commonsense
<{^_^}> Lordcirth's karma got increased to 1
<{^_^}> lukegb's karma got increased to 0x5
czer00 has quit [Ping timeout: 264 seconds]
zupo has quit [Client Quit]
<fzakaria> supersandro2000: :)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105470 → awscli2: fix bash completion name → https://git.io/JIejF
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIvm1
czer00 has joined #nixos
mallox has quit [Quit: WeeChat 2.9]
<woffs> {^_^}++
<{^_^}> {^_^}'s karma got increased to 0xdf
<hexa-> <3 {^_^}
<{^_^}> {^_^}'s karma got increased to 224
mallox has joined #nixos
berberman has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105460 → checkstyle: 8.37 -> 8.38 → https://git.io/JIeiO
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIvYc
<{^_^}> [nixpkgs] @hlandau opened pull request #105478 → boost: fix cross-compile support → https://git.io/JIvYl
berberman_ has quit [Ping timeout: 260 seconds]
sangoma has quit [Ping timeout: 256 seconds]
mallox has quit [Client Quit]
hlolli_ has quit [Ping timeout: 272 seconds]
pinpox is now known as |^_^|
|^_^| is now known as pinpox
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #105479 → skribilo: 0.9.4 -> 0.9.5 → https://git.io/JIvOB
Ariakenom_ has joined #nixos
<fzakaria> I was sharing this little tool i'm writing: https://asciinema.org/a/AcR3pbxVRt7leBuF6ds9e8epQ
<fzakaria> Curious if others want to hack on it with me this week.
neiluj has joined #nixos
neiluj has joined #nixos
Ariakenom has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jansol opened pull request #105480 → renderdoc: 1.10 -> 1.11 → https://git.io/JIv3s
<lukegb> fzakaria: ooh, that's pretty neat :P
<fzakaria> It needs to be way smarter, since you have to diamond dependency resolve.
<fzakaria> i.e. in the Ruby example, if libruby resolved to /nix/store already has glibc then you probably want to pick that instead of the one listed in the top ELF
<fzakaria> but i think there's something neat there to play with.
<Yaniel> ooh that is convenient
ris has joined #nixos
iH8c0ff33 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105468 → consul: 1.8.6 -> 1.9.0 → https://git.io/JIeNv
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIvsv
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #105464 → codeql: 2.3.3 -> 2.4.0 → https://git.io/JIeHs
<{^_^}> [nixpkgs] @SuperSandro2000 reopened pull request #105464 → codeql: 2.3.3 -> 2.4.0 → https://git.io/JIeHs
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105464 → codeql: 2.3.3 -> 2.4.0 → https://git.io/JIeHs
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIvsL
pinpox is now known as |^_^|
iH8c0ff33 has quit [Ping timeout: 260 seconds]
|^_^| is now known as pinpox
vidbina has joined #nixos
<{^_^}> [nixpkgs] @erictapen merged pull request #105471 → factorio-experimental, factorio-headless-experimental: 1.1.2 -> 1.1.3 → https://git.io/JIvJM
<{^_^}> [nixpkgs] @erictapen pushed commit from @lukegb to master « factorio-experimental, factorio-headless-experimental: 1.1.2 -> 1.1.3 »: https://git.io/JIvsF
<lukegb> woot woot
hexo- has quit [Quit: ZNC - http://znc.in]
_Adluc_ has quit [Quit: ZNC - http://znc.in]
rtjure_ has joined #nixos
<{^_^}> [nixpkgs] @MostAwesomeDude opened pull request #105481 → doc/builders/packages/xorg: Convert to CommonMark. → https://git.io/JIvGY
Adluc has joined #nixos
rtjure has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @edolstra pushed to eval-optimisations « Fix filterSource applied to a partial application »: https://git.io/JIvGV
cosimone has quit [Quit: cosimone]
<{^_^}> [nixpkgs] @ryantm merged pull request #105300 → Convert Emacs documentation from XML DocBook to Commonmark → https://git.io/JkNX6
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JIvGj
Adluc has quit [Quit: ZNC - http://znc.in]
Adluc has joined #nixos
jonatanb has joined #nixos
Adluc has quit [Client Quit]
Adluc has joined #nixos
Adluc has quit [Remote host closed the connection]
SomeoneSerge has joined #nixos
<SomeoneSerge> Hi! How do I make a derivation that just copies a file from repo to the store as is?
Adluc has joined #nixos
_Adluc_ has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105473 → drill: 0.6.0 -> 0.7.0 → https://git.io/JIvk4
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to staging: https://git.io/JIvZ6
<{^_^}> [nixpkgs] @zimbatm merged pull request #105451 → python: pip-tools: 5.3.1 -> 5.4.0 → https://git.io/JkjpN
<{^_^}> [nixpkgs] @zimbatm pushed commit from @groodt to master « python: pip-tools: 5.3.1 -> 5.4.0 (#105451) »: https://git.io/JIvZX
<simpson> SomeoneSerge: Typically you can just use paths as if they were derivations. What are you stuck on?
<SomeoneSerge> simpson: ah, there's just an .sh which I want to make a defaultPackage in my flake.nix - and I realized I'm not sure what's the canonical way to do so
<SomeoneSerge> trivial but eh
<SomeoneSerge> * default app
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105482 → fend: 0.1.10 -> 0.1.11 → https://git.io/JIvng
<simpson> I don't know much about flakes, sorry.
hexo| has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c915b230056 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<octe> shouldnt a package defined with gcc10Stdenv.mkDerivation rec {} use gcc10?
<{^_^}> [nixpkgs] @kalbasit merged pull request #105378 → twtxt: init at 0.1.0 → https://git.io/JkpLL
<{^_^}> [nixpkgs] @kalbasit pushed commit from @siraben to master « twtxt: init at 0.1.0 (#105378) »: https://git.io/JIvcZ
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105446 → python37Packages.colander: 1.8.2 -> 1.8.3 → https://git.io/Jkj9m
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JIvcB
_Adluc_ has quit [Quit: ZNC - http://znc.in]
hexo| has quit [Client Quit]
hexo- has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #105189 → QMPlay2: init at 20.07.04 → https://git.io/Jkd2B
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JIvcD
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #105411 → ucg: init at 20190225 → https://git.io/JkpN1
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JIvcd
alp_ has joined #nixos
zupo has joined #nixos
pushqrdx has quit [Ping timeout: 256 seconds]
lordcirth_ has quit [Quit: ZNC 1.8.1 - https://znc.in]
lordcirth_ has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #99115 → lib/modules: Make sure to not import module _file's into the store → https://git.io/JUM40
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JIvCa
<virus_dave> Can I get a merge? https://github.com/NixOS/nixpkgs/pull/104809
<{^_^}> #104809 (by virusdave, 5 days ago, open): unison-ucm 1.0.M1l-alpha -> 1.0.M1m-alpha
SomeoneSerge has quit [Ping timeout: 240 seconds]
<fzakaria> Can someone help me triage this failure:
<fzakaria> ```error: moving build output '/nix/store/bwnk6ziyxrxda2wblvpmb1dkpvcx3qw4-source' from the sandbox to the Nix store: Permission denied```
<fzakaria> My nix seems to get into a weird state where doing a `nix-build` fails
<fzakaria> When i do a `nix-build --option sandbox false` which succeeds, then the above works.
<fzakaria> (after deleting the /nix/store created entry to rebuild)
<{^_^}> [nixos-homepage] @garbas pushed 10 commits to improve-readme: https://git.io/JIvCp
<fzakaria> so odd..
<{^_^}> [nixpkgs] @Infinisil merged pull request #104809 → unison-ucm 1.0.M1l-alpha -> 1.0.M1m-alpha → https://git.io/JkMkA
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JIvWJ
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @siriobalmelli opened pull request #105483 → python3Packages.pyserial: 3.4 -> 3.5 → https://git.io/JIvWV
<{^_^}> nix#4295 (by fzakaria, 2 minutes ago, open): error: moving build output '/nix/store/...-source' from the sandbox to the Nix store: Permission denied
<bourbon> Will Android be the next reproducible linux distro? https://blog.bazel.build/2020/11/12/aosp_migrating_to_bazel.html
pushqrdx__ has joined #nixos
jonatanb has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105484 → fondo: 1.3.10 -> 1.4.0 → https://git.io/JIvlc
jonatanb has joined #nixos
<simpson> bourbon: "Google’s Bazel rules for building Android apps will be open sourced, used in AOSP, and maintained by Google" is the actual motivation; it's not a r13y situation.
pushqrdx__ has quit [Client Quit]
pushqrdx has joined #nixos
<bourbon> it hit my radar because it's an OS build on bazel
<bourbon> even if they're not doing it for reproducibility, advocates could push it there
<bourbon> is an interesting benefit of getting it on to bazel if they go that way
jonatanb has quit [Ping timeout: 240 seconds]
<samueldr> IIRC android already is binary reproducible
<samueldr> not 100% sure though
<samueldr> might be only some components only
FRidh has quit [Quit: Konversation terminated!]
<samueldr> not sure if the initial post means that upstream Android is reproducible or only that it turns out it is for Robotnix https://github.com/danielfullmer/robotnix/issues/18
<{^_^}> danielfullmer/robotnix#18 (by danielfullmer, 28 weeks ago, open): Automatic verification of reproducibility
cosimone has joined #nixos
_Adluc_ has joined #nixos
<{^_^}> [nixpkgs] @MostAwesomeDude opened pull request #105485 → doc/builders/packages/opengl: Convert to CommonMark. → https://git.io/JIv87
<virus_dave> Thanks @infinisil
vidbina has quit [Ping timeout: 246 seconds]
<prop_frms> SomeoneSerge: stdenv.mkDerivation { name = "target-name.sh"; src = ./source.sh; installPhase = ''cp $src $out'' phases = [ "installPhase" ]; }
endformationage has joined #nixos
<{^_^}> [nixpkgs] @bachp opened pull request #105486 → Samba 4.13.2 → https://git.io/JIv4r
<{^_^}> [nixpkgs] @kisik21 opened pull request #105487 → gst-plugins-good: fix aarch64 builds and make raspi deps optional → https://git.io/JIv4M
hexo^ has joined #nixos
halfbit has quit [Read error: Connection reset by peer]
<bigvalen> If you run a local caching nameserver, and break the config, so your machine no longer can look up addresses...but 'nixos-rebuild' won't work, because you can't find cache.nixos.org - what do you do ?
<bigvalen> Just ... er ... speaking theoretically. I'd never be stupid enough to do that.
zupo has joined #nixos
<gchristensen> roll back to a previosu generation
<gchristensen> /nix/var/nix/profiles/system-.../bin/switch-to-configuration switch
<{^_^}> [nixpkgs] @petabyteboy opened pull request #105488 → unifiBeta: 6.0.28 -> 6.0.36 → https://git.io/JIvBB
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105484 → fondo: 1.3.10 -> 1.4.0 → https://git.io/JIvlc
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIvB2
<ben_> Is there a way to get the signature of a lambda? Similar to builtins.attrNames
<thibm> bigvalen: you don't need cache.nixos.org to build the config anyway
<thibm> (but you would need to resolve other domains of course)
<bigvalen> Hmm. Maaabe my fix was going to be "dump bind, use unbound instead"
fendor has quit [Remote host closed the connection]
<qyliss> bigvalen: I'd do --option substitute false
<thibm> ben_: there's lib.functionArgs
<qyliss> which will also help you if you want to switch to a new config while offline, as long as you don't need anything new from the internet to built it
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #105489 → rst2html5: 1.9.4 -> 1.10.6 → https://git.io/JIvBb
<bigvalen> qyliss, As in, use that to override an option like 'networking.nameservers' ?
<ben_> thibm: Thanks!
<qyliss> bigvalen: use that as an argument to nixos-rebuild, and it won't try to talk to cache.nixos.org
<{^_^}> [nixpkgs] @veprbl opened pull request #105490 → texlive.bin.dvisvgm: texlive 2.8.1 -> upstream 2.11 → https://git.io/JIvR3
Alastair has joined #nixos
noudle has joined #nixos
<bigvalen> Nice.
Cale has quit [Ping timeout: 240 seconds]
Cale has joined #nixos
<drakonis> aight yalls, is there a thing to diff generations?
<thibm> drakonis: there's nix-diff
<prop_frms> I managed to pass through localSystem by removing the system argument from mirror-closure in order to avoid the legacy system assertion in impure.nix. nix-nixos repl '<nixpkgs>' is showing config.nixpkgs.localSystem set in the same manner as the system configuration. However, spot checking haskellPackages.cryptonite.drvPath by grepping for requiredSystemFeatures shows the package derivations in the repl
<energizer> ,locate bin/aticonfig
<prop_frms> have not inherited the environment (should be set to "gccarch-${localSystem.gcc.arch}"). Should I pass through a stdenv as well? https://psty.io/p?q=49f97
<{^_^}> Couldn't find in any packages
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<energizer> where is aticonfig?
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
juboba has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105491 → go-migrate: 4.13.0 -> 4.14.1 → https://git.io/JIvEq
<juboba> what's the simplest way of modifying the sources of `st` (a simple terminal that gets configured by editing the sources)? Should I create a nix derivartion?
<prop_frms> BTW, I'm trying to setup this environement to debug a test failure in cryptonite (as packaged in 20.09) related to setting gcc.arch (I am able to reproduce hydra's successful build without optimizations).
vesper11 has quit [K-Lined]
iH8c0ff33 has joined #nixos
<thibm> juboba: the easiest way is to do `st.overrideAttrs (_: { src = …; })`
<juboba> thanks thibm, where can I see documentation for this?
<juboba> (what concept should I look for)
<prop_frms> I have just been setting haskell.lib.dontCheck in an overlay as the test failure is not reflected in git-annex for which it is a dependency.
<thibm> The concept is "overriding"
<juboba> thank you
<thibm> juboba: just be aware that, due to the shape of suckless tools, there's a simple way to apply patches to st's source
<thibm> but that's really specific to suckless tools.
<thibm> (it's still overriding tough)
<{^_^}> [nixpkgs] @alunduil opened pull request #105492 → nixos/nixpkgs/docs: fix typo in assertOneOf example → https://git.io/JIvEN
mkaito has quit [Quit: WeeChat 2.9-dev]
Profpatsch has joined #nixos
iH8c0ff33 has quit [Ping timeout: 265 seconds]
<Profpatsch> Is there a way to get the hash of the latest release of nixos?
<Profpatsch> Something like nixos.org/releases/20.09/git-revision, but which always points to the latest stable nixos release
<Alastair> I upgraded to 20.09 and mingetty.autologin doesn't seem to work for me anymore.
<Alastair> From 19.09 that is. I had `users.users.root.hashedPassword = "*";` But that doesn't seem to work anymore
<Alastair> Anyone else have this problem?
<Lordcirth> Alastair, do you have mutableUsers = false; ?
<Alastair> Yup
<Lordcirth> Alastair, and you did a nixos-rebuild and rebooted?
<thibm> Profpatsch: there's a service by graham IIRC
<Alastair> No. I'm creating installer images. When I used 19.09 the installed images would autologin, but now it doesn't anymore
alp_ has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
malook has joined #nixos
alp_ has joined #nixos
cosimone has joined #nixos
<thibm> Profpatsch: https://channels.nix.gsc.io/
<Lordcirth> Alastair, hmm. Can you paste the whole config you are using to build?
juboba has quit [Ping timeout: 240 seconds]
<Profpatsch> thibm: that looks like a mirror of releases.nixos.org
<thibm> it's not
<Profpatsch> Even if it’s not, I don’t see an entry that points to the latest stable nixos
<gchristensen> there is no "latest stable", no
<Profpatsch> I wonder how flakes does that?
<gchristensen> something about a registry probably
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105493 → goreleaser: 0.147.2 -> 0.148.0 → https://git.io/JIvzv
<Alastair> Lordcirth Sure. It's split across a few files but the relevant one is here: https://github.com/Holo-Host/holo-nixpkgs/blob/76de31f1b97cb504fcba5ced27a995a7c08af464/profiles/logical/hpos/default.nix#L77
puck has quit [Remote host closed the connection]
<Alastair> I only get this issue when using an installer to install a new image. If I upgrade an existing 19.09 image to the same as the installed image, autoLogin seems to work fine
<Lordcirth> Alastair, can you try building a 20.09 image with system.stateVersion= "19.09"?
<Alastair> Sure
<{^_^}> [nixpkgs] @alunduil opened pull request #105494 → nixos/nixpkgs/doc: add missing operator to attrsets.mapAttrs example. → https://git.io/JIvzp
<Lordcirth> As that is the most obvious difference between a fresh install and an upgrade
noudle has quit []
<Alastair> Should `users.users.root.hashedPassword` be `""` or `*`?
<Alastair> `"*"`
puck has joined #nixos
<Lordcirth> Alastair, emptystring will allow local login, null will disallow login
<Lordcirth> "*" would presumably also disallow login
nehsou^ has quit []
ericsagnes has quit [Ping timeout: 268 seconds]
tsrt^ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105495 → gping: 0.1.7 -> 1.0.1-post2 → https://git.io/JIvgS
Profpatsch has left #nixos ["WeeChat 2.9"]
<{^_^}> [nixpkgs] @erictapen merged pull request #105488 → unifiBeta: 6.0.28 -> 6.0.36 → https://git.io/JIvBB
<{^_^}> [nixpkgs] @erictapen pushed commit from @petabyteboy to master « unifiBeta: 6.0.28 -> 6.0.36 »: https://git.io/JIvg7
<{^_^}> [nixpkgs] @3699n opened pull request #105496 → Update etesync-dav to 0.30.6 and add etebase to python-modules → https://git.io/JIvg5
<Alastair> Lordcirth Thanks. `"*"` allowed local login in 19.09 but in the 20.09 comments it says it does not set a password, which I intepret to mean cannot log in.
<Lordcirth> Alastair, I was just looking at https://nixos.org/manual/nixos/stable/options.html#opt-users.extraUsers._name_.hashedPassword
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
nschoe has quit [Ping timeout: 272 seconds]
<Alastair> Lordcirth I'm not very familiar with Grub - would this be a same login as the the terminal login?
tlaxkit has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105497 → gpx: 2.6.7 -> 2.6.8 → https://git.io/JIv2u
<Alastair> My log in prompt shows up after the <Welcome to NixOS 20.09 ... > text
SomeoneSerge has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #105483 → python3Packages.pyserial: 3.4 -> 3.5 → https://git.io/JIvWV
<{^_^}> [nixpkgs] @jonringer pushed commit from @siriobalmelli to master « python3Packages.pyserial: 3.4 -> 3.5 »: https://git.io/JIv2a
Ariakenom_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @markuskowa merged pull request #105482 → fend: 0.1.10 -> 0.1.11 → https://git.io/JIvng
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JIv25
<{^_^}> [nixpkgs] @raboof opened pull request #105498 → git: make manual reproducible → https://git.io/JIv2d
<Lordcirth> Alastair, nothing to do with Grub. Mingetty is a service launched on startup.
<Alastair> Ok. Well I tried with `stateVersion = 19.09` and no luck
<Alastair> I also tried to login and couldn't (just in case)
<Lordcirth> Alastair, this is with hashedPassword = ""; ?
<Alastair> Yup
<Lordcirth> Trying 20.03 might help narrow down the issue?
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #105489 → rst2html5: 1.9.4 -> 1.10.6 → https://git.io/JIvBb
seku has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JIvay
ericsagnes has joined #nixos
hisham is now known as CodeWarrior
<Alastair> Lordcirth As in downgrading from NixOS 20.09 to 20.03?
<Lordcirth> Alastair, building a 20.03 image. You said that 19.09 worked, and 20.09 does not. So if you try 20.03, that may help you figure out what change caused this
<Alastair> Got it
<Lordcirth> Then you can perhaps git bisect from there, if need be
<Alastair> Think I will wait until tomorrow to try that. Thanks for taking a look!
<{^_^}> [nixpkgs] @petabyteboy opened pull request #105499 → ell, iwd: update → https://git.io/JIvaA
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « write to stdout »: https://git.io/JIvVv
<Lordcirth> Alastair, no problem, good luck. Let me know if you figure it out
tlaxkit has joined #nixos
thibm has quit [Quit: WeeChat 2.6]
<catern> are overlays not usable from within packageOverrides in config.nix? I'm using an overlay (emacs-overlay), it seems to work fine (nix-env -iA nixpkgs.emacsGit works, which is added by the overlay) but if I use packages from the overlay in packageOverrides, they aren't there
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #105500 → python3packages.bme680: Mark Linux only as upstream → https://git.io/JIvVV
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105480 → renderdoc: 1.10 -> 1.11 → https://git.io/JIv3s
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIvV6
neiluj has quit [Ping timeout: 272 seconds]
<sphalerite> catern: no, you'll probably want to use another overlay rather than packageOverrides.
neiluj has joined #nixos
hello90 has joined #nixos
<hello90> hello
<sphalerite> catern: packageOverrides is just the first overlay that's applied essentially, except it's less powerful than an actual overlay since it doesn't get the self argument, only super.
Lordcirth has quit [Remote host closed the connection]
<hello90> I'm in the middle of installing nixos when the gnome lockscreen gets in the way
<hello90> I don't know the nixos user's password
<hello90> it's supposed to be empty
<hello90> but simply hitting enter for the password doesn't work
<hello90> the install script is running behind the lockscreen
<hello90> I can't know when it's finished
<hello90> what on earth is the password
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « be smarted on what we watch »: https://git.io/JIvwO
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105501 → gtk-layer-shell: 0.3.0 -> 0.5.1 → https://git.io/JIvwZ
neiluj has quit [Changing host]
neiluj has joined #nixos
Alastair has quit [Ping timeout: 245 seconds]
hexo^ has quit [Quit: ZNC - http://znc.in]
_Adluc_ has quit [Quit: ZNC - http://znc.in]
_Adluc_ has joined #nixos
zupo has joined #nixos
<sphalerite> hello90: you can try switching to another tty and setting a password
<sphalerite> hello90: i.e. press ctrl-alt-f3, it should log you in, and you can then set a password using passwd
<sphalerite> or using `sudo passwd nixos` if that requires a password which you can't enter
Adluc has quit [Quit: ZNC - http://znc.in]
hexo- has quit [Write error: Connection reset by peer]
<hello90> thank you very much! That didn't even cross my mind
Adluc has joined #nixos
spudly111 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to master « gotify-server: fix UI delivery »: https://git.io/JIvrI
<sphalerite> hello90: the screen probably shouldn't lock in the graphical installer though, or at least not require a password to unlock. Feel free to report an issue at https://github.com/nixos/nixpkgs/issues
spudly111 has joined #nixos
<hello90> oh I sure will, no one has to go through this
iH8c0ff33 has joined #nixos
<hello90> sphalerite: I'm very new to all this, sorry but why nixpkgs?
<sphalerite> because that's where nixos lives as well :)
<prop_frms> Anyone know how to set the stdenv of a nix repl to the same the current NixOS system? (i.e. bash = /run/current-system/sw/bin/bash etc.)
hexo- has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ed00136ee8a (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ed00136ee8a (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<hello90> oh yeah there is a "nixos" folder there
<hello90> I thought it had its own repo
<sphalerite> prop_frms: stdenv won't generally use the same bash as the system, since the system uses bashInteractive
<hello90> well, at least the installer
<sphalerite> hello90: nope, it's all in nixpkgs ^^
<catern> sphalerite: I see, I see, how frustrating
Adluc has quit [Quit: ZNC - http://znc.in]
<catern> sphalerite: should I just move my packageOverrides into a separate file in .config/nixpkgs/overlays/my.nix ?
<sphalerite> catern: #43266 :p
pushqrdx has quit [Ping timeout: 240 seconds]
<{^_^}> https://github.com/NixOS/nixpkgs/issues/43266 (by lheckemann, 2 years ago, open): Deprecate packageOverrides?
pushqrdx has joined #nixos
<sphalerite> catern: yeah that would make sense probably
Adluc has joined #nixos
Adluc has quit [Remote host closed the connection]
Adluc has joined #nixos
Adluc has quit [Remote host closed the connection]
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
<{^_^}> [nixpkgs] @markuskowa opened pull request #105503 → openmolcas: fix hash → https://git.io/JIvoJ
Jonathan82 has joined #nixos
<ToxicFrog> Anyone else seeing "JWS verification error" with ACME over the past ~week?
<catern> overlays is kind of awkward though
<catern> I've spent a fair bit of time telling my users to use packageOverrides, heh
ben_ has quit [Ping timeout: 240 seconds]
ben_ has joined #nixos
<catern> it's kind of annoying to have to tell them to split out any customizations into a separate file - is there some way to have an overlay in the same file? well... I guess it only matters if they're using a second overlay
<sphalerite> ToxicFrog: #101445 — I'm guessing you upgraded t0 20.09?
<{^_^}> https://github.com/NixOS/nixpkgs/issues/101445 (by symphorien, 5 weeks ago, open): ACME fails with JWS verification error
<Jonathan82> Can I install the Nix package manager on an ARM device?
<sphalerite> Jonathan82: yes
<Jonathan82> The install script failed.
<ToxicFrog> sphalerite: thanks
<{^_^}> [nixpkgs] @dywedir opened pull request #105505 → pijul: 1.0.0-alpha.8 -> 1.0.0-alpha.11 → https://git.io/JIvoR
<Jonathan82> sphalerite Should the install script work?
<sphalerite> Jonathan82: on aarch64, I think so. On 32-bit ARM architectures, I think there are no official binaries
ericsagnes has quit [Read error: No route to host]
ericsagnes has joined #nixos
<prop_frms> sphalerite: Understood. I was rather trying to refer to the builder bash as referenced in all store derivations (.drv files) of the current generation. Does this have a well known name?
<sphalerite> prop_frms: stdenv.shell points to the executable directly, stdenv.shellPackage is the derivation
<sphalerite> prop_frms: assuming you're on the same nixpkgs version that the system was built from, that is
spudly111 has quit [Ping timeout: 256 seconds]
<prop_frms> sphalerite: Right... I'm just looking to set a custom stdenv as I'm building with gcc.arch (which effects all of the stdenv including the non-binary early stages)
<prop_frms> sphalerite: I just have <nixpkgs> set from the root channel and no channels in any user.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105506 → hugo: 0.78.2 -> 0.79.0 → https://git.io/JIvKr
<Jonathan82> The nix install script is failing on my PinePhone (with Arch), which should be aarch64, so it should have binaries.
<prop_frms> sphalerite: So everything is building from the same nixpkgs... just a different stdenv as nix repl does not inherit localSystem from configuration.nix.
<hello90> hello again,
philr has joined #nixos
nckx is now known as ncksneekx
ncksneekx is now known as nckx
<prop_frms> sphalerite: See https://github.com/NixOS/nixpkgs/issues/25264 for a discussion of the potential distinction.
<{^_^}> #25264 (by volth, 3 years ago, closed): How to tell nix-build/nix-shell to pick up config and overlays from nixos configuration?
<sphalerite> Jonathan82: then we'll need some more details on how it's failing to be able to help.
<hello90> I added a user in my configuration.nix file like so: `users.users.nixy = { isNormalUser = true ; extraGroups = [ "wheel" ] };`
<sphalerite> hello90: missing semicolon between ] and }
Jonathan82 has quit [Remote host closed the connection]
iH8c0ff33 has quit [Quit: WeeChat 3.0]
<hello90> yes I didn't actually make that mistake, but don't worry the system built
Jonathan3 has joined #nixos
<hello90> spalerite: now I can't log into nixy because apparently I forgot to set a passwd
<hello90> nor can I change the passwd
<Jonathan3> Ah shoot. I did not post the error report because it was useless. But I see now above it, it says rsync was not found.
<hello90> I get a passwd: Permission denied
<Jonathan3> Thanks, I guess. Sorry for the dumb question.
<hello90> running this as the root user
<sphalerite> hello90: huh, that's odd. Did you set users.mutableUsers to false?
<hello90> interestingly, if I add sudo, I get a `PERM_SUDOERS: setresuid(-1,1,-1): Operation not permitted`
<hello90> sphalerite: no I didn't
<sphalerite> uuuuh.
<sphalerite> That's weird.
<hello90> all I did was build the system with `nixos-install` and reboot
spudly1 has joined #nixos
<sphalerite> I have no idea what's wrong there
<sphalerite> and I need to sleep
<hello90> oh sorry
<hello90> maybe I can just change the user's name, and make sure to set the password right after building
<hello90> I can build with nix-build right?
<sphalerite> nixos-rebuild switch
<sphalerite> good luck, and good night! :)
<hello90> umm, what's the difference please x)
<hello90> oh good night
<hello90> nvm
<hello90> nvm
<hello90> nix-build is for pkgs haha
<ben_> How can I start debugging output like `builder for 'nix/store/...' failed to produce output path 'nix/store/...'`? I have what I think is a very simple nix script here: https://pastebin.com/1rCHTv25
<{^_^}> [nixpkgs] @Stunkymonkey reopened pull request #104111 → octoprint: add plugin option-type → https://git.io/Jk8G7
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « mention binary cache »: https://git.io/JIviU
<hello90> well, I can't even rebuild the system
<{^_^}> [nixos-search] @garbas pushed to fix-207 « use lowercase filter on edge analyzer »: https://git.io/JIviI
<hello90> I get `setting up a private mount namespace: Operation not permitted`
<{^_^}> [nixos-search] @garbas opened pull request #241 → Use lowercase filter on edge analyzer → https://git.io/JIvit
<hello90> I sense that something is very wrong
sss2 has joined #nixos
<hello90> I am awfully sorry
<hello90> I logged into gnome as root, of course this happened
<hello90> I'm not thinking straight
<hello90> using a tty to change the password is fine
<hello90> how silly!
<qyliss> Can anyone tell me what I need to do to use Adwaita-dark as the default GTK theme on NixOS?
<hello90> I would say insall gnome tweaks
<qyliss> I've made a $XDG_CONFIG_HOME/gtk-3.0/settings.ini and as far as I can tell it's correct, and I've installed gnome3.gnome_themes_standard
<qyliss> I'll give it a go to try to see what it does, but I'm hoping to do it purely with Nix
Lordcirth has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105507 → inboxer: 1.2.1 -> 1.2.3 → https://git.io/JIvPJ
<{^_^}> [nixpkgs] @chkno opened pull request #105508 → mojave-gtk-theme: 2020-03-19 -> 2020-11-29 → https://git.io/JIvPg
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hello90> hello, what's the difference between installing packages through configuration.nix o through nix-env -iA ?
Jonathan3 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @delroth opened pull request #105509 → sudo: 1.9.3p1 -> 1.9.4 → https://git.io/JIvPx
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « Update README.md »: https://git.io/JIvXf
<qyliss> ,imperative hello90
<{^_^}> hello90: nix-env has multiple drawbacks as an imperative package manager. nix-env -u will sometimes upgrade to the wrong thing; the outputs to install are very finicky to override; and packages that have been removed or are otherwise unavailable will remain in your profile without any warnings. Consider using a ,declarative setup instead.
__monty__ has quit [Quit: leaving]
<hello90> so it's recommended to use configuration.nix
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105510 → iosevka-bin: 3.7.1 -> 4.0.0 → https://git.io/JIvXs
<{^_^}> [nixpkgs] @romildo opened pull request #105511 → mojave-gtk-theme: 2020-03-19 -> 2020-11-29 → https://git.io/JIvXG
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « Update README.md »: https://git.io/JIvXZ
<qyliss> hello90: strongly
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « Update README.md »: https://git.io/JIvXW
<hello90> qyliss: it's weird because the NixOS manual has this line `nix-env -f '<nixpkgs>' -iA w3m`
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « Update README.md »: https://git.io/JIvX8
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « Update README.md »: https://git.io/JIvXB
<hello90> "installs the w3m browser. "
Lordcirth has quit [Remote host closed the connection]
<qyliss> hello90: we should probably just remove that
Lordcirth has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « Update flake.nix »: https://git.io/JIvXi
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « Update README.md »: https://git.io/JIvXX
<{^_^}> [nixpkgs] @romildo closed pull request #105511 → mojave-gtk-theme: 2020-03-19 -> 2020-11-29 → https://git.io/JIvXG
<hello90> yes that would less confusing x)
<hello90> I'm loving this distro, nixpkgs is suprisingly large
<hello90> it blows my mind
jmeredith has joined #nixos
cosimone has quit [Quit: cosimone]
court_jester has quit [Remote host closed the connection]
<hello90> if I want to add a pkg from the gnome3 "group"
<hello90> do I just add it in systemPackages or is there a gnome configuration syntax for that?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105512 → jackett: 0.16.2236 -> 0.16.2269 → https://git.io/JIv18
<qyliss> hello90: you just do gnome3.whatever in environment.systemPackages
<hello90> qyliss: thanks!
<{^_^}> [nixpkgs] @jonringer opened pull request #105513 → zfs: 0.8.5 -> 2.0.0 → https://git.io/JIv1P
Lordcirth has quit [Ping timeout: 264 seconds]
aminechikhaoui has quit [Read error: Connection reset by peer]
aminechikhaoui has joined #nixos
<hello90> umm, what about gnome extensions?
srk has quit [Ping timeout: 240 seconds]
<qyliss> don't know :(
srk has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « add the serve script »: https://git.io/JIv1H
Lordcirth has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « forgot to commit this as well »: https://git.io/JIv1A
rotaerk has quit [Ping timeout: 260 seconds]
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
<{^_^}> [nixpkgs] @AndersonTorres closed pull request #101243 → hdl-dump: init at 2020-07-28 → https://git.io/JTED3
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #105514 → hdl-dump: init at 20202807 → https://git.io/JIvMc
<{^_^}> [nixpkgs] @jonringer pushed 5 commits to python-unstable: https://git.io/JIvMB
rprije has joined #nixos
<ben_> How can I get a builder script to write something basic to a file? A script like `echo test > file.txt` doesn't seem to do what I'm expecting.
eoli3n has quit [Ping timeout: 240 seconds]
tlaxkit has quit [Ping timeout: 260 seconds]
<Orbstheorem> Where can I find the list of primops available in Nix 2.0 restricted mode?
<Orbstheorem> Basically I would like to import all .nix files in a directory, but upon switching to using flakes, it refuses to import "calculated" paths.
<infinisil> ben_: What doesn't work about that?
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « add serve command and move scripts to scripts/ folder »: https://git.io/JIvDs
<ben_> infinisil: builder for '/nix/store/...' failed to produce output path ...
<Orbstheorem> ben_: Builders have to produce a derivation
rprije has quit [Ping timeout: 240 seconds]
<infinisil> Yeah, you need to populate $out for it to succeed
<Orbstheorem> For example `echo test > $out`.
<{^_^}> [nixpkgs] @alyssais opened pull request #105515 → nixos/manual: don't recommend nix-env -iA → https://git.io/JIvD8
<ben_> Hmmm I tried `... >$out` and it worked but `... $out/file.txt` was giving me `No such file or directory`
<Orbstheorem> Yes, you have to create $out as a directory if you want it to be one.
<ben_> But $out did work so that's a step in the right dirction :)
<ben_> Right, that makes sense!
<Orbstheorem> `mkdir $out; echo foo > $out/file`.
Rusty1 has joined #nixos
<Orbstheorem> infinisil: I seem to remember you had something similar to what I want in your config?
<Orbstheorem> Have you updated to use flakes?
<Orbstheorem> (nixos config)
<ben_> So $out is just a placeholder where nix will expect the output. I thought it was a directory that was being copied.
<Orbstheorem> ben_: Yes, it's just a placeholder.
<Orbstheorem> It's not a directory, since a derivation may not necessarily produce a directory :)
<ben_> Exactly, that seems so much more general. Every time I think Nix makes no sense it's because it's smarter than me
* Orbstheorem also assumed $out was a directory when he wrote his first derivation too :)
<{^_^}> [nixos-search] @garbas merged pull request #241 → Use lowercase filter on edge analyzer → https://git.io/JIvit
<{^_^}> [nixos-search] @garbas pushed to master « use lowercase filter on edge analyzer (#241) »: https://git.io/JIvD7
<qyliss> hello90: I opened #105515 to fix the manual :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/105515 (by alyssais, 3 minutes ago, open): nixos/manual: don't recommend nix-env -iA
<hello90> qyliss: that's sweet!
<{^_^}> [nixos-search] @garbas pushed 0 commits to fix-207: https://git.io/JIvDp
<hexa-> <3 ql
<qyliss> hello90: documentation hasn't really one of our strong points for a while, but we are trying to do better!
<hexa-> <3 qyliss
<{^_^}> qyliss's karma got increased to like 101, I think
tlaxkit has joined #nixos
<hello90> umm, do I have to set my password each time I rebuild nixos?
<qyliss> hello90: you shouldn't have to
<qyliss> but I do recall there being a bug recently that was related to that
<hello90> the build ends with `no passwd entry for user ...`
<qyliss> Does that user exist in /etc/passwd?
<qyliss> Might be #95778
<{^_^}> https://github.com/NixOS/nixpkgs/issues/95778 (by colemickens, 14 weeks ago, open): mutableUsers=false and root.hashedPassword is set, yet nixos-install prompts for password:
<hello90> well, apparently I don't exit in /etc/passwd anymore, you're right qyliss
vika_nezrimaya has quit [Ping timeout: 272 seconds]
<hello90> `sudo: you do not exist in the passwd database`
<qyliss> that you've been able to get into that state is a bug
jess has quit [Quit: Leaving]
<hello90> I take it you don't run into this?
<qyliss> but you can maybe work around it with useradd, assuming you're not using users.mutableUsers = false
<qyliss> hello90: I don't, because I set users.mutableUsers = true to make NixOS entirely responsible for managing /etc/passwd
<qyliss> But that's not the default
<hello90> oh no
<hello90> my bad
<qyliss> I think #104343 is the fix
<{^_^}> https://github.com/NixOS/nixpkgs/pull/104343 (by grahamc, 1 week ago, open): nixos-install: don't prompt for passwords when mutableUsers = false
<qyliss> But it hasn't been merged yet
<hello90> I changed the user's name slightly in order to debug an earlier issue
immae has quit [Quit: WeeChat 2.9]
<hello90> but I forgot to put it back the way it was
<hello90> I'm not using `mutableUsers = false`
<hello90> I'm just being silly again
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « fix for scripts »: https://git.io/JIvy7
rprije has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « add the binary cache instructions for nixos »: https://git.io/JIvSS
<qyliss> To answer my question from earlier about Adwaita-dark: I needed to set gtk-application-prefer-dark-theme=1 in $XDG_CONFIG_HOME/gtk/settings.ini
erasmas has quit [Quit: leaving]
werner291 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105516 → kubie: 0.9.1 -> 0.11.0 → https://git.io/JIv9Z
<{^_^}> [nixpkgs] @3699n closed pull request #105496 → Update etesync-dav to 0.30.6 and add etebase to python-modules → https://git.io/JIvg5
werner291 has quit [Client Quit]
rprije has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #105517 → [python-unstable] libgit2: 1.0.0 -> 1.1.0 → https://git.io/JIv9r