worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
Thra11 has quit [Ping timeout: 265 seconds]
toppler has quit [Ping timeout: 268 seconds]
drakonis has quit [Ping timeout: 246 seconds]
<infinisil> nixtacular: Relatedly pie_ previously had some motivation to do something similar with package sets: https://github.com/NixOS/nixpkgs/issues/59344
<{^_^}> #59344 (by deliciouslytyped, 28 weeks ago, open): [RFC] Proposal: Engineering a Common "Plugin" Infrastructure
<{^_^}> [nixpkgs] @Infinisil merged pull request #67516 → go-shadowsocks2: init at 0.0.11 → https://git.io/fjAaF
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/JeuhL
<nixtacular> infinisil: this makes a lot of sense. i will have to spend time grokking this.
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jeuh3
<{^_^}> [nixpkgs] @marsam merged pull request #72215 → python3Packages.minio: fix dependencies → https://git.io/JeuoG
FreshcollegeGirl has quit [Ping timeout: 240 seconds]
FreshcollegeGirl has joined #nixos
<nixtacular> infinisil: but first, i should probably figure out how to get an overlay working, haha. would you mind helping me debug this? https://hastebin.com/zareceliqu
<vaibhavsagar> is there a fix for this issue? https://github.com/NixOS/nixpkgs/issues/53269
<{^_^}> #53269 (by chekoopa, 42 weeks ago, open): Can't run Xorg on Intel-Nvidia laptop
mbrgm_ has joined #nixos
<infinisil> nixtacular: Compare your overlay with what I wrote earlier: `self: super: { bundler = super.bundler.overrideAttrs (old: { src = super.fetchurl { ... }; }); }`
toppler has joined #nixos
<vaibhavsagar> I'm trying to install on a friend's laptop and it has a high-res screen so the terminal is unusable
Thra11 has joined #nixos
<nixtacular> infinisil: in your example, seems to me like you're missing a `{` before `old` and the `:` should be a `=`, but more likely i am not understanding the syntax :-)
<nixtacular> other than that, i can't spot the difference...
m0rphism has quit [Ping timeout: 264 seconds]
<ToxicFrog> So I'm installing 19.09 on a new machine and woooooah this nixos-install progress indicator
<infinisil> nixtacular: That's indeed a difference that matters!
<ToxicFrog> When do we get this for nixos-rebuild?
mbrgm has quit [Ping timeout: 268 seconds]
mbrgm_ is now known as mbrgm
<infinisil> nixtacular: Maybe you're interested in https://github.com/tazjin/nix-1p as a syntax refresher
FreshcollegeGirl has quit [Ping timeout: 240 seconds]
<nixtacular> infinisil: *facepalm*
FreshcollegeGirl has joined #nixos
<nixtacular> yeah, of course, it's a function lol
bvdw has quit [Quit: bvdw]
<nixtacular> i deal with too much JSON for work lmao
bvdw has joined #nixos
<nixtacular> infinisil: that did the trick. thank you
<infinisil> :D
mexisme has joined #nixos
growpotk- has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 5 commits to nixpkgs-19.03-darwin: https://git.io/JeubU
aaa_ has quit [Ping timeout: 276 seconds]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<DigitalKiwi> vaibhavsagar: is it a macbook?
growpotk- has quit [Ping timeout: 265 seconds]
growpotk- has joined #nixos
drakonis has joined #nixos
bvdw has quit [Quit: bvdw]
growpotkin has quit [Ping timeout: 265 seconds]
bvdw has joined #nixos
bvdw has quit [Client Quit]
bvdw has joined #nixos
Thra11 has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/705cd7f814b (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
acarrico has quit [Ping timeout: 240 seconds]
growpotk- has quit [Ping timeout: 240 seconds]
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « treewide: NIX_*_COMPILE -> string »: https://git.io/JeuhD
<vaibhavsagar> DigitalKiwi: no, it's a ThinkPad P52
Thra11 has joined #nixos
FreshcollegeGirl has quit [Ping timeout: 268 seconds]
FreshcollegeGirl has joined #nixos
<nixtacular> is there a way to configure address lookups to prefer ipv4 addresses over ipv6 ones in NixOS? normally this can be accomplished for glibc through `/etc/gai.conf`, but I don't see an option in the NixOS manual for it
justanotheruser has quit [Ping timeout: 240 seconds]
selfsymmetric-mu has joined #nixos
justanotheruser has joined #nixos
<nixtacular> solution. i created my own `/etc/gai.conf` and it worked.
<DigitalKiwi> vaibhavsagar: oh i see it now on twitter lol
o1lo01ol1o has joined #nixos
<DigitalKiwi> shapr :D
<vaibhavsagar> so we successfully installed NixOS without a display manager
gkmngrgn has quit [Ping timeout: 240 seconds]
<vaibhavsagar> any tips on debbuging xserver?
toppler has quit [Ping timeout: 268 seconds]
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
<ToxicFrog> Argh. I have it installed, but on boot it just says "SHA256 validated" and then hangs forever
<ToxicFrog> The liveUSB works fine, though
MmeQuignon has quit [Ping timeout: 265 seconds]
Gohla has quit [Ping timeout: 265 seconds]
selfsymmetric-mu has quit [Remote host closed the connection]
toppler has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
Gohla has joined #nixos
FreshcollegeGirl has quit [Ping timeout: 240 seconds]
FreshcollegeGirl has joined #nixos
selfsymmetric-mu has joined #nixos
<nixtacular> is there a simple way to get the `sha256` of whatever is fetched with `fetchFromGithub`? something similar to `nix-prefetch-url`?
<nixtacular> or maybe i can use `nix-prefetch-url` with Github in some way?
FreshcollegeGirl has quit [Ping timeout: 240 seconds]
FreshcollegeGirl has joined #nixos
WizBright has quit [Ping timeout: 240 seconds]
leotaku has quit [Ping timeout: 240 seconds]
<eraserhd> nix-shell -p nix-prefetch-github --run 'nix-prefetch-github --rev rev owner commit'
<eraserhd> s/commit/repo/
<nixtacular> eraserhd: awesome, thank you
<eraserhd> nixtacular: np!
<eraserhd> Now I must figure out how to get a PR merged... hrmm. There doesn't seem to be a current PR thread on the discussion site.
Synthetica has quit [Quit: Connection closed for inactivity]
leotaku has joined #nixos
wildtrees_ has quit [Quit: Leaving]
ris has quit [Ping timeout: 258 seconds]
work_ has joined #nixos
FreshcollegeGirl has quit [Ping timeout: 240 seconds]
FreshcollegeGirl has joined #nixos
<{^_^}> [nixpkgs] @puffnfresh opened pull request #72279 → unison-ucm: 1.0.M1d-alpha -> 1.0.M1e-alpha → https://git.io/Jeujv
leotaku has quit [Ping timeout: 268 seconds]
drakonis has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « treewide: NIX_*_COMPILE -> string »: https://git.io/JeujJ
<nixtacular> is there a way to get access to `fetchFromGithub` from inside an overlay?
drakonis has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeujT
<nixtacular> i tried using `self.pkgs.fetchFromGithub`, which i saw in a few examples, but it doesn't work
<eraserhd> nixtacular: `self` _is_ pkgs. But I would use super anyway.
<eraserhd> Also, the H is capital.
<eraserhd> (that trips me up frequently)
<eraserhd> e.g. `super.fetchFromGitHub { ... }`
<nixtacular> wait...self is `pkgs`?!
<nixtacular> i tried learning overlays from the wiki but the explanation of self vs. super is really lacking
<eraserhd> In an overlay, `super` is the previous iteration of pkgs, and `self` is the final iteration.
<nixtacular> ahhh. ok, i was thinking the iterations were of just the Nix expression being overridden
<nixtacular> thanks
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
leotaku has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
nixtacular has quit [Remote host closed the connection]
bvdw has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
FreshcollegeGirl has quit [Ping timeout: 265 seconds]
FreshcollegeGirl has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
leotaku has quit [Ping timeout: 240 seconds]
mounty has quit [Remote host closed the connection]
mounty has joined #nixos
acarrico has joined #nixos
FreshcollegeGirl has quit [Ping timeout: 268 seconds]
abathur has joined #nixos
FreshcollegeGirl has joined #nixos
<CMCDragonkai> i can never access discourse.nixos.org
<CMCDragonkai> its always doing an infinite load
toppler has quit [Ping timeout: 246 seconds]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 40 commits to structured-attrs: https://git.io/Jeujl
FreshcollegeGirl has quit [Ping timeout: 250 seconds]
FreshcollegeGirl has joined #nixos
drakonis_ has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
toppler has joined #nixos
FreshcollegeGirl has quit [Ping timeout: 240 seconds]
FreshcollegeGirl has joined #nixos
snicket has joined #nixos
drakonis_ has quit [Ping timeout: 240 seconds]
jonringer has joined #nixos
<djanatyn> i noticed there's no NixOS 19.09 AMI images listed here, are they available? https://nixos.org/nixos/download.html
thomashoneyman has joined #nixos
xd1le has joined #nixos
<evanjs> Any thoughts on how I might get the rust master toolchain from a nix-shell + nixpkgs_mozilla_overlay? ... or should I just use rustup...
drakonis_ has joined #nixos
<evanjs> Changed the shebang in setup-toolchain.sh and seeing if that works
drakonis has joined #nixos
silver has quit [Read error: Connection reset by peer]
drakonis_ has quit [Ping timeout: 264 seconds]
Thra11 has quit [Ping timeout: 265 seconds]
<xd1le> hi can someone with commit access to nixpkgs merge #72144, thanks!
<xd1le> hmm bot isn't putting link automatically, https://github.com/NixOS/nixpkgs/pull/72144
<{^_^}> https://github.com/NixOS/nixpkgs/pull/72144 (by chessai, 1 day ago, open): libck: init at 0.7.0
<xd1le> oh i put a comma
<{^_^}> #72144 (by chessai, 1 day ago, open): libck: init at 0.7.0
<CMCDragonkai> So on-going analysis of the initrd. In the initrd that is created by netboot, there's a `/init` script at the root of the initrd. This `/init` is a symlink to the stage-1-init.sh and it receives parameters, one of which is `init=...`. Now on the kernel command line in NixOS, this parameter `init=...` is specified to point to a nix store path of the stage-2-init.sh. This is confusing to me because according to the...
<xd1le> i wonder how rustup works
<CMCDragonkai> The kernel documentation, the `init=...` is a kernel command line parameter that is interpreted to the init script that kernel runs. So how does the kernel execute the `/init` then?
h0m1 has quit [Ping timeout: 250 seconds]
<CMCDragonkai> Either the kernel is defaulting to or ignoring or always executing `/init` in initrd, and then not interpreting the `init=` parameter, and then passing to the `/init` which uses that as the `stage2Init` variable to exec.
<danderson> initrd /init is not the same nit as init=
<CMCDragonkai> danderson: I'm aware of that
<danderson> init= specifies PID 1 for the main system, but it knows that it's instead passing control to an initrd
<CMCDragonkai> danderson: I'm confused as to how `/init` gets executed if the kernel command line `init=` is pointing to the stage-2-init.sh script.
h0m1 has joined #nixos
<evanjs> re what i'm doing, I can't figure it out with rustup, either x_x
<CMCDragonkai> danderson: My observation is that `/init` gets executed first, and it does an exec to the `init=...` script.
<evanjs> Just trying to contribute to clippy lol
<CMCDragonkai> danderson: but what tells the kernel to call `/init` first?
<danderson> CMCDragonkai: the source code. That's just what an initrd does
<danderson> if the kernel boot code is given an initrd, it mounts it at / and runs /init
<CMCDragonkai> I see
<CMCDragonkai> that's what i suspected
<danderson> and expects that to eventually exec into the main init process (and respect `init=...`)
<CMCDragonkai> that this was a default/hardcoded thing
inkbottle has quit [Quit: Konversation terminated!]
<danderson> I guess if you want to be technical, this is the hardcoded behavior for *initramfs* images, not initrd
<danderson> they're two different formats, but these days everything uses initramfs
<CMCDragonkai> danderson: i thought initramfs is compiled into the kernel image?
<CMCDragonkai> danderson: initrd is a separate file
<danderson> nope, initramfs is the format+behavior specification
<evanjs> really all I'm trying to do is _build_ clippy from rust-clippy on a NixOS system
<danderson> initrd is oooold, like pre-2.6 linux old
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 12 commits to nixos-unstable-small: https://git.io/JeujN
snicket has quit [Ping timeout: 268 seconds]
FreshcollegeGirl has quit [Ping timeout: 268 seconds]
inkbottle has joined #nixos
<danderson> however...
<CMCDragonkai> danderson: the initramfs specifies a format and behaviour but not the name of the file?
<CMCDragonkai> danderson: we just call `initrd` a separate file by convention?
FreshcollegeGirl has joined #nixos
<danderson> correct. For silly compat reasons, they're still named initrd
<CMCDragonkai> danderson: we just call it`initrd` and have a separate file by convention?
<danderson> but they're cpio archives with an executable /init inside them
<CMCDragonkai> danderson: so its still possible to put the initrd contents into the kernel image
<danderson> sort-of. Initramfs allows you to have many initramfs files
<danderson> they all get unpacked at /, and then /init gets run
<danderson> so you can embed one in the kernel binary if you want, or you can even pass multiple initrd files from the bootloader
eraserhd has quit [Quit: WeeChat 2.6]
<danderson> the kernel just unpacks all of them one over the other, and the combined result is your initramfs filesystem
eraserhd has joined #nixos
<CMCDragonkai> ok this all makes sense, and matches what i see in the netboot output
<danderson> this is actually used all the time in a lot of linux distros btw, for CPU microcode
<CMCDragonkai> however continuing my yesterday's questions... when i inspect my current initrd on my AMD machine, the initrd doesn't have an init file anymore
toppler has quit [Ping timeout: 240 seconds]
<danderson> the microcode is distributed as one cpio image, and it gets concatenated onto the "main" cpio image
<danderson> that way the CPU microcode file ends up "injected" in the init ramfs
fusion809 has joined #nixos
Thra11 has joined #nixos
<CMCDragonkai> yea right, sort of like a union fs
<CMCDragonkai> danderson: can you explain why my modern 19.09 initrd has no `/init` file
<danderson> exactly - except it's just a series of archive decompressions one after the other
<CMCDragonkai> i unpacked it... and all i see is `kernel/x86/microcode/AuthenticAMD.bin`
<danderson> ah, well, that's your microcode cpio archive, not the main initrd
<danderson> that's exactly what I was saying above :)
<danderson> so you must have another cpio archive somewhere - either burned into the kernel file, or passed-in by the bootloader from elsewhere
<danderson> I need to go make dinner, but happy to help dig when I get back. I don't know exactly where nixos hides things, but I know a fair bit about how the linux boot process works, so happy to help out
<CMCDragonkai> those are the only images i have bzImage and initrds there
<CMCDragonkai> and none of them have `/init` script anymore
<CMCDragonkai> i did this years ago
<CMCDragonkai> and i remember seeing the init scripts there
<CMCDragonkai> but now in nixos 19.09 no more...
<danderson> my vague guess is the kernel is bundling a core initrd, but I need to run, bbl
<CMCDragonkai> k
FreshcollegeGirl has quit [Ping timeout: 240 seconds]
<evanjs> I wonder if this is related x_x https://github.com/rust-lang/rust-clippy/issues/2874
<evanjs> non standard libdir sounds like nix, alright :P
<{^_^}> rust-lang/rust-clippy#2874 (by o01eg, 1 year ago, open): Clippy cannot find 'std' with non-standard libdir
toppler has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #72280 → lutris: remove gnutls-kdh → https://git.io/JezeJ
drakonis_ has joined #nixos
FreshcollegeGirl has joined #nixos
drakonis has quit [Ping timeout: 250 seconds]
orivej has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #72281 → nixos/geoclue: minor cleanups → https://git.io/JezeY
wormwood has quit [Ping timeout: 250 seconds]
jonringer has quit [Ping timeout: 240 seconds]
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 250 seconds]
<DigitalKiwi> aanderse++
<{^_^}> aanderse's karma got increased to 14
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos
<Raito_Bezarius> infinisil++
<{^_^}> infinisil's karma got increased to 152
<Raito_Bezarius> nixtacular++
<{^_^}> nixtacular's karma got increased to 1
<Raito_Bezarius> tilpner++
<{^_^}> tilpner's karma got increased to 48
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3adeca3775c (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Raito_Bezarius> symphorien++
<{^_^}> symphorien's karma got increased to 24
<Raito_Bezarius> jonringer++
<{^_^}> jonringer's karma got increased to 1
mexisme has quit [Ping timeout: 268 seconds]
<Raito_Bezarius> paid my tributes
jlmeeker has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
jlmeeker has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
mexisme has joined #nixos
<evanjs> Okay, think I figured it out. Just needed to get the _whole_ rust repo, init a bunch of submodules, and build via `cargo test -p clippy` or clippy-lints, etc
<evanjs> Now to figure out how to test the website...
das_j has quit [Remote host closed the connection]
Scriptkiddi has quit [Remote host closed the connection]
Scriptkiddi has joined #nixos
das_j has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
selfsymmetric-mu has quit [Remote host closed the connection]
slack1256 has joined #nixos
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #72275 → vimPlugins: update → https://git.io/JeuxQ
<{^_^}> [nixpkgs] @jonringer pushed commit from @tuxinaut to master « vimPlugins: update »: https://git.io/Jezer
freeman42x has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #72237 → fluent-bit: 1.0.6 -> 1.3.2 → https://git.io/JeuXY
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « fluent-bit: 1.0.6 -> 1.3.2 »: https://git.io/JezeK
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « spotify-tui: 0.6.2 -> 0.8.0 »: https://git.io/JezeX
soju has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 240 seconds]
domogled has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
slack1256 has quit [Remote host closed the connection]
toppler has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
jlmeeker has joined #nixos
captn3m0 has quit [Ping timeout: 245 seconds]
domogled has quit [Quit: domogled]
snicket has joined #nixos
mexisme has joined #nixos
burkelibbey has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
abathur has quit [Ping timeout: 265 seconds]
mexisme has quit [Ping timeout: 250 seconds]
toppler has quit [Ping timeout: 240 seconds]
oida has quit [Remote host closed the connection]
oida has joined #nixos
jlmeeker has quit [Ping timeout: 265 seconds]
ddellacosta has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
Thra11 has quit [Ping timeout: 265 seconds]
Thra11 has joined #nixos
endformationage has quit [Ping timeout: 240 seconds]
<xd1le> anyone know how to get the locate command to work in NixOS? i've enabled services.locate but locate still doesn't seem to find anything
vonfry has joined #nixos
<dminuoso> xd1le: You may have to explicitly update the store with `updatedb`?
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
<dminuoso> xd1le: Looking at the package it automatically updates its database at 2:15am every day.
<dminuoso> (Unless you set a different interval of course)
<xd1le> oh yeah i set interval to hourly too
<xd1le> and it's been a few hours. i also added my user to mlocate group
mog- has joined #nixos
<dminuoso> xd1le: Is there a file at /var/cache/locatedb with any concent?
<xd1le> saw some reddit post that said that might need to be done. but can't find any other info
<xd1le> no its' file size is 0 which is weird
mog has quit [Ping timeout: 240 seconds]
mog- is now known as mog
<dminuoso> xd1le: Is there anything in the journal of update-locatedb.service ?
<xd1le> i guess i have to run updatedb manually as root
<xd1le> how do i use journalctl again?
<dminuoso> xd1le: try `journalctl -xe -u update-locatedb`
<xd1le> i did `journalctl | grep update-locatedb.service` with no results
<xd1le> ty
<ar> journalctl --full --unit update-locatedb.service
<ar> maybe with --follow, if you expect changes in the output Soon™
<xd1le> ok ar's command showed some output
<xd1le> it actually started an database update right now it shows
<xd1le> since hourly interval set
<xd1le> /var/cache/locatedb now has data, no 0. guess it should work
FreshcollegeGirl has quit [Ping timeout: 240 seconds]
FreshcollegeGirl has joined #nixos
FreshcollegeGirl has quit [Max SendQ exceeded]
<xd1le> yeah seems to work, nice ty
FreshcollegeGirl has joined #nixos
FreshcollegeGirl has quit [Max SendQ exceeded]
FreshcollegeGirl has joined #nixos
FreshcollegeGirl has quit [Max SendQ exceeded]
FreshcollegeGirl has joined #nixos
FreshcollegeGirl has quit [Max SendQ exceeded]
FreshcollegeGirl has joined #nixos
FreshcollegeGirl has quit [Max SendQ exceeded]
toppler has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
vonfry has quit [Ping timeout: 240 seconds]
vonfry has joined #nixos
toppler has joined #nixos
penguwin has joined #nixos
Thra11 has quit [Ping timeout: 240 seconds]
vonfry has quit [Ping timeout: 268 seconds]
Thra11 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f65db057f50 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Heirlung has quit [Quit: ZNC - http://znc.in]
palo1 has joined #nixos
Heirlung has joined #nixos
thomashoneyman has quit [Ping timeout: 268 seconds]
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<wucke13> What is an elegant way of concatenating an array of strings but first surrounding them with double ticks?
burkelibbey has quit [Quit: Connection closed for inactivity]
Thra11 has quit [Read error: Connection reset by peer]
<gchristensen> > lib.concatMapStringsSep "," (x: ''"${x}"'') [ "foo" "bar" ]
<{^_^}> "\"foo\",\"bar\""
<gchristensen> wucke13: ^
captn3m0 has joined #nixos
<dminuoso> I think concatMapStringsSep should be kicked out of lib :p
gkmngrgn has joined #nixos
<dminuoso> It promotes this Python-esque type of "pack as much logic into complicated calls".
<dminuoso> Oh and I must say. `let x = { body = ...; ...}` is the best thing in nix! :)
<gchristensen> concating a string after iterating over it is a very common idiom in nixos
toppler has quit [Ping timeout: 265 seconds]
<dminuoso> gchristensen: Absolutely, I prefer to just do something like `let r = { body = concatStringsSep "," quoted; elems = ["foo" "bar"]; quoted = map quote elems; quote = x: ''"${x}"''; }`
<dminuoso> Minus any possible syntax errors. ;)
<dminuoso> gchristensen: Making bindings to create small modular code improves readability a lot.
<gchristensen> this `let` with `body` thing should probably not be used, as it is just an implementation detail of how `let .. in ..` works
<gchristensen> fair enough, though
thomashoneyman has joined #nixos
<dminuoso> gchristensen: Its one of the sanest things because there's no where.
<dminuoso> gchristensen: I found it to be quite pleasing since it allows me to write more expressive nix code.
<dminuoso> With `let` it requires a high amount of mental stack space to read code.
<dminuoso> say `f = let ........ in expr` requires you to put so much information onto your mental stack before you get to understand what expression is bound to.
toppler has joined #nixos
<dminuoso> And it might be nested with more let bindings.
<dminuoso> If we had `f = foo bar where ...` it would dramatically improve the readability of code since you can get a high level overview what some expression does much quicker. `let x = { body = ... }` lets me emulate where-style bindings. :)
Thra11 has joined #nixos
<gchristensen> I see
work_ has quit [Quit: Connection closed for inactivity]
teressa has quit [Read error: Connection reset by peer]
bvdw has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
bvdw has joined #nixos
rauno has joined #nixos
teressa has joined #nixos
page has quit [Quit: leaving]
lukash_|away is now known as lukash_
jgt1 has joined #nixos
page has joined #nixos
FRidh has joined #nixos
Chiliparrot has joined #nixos
Makaveli7 has joined #nixos
<Izorkin> Mic92: how to need to merge PR #70924 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/70924 (by Izorkin, 2 weeks ago, open): mariadb: remove development components
Jackneill has joined #nixos
<Ariakenom> nixops doesnt support AWS_SESSION_TOKEN for MFA. I wonder if it can be fixed by using a newer python aws library
sjourdois has quit [Ping timeout: 246 seconds]
ng0 has joined #nixos
<eyJhb> Any clue how to fix this error on switch? - https://termbin.com/39xj
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
logzet has joined #nixos
xkapastel has joined #nixos
mexisme has joined #nixos
<gchristensen> that service is trying to SSH somewhere. the user that service is running as doesn't trust the remote's SSH host key
<gchristensen> put that host key in programs.ssh.knownHosts via ssh-keyscan
graf_blutwurst has joined #nixos
<eyJhb> gchristensen: I know the issue now.. It is the part from etu configs I have stolen :p
<eyJhb> Just me being stupid
lsix has joined #nixos
lsix_ has joined #nixos
lsix_ has quit [Remote host closed the connection]
<graf_blutwurst> Good morning. So i finally figured out what is causing my kernel panics with the newer versions. it's iwlwifi. if i blacklist it everything boots fine. Does anyone have an idea how to address this?
m0rphism has joined #nixos
<eyJhb> But I finally added cleanup of /tmp, so I can get rid of my bad habbits of placing files into it
<wucke13> gchristensen: what does it take to become a knonw user for ofborg
<eyJhb> wucke13: isn't it just making a PR here adding yourself, and having a good reason for it? - https://github.com/nixos/ofborg
<gchristensen> yep, send a PR (see other PRs for examples.) I'll do a deploy today
<wucke13> I already have a PR open
<eyJhb> gchristensen: are there any hard criterias? Do you need to be fairly active or could someone like me just open a PR and request access?
<gchristensen> cool
<gchristensen> known? almost no criteria
<gchristensen> trusted? a bit more complicated
<wucke13> Is it enough of arguments to claim that I want to test darwin compatibility of my pkgs to become trusted?
<eyJhb> Saying you don't trust me gchristensen ? ;) :p
ckauhaus[afk] is now known as ckauhaus
mexisme has quit [Ping timeout: 264 seconds]
Makaveli7 has quit [Quit: WeeChat 2.6]
<flokli> pandoc patch to make it properly understand our current nixpkgs docbook structure, in preparation of using different formats: https://github.com/jgm/pandoc/pull/5864 (cc gchristensen)
<{^_^}> jgm/pandoc#5864 (by flokli, 6 minutes ago, open): docbook reader: fix nesting of chapters and sections
is_null has joined #nixos
sjourdois has joined #nixos
Makaveli7 has joined #nixos
arahael1 has joined #nixos
toppler has quit [Ping timeout: 276 seconds]
Arahael has quit [Ping timeout: 276 seconds]
<pbb> I am trying the experimental nix flakes implementation, and I'm wondering if it's intended that I get a lot of different nixpkgs versions from other flakes?
<pbb> For example running "nix run patchelf" fetches an old version of nixpkgs. Can I prevent that somehow?
<pbb> I see how pinning nixpkgs for every flake is the only way to achieve 100% reproducability, but I will end up with a lot of different gcc builds on my machine.
toppler has joined #nixos
JonReed has joined #nixos
pie_ has quit [Ping timeout: 240 seconds]
aaa_ has joined #nixos
pie_ has joined #nixos
vesper has joined #nixos
vesper11 has quit [Ping timeout: 268 seconds]
marusich has quit [Remote host closed the connection]
<JonReed> Hi, I'm trying to upgrade an old nix system, but it breaks due to "unsupported builtin function 'buildenv'". I have identified the problem as nix-daemon running an older version. I.e. `nix-env --version` and `nix-daemon --version` both return `2.2.2`, while `sudo /proc/`pidof nix-daemon`/exe --version` shows `1.11.16`. What do I do next to run a
<JonReed> newer version of the daemon?
<gchristensen> how are you trying ot upgrade?
thomashoneyman has quit [Ping timeout: 246 seconds]
<JonReed> nix-env -iA nixpkgs.nix and `nixos-rebuild --switch` both fail.
<gchristensen> and you firt updated the channel, or?
<JonReed> Yeah, `nix-channel --update`
hmpffff has joined #nixos
<JonReed> Or rather `sudo nix-channel --update`
<gchristensen> what does nixos-version say?
<JonReed> `18.03`
<gchristensen> maybe set your channel to 19.03 first, upgrade, then do 19.09
<gchristensen> or 18.09 first, then 19.09
<JonReed> Ok, will try. Thanks!
vidbina has joined #nixos
Tucky has joined #nixos
wrl_ has joined #nixos
wrl has quit [Read error: Connection reset by peer]
Synthetica has joined #nixos
__Sander__ has joined #nixos
thc202 has joined #nixos
zupo has joined #nixos
<Synthetica> Does anyone have Plasma5 working under wayland? I tried `services.xserver.desktopManager.plasma5.enable = true;`, and I start it with `dbus-run-session`, but it crashes with this: https://gist.github.com/Synthetica9/6e60c6c2740ccbdddb9f7ae7a597f47a
<adisbladis> Synthetica: There is an open PR for that
<adisbladis> Gimme a sec to find it
<adisbladis> It breaks some other stuff so it's not merged yet :/
sb0 has joined #nixos
<{^_^}> #56988 (by bkchr, 33 weeks ago, open): Plasma5: Use upstream xsession/wayland-session files
ThatDocsLady has joined #nixos
<Synthetica> adisbladis: Ah, yes, I found that PR in my search, but I assumed it was a QOL improvement, not critical to the function of Plasma
<adisbladis> Synthetica: We're using our custom scripts to start plasma currently, they only implement X11
ubert has joined #nixos
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.6]
Thra11 has quit [Ping timeout: 276 seconds]
Dagger has quit [Excess Flood]
Dagger2 has joined #nixos
Makaveli7 has joined #nixos
toppler has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
snicket has quit [Ping timeout: 265 seconds]
<Synthetica> adisbladis: Okay, what breaks, and is there a way to use this PR locally before it is merged?
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #72200 → haskellPackages.pandoc-emphasize-code: mark as not broken → https://git.io/JeugZ
<{^_^}> [nixpkgs] @peti pushed 2 commits to release-19.09: https://git.io/JezTE
<{^_^}> [nixpkgs] @lsix merged pull request #72264 → sensu-go: 5.11.0 -> 5.14.1 → https://git.io/Jeudg
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JezTu
v0|d has joined #nixos
<adisbladis> Synthetica: Not right now, no :/
neiluj has joined #nixos
neiluj has quit [Changing host]
neiluj has joined #nixos
<adisbladis> It still wouldn't fix your wayland session entirely
<adisbladis> But it's a requisite for us getting a working plasma wayland session
Thra11 has joined #nixos
toppler has joined #nixos
gkmn1 has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #72283 → nixos/gnupg: fix pinentry in sway (fix a typo in 3c39093c0d1) → https://git.io/JezTo
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JezTK
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-web-routes-th: jailbreak to fix the build of the test suite »: https://git.io/JezTi
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: web-routes-th & userid compile fine now »: https://git.io/JezTD
gkmngrgn has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JezTS
<cjpbirkbeck> hello, how do you create the mandb? I've done it once with this machine, but I can't find the commands to do it again with a new machine
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to master: https://git.io/JezTH
<{^_^}> [nixpkgs] @jlesquembre opened pull request #72289 → k9s: 0.8.4 -> 0.9.3 → https://git.io/JezTQ
<tilpner> cjpbirkbeck: It should not require shell interaction
<tilpner> cptchaos83: You may want to install the man-pages package
ckauhaus is now known as ckauhaus[afk]
<tilpner> Sorry, wrong completion
gkmn1 is now known as gkmngrgn
<cjpbirkbeck> tilpner:hmm, i've found that the apropos/man -k doesn't work unless i used the mandb command, maybe i've done something wrong?
psyanticy has joined #nixos
<tilpner> Oh, then I misunderstood your question, those don't seem to work here either
<infinisil> cjpbirkbeck: Sidenote, let me guess: You're using weechat?
<cjpbirkbeck> yes, why?
<cjpbirkbeck> i shouldn't?
<infinisil> cjpbirkbeck: /set weechat.completion.nick_completer ": "
<infinisil> To get the old behavior back of it inserting a space after :
<infinisil> :P
<cjpbirkbeck> infinisil: okay, got it
vidbina has quit [Ping timeout: 265 seconds]
<tilpner> cjpbirkbeck: I found https://nixos.wiki/wiki/Apropos
<neiluj> anyone got a valid ocaml environment for nix shell?
<neiluj> but when I dune build I get
<neiluj> File "result/bin/dune", line 1, characters 0-0:
<neiluj> Error: Invalid dune file
<Twey> infinisil: Oh, thanks! I've been manually putting that in for ages
<infinisil> Hehe :)
<Twey> Was very annoying :þ
<cjpbirkbeck> tilpner: nope, does work, gives the same errors, see https://pastebin.com/bffnzyM7
kumikumi has quit [Ping timeout: 265 seconds]
<etu> infinisil: oh man, I've been annoyed by that for ages now :D
<tilpner> cjpbirkbeck: Manually create /var/cache/man
<tilpner> cjpbirkbeck: Or do from your NixOS config, to avoid manual steps
<infinisil> :D
iyzsong has joined #nixos
<cjpbirkbeck> tilpner: okay, that worked, thanks. it's probably the step i actually did that i cannot remember.
arianvp has quit [Quit: WeeChat 2.6]
alexherbo2 has joined #nixos
arianvp has joined #nixos
NfixEstrada[m] has quit [Remote host closed the connection]
syntaxtree[m] has quit [Remote host closed the connection]
ZD[m] has quit [Remote host closed the connection]
midi[m] has quit [Write error: Connection reset by peer]
icetan has quit [Read error: Connection reset by peer]
Christian[m]3 has quit [Remote host closed the connection]
Fabian[m]3 has quit [Remote host closed the connection]
Sascha[m]3 has quit [Remote host closed the connection]
freddie_freeload has quit [Remote host closed the connection]
submoo[m] has quit [Remote host closed the connection]
Bruno[m] has quit [Remote host closed the connection]
tobim[m] has quit [Remote host closed the connection]
sauyon[m] has quit [Remote host closed the connection]
jonge[m] has quit [Write error: Connection reset by peer]
DanP[m] has quit [Remote host closed the connection]
bennofs[m] has quit [Write error: Connection reset by peer]
musicmatze has quit [Write error: Connection reset by peer]
nh2[m] has quit [Write error: Connection reset by peer]
slabity has quit [Write error: Connection reset by peer]
tokudan[m] has quit [Write error: Connection reset by peer]
abbradar[m] has quit [Write error: Connection reset by peer]
wangoe[m] has quit [Read error: Connection reset by peer]
mariusz-kowalski has quit [Read error: Connection reset by peer]
xavierm02 has quit [Write error: Connection reset by peer]
kraem[m] has quit [Remote host closed the connection]
offlinehacker has quit [Read error: Connection reset by peer]
phyfey[m] has quit [Read error: Connection reset by peer]
setthemfree[m] has quit [Read error: Connection reset by peer]
worldofpeace has quit [Remote host closed the connection]
craige[m] has quit [Write error: Connection reset by peer]
copy` has quit [Write error: Connection reset by peer]
frislie[m] has quit [Write error: Connection reset by peer]
xbreak[m] has quit [Write error: Connection reset by peer]
otini has quit [Write error: Connection reset by peer]
Moredread[m] has quit [Write error: Connection reset by peer]
bohan[m] has quit [Write error: Connection reset by peer]
MichaelEden[m] has quit [Read error: Connection reset by peer]
jonreeve[m] has quit [Read error: Connection reset by peer]
wrunt[m] has quit [Write error: Connection reset by peer]
macerbi[m] has quit [Write error: Connection reset by peer]
AnjumShahzad[m] has quit [Remote host closed the connection]
groggy[m] has quit [Remote host closed the connection]
hackeryarn[m] has quit [Remote host closed the connection]
wedens[m] has quit [Remote host closed the connection]
nalck[m] has quit [Remote host closed the connection]
flip[m]1 has quit [Remote host closed the connection]
zaphar_ps[m] has quit [Remote host closed the connection]
GerdFlaig[m] has quit [Remote host closed the connection]
vdot0x23[m] has quit [Remote host closed the connection]
hpfr[m] has quit [Remote host closed the connection]
Smith[m] has quit [Read error: Connection reset by peer]
isgy[m] has quit [Read error: Connection reset by peer]
codyopel has quit [Read error: Connection reset by peer]
marius851000[m] has quit [Read error: Connection reset by peer]
stites[m] has quit [Read error: Connection reset by peer]
alienpirate5 has quit [Remote host closed the connection]
harkenedraven has quit [Write error: Connection reset by peer]
florianjacob has quit [Remote host closed the connection]
zurdo has quit [Write error: Connection reset by peer]
vxzero[m] has quit [Remote host closed the connection]
coniferous-cube[ has quit [Read error: Connection reset by peer]
attente[m] has quit [Read error: Connection reset by peer]
regnat[m] has quit [Read error: Connection reset by peer]
dkellner[m] has quit [Read error: Connection reset by peer]
kxlljoyy[m] has quit [Read error: Connection reset by peer]
luftmensch[m] has quit [Read error: Connection reset by peer]
sylvie[m] has quit [Read error: Connection reset by peer]
Sisyphe[m] has quit [Read error: Connection reset by peer]
NickHu has quit [Read error: Connection reset by peer]
zmlww[m] has quit [Write error: Connection reset by peer]
Victor[m] has quit [Read error: Connection reset by peer]
joepie91[m] has quit [Write error: Connection reset by peer]
tyrion1 has quit [Read error: Connection reset by peer]
alj[m] has quit [Read error: Connection reset by peer]
codygman[m] has quit [Remote host closed the connection]
aymenstudios[m] has quit [Remote host closed the connection]
alxev[m] has quit [Remote host closed the connection]
bee[m]1 has quit [Read error: Connection reset by peer]
sevcsik[m] has quit [Remote host closed the connection]
alexarice[m] has quit [Read error: Connection reset by peer]
pachacuti[m] has quit [Read error: Connection reset by peer]
divansantana has quit [Read error: Connection reset by peer]
haslersn[m] has quit [Remote host closed the connection]
cornu has quit [Write error: Connection reset by peer]
philipp[m] has quit [Read error: Connection reset by peer]
aanderse has quit [Read error: Connection reset by peer]
infinisil-m has quit [Read error: Connection reset by peer]
Vskilet has quit [Read error: Connection reset by peer]
Nyanloutre[m] has quit [Read error: Connection reset by peer]
gaisseml[m] has quit [Read error: Connection reset by peer]
blitzclone_ has quit [Read error: Connection reset by peer]
bnasty[m] has quit [Remote host closed the connection]
cgm[m] has quit [Remote host closed the connection]
alexoundos[m] has quit [Remote host closed the connection]
rihardsk[m] has quit [Remote host closed the connection]
layus[m] has quit [Write error: Connection reset by peer]
jtojnar has quit [Write error: Connection reset by peer]
LinuxHackerman has quit [Write error: Connection reset by peer]
sevcsik[m]1 has quit [Write error: Connection reset by peer]
jeanfoutre[m] has quit [Remote host closed the connection]
MarkOtaris has quit [Write error: Connection reset by peer]
sonercirit[m] has quit [Write error: Connection reset by peer]
MilkManzJourDadd has quit [Write error: Connection reset by peer]
Diamaths[m] has quit [Write error: Connection reset by peer]
olejorgenb[m] has quit [Write error: Connection reset by peer]
LinuXit has quit [Write error: Connection reset by peer]
snupples[m] has quit [Write error: Connection reset by peer]
timokau[m] has quit [Write error: Connection reset by peer]
jschievink has quit [Write error: Connection reset by peer]
haslersn has quit [Write error: Connection reset by peer]
kaychaks[m] has quit [Write error: Connection reset by peer]
Thinkofname[m] has quit [Write error: Connection reset by peer]
imj[m] has quit [Write error: Connection reset by peer]
alex[m]10 has quit [Read error: Connection reset by peer]
yoho[m]1 has quit [Write error: Connection reset by peer]
Minijackson[m] has quit [Remote host closed the connection]
provessor[m] has quit [Remote host closed the connection]
DenisLehmann[m] has quit [Read error: Connection reset by peer]
frederic_chopwn[ has quit [Remote host closed the connection]
li_matrix has quit [Write error: Connection reset by peer]
ejpcmac has quit [Remote host closed the connection]
gaisseml[m]1 has quit [Read error: Connection reset by peer]
HappyEnt[m] has quit [Read error: Connection reset by peer]
wak-work has quit [Read error: Connection reset by peer]
Brio[m] has quit [Read error: Connection reset by peer]
Ox4A6F has quit [Write error: Connection reset by peer]
momack2[m] has quit [Read error: Connection reset by peer]
yangm has quit [Read error: Connection reset by peer]
wildtrees[m] has quit [Read error: Connection reset by peer]
MerlinGttlinger[ has quit [Read error: Connection reset by peer]
clefru has quit [Read error: Connection reset by peer]
pop[m]2 has quit [Read error: Connection reset by peer]
grim_reaper[m] has quit [Read error: Connection reset by peer]
rycee has quit [Read error: Connection reset by peer]
manveru[m] has quit [Read error: Connection reset by peer]
mirsal has quit [Read error: Connection reset by peer]
smolboye[m] has quit [Read error: Connection reset by peer]
gudea[m] has quit [Remote host closed the connection]
rnhmjoj has quit [Remote host closed the connection]
Dan[m]9 has quit [Remote host closed the connection]
sputny[m] has quit [Remote host closed the connection]
TheSirC[m] has quit [Remote host closed the connection]
Tony[m]4 has quit [Remote host closed the connection]
aterius has quit [Write error: Connection reset by peer]
laas has quit [Remote host closed the connection]
tails[m] has quit [Remote host closed the connection]
JaakkoLuttinen[m has quit [Remote host closed the connection]
am3on[m] has quit [Remote host closed the connection]
IslandUsurper has quit [Remote host closed the connection]
thefloweringash has quit [Remote host closed the connection]
Guest90267 has quit [Write error: Connection reset by peer]
bricewge has quit [Read error: Connection reset by peer]
colemickens has quit [Remote host closed the connection]
mica[m] has quit [Remote host closed the connection]
y0x3y[m] has quit [Read error: Connection reset by peer]
ZerataX has quit [Write error: Connection reset by peer]
geemili has quit [Write error: Connection reset by peer]
nilsirl[m] has quit [Read error: Connection reset by peer]
leons has quit [Remote host closed the connection]
atopuzov[m] has quit [Write error: Connection reset by peer]
bkl[m] has quit [Write error: Connection reset by peer]
roberth has quit [Read error: Connection reset by peer]
escaP[m] has quit [Write error: Connection reset by peer]
abbafei[m] has quit [Write error: Connection reset by peer]
ninjatrappeur[m] has quit [Read error: Connection reset by peer]
aquarial has quit [Read error: Connection reset by peer]
Woland[m] has quit [Remote host closed the connection]
red[m] has quit [Remote host closed the connection]
corpix[m] has quit [Remote host closed the connection]
jwaksbaum[m] has quit [Remote host closed the connection]
fidgetspinoza[m] has quit [Remote host closed the connection]
anton-latukha[m] has quit [Remote host closed the connection]
balsoft has quit [Remote host closed the connection]
ronny has quit [Remote host closed the connection]
aloysius[m] has quit [Read error: Connection reset by peer]
Ericson2314 has quit [Remote host closed the connection]
thequux[m] has quit [Remote host closed the connection]
jak[m] has quit [Read error: Connection reset by peer]
fgaz has quit [Remote host closed the connection]
Seb[m] has quit [Read error: Connection reset by peer]
pheox8 has quit [Remote host closed the connection]
truby has quit [Read error: Connection reset by peer]
clacke[m] has quit [Read error: Connection reset by peer]
chreekat[m] has quit [Read error: Connection reset by peer]
Notkea[m] has quit [Read error: Connection reset by peer]
VaNilLa[m] has quit [Write error: Connection reset by peer]
abbec has quit [Read error: Connection reset by peer]
danielrf[m] has quit [Read error: Connection reset by peer]
hiroshi[m] has quit [Read error: Connection reset by peer]
Dandellion[m] has quit [Read error: Connection reset by peer]
Standa[m] has quit [Read error: Connection reset by peer]
MiloIgnis[m] has quit [Read error: Connection reset by peer]
weebull[m] has quit [Read error: Connection reset by peer]
RIOTIM[m] has quit [Read error: Connection reset by peer]
M0ddba11[m] has quit [Read error: Connection reset by peer]
peterhoeg[m] has quit [Read error: Connection reset by peer]
is0x3F has quit [Read error: Connection reset by peer]
Gopal[m] has quit [Remote host closed the connection]
cab404[m] has quit [Remote host closed the connection]
lel[m] has quit [Remote host closed the connection]
tilpner2 has quit [Remote host closed the connection]
jak_wolf[m] has quit [Remote host closed the connection]
hienergy[m] has quit [Remote host closed the connection]
pop[m]1 has quit [Remote host closed the connection]
marijan[m] has quit [Remote host closed the connection]
attero has quit [Read error: Connection reset by peer]
vaibhavsagar has quit [Read error: Connection reset by peer]
arcnmx has quit [Remote host closed the connection]
das-g[m] has quit [Remote host closed the connection]
eddyb has quit [Read error: Connection reset by peer]
siraben has quit [Read error: Connection reset by peer]
Yakulu[m] has quit [Read error: Connection reset by peer]
TravisRt2botio[m has quit [Read error: Connection reset by peer]
bikki[m] has quit [Write error: Connection reset by peer]
pinage404[m] has quit [Read error: Connection reset by peer]
peel1 has quit [Read error: Connection reset by peer]
tsrt^ has quit [Max SendQ exceeded]
spacekitteh[m] has quit [Read error: Connection reset by peer]
EuAndreh[m] has quit [Remote host closed the connection]
ck3d[m] has quit [Remote host closed the connection]
KarelWDingeldey[ has quit [Remote host closed the connection]
ptival[m] has quit [Remote host closed the connection]
orospakr[m] has quit [Remote host closed the connection]
elais[m] has quit [Remote host closed the connection]
l33[m] has quit [Remote host closed the connection]
earendil[m] has quit [Remote host closed the connection]
roadt[m] has quit [Write error: Connection reset by peer]
quiet_laika[m] has quit [Write error: Broken pipe]
nash8192[m] has quit [Remote host closed the connection]
bkchr has quit [Remote host closed the connection]
bachp has quit [Write error: Connection reset by peer]
nbardiuk has quit [Remote host closed the connection]
goibhniu has quit [Remote host closed the connection]
arturo[m] has quit [Remote host closed the connection]
LiuWeiHua[m] has quit [Remote host closed the connection]
contrun[m] has quit [Write error: Connection reset by peer]
ndarwincorn has quit [Write error: Connection reset by peer]
cyberwolf[m] has quit [Write error: Connection reset by peer]
nocent has quit [Write error: Connection reset by peer]
Noughtmare[m] has quit [Write error: Connection reset by peer]
dtkav[m] has quit [Remote host closed the connection]
pingveno[m] has quit [Write error: Broken pipe]
malteof[m] has quit [Write error: Broken pipe]
ma27[m] has quit [Write error: Broken pipe]
fasd has quit [Write error: Broken pipe]
segfault[m] has quit [Write error: Broken pipe]
schmittlauch[m] has quit [Remote host closed the connection]
neonfuz2 has quit [Write error: Connection reset by peer]
joelpet1 has quit [Write error: Connection reset by peer]
domenkozar[m] has quit [Write error: Connection reset by peer]
simbergm has quit [Write error: Connection reset by peer]
dtz has quit [Write error: Connection reset by peer]
MayeulC_backup has quit [Write error: Connection reset by peer]
bendlas has quit [Write error: Connection reset by peer]
mexisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @FRidh opened pull request #72290 → nixpkgs manual: add section on submitting security fixes → https://git.io/JezkZ
tsrt^ has joined #nixos
jgt1 is now known as jgt
toppler has quit [Ping timeout: 268 seconds]
<yorick> error: 'strlcat' undeclared here
cartwright has quit [Ping timeout: 260 seconds]
<yorick> where should strlcat be coming from?
<{^_^}> [nixpkgs] @davidtwco opened pull request #72291 → delta: init at 0.0.14 → https://git.io/Jezk4
snicket has joined #nixos
page has quit [Quit: leaving]
<yorick> oh, libbsd
cartwright has joined #nixos
Soo_Slow has joined #nixos
<__monty__> ,locate strlcat
<{^_^}> Found in packages: z88dk, libbsd, bsdbuild, emscripten, rustPlatform.rustcSrc
toppler has joined #nixos
alexarice[m] has joined #nixos
<alexarice[m]> Are there any known issues with microphones with pulseaudio atm?
<adisbladis> alexarice[m]: Can you be more specific?
<adisbladis> (I'm using bluetooth and wired mics successfully daily)
<alexarice[m]> adisbladis: My in built laptop microphone doesn't seem to work
<alexarice[m]> It might be just broken though
<adisbladis> alexarice[m]: I suggest firing up pavucontrol
<alexarice[m]> It seems to be registering a small amount of noise but nothing else
<adisbladis> Also check alsamixer
* alexarice[m] uploaded an image: screenshot58.png (16KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/JGOtqVEZJdljLiWSoutuaflU >
<alexarice[m]> It's there but it never seems to move off low volume
<adisbladis> alexarice[m]: The lower of the 2 bars should move when audio is detected
<adisbladis> alexarice[m]: run `alsamixer -c 0` and check hardware mixer levels
* alexarice[m] uploaded an image: screenshot59.png (28KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/RVmsWKxnNdaUInWWrnnnCdSb >
<alexarice[m]> Looks correct to me though I don't know what I'm looking for
<alexarice[m]> Maybe I should just try to find a wired mic
<adisbladis> alexarice[m]: boost is generally something you should turn down
<adisbladis> IME it leads to clipping and horrible audio
<adisbladis> But, it should still work
<adisbladis> It certainly doesn't look wrong
<alexarice[m]> Going to try another microphone
jgeerds_ has joined #nixos
<alexarice[m]> Couldn't find one but I've found an alternative so I won't worry for the moment. Pretty sure this isn't nixos related anyway now
<{^_^}> [nixpkgs] @flokli merged pull request #72007 → nixos/acme: Custom ACME endpoint → https://git.io/JeEnb
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JezIf
kumikumi has joined #nixos
neiluj has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @FRidh opened pull request #72293 → nixpkgs manual: document staging-next branch → https://git.io/JezIL
hmpffff has quit [Quit: Bye…]
xkapastel has quit [Quit: Connection closed for inactivity]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
graf_blutwurst has quit [Remote host closed the connection]
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « treewide: NIX_*_FLAGS -> string »: https://git.io/JezIZ
<sshow> from where do i get access to systemd.services, so I can override a service definition: systemd.services.systemd-networkd-wait-online.serviceConfig.ExecStart ?
<sshow> since config.systemd.services.systemd-timesyncd.preStart is illegal to set
cosimone has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 9 commits to nixos-unstable-small: https://git.io/JezIW
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f6d41b4b1d1 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
doelie has joined #nixos
MmeQuignon has joined #nixos
<sshow> it appears it is `systemd.services.systemd-timesyncd.preStart`
toppler has quit [Ping timeout: 265 seconds]
wormwood has joined #nixos
jbmusso has joined #nixos
<doelie> hi. when using buildFHSUserEnv, is it generally necessary to explicitly use patchelf to add proper rpath to binaries generated inside the FHS chroot? i'm trying to wrap a buildroot toolchain. it builds fine, but dynlinks only inside the FHS chroot it was built in.
lukash_ is now known as lukash_|away
silver has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « treewide: fix flags types »: https://git.io/JezI1
captn3m0 has quit [Ping timeout: 268 seconds]
juhe has joined #nixos
captn3m0 has joined #nixos
Sisyphe[m] has joined #nixos
ZerataX has joined #nixos
peel1 has joined #nixos
nocent has joined #nixos
tyrion1 has joined #nixos
jonge[m] has joined #nixos
clefru has joined #nixos
hpfr[m] has joined #nixos
abbradar[m] has joined #nixos
bennofs[m] has joined #nixos
thefloweringash has joined #nixos
sylvie[m] has joined #nixos
Notkea[m] has joined #nixos
pachacuti[m] has joined #nixos
gaisseml[m] has joined #nixos
wrunt[m] has joined #nixos
chreekat[m] has joined #nixos
M0ddba11[m] has joined #nixos
ilya-fedin has joined #nixos
blitzclone_ has joined #nixos
simbergm has joined #nixos
cornu has joined #nixos
bee[m]1 has joined #nixos
joepie91[m] has joined #nixos
Guest95680 has joined #nixos
zurdo has joined #nixos
jtojnar has joined #nixos
craige[m] has joined #nixos
leons has joined #nixos
kaychaks[m] has joined #nixos
attero has joined #nixos
MilkManzJourDadd has joined #nixos
bikki[m] has joined #nixos
sevcsik[m] has joined #nixos
Smith[m] has joined #nixos
ronny has joined #nixos
schmittlauch[m] has joined #nixos
joelpet1 has joined #nixos
phyfey[m] has joined #nixos
icetan has joined #nixos
MichaelEden[m] has joined #nixos
olejorgenb[m] has joined #nixos
midi[m] has joined #nixos
manveru[m] has joined #nixos
fasd has joined #nixos
abbec has joined #nixos
aterius has joined #nixos
NickHu has joined #nixos
Nyanloutre[m] has joined #nixos
neonfuz2 has joined #nixos
atopuzov[m] has joined #nixos
fgaz has joined #nixos
wak-work has joined #nixos
alex[m]11 has joined #nixos
nh2[m] has joined #nixos
worldofpeace has joined #nixos
otini has joined #nixos
sauyon[m] has joined #nixos
sonercirit[m] has joined #nixos
bendlas has joined #nixos
yangm has joined #nixos
LiuWeiHua[m] has joined #nixos
vaibhavsagar has joined #nixos
philipp[m] has joined #nixos
aanderse has joined #nixos
colemickens has joined #nixos
jak[m] has joined #nixos
fpletz[m] has joined #nixos
zaphar_ps[m] has joined #nixos
contrun[m] has joined #nixos
ninjatrappeur[m] has joined #nixos
goibhniu has joined #nixos
fidgetspinoza[m] has joined #nixos
Minijackson[m] has joined #nixos
momack2[m] has joined #nixos
frederic_chopwn[ has joined #nixos
sevcsik[m]1 has joined #nixos
pheoxy1 has joined #nixos
roberth has joined #nixos
Ox4A6F has joined #nixos
snupples[m] has joined #nixos
nilsirl[m] has joined #nixos
groggy[m] has joined #nixos
xavierm02 has joined #nixos
zmlww[m] has joined #nixos
Ericson2314 has joined #nixos
bkl[m] has joined #nixos
lel[m] has joined #nixos
offlinehacker has joined #nixos
tokudan[m] has joined #nixos
coniferous-cube[ has joined #nixos
codyopel has joined #nixos
bohan[m] has joined #nixos
codygman[m] has joined #nixos
pinage404[m] has joined #nixos
arturo[m] has joined #nixos
cyberwolf[m] has joined #nixos
Vskilet has joined #nixos
attente[m] has joined #nixos
ck3d[m] has joined #nixos
grahamc[m] has joined #nixos
escaP[m] has joined #nixos
Yakulu[m] has joined #nixos
VaNilLa[m] has joined #nixos
yoho[m]1 has joined #nixos
mirsal has joined #nixos
roadt[m] has joined #nixos
luftmensch[m] has joined #nixos
isgy[m] has joined #nixos
cab404[m] has joined #nixos
GerdFlaig[m] has joined #nixos
dtz has joined #nixos
frislie[m] has joined #nixos
marijan[m] has joined #nixos
jonreeve[m] has joined #nixos
bkchr has joined #nixos
florianjacob has joined #nixos
copy` has joined #nixos
setthemfree[m] has joined #nixos
LinuxHackerman has joined #nixos
Brio[m] has joined #nixos
jeanfoutre[m] has joined #nixos
geemili has joined #nixos
MarkOtaris has joined #nixos
nbardiuk has joined #nixos
haslersn has joined #nixos
am3on[m] has joined #nixos
HappyEnt[m] has joined #nixos
alienpirate5 has joined #nixos
DenisLehmann[m] has joined #nixos
Standa[m] has joined #nixos
wedens[m] has joined #nixos
marius851000[m] has joined #nixos
AnjumShahzad[m] has joined #nixos
arcnmx has joined #nixos
alj[m] has joined #nixos
gaisseml[m]1 has joined #nixos
ma27[m] has joined #nixos
mariusz-kowalski has joined #nixos
EuAndreh[m] has joined #nixos
harkenedraven has joined #nixos
elais[m] has joined #nixos
macerbi[m] has joined #nixos
cgm[m] has joined #nixos
submoo[m] has joined #nixos
Noughtmare[m] has joined #nixos
danielrf[m] has joined #nixos
spacekitteh[m] has joined #nixos
regnat[m] has joined #nixos
provessor[m] has joined #nixos
bricewge has joined #nixos
abbafei[m] has joined #nixos
kraem[m] has joined #nixos
vancoding[m] has joined #nixos
Tony[m]4 has joined #nixos
truby has joined #nixos
imj[m] has joined #nixos
thequux[m] has joined #nixos
das-g[m] has joined #nixos
bnasty[m] has joined #nixos
bachp has joined #nixos
IslandUsurper has joined #nixos
jschievink has joined #nixos
ndarwincorn has joined #nixos
MiloIgnis[m] has joined #nixos
hiroshi[m] has joined #nixos
Dandellion[m] has joined #nixos
wangoe[m] has joined #nixos
is0x3F has joined #nixos
rycee has joined #nixos
slabity has joined #nixos
malteof[m] has joined #nixos
li_matrix has joined #nixos
layus[m] has joined #nixos
LinuXit has joined #nixos
alxev[m] has joined #nixos
ZD[m] has joined #nixos
sputny[m] has joined #nixos
Victor[m] has joined #nixos
corpix[m] has joined #nixos
nalck[m] has joined #nixos
pop[m]1 has joined #nixos
syntaxtree[m] has joined #nixos
orospakr[m] has joined #nixos
Dan[m]8 has joined #nixos
dkellner[m] has joined #nixos
xbreak[m] has joined #nixos
Christian[m]3 has joined #nixos
domenkozar[m] has joined #nixos
clacke[m] has joined #nixos
pingveno[m] has joined #nixos
quiet_laika[m] has joined #nixos
l33[m] has joined #nixos
wildtrees[m] has joined #nixos
Sascha[m]3 has joined #nixos
Thinkofname[m] has joined #nixos
siraben has joined #nixos
jak_wolf[m] has joined #nixos
musicmatze has joined #nixos
divansantana has joined #nixos
mica[m] has joined #nixos
Bruno[m]1 has joined #nixos
hackeryarn[m] has joined #nixos
vdot0x23[m] has joined #nixos
Fabian[m]2 has joined #nixos
tobim[m] has joined #nixos
gudea[m] has joined #nixos
red[m] has joined #nixos
MayeulC_backup has joined #nixos
haslersn[m] has joined #nixos
JaakkoLuttinen[m has joined #nixos
timokau[m] has joined #nixos
segfault[m] has joined #nixos
ptival[m] has joined #nixos
flip[m]1 has joined #nixos
Woland[m] has joined #nixos
Moredread[m] has joined #nixos
RIOTIM[m] has joined #nixos
MerlinGttlinger[ has joined #nixos
DanP[m] has joined #nixos
balsoft has joined #nixos
aquarial has joined #nixos
rihardsk[m] has joined #nixos
TravisRt2botio[m has joined #nixos
hienergy[m] has joined #nixos
earendil[m] has joined #nixos
tails[m] has joined #nixos
laas has joined #nixos
eddyb has joined #nixos
ejpcmac has joined #nixos
weebull[m] has joined #nixos
Seb[m] has joined #nixos
TheSirC[m] has joined #nixos
freddie_freeload has joined #nixos
rnhmjoj has joined #nixos
aloysius[m] has joined #nixos
pop[m]2 has joined #nixos
y0x3y[m] has joined #nixos
Gopal[m] has joined #nixos
kxlljoyy[m] has joined #nixos
infinisil-m has joined #nixos
jwaksbaum[m] has joined #nixos
Diamaths[m] has joined #nixos
grim_reaper[m] has joined #nixos
cyberwolf[m][m] has joined #nixos
KarelWDingeldey[ has joined #nixos
vxzero[m] has joined #nixos
alexoundos[m] has joined #nixos
stites[m] has joined #nixos
peterhoeg[m] has joined #nixos
nash8192[m] has joined #nixos
NfixEstrada[m] has joined #nixos
smolboye[m] has joined #nixos
anton-latukha[m] has joined #nixos
aymenstudios[m] has joined #nixos
dtkav[m] has joined #nixos
h0m1 has quit [Quit: WeeChat 2.6]
jbmusso has quit []
sb0 has quit [Quit: Leaving]
calbrecht[mb] has quit [Remote host closed the connection]
calbrecht[mb] has joined #nixos
oida has quit [Quit: byez]
neiluj has joined #nixos
neiluj has joined #nixos
neiluj has quit [Changing host]
<neiluj> hello
griff_ has quit [Quit: griff_]
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
<{^_^}> [nixpkgs] @peti merged pull request #72280 → lutris: remove gnutls-kdh → https://git.io/JezeJ
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/JezLe
toppler has quit [Ping timeout: 252 seconds]
aminechikhaoui has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master « gnutls-kdh: mark the build as broken »: https://git.io/JezLk
ckauhaus[afk] is now known as ckauhaus
rauno has quit [Ping timeout: 252 seconds]
m0rphism has quit [Ping timeout: 264 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jgeerds_ has quit [Ping timeout: 264 seconds]
<Orbstheorem> Is there any way to have a buildCommand that runs at the build stage but does not prevent subsequent phases from running?
<infinisil> Orbstheorem: buildPhase?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toppler has joined #nixos
<v0|d> infinisil: 'does not prevent subsquent from running' like a continue from a breakpoint I guess.
<{^_^}> [nixpkgs] @peti merged pull request #72058 → R: Add enableShared/enableStatic arguments → https://git.io/JeEHE
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/JezL3
<{^_^}> [nixpkgs] @Shados opened pull request #72295 → pidgin-opensteamworks: git-2018-08-02 -> 1.7 → https://git.io/JezLG
lsix has quit [Remote host closed the connection]
cosimone has quit [Quit: Terminated!]
lsix_ has joined #nixos
m0rphism has joined #nixos
captn3m0 has quit [Ping timeout: 245 seconds]
mjsir911 has quit [Quit: Goodbye, World!]
jboy has quit [Remote host closed the connection]
mjsir911 has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « xorg.*: source .attrs.sh »: https://git.io/JezL4
jboy has joined #nixos
<sphalerite> Orbstheorem: maybe preBuild / postBuild if you don't want to replcae the default buildPhase
<yorick> fpletz: yeah, reverting sounds good
captn3m0 has joined #nixos
<{^_^}> [nixpkgs] @mjsir911 opened pull request #72296 → [WIP] services.softether.vpnserver.settings → https://git.io/JezL0
<{^_^}> [nixpkgs] @nh2 merged pull request #71669 → srt: Fix wrong `srt.pc` include path → https://git.io/JeRys
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JezLE
<Orbstheorem> buildPhase would probably work, but then it breaks because there's no make install xD
<Orbstheorem> I guess I'll just keep calling fixupPhase from my buildPhase
<Orbstheorem> from my buildCommand*
<infinisil> Orbstheorem: You can set your own installPhase too
<infinisil> Or `dontInstall = true` to disable the install phase
<Orbstheorem> infinisil: That works*
<Orbstheorem> (don't install)
<Orbstheorem> thanks ^^
JonReed has quit [Remote host closed the connection]
<Orbstheorem> (The fact that buildCommand prevents all other standard phases should be added to the manual though)
mwelt has joined #nixos
LeshaInc has joined #nixos
<mwelt> hi @all. Short quick question about nix + haskell + dante. All the internet states that `nix-shell -p cabal2nix --run "cabal2nix . --shell > shell.nix"` will be sufficient. But there's no cabal executable in the corresponding nix-shell.
wrl_ has quit [Quit: Reconnecting]
neiluj has quit [Quit: Konversation terminated!]
wrl has joined #nixos
<mwelt> I can edit the shell.nix manually, add cabal-install deps, and it'll work. But this breaks the whole >>> add dependency to cabal file >>> cabal2nix it again >>> restart shell - lifecycle
<nh2_> worldofpeace: for https://github.com/NixOS/nixpkgs/pull/72057#discussion_r339853874, I understand your argument against catch-all `patchShebangs .` for cross-compilation. But what should I use instead when I know it will run on the target machine?
<Orbstheorem> mwelt: fwiw, you can build a derivation with `haskellPackages.callCabal2nix` and the use the `.env` to `mkShell`, so when you run nix-shell, you'll automatically get into a shell with the cabal dependencies
halfbit has joined #nixos
<Orbstheorem> mwelt: Also, if you make adrv with callCabal2nix, you can overrideAttrs to add whichever native package you may be missing
xd1le has quit [Quit: leaving]
sigmundv has joined #nixos
Izorkin has quit [Ping timeout: 265 seconds]
<worldofpeace> nh2_: you shouldn't have to do anything I think. but if you run patchShebangs once on the file/s and, for example, it gets build time bash, it won't run again on that file changing it to the other version. so what I do is run unpackPhase and patchShebangs in the unpacked archive and find what files just need to be patched for the build.
<nh2_> worldofpeace: but these files contain e.g. `/bin/sh`. Doesn't that mean they won't run on the target system?
tabasko has joined #nixos
custum has joined #nixos
<mwelt> Orbstheorem: I am not shure if this will work with dante
<mwelt>
<mwelt> but I'll try, thx!
reallymemorable has joined #nixos
<worldofpeace> nh2_: I'm not sure I understand, that makes it sound like if you don't run patchShebangs at postPatch it isn't ran at all. and it's still going to happen in fixup, it's just interpreters that are already patched and in the nix store are going to be untouched when we reach that phase, and you'll have the wrong version of the interpreter
<{^_^}> [nixpkgs] @carlosdagos opened pull request #72297 → py3status: add dbus-python dependency → https://git.io/JezLQ
captn3m0- has joined #nixos
captn3m0 has quit [Ping timeout: 265 seconds]
<nh2_> worldofpeace: ah, so you're saying that mkDerivation will patch all the _remaining_ files for me (so that they can run on the target) after the build phase is done? E.g. it will replace the shebangs of the remaining bash files by the bash version that run on the cross-compile target?
<worldofpeace> nh2_: I believe so, the hook has fixupOutputHooks+=(patchShebangsAuto)
<edef> hmm. i'd never really considered how patchShebangs and crossbuilds interact
swflint has quit [Ping timeout: 276 seconds]
<worldofpeace> with https://github.com/NixOS/nixpkgs/pull/43833 I believe it's actually correct now
<{^_^}> #43833 (by matthewbauer, 1 year ago, merged): patch-shebangs: respect cross compilation
<edef> o:
<worldofpeace> note it was reverted several times, but it's there now
o1lo01ol1o has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<nh2_> worldofpeace: ok thanks, I will give a shot at minimising it then
swflint has joined #nixos
lukash_|away is now known as lukash_
wormwood has quit [Ping timeout: 245 seconds]
toppler has joined #nixos
mwelt has quit [Ping timeout: 264 seconds]
Makaveli7 has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @jonringer merged pull request #72233 → pdfsam-basic: 4.0.4 -> 4.0.5 → https://git.io/JeuPM
<{^_^}> [nixpkgs] @jonringer pushed commit from @1000101 to master « pdfsam-basic: 4.0.4 -> 4.0.5 »: https://git.io/JeztU
Neo-- has joined #nixos
custum has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @erictapen opened pull request #72298 → wofi: init at 2019-10-28 → https://git.io/Jezt3
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
ddellacosta has joined #nixos
iyzsong has quit [Ping timeout: 245 seconds]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed to master « Revert "dhcpcd: 8.0.6 -> 8.1.1" »: https://git.io/JeztG
<{^_^}> [nixpkgs] @Mic92 opened pull request #72299 → cheat: 2.5.1 -> 3.0.3 → https://git.io/JeztZ
mlen has quit [Ping timeout: 240 seconds]
gkmngrgn has quit [Ping timeout: 246 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @ezemtsov opened pull request #72300 → dotnet.sdk: 2.2.6 -> 3.0.100 → https://git.io/Jezt4
Izorkin has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
mwelt has joined #nixos
swflint has quit [Ping timeout: 265 seconds]
morr has quit [Ping timeout: 240 seconds]
morr has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.09-small: https://git.io/JezTE
<{^_^}> [nixpkgs] @nh2 opened pull request #72301 → polkit: Fix unstable patch URL → https://git.io/Jezto
swflint has joined #nixos
<{^_^}> [nixops-aws] @RaitoBezarius opened pull request #13 → RDS: Add DBSubnet resource, VPC security groups → https://git.io/Jezti
markus1189 has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/12f5d47ef27 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
kk has joined #nixos
<{^_^}> [nixops-aws] @RaitoBezarius opened pull request #14 → S3: Ensure connection to the well-defined region → https://git.io/Jezty
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JeztS
waleee-cl has joined #nixos
mlen has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #72272 → twitter-color-emoji: build with python3 → https://git.io/JeuAH
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JeztH
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/Jezt7
<{^_^}> [nixpkgs] @nh2 merged pull request #63938 → texmacs: 1.99.2 -> 1.99.10 → https://git.io/fjoNr
rauno has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
artemist has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #62137 → pympress: init at 1.2.0 → https://git.io/fjRKv
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/Jezth
dreverri has joined #nixos
glittershark has joined #nixos
<glittershark> is there any way to allow installation of unfree packages at the *expression* level?
<glittershark> rather than system configuration?
markus1189 has joined #nixos
<glittershark> I'm looking for something like `(import <nixpkgs>).allowUnfree`
<tilpner> glittershark: Yes, keep allowUnfree off globally, and then reimport nixpkgs with allowUnfree specifically when you want unfree packages
<tilpner> I have that in my config, so I need to use withUnfree.firefox-bin instead of firefoxbin
toppler has joined #nixos
<glittershark> oh do I just pass it to the top-level nixpkgs expression?
<tilpner> You can do that
<tilpner> (import <nixpkgs> { config.allowUnfree = true; }).firefox-bin
<glittershark> cool
<glittershark> that was what I was looking for
<glittershark> ty!
<tilpner> That will not pass along other kinds of configuration or overlays
<tilpner> It can be done, it's just more work
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
sigmundv__ has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.4]
fresheyeball has joined #nixos
<fresheyeball> so I moved from "intel" graphcs to "modsetting"
<fresheyeball> and its PERFECT
<fresheyeball> execpt for one new issue I have discovered
<fresheyeball> xbacklight
<fresheyeball> No outputs have backlight property
<fresheyeball> I don't know how this works, but looking online
<fresheyeball> It looks like I need to symlink /sys/class/backlight
<fresheyeball> but I can't permission denied even with sudo
<glittershark> hmm tilpner this doesn't seem to be working - still getting a "refusing to evaluate"
<tilpner> fresheyeball: /sys is a special pseudo-filesystem, it doesn't have to behave like a conventional FS
<{^_^}> [nixpkgs] @das-g opened pull request #72302 → pythonPackages.qscintilla-qt5: fix build → https://git.io/Jezq3
sigmundv has quit [Ping timeout: 240 seconds]
<fresheyeball> tilpner: do you know how to fix this problem?
<tilpner> fresheyeball: Redirect a number into the brightness as root
<tilpner> E.g. echo 10 > brightness
bvdw has quit [Quit: bvdw]
<tilpner> But check max_brightness
<tilpner> And the scale might not be "more is brighter"
<fresheyeball> tilpner: that works as expected
bvdw has joined #nixos
<tilpner> fresheyeball: I use light
<tilpner> programs.light.enable
<chessai> "redirect a number into the brightness as root" if you didnt know what those words meant, that would sound like something a cult leader would say.
kvik has quit [Ping timeout: 246 seconds]
<fresheyeball> tilpner: what does that do?
mishaor has joined #nixos
<mishaor> hi everyone
<tilpner> fresheyeball: It allows me to control brightness more easily
<tilpner> fresheyeball: E.g. light -S 50 for 50% brightness
<chessai> is there a way to do nix-copy-closure for multiple store paths, e.g. of all the derivations in a given attribute set
<mishaor> why do I get an address boundary error when launching Qt5 apps with QT_QPA_PLATFORM=wayland
<tilpner> fresheyeball: I then call "light" from my i3 config
dhess has quit [Ping timeout: 276 seconds]
<mishaor> I installed qtwayland
<tilpner> glittershark: I need more information than that
* tilpner checks paste
<fresheyeball> tilpner: awesome!
<fresheyeball> does it allow a get?
<fresheyeball> I would like to hook this into dzen
kvik has joined #nixos
<tilpner> fresheyeball: light -G
<tilpner> chessai: nix-copy-closure does take multiple paths as arguments
<red[m]> The way I would probably do it would to make a Package that has those you wanted as dependencies - but there may be an easier way
<chessai> tilpner: okay, figures. i'll try that later then. thanks
<{^_^}> [nixpkgs] @marsam merged pull request #72256 → bslizr: init at 1.2.0 → https://git.io/JeuSF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JezqW
<tilpner> glittershark: What does config.allowUnfree evaluate to, in that repl session?
<glittershark> tilpner: true
<tilpner> glittershark: And just cudatoolkit still fails to eval?
<tilpner> Huh
<jonge[m]> hey there. on the nixcon's "nix gui talk" (https://cfp.nixcon.org/nixcon2019/talk/R9ARMT/) -- what's the url of this actual project? i cannot find it, i wanted to play with it.
<tilpner> glittershark: I spot "nixpkgs-unstable" in that source path. Do you have a weird channel setup?
<fresheyeball> tilpner++
<{^_^}> tilpner's karma got increased to 49
<fresheyeball> this is amazing!
<glittershark> tilpner: this is a pinned nixpkgs via a fetchTarball
<fresheyeball> how did I not know about this wonderful tool?
<glittershark> not a channel
<glittershark> tilpner: firefox-bin fails to evaluate too, for the same reason
<mishaor> is it ethical to repeat my message in IRC?
<tilpner> mishaor: Once an hour is usually fine
<mishaor> thanks
<mishaor> tilpner++
<{^_^}> tilpner's karma got increased to 50
<{^_^}> [nixpkgs] @das-g closed pull request #72302 → pythonPackages.qscintilla-qt5: fix build → https://git.io/Jezq3
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 23 commits to nixos-unstable-small: https://git.io/JezqR
<tilpner> jonge[m]: Could it be this? https://github.com/shatsky/niudu-playground
<tilpner> glittershark: How do you use that fetchTarball output?
<tilpner> mishaor: Don't do that in slow channels though, where your old message might still be on screen
<jonge[m]> it is also qt and python... yes, that could be it!
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/aad81ec8cd1 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<glittershark> tilpner: here's my nixpkgs.nix: https://pastebin.com/MH0AwrZW
<tilpner> glittershark: Please try (args // { ... })
<jonge[m]> tilpner: thank you.
<glittershark> tilpner: that did it! operator precendence strikes again
<{^_^}> [nixpkgs] @davidtwco closed pull request #72291 → delta: init at 0.0.14 → https://git.io/Jezk4
<glittershark> I guess the // was binding to the whole import expression, rather than just args
<glittershark> dang syntax trees!
<glittershark> ty for your help
<tilpner> glittershark: That was particularly mean, because you imported it without allowUnfree, but then overwrote config so that your repl would show allowUnfree = true
<glittershark> yeah
<glittershark> naaaaasty
genesis has joined #nixos
<glittershark> it does make sense that function application binds tighter than (//) but like
<glittershark> ick
<tilpner> > { config.foo = 42; } // { config.allowUnfree = true; }
<{^_^}> { config = <CODE>; }
<tilpner> > :p { config.foo = 42; } // { config.allowUnfree = true; }
<{^_^}> { config = { allowUnfree = true; }; }
<glittershark> gross, tensorflowWithCuda is failing to build now :{
<tilpner> Note that this does not preserver other config keys
<glittershark> oh yeah also if I import nixpkgs.nix and set config to something it'll get overwritten
<genesis> hi
<glittershark> yeah I did figure that, I'll probably update this to do a smarter deep merge
<glittershark> just wanted to get it working this way first
<Miyu-saki> I ag'd my logs and couldn't find any mentions. Has anyone used this yet? https://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/primerenderoffload.html
<fresheyeball> actually is there a version of the Xmonad spawn command that returns a String?
dhess has joined #nixos
<fresheyeball> ]'
<fresheyeball> ^^ that was my 3 year old bumping into me
jonringer has joined #nixos
endformationage has joined #nixos
slack1256 has joined #nixos
<Raito_Bezarius> Is there any way to generate a derivation without specifying its SHA256 sum? I am in a NixOps deployment context, I'd like to always deploy the latest version if possible
<Raito_Bezarius> I guess I could just run sha256sum in Nix using pkgs.runCommand
<Raito_Bezarius> Is there any Good Practice™ to do this?
<{^_^}> [cabal2nix] @peti pushed to master « README.md: improve spelling and grammar »: https://git.io/JezqH
<exarkun> You can fetchTarball without a sha256
<exarkun> It just means it will download it every time
<Raito_Bezarius> No cache, then?
* exarkun nods
<tilpner> Yes cache, 1h TTL by default
<exarkun> tilpner: waaat
<Raito_Bezarius> Is there a way to disable it?
<tilpner> Yes, set tarball-ttl to 0
<Raito_Bezarius> Awesome
<Raito_Bezarius> Can I have the same thing for fetch*** methods?
<Raito_Bezarius> (mostly fetchFromGit(Hub))
lord| has quit [Ping timeout: 276 seconds]
<Raito_Bezarius> tilpner++
<{^_^}> tilpner's karma got increased to 51
<Raito_Bezarius> exarkun++
<{^_^}> exarkun's karma got increased to 5
<tilpner> Perhaps for builtins.fetchGit
<tilpner> And you can use fetchTarball to fetch a tarball of your repo from GH
<doelie> (for reference, self answer) when using buildFHSUserEnv, is it generally necessary to explicitly use patchelf to add proper rpath to binaries generated inside the FHS chroot? i'm trying to wrap a buildroot toolchain. it builds fine, but dynlinks only inside the FHS chroot it was built in. => rpath of nix's gcc output is fine. it is buildroot "sdk" target that messes with rpath afterwards.
fresheyeball has quit [Quit: WeeChat 2.4]
<Raito_Bezarius> tilpner: Indeed
<adisbladis> Raito_Bezarius: You can only do so for builtins.fetch*
lord| has joined #nixos
<Raito_Bezarius> tilpner: Do you know where is the source code for builtins.fetch* on the nixos/nix repo or nixos/nixpkgs?
<Raito_Bezarius> adisbladis: Thanks!
<adisbladis> Since they run in the evaluator
<adisbladis> Raito_Bezarius: Which the fetchers in nixpkgs are fixed-output-derivations
<Raito_Bezarius> adisbladis: What does that mean exactly "fixed-output-derivation" ?
<adisbladis> ,FOD
<tilpner> Raito_Bezarius: src/libexpr/primops.cc
<tilpner> prim_fetchTarball
<Raito_Bezarius> tilpner: Perfect
<Raito_Bezarius> adisbladis++
<{^_^}> adisbladis's karma got increased to 21
<adisbladis> Hm, I thought the bot had something for fixed-outputs
toppler has quit [Ping timeout: 276 seconds]
<adisbladis> Raito_Bezarius: Basically fixed-output derivations are a special class of derivations that has network access
<adisbladis> And the output of those are verified against a known hash
<Raito_Bezarius> Okay
<adisbladis> But, except for that they are fairly standard derivations.
<Raito_Bezarius> They guarantee a certain determinism across rebuilds?
<adisbladis> They guarantee that the output of the derivation is exactly what you expected
<Raito_Bezarius> Alright
<adisbladis> While builtins.fetch* run inside the process evaluating your nix code (as your user), and therefore has less strict limitations
<adisbladis> And also why they can take things like ~/.ssh and ~/.netrc into account
<Raito_Bezarius> Makes sense
<Twey> Rather, they have network access *because* the output is verified against a known hash
<Twey> ‘Fixed-output’ derivations that know their own intended output hash are allowed more sources of non-determinism, since they're checked anyway
mwelt has left #nixos ["ERC (IRC client for Emacs 26.3)"]
<adisbladis> Twey: With that said, there is some push to restrict fixed-output derivations
<adisbladis> (or even remove them entirely in the longer-term)
<Twey> adisbladis: To what?
<{^_^}> nix#2270 (by edolstra, 1 year ago, open): Restrict fixed-output derivations
<Twey> In favour of using the built-in networking primitives like `fetchTarball`?
<adisbladis> Twey: Yeah
<clever> Twey: there are 3 main types of fod, ones that build on "builtin", eval-time ones, and normal derivations
teressa has quit []
<genesis> neonfuz2: any work on nixos for switch ? :)
<clever> Twey: eval time ones are the "worst" because they stall the eval and cant be done in parallel
gkmngrgn has joined #nixos
<clever> Twey: the builtin ones are the most restricted, because they are implemented in c++ within nix
toppler has joined #nixos
<inkbottle> I can't connect BT headset... Is it normal that I seemingly have no "pulseaudio" daemon, and can neither start or stop some? (pulseaudio -k E: [pulseaudio] main.c: Failed to kill daemon: No such process [https://wiki.archlinux.org/index.php/Bluetooth_headset#Configuration_via_CLI])
<clever> Twey: these run on an arch of "builtin"
jlmeeker has joined #nixos
<slack1256> inkbottle: systemctl list-units '*pulseaudio*' or systemctl --user list-units '*pulseaudio*' should tell you if your have it running.
<Twey> Hrm. Don't know how I feel about that. My understanding has always been that Nix's reproduciblity guarantee is that *if it builds*, it's reproducible. I don't see any breakage of that guarantee by allowing arbitrary fixed-output derivations, nor any strengthening of it by forbidding them — seems like it just moves more functionality into the “core” Nix code and out of user libraries
<Ankhers> I am trying to use emacs and org mode to generate a pdf. I am getting an error about grffile.sty not being found. Does anyone know which package(s) I should be installing in order for org mode to have everything it needs?
<exarkun> Anyone know why `stack path` doesn't get the path for --local-doc-root right? not sure if this is related to stack's nix support or something else.
<slack1256> Also checkout out `systemctl --user status pulseaudio.service` and checkout the last logs for info. Maybe there is a log about your BT headphones (as a sink etc).
<inkbottle> OK...
hmpffff has joined #nixos
<exarkun> Twey: I don't think Nix makes such a reproducibility guarantee. Reproducibility is up to the build tool chain. Nix only invokes that and crosses its fingers.
johnw_ has joined #nixos
<slack1256> Ankhers: .sty files are files LaTex or the TeX engine needs. Checkout if you can generate PDF from latex. Also try to install pandoc and see if you can generate PDF that way.
<Twey> exarkun: Well, it tries hard, with things like sandboxing and reproduciblity checking on Hydra.
<exarkun> I can get behind "tries hard".
<Twey> reproducibility**
<slack1256> Ankhers: That way you can diagnose if it's a Emacs' org problem, Latex problem etc.
Tucky has quit [Ping timeout: 268 seconds]
johnw has quit [Ping timeout: 264 seconds]
<Ankhers> slack1256: I will try the pandoc route, but I'm pretty sure it is a latex problem. I currently have the tetex package installed, it just doesn't seem to come with that sty file.
<{^_^}> [nixpkgs] @jonringer merged pull request #72199 → cryptopp: 5.6.5 -> 8.2.0 → https://git.io/JeuzX
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JezmR
<slack1256> Ankhers: Just as a note I have installed `texlive.combined.scheme-medium` and the interaction with org-mode has been good.
<Ankhers> slack1256: Thanks. I will give that a go if pandoc still fails.
<slack1256> Ankhers: Good luck.
<adisbladis> Making a tex environment can be a bit difficult...
o1lo01ol1o has joined #nixos
<Ankhers> In general, or specifically for nix?
<adisbladis> In general :P
<adisbladis> I use that environment to render presentations from emacs
<exarkun> I've used tectonic for tex recently. On Nix. It was pretty easy. But my tex might be pretty simple.
<adisbladis> Ankhers: And I typically load the environment using direnv + direnv-emacs
<adisbladis> Each presentation also has a makefile you can build it with https://github.com/adisbladis/presentations/blob/master/nixcon-2018-10-26/Makefile
<adisbladis> Ankhers: Should be enough to get you started at least :)
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to bash-no-undef-vars: https://git.io/Jezm1
<Ankhers> adisbladis: Thanks.
<adisbladis> Figuring out what tex modules you need is trial-and-error IME :/
<{^_^}> [nixpkgs] @jonringer merged pull request #72052 → Update pypi2nix → https://git.io/JeEyP
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JezmH
<{^_^}> [nixpkgs] @WilliButz opened pull request #72303 → wt: 3.4.1 -> 3.4.2, 4.1.1 -> 4.1.2 → https://git.io/Jezm5
<{^_^}> [nixpkgs] @WilliButz opened pull request #72304 → prometheus-postgres-exporter: 0.5.1 -> 0.6.0 → https://git.io/Jezmb
<mishaor> why do I get an address boundary error when launching Qt5 apps with QT_QPA_PLATFORM=wayland?
<mishaor> the logs: https://pastebin.com/BSG14TMX
<{^_^}> [nixpkgs] @nh2 merged pull request #72019 → postgresql: Disable 2 failing tests on musl → https://git.io/JezYJ
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JezYU
<{^_^}> [nixpkgs] @nh2 merged pull request #72301 → polkit: Fix unstable patch URL → https://git.io/Jezto
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to staging: https://git.io/JezYk
emacsomancer has quit [Ping timeout: 240 seconds]
kk has quit [Remote host closed the connection]
nobbo has joined #nixos
h0m1 has joined #nixos
<inkbottle> slack1256, adisbladis: Thanks. From the "wiki" it seems there is some issue when using pulseaudio/system-Wide: Someone has said "the info below is not enough" (I'm using KDE and therefore have "systemWide" in my configuration.nix
nobbo has quit [Quit: leaving]
nobbo has joined #nixos
erasmas has joined #nixos
h0m1 has quit [Client Quit]
basvandijk has joined #nixos
<inkbottle> Anyway, I keep the wiki page in mind and finalize that later
<basvandijk> Did something change between nix-2.2.2 (from 19.03) and nix-2.3 (from 19.09) regarding nix builds on localhost? My hydra has localhost configured as a build machine so that jobs are also build locally. However I see the following error in my build logs: "cannot build on 'localhost': don't know how to open Nix store 'localhost'". See: https://github.com/NixOS/nix/issues/3177
orbekk has quit [Quit: WeeChat 2.4]
<{^_^}> nix#3177 (by basvandijk, 2 minutes ago, open): cannot build on 'localhost': don't know how to open Nix store 'localhost'
orbekk has joined #nixos
<slack1256> Did /proc/sys/kernel/sysrq default value change on nixos 20.03?
fusion809 has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 276 seconds]
<adisbladis> inkbottle: You're not using pulseaudio system-wide unless you configured that yourself.
<adisbladis> Tbh the system-wide bits should be removed from the wiki
<adisbladis> It's really confusing to users who don't know much about pulseaudio
<adisbladis> system-wide is unsupported by upstream
fendor has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
<adisbladis> `hardware.pulseaudio.package = pkgs.pulseaudioFull;` and `hardware.bluetooth.enable = true;` should be sufficient
reallymemorable has joined #nixos
<adisbladis> This bit should also be removed: https://nixos.wiki/wiki/Bluetooth#Enabling_A2DP_Sink
<adisbladis> It's not really required.
reallymemorable has quit [Client Quit]
<adisbladis> inkbottle: If you're using pulseaudio system-wide that's most likely the cause of your issues.
zupo has joined #nixos
<adisbladis> Also the option description for systemWide should change.. Whoever wrote that was misinformed.
<adisbladis> "This is the recommended and most secure way to use PulseAudio" - 100% untrue.
Tucky has joined #nixos
tabasko has quit [Quit: tabasko]
toppler has joined #nixos
<Ankhers> slack1256: Sorry about this, but can you give me the name of the tex package you are using again? I lost my IRC history.
<tilpner> Ankhers: texlive.combined.scheme-medium
<Ankhers> tilpner: Thanks!
<tilpner> Ankhers: The channel topic links to public logs
<inkbottle> adisbladis: OK, I have the systemWide option I've been told to do so; I'm trying to find where is that information coming from...
<inkbottle> because*
<Ankhers> tilpner: Thanks. I hadn't noticed that.
<adisbladis> inkbottle: It may come from the nixos option description...
<slack1256> Ankhers: what tilpner said.
<adisbladis> But that one is clearly wrong to anyone who knows pulseaudio :)
<adisbladis> I'm updating the description (and backporting to 19.09)
<{^_^}> [nixpkgs] @aanderse opened pull request #72305 → phpPackages.mongodb: 1.5.5 -> 1.6.0 → https://git.io/JezOm
<adisbladis> In fact, running PA system-wide is _less_ secure
<slack1256> Take notice it's a big closure, like 1G. For me the cost was worth it as my thesis paper had to had certain format only that derivation provided.
<adisbladis> Because PA supports module loading, so you could potentially load a module that gives you the same privileges as the PA user
<adisbladis> (PA modules are normal .so files)
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @jonringer merged pull request #72297 → py3status: add dbus-python dependency → https://git.io/JezLQ
<{^_^}> [nixpkgs] @jonringer pushed commit from @carlosdagos to master « py3status: add dbus-python dependency »: https://git.io/JezOG
<{^_^}> [nixpkgs] @jonringer merged pull request #69304 → osxsnarf: init at 0.1.0 → https://git.io/JesPB
<{^_^}> [nixpkgs] @jonringer pushed commit from @eraserhd to master « osxsnarf: init at 0.1.0 »: https://git.io/JezOZ
<adisbladis> Iirc --system was added because of embedded use cases, it's not meant for desktops.
<{^_^}> [nixpkgs] @adisbladis pushed to master « nixos.pulseaudio: Remove bad recommendation to use pulseaudio in system-wide mode »: https://git.io/JezOl
<adisbladis> inkbottle: ^
<adisbladis> Updated.
<{^_^}> [nixpkgs] @fgaz opened pull request #72306 → mindustry: init at 99 → https://git.io/JezOB
<inkbottle> adisbladis: So your advice is to simply remove it.
<adisbladis> inkbottle: Right. That's only true for our install media.
<adisbladis> Where X runs as root.
<adisbladis> (I'm not even sure we need it there tbh)
Ariakenom has quit [Quit: WeeChat 2.6]
<adisbladis> inkbottle: Yes. Please do.
<adisbladis> It's very likely things will "just work" after that.
drakonis has joined #nixos
<inkbottle> adisbladis: Thanks
<{^_^}> [nixpkgs] @adisbladis pushed to release-19.09 « nixos.pulseaudio: Remove bad recommendation to use pulseaudio in system-wide mode »: https://git.io/JezOR
<adisbladis> etu: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/graphical.nix#L19 This should not be in the graphical profile.
<adisbladis> We should fix (and probably backport that too)
stammon has joined #nixos
<inkbottle> adisbladis: It did work even without having to re-login.
emacsomancer has joined #nixos
<adisbladis> \o/
<adisbladis> inkbottle: As a side-note if you may want to enable this https://nixos.wiki/wiki/Bluetooth#Enabling_extra_codecs
<adisbladis> (these are not upstream pulseaudio codecs, hence not enabled by default)
<{^_^}> [nixpkgs] @jlesquembre opened pull request #72307 → pulumi: 1.3.4 -> 1.4.0 → https://git.io/JezOP
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<stammon> I'm looking for an option to assemble a filesystem from a list of nix packages. Kind of like dockertools.buildImage but as a result I need a tar (or similar). Has anyone ever done something similar or has some advice on how to do it?
<etu> adisbladis: I'd assumed that that would have been removed with changing the default user to run as a regular user. But seems like it wasn't.
<{^_^}> [nix] @dasJ opened pull request #3178 → [flakes] Replace git show with git log → https://git.io/JezOD
<Twey> stammon: Sounds like `buildUserFHSEnv` or maybe just `buildEnv`?
<Twey> stammon: You can just tar up the result of that, with -h to follow symlinks if you want
<Raito_Bezarius> Sometimes I don't understand something about nix-shell and derivations, I have a local derivation file, when I run nix-shell on it, and I do buildPhase it tries to use make but I specified a buildPhase in the derivation and it's not using it, why?
<Raito_Bezarius> In the env vars, I can see my buildPhase, but buildPhase run something else it seems like
<{^_^}> [nix] @edolstra merged pull request #3178 → [flakes] Replace git show with git log → https://git.io/JezOD
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/JezON
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #72304 → prometheus-postgres-exporter: 0.5.1 -> 0.6.0 → https://git.io/Jezmb
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JezOx
cosimone has quit [Quit: Terminated!]
dreverri has quit [Remote host closed the connection]
dreverri has joined #nixos
neiluj has joined #nixos
neiluj has joined #nixos
neiluj has quit [Changing host]
dreverri has quit [Remote host closed the connection]
dreverri has joined #nixos
<neiluj> hello! I managed to fix my problem with my nix shell for ocaml development but I'm missing a library : cairo2-gtk (cairo2 is only available through nixpkgs)
<Ankhers> Is it possible to have multi stage builds like in docker? An example would be that I need packages A, B and C to build my application, but I need packages X, Y, Z to run my application. This way I am not putting a bunch of unnecessary packages on my production server.
drakonis has quit [Quit: WeeChat 2.6]
<neiluj> I think this can be done simply by building the nix expression for the cairo2 library with the lablgtk as an extra dependency
slack1256 has quit [Remote host closed the connection]
<Raito_Bezarius> Ankhers: Yes according to this: https://nixos.org/nixpkgs/manual/#ssec-stdenv-dependencies
<shapr> vaibhavsagar helped me get nixOS installed last night, hurrah!
<neiluj> but how can I build the nix expression? (the documentation I've read doesn't explain how to build the expression https://nixos.org/nixpkgs/manual/#sec-language-ocaml)
<{^_^}> [nixpkgs] @jojosch opened pull request #72310 → dbeaver: use github release as src → https://git.io/Jez3q
<Ankhers> Raito_Bezarius: Thanks. I will take a look through that.
__Sander__ has quit [Quit: Konversation terminated!]
cosimone has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
Ariakenom has joined #nixos
jonringer has quit [Ping timeout: 264 seconds]
<stammon> @Twey nix-build of a buildFhsUserEnv just generates a script file which chrootenvs into the actual environment. To build a tar archive of that some extra steps are required. Also does the fhsEnv contain everything? I'll use the result to build a vm that contains a kernel, a init binary and the collected files.
<shapr> Even more impressive, my laptop boots into NixOS by default, but I can still use Ubuntu on my other drive by switching the boot device.
<red[m]> I have a phone that dual-boots Android and Linux and I keep being tempted to make a NixOS image for it
neiluj has quit [Quit: Konversation terminated!]
toppler has joined #nixos
<Raito_Bezarius> I have a nix-shell and I am unable to do mkdir -p $out/ in it? Why?
<Raito_Bezarius> (it says permission denied)
Tucky has quit [Quit: WeeChat 2.6]
<ajs124> Raito_Bezarius: because it points to the nix store, which is read only.
<Raito_Bezarius> ajs124: Alright, but in this case, when I nix-build something, how it handles the readonly /nix store?
<Raito_Bezarius> I guess there are some point where $out must be some nix store path and he must be able to write to it
drakonis has joined #nixos
<Twey> stammon: I think it contains everything you give it. So if you include a kernel it'll have a kernel
JonReed has joined #nixos
zupo has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
fendor has quit [Ping timeout: 276 seconds]
drakonis has quit [Ping timeout: 264 seconds]
CMCDragonkai has quit [Quit: Connection closed for inactivity]
<JonReed> Does anybody know how to deal in Nix with python packages that specify extra features in square brackets? That is I'm trying to translate a line like this to nix: `pip install splinter[django]". If I understand correctly, pip parses that line as package name there still being `splinter` and the stuff inside square brackets as extra args that python
<JonReed> setup somehow recognizes. Where to put that `[django]` in Nix?
<JonReed> Ah, I think it's `checkInput`. I'll try if that works.
phreedom has quit [Ping timeout: 260 seconds]
judson__ has joined #nixos
<JonReed> No, that doesn't really make sense. I'm still confused.
phreedom has joined #nixos
cosimone has quit [Quit: Quit.]
<FRidh> JonReed: not. We don't bother with extra dependencies
cosimone has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @sweber83 opened pull request #72312 → add package for pkgdiff → https://git.io/Jez3j
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 23 commits to nixos-unstable-small: https://git.io/Jezse
drakonis has joined #nixos
<{^_^}> [nixpkgs] @Ekleog merged pull request #72263 → matrix-synapse: 1.4.1 -> 1.5.0 → https://git.io/Jeu5p
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/Jezsf
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/57c922972a4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<stammon> @Twey Since the binaries are dynamically linked, they need /nix/store libraries. I'm not sure whether the FhsEnv actually contains all of these. Also I'd have to tar everything up with it's absolute path since to dependency lookup assumes it has a nix store
NoctisLabs has quit [Quit: WeeChat 2.6]
jgt1 has joined #nixos
<JonReed> FRidh: Ok. Thanks! I'll just add them then as normal dependencies inside `propagatedBuildInputs` then.
<Raito_Bezarius> How to enable access to the network during a derivation phase?
<Raito_Bezarius> (I know it won't make the derivation pure, but I'm okay with this)
jgt has quit [Ping timeout: 252 seconds]
wildtrees has joined #nixos
<JonReed> Raito_Bezarius: What do you want to do? If you want to download something, then why not use `fetchurl` or `fetchtarball` in the nix expression itself?
juhe has quit [Ping timeout: 246 seconds]
<Raito_Bezarius> JonReed: I want to use the NPM packager to install some packages
<JonReed> Raito_Bezarius: That won't work.
<Raito_Bezarius> Alright, so I guess node2nix is the only way
<adisbladis> Raito_Bezarius: The only way to do so is via a fixed-output derivation. And that wont work unless your output is reproducible.
<Raito_Bezarius> The output is reproducible because I have a lock file
<adisbladis> Raito_Bezarius: It's not.
<adisbladis> 100% _binary_ reproducible
<Raito_Bezarius> Ah
<Raito_Bezarius> Well, in this case, yes
<adisbladis> npm lockfiles do not guarantee that.
<adisbladis> Use node2nix :)
<adisbladis> or yarn2nix, or something along those lines
<Raito_Bezarius> Yeah, that's what I was going to use
<Raito_Bezarius> Thank you
hmpffff has quit [Quit: nchrrrr…]
nDuff has joined #nixos
freeman42x has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<FRidh> JonReed: in nixpkgs that is typically not desired, as it can lead to unnecessary bloat
<JonReed> FRidh: How does a user enable some feature, if it's a library? By taking a package from `pythonPackages.package` and overriding its dependencies adding extra ones?
ubert has quit [Quit: Leaving]
reallymemorable has joined #nixos
<JonReed> FRidh: Let's say I want to package a python package `myPackage` with feature `myFeature`, which enables a bunch of extra dependencies. Are you saying that I then need to package `myPackage` without extra depedencies and rely on user to notice that a python package doesn't have that feature and leave it for whoever will use that library then to add
<JonReed> those extra dependencies if they need them?
<nDuff> JonReed, there are packages in nixpkgs that take boolean arguments as to whether to require optional features, and adjust both dependencies and compile-time flags appropriately if that boolean argument is overridden. Might be a model to follow.
<nDuff> (that said, FRidh is much more an expert in everything here than I am)
<JonReed> Ah, right nevermind. Yeah, that should work for python packages as well.
toppler has joined #nixos
oscarvarto has joined #nixos
selfsymmetric-mu has joined #nixos
mishaor has quit [Ping timeout: 240 seconds]
<selfsymmetric-mu> Hi! I'm trying to maintain a tmux session over ssh but my ssh session keeps dying. How can I declaratively increase the SSH keepalive on NixOS?
<selfsymmetric-mu> I've looked at https://nixos.org/nixos/options.html but I'm having trouble finding anything that looks right.
nuncanada has joined #nixos
<selfsymmetric-mu> Is there something equivalent to `ServerAliveInterval`?
<JonReed> Oops.
<JonReed> The link doesn't matter. `ssh.extraConfig`
<JonReed> And putting `ServerAliveInterval` there sshExtraConfig = '' ServerAliveInterval 42 '';
<selfsymmetric-mu> Hah, fair enough. Thank you!
<selfsymmetric-mu> JonReed++
<{^_^}> JonReed's karma got increased to 1
<{^_^}> [nixpkgs] @jtojnar opened pull request #72313 → twitter-color-emoji: use noto-fonts-emoji’s src → https://git.io/Jezsb
reallymemorable has quit [Quit: reallymemorable]
<FRidh> JonReed: one always uses python.withPackages, so you can just add your dep yourself to that environment
nDuff has quit [Read error: Connection reset by peer]
lsix_ has quit [Remote host closed the connection]
<exarkun> `security.acme` doesn't seem to do anything right away. Are you required to manually provision a certificate first, and then `security.acme` merely takes care of renewal?
<ar> exarkun: judging by https://github.com/NixOS/nixpkgs/blob/release-19.09/nixos/modules/security/acme.nix it seems to generate systemd timer units
<ar> exarkun: for renewal, but also generating the initial certs
<exarkun> I set `security.acme.preliminarySelfsigned` to true but this didn't result in a system with any "acme-selfsigned-..." services. :/
nDuff has joined #nixos
<nDuff> Huh; having some oddness with npm2nix; when in the shell environment it defines, NODE_PATH to a store location under which lib/node_modules/<dep>/package.json exists, yet even in that environment, ''npm list'' claims that <dep> doesn't exist, for every dependency in the list... until/unless I ``ln -s "$NODE_PATH" node_modules``, after which everything works properly.
<nDuff> ...which is to say, it smells a lot like NODE_PATH isn't being honored at all.
dreverri has quit [Remote host closed the connection]
zupo has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #61606 → nbdime: init at 1.0.6 → https://git.io/fjljV
<{^_^}> [nixpkgs] @jonringer pushed commit from tbenst to master « nbdime: init at 1.0.6 »: https://git.io/JezGt
NoctisLabs has joined #nixos
dreverri has joined #nixos
<inkbottle> let fix = f: let result = f result; in result; in fix (n: if n==0 then 1 else 1) 3
<inkbottle> error: infinite recursion encountered, at (string):1:62
zupo has joined #nixos
<inkbottle> let fix = f: let result = f result; in result; in fix (n: if n == 0 then 1 else n * (f (n-1))) 3
<inkbottle> isn't that the usual definition of fact function?
<exarkun> Hm. There is a acme-selfsigned-... service. It just doesn't show up in `systemctl -a` output. It is in /etc/systemd/system, though.
<exarkun> And it never obviously ran.
<exarkun> It has no journal and, of course, the certificate doesn't exist.
cosimone has quit [Quit: Quit.]
dreverri has quit [Ping timeout: 276 seconds]
<exarkun> It's not wanted by anything. It has no install section.
<exarkun> I guess I could make *my* service want it... not sure if that's the idea or if this is just a bug.
<exarkun> seems like the feature has been around for several years
dreverri has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #71829 → monotoneViz, haxe: refactor out of ocamlPackages → https://git.io/Je0ZT
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/JezG4
<exarkun> pff
<exarkun> it even offers a target
<exarkun> but the target wants nothing
mishaor has joined #nixos
reallymemorable has joined #nixos
<infinisil> inkbottle: Pretty sure that's not the case
<infinisil> > :v fact
<{^_^}> fact = n: if n <= 1 then 1 else n * fact (n - 1)
<infinisil> This is the usual definition ^^
<infinisil> > fact 10
<{^_^}> 3628800
<exarkun> if I start the self-signed service myself, it works. if I declare the self-signed service as wanted by my service, nothing.
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
<inkbottle> let fix = f: let result = f result; in result; in fix (f: n: if n == 0 then 1 else n * (f (n - 1))) 3 # I've forgotten to abstract the 'f', works better now
<inkbottle> infinisil: OK, thanks
<inkbottle> :v let fix = f: let result = f result; in result; in fix (f: n: if n == 0 then 1 else n * (f (n - 1))) 3 # I've forgotten to abstract the 'f', works better now
<{^_^}> [nixpkgs] @volth opened pull request #72314 → babelstone-han: 12.1.4 -> 12.1.7 → https://git.io/JezGu
jgt2 has joined #nixos
<inkbottle> Why didn't it do the evaluation as it did for you?
<exarkun> inkbottle: >
<inkbottle> ok
<inkbottle> > let fix = f: let result = f result; in result; in fix (f: n: if n == 0 then 1 else n * (f (n - 1))) 3 # I've forgotten to abstract the 'f', works better now
<{^_^}> 6
jgt1 has quit [Read error: Connection reset by peer]
toppler has quit [Ping timeout: 268 seconds]
rauno has quit [Ping timeout: 276 seconds]
ThatDocsLady has quit [Ping timeout: 252 seconds]
<avocadoom> Hey, I have a problem rebuilding my nixos configuration. When I run "nixos-rebuild switch" it does not display any output. When I use -v it hangs at evaluating file '/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/from-env.nix'. I don't know what causes this error. Can you help me?
basvandi` has joined #nixos
fendor has quit [Remote host closed the connection]
<exarkun> oops the self-signed service doesn't have/respect plugins configuration so sort of useless if you need different stuff
toppler has joined #nixos
fendor has joined #nixos
basvandijk has quit [Ping timeout: 276 seconds]
<avocadoom> problem solved :D
griff_ has joined #nixos
JonReed has quit [Remote host closed the connection]
nDuff has quit [Ping timeout: 265 seconds]
griff_ has quit [Client Quit]
<{^_^}> [nixpkgs] @jonringer opened pull request #72315 → onnxruntime: 0.5.0 -> 1.0.0 → https://git.io/JezZq
ris has joined #nixos
dreverri has quit [Remote host closed the connection]
basvandi` has quit [Remote host closed the connection]
basvandi` has joined #nixos
dreverri has joined #nixos
drakonis_ has joined #nixos
dreverri has quit [Ping timeout: 276 seconds]
oscarvarto has quit [Quit: Konversation terminated!]
basvandi` has quit [Ping timeout: 268 seconds]
mexisme has joined #nixos
dreverri has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
aveltras has joined #nixos
jgt2 has quit [Ping timeout: 276 seconds]
NoctisLabs has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @Mic92 merged pull request #72299 → cheat: 2.5.1 -> 3.0.3 → https://git.io/JeztZ
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JezZS
<{^_^}> [nixpkgs] @Mic92 merged pull request #72201 → .github: clarify things done re: sandboxing → https://git.io/JeugW
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JezZ9
growpotkin has joined #nixos
<Raito_Bezarius> I have a local nix-built (i.e. I called nix-build on it) package, how can I install it in my profile?
<infinisil> avocadoom: Well what was the problem??
<srhb> Raito_Bezarius: You could nix-env -i the store path. I'd say that's a rare approach compared to adding the package to, say, and overlay, as described in the manual.
<Raito_Bezarius> srhb: Well, I'm not sure I can overlay a nixops aws plugin
<Raito_Bezarius> I'd definitely love to, but the nixops plugin installation stuff looks like complicated
<{^_^}> [nixpkgs] @Mic92 opened pull request #72316 → radare2: 3.9.0 -> 4.0.0 → https://git.io/JezZF
shizonic has joined #nixos
<{^_^}> [nixos-hardware] @Alecktos opened pull request #128 → Add Dell XPS-7390 Profile → https://git.io/JezZN
<srhb> Raito_Bezarius: I thought you built nixops with a number of plugins these days... I may have not been paying enough attention O:-)
<srhb> No, that's indeed how it works..
<{^_^}> [nixpkgs] @JustinLovinger opened pull request #72317 → vimPlugins.antonys-macro-repeater: init at 2017-09-10 → https://git.io/JezZx
noudle has joined #nixos
drakonis has quit [Ping timeout: 245 seconds]
<Raito_Bezarius> srhb: This is what I have done
<Raito_Bezarius> nix-build gives me only the result and a nix store path
<srhb> Raito_Bezarius: Ah! I thought you meant you'd somehow installed the plugin standaline.
<Raito_Bezarius> Sorry, this is my bad
<srhb> Raito_Bezarius: I see, okay, but you could just as well overlay that expression.
<Raito_Bezarius> I have a NixOps AWS plugin that I develop on my repo and I want to use it with NixOps
* srhb nods
<Raito_Bezarius> Which expression?
<srhb> The entire, final nixops thing, plugin included.
<Raito_Bezarius> It appears to me that NixOps relies on something external: https://github.com/NixOS/nixops/blob/master/all-plugins.txt
<aminechikhaoui> Raito_Bezarius if you have the final store path, can't you just nix-env -i it ?
<Raito_Bezarius> aminechikhaoui: This is what I have done, asked if there was a better solution
<Raito_Bezarius> aminechikhaoui: BTW, nice to see you here :)
jlmeeker has quit [Ping timeout: 276 seconds]
<aminechikhaoui> :)
abathur has joined #nixos
<aminechikhaoui> Raito_Bezarius something like https://github.com/NixOS/nixpkgs/pull/72266 ?
<{^_^}> #72266 (by AmineChikhaoui, 23 hours ago, open): Introduce NixOPS plugin structure
<Raito_Bezarius> aminechikhaoui: Yes, definitely
<Raito_Bezarius> That feels more Nix-y
jlmeeker has joined #nixos
fendor has quit [Ping timeout: 268 seconds]
logzet has quit [Ping timeout: 264 seconds]
<aminechikhaoui> feel free to test it and comment if you have any feedback ;)
<{^_^}> [nixos-hardware] @Mic92 closed pull request #64 → Add Dell E7240 Profile → https://git.io/fNYgg
toppler has quit [Ping timeout: 240 seconds]
<Raito_Bezarius> It's a shame that I cannot star a PR :D
noudle has quit []
<Raito_Bezarius> I'll try it whenever I have time to rework some stuff on AWS
knupfer has joined #nixos
<aminechikhaoui> cool
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
noudle has joined #nixos
lord| has joined #nixos
mishaor has quit [Ping timeout: 265 seconds]
<srhb> Raito_Bezarius: What I meant by overlaying: https://gist.github.com/5cae99a6e54b338b613580dd21c68b5a
toppler has joined #nixos
<srhb> Raito_Bezarius: (For local dev I tend to do stuff like that)
<srhb> Raito_Bezarius: Usually this goes in some dev attrs that I import into my main nixpkgs, so I can nix-env -iA nixpkgs.my-nixops-with-aws or whatnot.
<srhb> ymmv :)
sigmundv__ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixos-hardware] @Mic92 merged pull request #128 → Add Dell XPS-7390 Profile → https://git.io/JezZN
<{^_^}> [nixos-hardware] @Mic92 pushed commit from @Alecktos to master « Add Dell XPS-7390 Profile (#128) »: https://git.io/Jezn2
Jackneill has quit [Remote host closed the connection]
sigmundv__ has joined #nixos
<Raito_Bezarius> srhb: That looks super cool, this is what I wanted but didn't know how to do it, thanks! :)
<Raito_Bezarius> srhb++
<{^_^}> srhb's karma got increased to 77
<srhb> Sure thing.
<{^_^}> [nixpkgs] @magnetophon opened pull request #72318 → fmsynth: change build so it produces sound again → https://git.io/Jeznw
<Raito_Bezarius> Just a quick (naive) question, how do you maintain an updated nixpkgs and a local nixpkgs?
<srhb> Raito_Bezarius: I'm not sure what you mean by "updated" nixpkgs
<Raito_Bezarius> Sync'd with upstream
<srhb> Ah. We have a nixpkgs-channels repo whose head branches match our channels
<srhb> So, I'd checkout say nixos-19.09 if I want the stable channel
noudle has quit []
<srhb> (As in, I have it as a remote called "channels" in my checkout)
<srhb> When it's not my laptop I always import nixpkgs from some specific revision.
zeta_0 has joined #nixos
<Raito_Bezarius> I see
Soo_Slow has quit [Remote host closed the connection]
<Raito_Bezarius> Thank you again
<srhb> Sure :)
Interstitial has joined #nixos
<Interstitial> Noob question here: the qscintilla package is marked as broken, so whenever I try to rebuild-switch, the build fails. I've tried setting allowBroken = true; but that also leads to failure. I've even tried getting rid of whatever package depends on qscintilla, but I can't determine that at the moment, since it's not a standard .drv file and the
<Interstitial> typical nix-store query mechanisms don't yield useful information (maybe there's a command I'm missing?) Any help would be appreciated!
mexisme has joined #nixos
<srhb> Interstitial: In the end it is a drv file, you should see it in the rebuild-switch output near the top I think? Otherwise we can find its path through other means..
<zeta_0> i`m trying to install postgresql, but whenever i try to do the nixos-rebuild switch commands i get this error: systemd[1]: Failed to start PostgreSQL Server
<srhb> Interstitial: (Essentially just figuring out what nixos-rebuild does itself to make the drv, it's a fairly readable script)
domogled has joined #nixos
noudle has joined #nixos
<srhb> zeta_0: You'll probably want to start looking at postgres' logs to figure that one out.
<Interstitial> The exact error is "error: Package ‘qscintilla-qt4-2.11.2’ in /nix/store/dicgv1d43j066fp0371sn23mp2xm71pk-nixpkgs-20.03pre197736.91d5b3f07d2/nixpkgs/pkgs/development/libraries/qscintilla/default.nix:56 is marked as broken, refusing to evaluate"
<zeta_0> srhb: does it have something to do with the installation, or do i have to configure something else so that the postgresql server can start ?
<Interstitial> So I have the hash at least
<srhb> Interstitial: Ah, sounds like you have not allowed broken yet.
<Interstitial> I tried that, but it ended up breaking for other reasons
<Interstitial> I can try again
<srhb> Interstitial: (Probably because you're working with nixos options which have yet to apply until your next generation?)
<srhb> Interstitial: Anyway, there's a lot of things you can do to figure this out aside from allowing broken, which is usually not what you want anyway. One thing is to completely remove the package, eg. by pointing nixos-rebuild at a local repo where you've yanked it out
<srhb> Interstitial: That'll get you closer to the thing pulling in the dep.
noudle has quit [Client Quit]
<avocadoom> infinisil: the problem was a misconfigured symlink ^^ condiguration.nix linked to itself
<zeta_0> do i need to configure systemd in order to get postgresql server to work ?
<Interstitial> srhb: Sorry, what exactly do you mean by yank it out? Delete the store path? I guess based on what then fails I can then have a better idea of what depends on that derivation. Thanks for the help btw
<exarkun> How do I add a non-Haskell package build input to a haskell-nix packaged Haskell library?
noudle has joined #nixos
<shapr> ooh good question
noudle has quit [Client Quit]
<zeta_0> also has postgresql 12 been packaged yet ? i am currently using version 11 ?
<srhb> Interstitial: I was thinking something evil like this: https://gist.github.com/c02ee6651236521dc2f2d02ecbfaf3c9
<exarkun> haskell-nix picked up the fact that there is a non-Haskell (pkg-config-based) dependency, https://github.com/PrivateStorageio/PaymentServer/blob/master/nix/PaymentServer.nix#L74-L76, but all this does is fail the build for want of the dependency in the build environment...
<srhb> Interstitial: But it may have been simpler and more instructive to just use the same form to allowBroken = true ;)
nuncanada has quit [Read error: Connection reset by peer]
nuncanada has joined #nixos
<srhb> Interstitial: That should get you as far as figuring out what requires the broken package, I believe :)
<srhb> (I think the evil null is probably faster since it won't try to rebuild qscintilla)
<srhb> zeta_0: The failure indicates that you've used the NixOS option to enable the postgres service, so systemd is trying to start it.
<srhb> zeta_0: Try: journalctl -u postgresql
<Interstitial> srhb: thank you so much, will take a look at this
jgt2 has joined #nixos
<DigitalKiwi> shapr: https://twitter.com/shapr/status/1189581533801308167?s=20 catalina changes have been problematic for nix too :( https://github.com/NixOS/nix/issues/2925#
sigmundv__ has quit [Ping timeout: 240 seconds]
ozychhi has joined #nixos
mexisme has quit [Ping timeout: 265 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}> [nix] @dtzWill opened pull request #3179 → minor: fix mismatch of struct/class forward decl of 'Source' → https://git.io/Jezce
<{^_^}> [nixpkgs] @gnidorah opened pull request #72319 → mame: init at 0.215 → https://git.io/Jezcv
waynee95 has joined #nixos
* DigitalKiwi knowing nothing about the binary signing...will this affect nix packages?
<zeta_0> srhb: i did that but the output is too large ?
<srhb> zeta_0: Too large for reading? :)
<srhb> zeta_0: The error that caused startup to fail is likely to be near the bottom, start digging. ^_^
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @adisbladis to nixos-19.09-small « nixos.pulseaudio: Remove bad recommendation to use pulseaudio in system-wide mode »: https://git.io/JezOR
<srhb> (Or you can pastebin the logs and hope someone has time to look through it and help diagnosing the problem with you)
judson has joined #nixos
<glittershark> is there a linter floating around for nix?
<glittershark> would love simple things like unused variables etc.
leotaku has joined #nixos
judson__ has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #nixos
<zeta_0> srhb: ok i'll pastebin it, one second
waynee95 has left #nixos [#nixos]
bdju has joined #nixos
<waleee-cl> do the nixpkgs ffmpeg work well on other distros? (minus ffplay &c I guess)
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b2f7db8c401 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<shapr> DigitalKiwi: you're ArchKiwi on twitter, yeah?
<DigitalKiwi> ya
<srhb> shapr: Oh hey, you switched :)
<shapr> srhb: somewhat.. two drives
<{^_^}> [nixpkgs] @sweber83 opened pull request #72320 → zigbee2mqtt package & module → https://git.io/JezcR
<srhb> Ah! You're switch*ing* :-)
<shapr> gotta take the full plunge in the next few days
<DigitalKiwi> do i like that because you mentioned me or not like that because it's bad :<
toppler has quit [Ping timeout: 240 seconds]
<shapr> yes, switch*ing
<{^_^}> [nixpkgs] @nrdxp opened pull request #72321 → iwd: 0.22 -> 1.0 → https://git.io/JezcE
<shapr> DigitalKiwi: the whole discussion started when recurse center sent out an email saying "do not upgrade to os x catalina! wifi will not work!"
<DigitalKiwi> yeah i used nix for a while on macos and soon realized it was going to be a lot better experience to go full nixos. but i wasn't quite ready to switch. so i put it in a VM for a while... and then macos started causing me a ton of grief. and here i am using it full time since december :D
<shapr> yay! awesome!
<zeta_0> shapr: ok, here it is, i think the problem has something to do with systemd ? https://hastebin.com/ozixanalid.js
<shapr> zeta_0: in reference to what? I'm lost!
<{^_^}> [nixpkgs] @KyleOndy opened pull request #72322 → tmuxPlugins: Add tmux-gruvbox to tmux-plugins → https://git.io/Jezco
<{^_^}> [nixpkgs] @nagisa opened pull request #72323 → berglas: 0.2.0 → 0.2.1 → https://git.io/JezcK
domogled has quit [Ping timeout: 265 seconds]
<shizonic> hi guys & mates
<shizonic> glad to be here :)
mishaor has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
Esa_ has joined #nixos
<zeta_0> shapr: that was meant for srhb , my mistake
cosimone has joined #nixos
<{^_^}> [nixpkgs] @tbenst closed pull request #62755 → Tifffile → https://git.io/fjuxu
dreverri has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @andir merged pull request #72323 → berglas: 0.2.0 → 0.2.1 → https://git.io/JezcK
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JezcP
dreverri has joined #nixos
vuko has quit [Ping timeout: 265 seconds]
q3k has quit [Ping timeout: 240 seconds]
<srhb> zeta_0: What do you think the problem is, if you read the two lines labelled FATAL and DETAIL respectively?
toppler has joined #nixos
mexisme has joined #nixos
gkmngrgn has quit [Ping timeout: 240 seconds]
q3k has joined #nixos
cosimone has quit [Quit: Terminated!]
dreverri has quit [Ping timeout: 276 seconds]
<srhb> zeta_0: When you see an error like that, it may also be helpful to google something like "database files are incompatible with server" -- the first error you see, and check if someone out there has some hints for you :)
<zeta_0> srhb: oh, thanks for pointing me to that spot, i think i messed up with this nix option: https://nixos.org/nixos/options.html#services.postgresql.datadir
vuko has joined #nixos
zeta_0 has quit [Quit: doing a rebuild]
<shizonic> I am a advanced Void Linux User an Packager for years and kept an eye on nixos since 2016 but never used it active .... Now I would give it a try and become used to it. So I am here and want to say hello. :)
<srhb> shizonic: Welcome! :)
<srhb> Hope you have fun trying it out. This channel is a great resource to help get started.
<shizonic> srhb: Thx :)
<shizonic> Any other Voider around here?
<adamt> They tend to avoid us
* adamt hides
skatista has quit [Ping timeout: 245 seconds]
<srhb> Seems unlikely, looks like there's at least some common ground.
jb55 has quit [Remote host closed the connection]
<adamt> a-void -- go get some coffee, srhb :P
<srhb> Completely unscientifically, I think most common new NixOS'ers tend to be either coming from Arch, Ubuntu or Gentoo, in approximately that order.
<samueldr> (I think adamt made a bad^W pun)
<srhb> Ah, you see, I share an office with him, so I have this filter going on....
<steveeJ> I'm having an issue with clang. it seems to be passed weird gcc arguments and I don't understand why: `clang-8: warning: argument unused during compilation: '--gcc-toolchain=/nix/store/d4n93jn9fdq8fkmkm1q8f32lfagvibjk-gcc-7.4.0' [-Wunused-command-line-argument]`
jb55 has joined #nixos
<shizonic> adamt: Who ?
<shizonic> samueldr: Guess he could be right indeed
<adamt> shizonic: I wasn't being serious, void linux => a-void => avoid. Next time I'll be quiet, I promise.
neiluj has joined #nixos
neiluj has joined #nixos
neiluj has quit [Changing host]
mfernandez has joined #nixos
<shizonic> adamt: I see :D
<shizonic> No pls
<shizonic> Don't !
<shizonic> :D
<DigitalKiwi> i think i was familiar with void before it was void unless there are two projects named void... i was interested in its package managment system years ago (i was working on package managers)
<{^_^}> [nixpkgs] @scalavision closed pull request #71000 → svaba: init at 1.1.0 → https://git.io/JeloP
<glittershark> is there a "nixos for arch linux users" guide floating around somewhere?
<DigitalKiwi> or am i thinking of vanilla :|
<shizonic> DigitalKiwi: Nice !
<glittershark> I've been on arch linux for 5 years (still am!) but have been seriously considering making the switch
<DigitalKiwi> all recovering arch users raise your hand
<glittershark> dmj` would be so proud
<srhb> glittershark: There was a command cheat sheet, but frankly the difference to approximately all linux distros is large enough that it's really difficult to draw too many comparisons with a specific one.
* DigitalKiwi raises hand
<shizonic> Currently I work on improvements of Nixos' installer script because it doesn't work on Void (yet).
dreverri has joined #nixos
jlmeeker has quit [Ping timeout: 240 seconds]
<neiluj> raises hand too
<srhb> Maybe I'm just not being optimistic enough though.. :P
zeta_0 has joined #nixos
<glittershark> yeah I'm like
<glittershark> anxious about switching
<glittershark> because when I first switched to arch it was like 2 weeks before I was productive
<neiluj> glittershark: i just did it two days ago :D
<srhb> Oh boy. :-)
<DigitalKiwi> glittershark: checkout the manual(s) and the wiki and occasionally i'll find myself on the arch wiki...
<neiluj> still perfecting my ocaml environment with nix shell
<{^_^}> [nixpkgs] @Mic92 merged pull request #72322 → tmuxPlugins: Add tmux-gruvbox to tmux-plugins → https://git.io/Jezco
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JezCL
<glittershark> work is 1 week away from 100% nix-shell for local dev
<glittershark> so at least 1. I know nix well now 2. I know linux well now
<glittershark> but still
<srhb> glittershark: If you can get your important work stuff ready to go in a nix shell, switching is probably less scary
jlmeeker has joined #nixos
<dmj`> glittershark: nothing wrong with wading out into the water. First get good with the package manager using OSX, Ubuntu, Arch. We use both ubuntu and nixos for all our haskell dev. But prod servers on nixos
<srhb> glittershark: Since you'll have your basics in NixOS already good to go.
<glittershark> yeah
<zeta_0> srhb: it worked, thanks for the help
<glittershark> I'm mostly just worried about re-learning all the deskop/system level stuff
<srhb> zeta_0: Nice :)
<zeta_0> srhb++
<{^_^}> srhb's karma got increased to 78
<glittershark> nvidia, hibernation, bumblebee, networkmanager, font rendering
<glittershark> etc etc
<dmj`> just get a macbook pro, and a NUC running NixOS, ssh into it and call it a day
<glittershark> lol
<shizonic> following problem: AFAIK Nixos' installer script loads a tarball with glibc 2.28, doesn't it?
sict has joined #nixos
<glittershark> dmj`: you know who I am right?
<shizonic> no
<neiluj> it expects several arguments
<DigitalKiwi> well like other than how they're installed and configured they behave mostly the same
<shizonic> 2.27
Thra11 has quit [Ping timeout: 240 seconds]
<AmandaC> Is there a "correct" way to do this? (Have a writable checkout location) https://gitlab.darkdna.net/amanda/nix/blob/master/overlay/pkgs/vscode-sumneko-lua/default.nix#L32-34 -- the thing I'm building doesn't support any kind of external location AFAICT
<dmj`> glittershark: how could I forget
<glittershark> haha
<glittershark> hoped as much
<glittershark> yeah we're switching to nix! in prod!
<dmj`> grats
<glittershark> all Cam's doing
<dmj`> tell him I said, "Good one sug'"
<glittershark> will do
selfsymmetric-mu has quit [Remote host closed the connection]
<zeta_0> i am going to make the upgrade from 19.03 stable to 21.03 unstable, is there any preparation that i need to do before doing the upgrade, and is there any problems that i may encounter ?
<adamt> We're having a two year anniversary with NixOS in production soon. Time to get the boss to buy cake and celebrate that.
<zeta_0> 20.03, typo
<shizonic> maybe the wrong place here for a nix beginner ?
<srhb> shizonic: Not at all
<adamt> zeta_0: Read the 19.09 release notes as a start
<srhb> shizonic: Traffic varies though :)
<shizonic> I see ^^
<shizonic> so wrong time ? ^^
<Interstitial> I'm now getting "cannot download osxupd10.11.5.dmg from any mirror" errors
<Interstitial> This seems...unrelated to my previous issues?
<zeta_0> so i just need to change the channell and do a `nixos-rebuild switch --upgrade` ?
<srhb> shizonic: Are you talking about the Nix tarball?
<srhb> shizonic: (Might be some conflation between Nix and NixOS)
karetsu has joined #nixos
karetsu has quit [Client Quit]
drakonis_ has quit [Ping timeout: 265 seconds]
<zeta_0> i am reading the wiki, and i am not sure what commands i need to do to change the channel to correctly do the upgrade ? https://nixos.wiki/wiki/Nix_channels
karetsu has joined #nixos
<srhb> zeta_0: The NixOS manual contains the upgrade instructions
<shizonic> yes nix not nixos
<shizonic> sry
<srhb> zeta_0: Do bear in mind that you're heading into unsupported territory. But yes, what you said was essentially the gist of it, if the (incomplete) release notes have no warnings that you need to take manual action.
ddellacosta has quit [Ping timeout: 240 seconds]
FRidh has quit [Quit: Konversation terminated!]
<srhb> shizonic: No need to be sorry? Hmm, I'm not actually sure which version the standalone installer uses currently.
<srhb> shizonic: Why?
<{^_^}> [nixpkgs] @bhipple opened pull request #72325 → cloud-custodian: init at 0.8.45.1 → https://git.io/JezCl
<{^_^}> [nixpkgs] @scalavision opened pull request #72326 → svaba: init at 1.1.0 → https://git.io/JezC4
<shizonic> srhb: because I get a segmentation fault
<zeta_0> srhb: ok, found the instructions in the nix manual
<shizonic> Gues caused Void is on glibc 2.30
<srhb> shizonic: Looks like 2.27 to me
mishaor has quit [Ping timeout: 276 seconds]
<zeta_0> srhb: i thought upgrading nixos is supposed to be simple and easy ?
<shizonic> correct
<shizonic> for me too
<karetsu> none of my users are appearing in lightdm - I only get the 'username' prompt, how to fix?
<srhb> zeta_0: I consider it simple and easy, but that's very subjective. :)
Thra11 has joined #nixos
<shizonic> so I am not able to install on void
drakonis has joined #nixos
Dagger2 is now known as Dagger
<shizonic> zeta_0: nixos-build --upgrade switch ?
<shizonic> * zeta_0: nixos-rebuild switch --upgrade ?
domogled has joined #nixos
<waleee-cl> shizonic: you change the default channel ("nixos" on nixos) first
logzet has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<waleee-cl> ie sudo nix-channel --add URL_to_channels/nixos-unstable nixos
drakonis has quit [Read error: Connection reset by peer]
<shizonic> i am not on nixos (yet)
<waleee-cl> otherwise it'd be a noop (if installing updates though)
drakonis has joined #nixos
<shizonic> so i just have the nixpkgs unstable channel
shibboleth has joined #nixos
<zeta_0> is the unstable nixos only for testing or can i use it for work as well ?
<clever> zeta_0: you can use the nixos channel on any linux distro
<waleee-cl> zeta_0: it worked pretty well a week ago at least. Some font changes apparently (for me at least)
romildo has joined #nixos
karetsu has quit [Quit: WeeChat 2.6]
<zeta_0> clever: as long as i can reboot to a previous configuration(generation) if something breaks, it should be fine right ?
<shizonic> Unstable channels (nixos-unstable, nixpkgs-unstable) correspond to the main development branch of Nixpkgs, delivering the latest tested updates on a rolling basis.
<clever> zeta_0: yeah
<shizonic> so guess yes
<shizonic> it's tested
artemist has quit [Remote host closed the connection]
Chiliparrot has joined #nixos
<waleee-cl> if you use nixos-unstable-small you can get a bit of the arch-something-might-be-broken-experience
sict has quit [Remote host closed the connection]
cosimone has joined #nixos
<zeta_0> cool, i am going to back my files onto a flash drive and then do the upgrade
artemist has joined #nixos
<zeta_0> thanks guys/girls for the tips
<shizonic> waleee-cl: best time to fix it ;)
drakonis has quit [Ping timeout: 246 seconds]
toppler has joined #nixos
mishaor has joined #nixos
fendor has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 18 commits to nixos-unstable-small: https://git.io/JezCb
<{^_^}> [nix] @kevinastock opened pull request #3180 → docs: fix upper bound on number of consumed cores → https://git.io/JezCx
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/60f50b69a65 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<blitzclone_> does anyone know what -march= setting does NixOS use by default on x86_64?
<blitzclone_> I'm wondering because on my Atom box building GHC modules fails with "invalid opcode"
<shizonic> blitzclone: guess it inherits your host's arch
<shizonic> but don't know tbh
<blitzclone_> well that would be bad for reproducibility
<blitzclone_> mmh
<shizonic> indeed
NoctisLabs has joined #nixos
<etu> shizonic: Shouldn't do that, then the binary cache wouldn't work.
<shizonic> arch = archs.${stdenv.system}
<shizonic> used this as reference
<shizonic> but I am wrong ...
<shizonic> archs= is defined here
<shizonic> so no "default"
<blitzclone_> shizonic: gcc -dumpspecs seems to indicate that we indeed use -march=native
<shizonic> blitzclone: yes makes sense
<shizonic> what else?
cmacrae has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
cmacrae has quit [Client Quit]
drakonis has joined #nixos
<blitzclone_> shizonic: well, that's not going to work if machine A builds derivations for machine B and machine B doesn't support all features of machine A
<srhb> That definitely does not sound pure.
<srhb> We even have a stdenvAdapter that's supposed to _add_ that flag, with a ton of impurity warnings
<srhb> (To NIX_CFLAGS_COMPILE, that is)
<blitzclone_> it also means that you are f*** if the machine populating the binary cache is pretty new
<srhb> (That adapter sets `preferLocalBuild = true` for the very same reason)
romildo has quit [Quit: Leaving]
Neo-- has quit [Ping timeout: 276 seconds]
<srhb> blitzclone_: How did you conclude this using dumpspecs exactly?
knupfer has joined #nixos
<blitzclone_> srhb: wait... I'm trying to decipher the output ;)
<srhb> blitzclone_: On hold. :-)
<blitzclone_> it seems march=native is dropped (as it should be). this leaves ghc. maybe ghc is generating opcodes my cpu doesn't like
<srhb> Nice to know that stdenv isn't horribly broken anyway. :P
<blitzclone_> I guess my atom box wouldn't have booted very far in that case ;)
thomashoneyman has joined #nixos
<srhb> Indeed. :P
<neiluj> hey! I've succesfully build a derivation for an ocaml library, how do I install it on my nix store?
<neiluj> I have a result directory
dreverri has quit [Remote host closed the connection]
<DigitalKiwi> blitzclone_: have you tried with different backends for ghc?
<c00w> neiluj - Import it from your configuration.nix?
<blitzclone_> DigitalKiwi: no, just using the default
<c00w> Sorry - import the nix file that builds it from you configuration.nix?
<DigitalKiwi> wonder if that'd make a difference
<srhb> neiluj: (The result symlink is a link into your store, you probably meant how to install it into your user/system profile :))
<neiluj> srhb: yes that's exactly what i'm looking for
<blitzclone_> DigitalKiwi: I see that ghc seems to have AVX support these days. I wonder whether it is enabled by default
tbenst has quit [Remote host closed the connection]
<blitzclone_> even modern Atoms don't have AVX
<srhb> neiluj: The declarative way is as c00w explained. If you're okay with a bit of imperative, you can `nix-env -i result`
hmpffff has joined #nixos
sonnius has joined #nixos
<DigitalKiwi> probably someone in #haskell would know more
<c00w> The other fun bit is it's a library right? I don't know enough about ocaml to indicate if you have to do something special to make it usable (I know in python this is quite complicated on nix).
sonnius has quit [Remote host closed the connection]
<srhb> c00w: Oh, good catch..
<srhb> You probably don't want to install libraries at all
<srhb> ,library
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<blitzclone_> DigitalKiwi: good point
<neiluj> great, how would it look like declaratively ?
<srhb> neiluj: It's language specific, but try starting at the above FAQ :)
<{^_^}> [nixpkgs] @timokau opened pull request #72328 → sage: ignore attrs deprecation warning → https://git.io/JezWX
toppler has quit [Ping timeout: 245 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<c00w> neiluj, https://nixos.wiki/wiki/OCaml seems to have some instructions on how to add libraries
<srhb> There's also an ocaml section in the nixpkgs manual.
dreverri has joined #nixos
<neiluj> srhb: yes, it helped me
drakonis has quit [Ping timeout: 246 seconds]
<neiluj> hum, so I've got a nix expression wich builds my library like here : https://nixos.org/nixpkgs/manual/#sec-language-ocaml
dreverri has quit [Ping timeout: 240 seconds]
<neiluj> I'd like to add this library to my nix shell environment
ckauhaus has quit [Quit: WeeChat 2.6]
<neiluj> by making a new derivation
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
gkmngrgn has joined #nixos
judson__ has joined #nixos
nobbo has quit [Quit: leaving]
judson has quit [Ping timeout: 265 seconds]
<neiluj> I'm not sure how I could pass the new build package to the list of dependencies buildInputs = [ ... ]
thomashoneyman has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Read error: Connection reset by peer]
<srhb> neiluj: Assuming your library has a argset as argument like the above, you might have a shell.nix where you do something like...
<srhb> neiluj: { pkgs ? import <nixpkgs> {} }: let yourLibrary = pkgs.callPackage ./path/to/your/library {}; in ...
<srhb> neiluj: Then, you can refer to yourLibrary in `...`
toppler has joined #nixos
<neiluj> where ./path/to/your/library {}; is the path to the result directory of the built library?
<srhb> neiluj: Actually that's probably pkgs.ocamlPackages.callPackage
<srhb> neiluj: No, the expression that produces it :)
<neiluj> so it'll built it instead
<srhb> Only if it needs to be built
fendor_ has joined #nixos
<srhb> If it hasn't changed, the store path will be identical, so building is a no-op.
<neiluj> okay, thanks, i try that ! :D
<evax> Hi, my 3G usb dongle is failing to work in KDE/network-manager since the upgrade to 19.09. The error shown is `error starting PPP: Could not find "pppd" binary`
<srhb> evax: That sounds like a bug. Looking at the network-manager package, it looks like the path to pppd is correctly passed as a mesonFlag
<srhb> evax: Might want to report it as an issue if there's not one already.
<evax> srhb: thanks, will do
vidbina has joined #nixos
gkmngrgn has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @lilyball opened pull request #72329 → ffsend: 0.2.54 -> 0.2.55 → https://git.io/JezlL
<{^_^}> [nixpkgs] @dywedir merged pull request #72298 → wofi: init at 2019-10-28 → https://git.io/Jezt3
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JezlO
<neiluj> srhb: thanks, it's partially working, because I have to fix some errors in the builds
<srhb> neiluj: So far so good :)
<neiluj> I get this error : Package gtk+-2.0 was not found in the pkg-config search path, but I added the library to the derivation
MmeQuignon has quit [Read error: Connection reset by peer]
<clever> neiluj: did you also add pkgconfig to the nativeBuildInputs ?
MmeQuignon has joined #nixos
<neiluj> clever: no, but I added gtk2 to the buildInputs and it built successfully, I have to test the library know
<neiluj> clever: what does it change?
<qubasa> How do I cross compile uboot for the raspberrypi2? I see that there is the package ubootRaspberryPi2 but if I want to build it, it says "unsupported system"
<qubasa> and its not available in pkgsCross
<{^_^}> [nixpkgs] @hlolli opened pull request #72331 → graalvm8: 19.1.1 -> 19.2.1 → https://git.io/JezlV
fendor_ has quit [Ping timeout: 276 seconds]
<clever> neiluj: if pkgconfig is not in the inputs, then the other inputs wont be added to the pkgconfig search path
<neiluj> clever: yes, the pkgconfig is in the inputs, I did not add the gtk2 library to the nativeBuildInputs hence the error
<clever> neiluj: gtk2 should be in the normal buildInputs list
mexisme has quit [Ping timeout: 240 seconds]
aaa_ has quit [Quit: Leaving]
<neiluj> it was in both input lists
<neiluj> but it works in the normal buildInputs list
<clever> neiluj: nativeBuildInputs is for tools you run at build time, while buildInputs is for stuff your linking to
abathur has quit [Ping timeout: 265 seconds]
<qubasa> uboot
<qubasa> sorry mistyped
<{^_^}> [nixpkgs] @timokau merged pull request #72328 → sage: ignore attrs deprecation warning → https://git.io/JezWX
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JezlS
<neiluj> thanks clever!
glittershark has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @bjornfor merged pull request #72303 → wt: 3.4.1 -> 3.4.2, 4.1.1 -> 4.1.2 → https://git.io/Jezm5
<{^_^}> [nixpkgs] @bjornfor pushed 2 commits to master: https://git.io/Jez8J
<DigitalKiwi> blitzclone_: did you figure out your atom
<{^_^}> [nixpkgs] @averelld opened pull request #72332 → yacreader: 9.5.0 -> 9.6.2 → https://git.io/Jez8t
<blitzclone_> DigitalKiwi: not really. I got distracted by rewriting my haskell code with conduits...
<{^_^}> [nixpkgs] @c0bw3b opened pull request #72333 → stress-ng: 0.10.05 -> 0.10.08 → https://git.io/Jez8O
o1lo01ol1o has quit [Remote host closed the connection]
toppler has joined #nixos
<neiluj> OMG my ocaml project works!!
<neiluj> thank you all, you're amazing
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #72151 → signal-desktop: add libappindicator-gtk3 → https://git.io/JeuYO
<{^_^}> [nixpkgs] @bjornfor pushed commit from @mogorman to master « signal-desktop: add libappindicator-gtk3 »: https://git.io/Jez8R
ddellacosta has joined #nixos
mishaor has quit [Ping timeout: 268 seconds]
Jackneill has quit [Remote host closed the connection]
<sauyon> I'm getting `warning: unable to download 'https://nixos.org/...'; SSL peer certificate .. was not OK ...`
srhb has quit [Quit: ZNC 1.7.5 - https://znc.in]
<sauyon> I'm guessing something is configured wrong
jlmeeker has quit [Ping timeout: 265 seconds]
eyJhb has quit [Quit: Clever message]
jb55 has quit [Ping timeout: 260 seconds]
eyJhb has joined #nixos
eyJhb has joined #nixos
eyJhb has quit [Changing host]
mog has quit [Ping timeout: 264 seconds]
jb55 has joined #nixos
mog has joined #nixos
__monty__ has quit [Quit: leaving]
<clever> sauyon: is the date set right?
<sauyon> it seems to be; date (/bin/date) gives the correct time
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « mkDerivation: fix $srcs handling »: https://git.io/Jez42
<sauyon> this is my first time installing on Darwin, not sure if that has anything to do with it
xwvvvvwx has quit [Ping timeout: 264 seconds]
<sauyon> I think it might be something to do with home-manager, actually
xwvvvvwx has joined #nixos
<clever> sauyon: probably an env var to do with ssl ca's then
erasmas has quit [Quit: leaving]
<sauyon> curl seems to have problem downloading the files, so I'm honestly kind of confused
<sauyon> no problem*
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
<clever> sauyon: the darwin curl or the nix curl?
snicket has quit [Ping timeout: 265 seconds]
knupfer has quit [Ping timeout: 245 seconds]
oida has joined #nixos
<sauyon[m]> darwin curl
<clever> sauyon: try with the nix copy of curl
<sauyon[m]> can't actually install nix packages because nix-env complains about SSL certs
<sauyon[m]> sec
toppler has quit [Ping timeout: 265 seconds]
lukash_ is now known as lukash_|away
o1lo01ol1o has joined #nixos
<sauyon[m]> "unable to get local issuer certificate"
<evanjs> Any way aside from rebooting to fix `waiting for lock on` instances..?
<{^_^}> [nixpkgs] @astro opened pull request #72334 → firestarter: 1.7.3 -> 1.7.4 → https://git.io/JezBf
<clever> evanjs: is there another nix-build or nix-daemon process running, for that build?
abathur has joined #nixos
<clever> sauyon: yeah, i dont see the ssl var there
<clever> sauyon: what does `nix-env -q` list?
<sauyon> Ah, absolutely nothing.
thomashoneyman has joined #nixos
<sauyon> I'll just reinstall, probably some phantom issues from rebuilding my zsh configs from home-manager.
<clever> sauyon: what about `nix-env -q` as root?
o1lo01ol1o has quit [Ping timeout: 276 seconds]
<sauyon> home-manager-path nix-2.3.1 nix-cacert-3.46
<evanjs> clever: *shrugs* only two instances of daemon appear, and this is after I pkill'ed nix-daemon
<clever> sauyon: theres where youll find the ca certs, in roots ~/.nix-profile, which can also be found at /nix/var/nix/profiles/default/
<evanjs> This usually occurs after I wake my computer from a decent amount of sleep (~6+ hours)
<sauyon> Ah, cool, thanks. Not really sure what went wrong there
<clever> evanjs: for the process that is hung on the lock file, check its /proc/PID/fd/ dir, do you see a lock file?
<clever> sauyon: that sounds like a normal multi-user install
<{^_^}> [nixpkgs] @chkno opened pull request #72335 → itstool: Don't use Python 3 yet → https://git.io/JezBq
halfbit has quit [Ping timeout: 240 seconds]
judson__ has quit [Ping timeout: 268 seconds]
<sauyon> ah, I should probably have read the manual better...
toppler has joined #nixos
<evanjs> clever: I see the big-lock lol
<clever> evanjs: now check `ls /proc/*/fd/* | grep big-lock` and see if any other pid has it open
cosimone has quit [Quit: Quit.]
shibboleth has quit [Quit: shibboleth]
<clever> evanjs: any build machines involved in things?
judson has joined #nixos
<evanjs> clever: mmmm not aside from cachix but that's just a substituter
<evanjs> Also, the fd results are symlinks so I can't exactly (rg)rep them
<clever> evanjs: oh wait, typo in the above
<clever> evanjs: `ls -l /proc/*/fd/* | grep big-lock`
<clever> evanjs: you want to grep the names of the things the symlinks point to, not their contents
<DigitalKiwi> will nix packages have to be signed on catalina or is that only for .app binaries or what?
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<evanjs> Ah there we go lol. And yah I know. Was trying to do it with fd and stuff as well. Anyway, just that one lock
<clever> evanjs: if you run the nix build again with -vvvvv, does it show anything more?
<evanjs> lollllllllllllllllll
<evanjs> download thread waiting for 10000 ms
<evanjs> keeps printing so far
<clever> evanjs: hide those with grep or remove a v or 2
<evanjs> Right I mean I get to the end and that's the last thing that just prints on repeat after I hit the lock
judson has quit [Remote host closed the connection]
<clever> evanjs: does the verbose output say which lock?
<evanjs> Yeah, same as before, says it's locking it and then waiting on the lock
<clever> evanjs: which thing is it locking?
<evanjs> /nix/store/7mpikj2w5r2693axb1bygc28ygzhpb9z-channel-rust-beta.toml, which makes me think it could've been a direnv env i was using or something
<clever> evanjs: does that appear in any other open files?
<clever> evanjs: `ls -l /proc/*/fd/* | grep channel-rust-beta` ?
<evanjs> It did earlier with rls I think but I killed that. ls, fuser, and lsof all come up with nothing now
<clever> evanjs: try `nix-collect-garbage --max-freed 100m` ?
<evanjs> Seems to have no effect
<clever> evanjs: anything running as a nixbld user?
gxt has quit [Remote host closed the connection]
<evanjs> ps says no
<clever> evanjs: out of ideas then, do the microsoft thing, turn it off, then turn it back on! lol
<evanjs> clever: it's what I've been doing lol. nix-top doesn't show anything either but I guess that's not too surprising if it's already hanging
<clever> evanjs: id check all of the above next time it happens, before pkill'ing things
Interstitial has quit [Remote host closed the connection]
halfbit has joined #nixos
<evanjs> post-mortem via journalctl -b-1 - Oct 30 19:50:42 nixentoo q8xq3xhgcmjh40jij280py2a7wjh9v90-unit-script-nixos-upgrade-start[25092]: warning: warning: download of 'https://static.rust-lang.org/dist/channel-rust-beta.toml' was interrupted; using cached result
<evanjs> After stuff started shutting down. Interesting
nikivi has quit [Write error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam opened pull request #72336 → flow: 0.110.0 -> 0.111.0 → https://git.io/JezRq
VilDab has joined #nixos
<clever> evanjs: oh, it may have been a lock file in ~/.cache/nix/tarballs
<clever> evanjs: and i think those are named after a hash of the url, so all of the above greps fail
VilDab has left #nixos [#nixos]