gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
sigmundv_ has joined #nixos
jluttine_ has quit [Ping timeout: 248 seconds]
philr has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy closed pull request #67564 → ruby: 2.5.3 -> 2.6.3 → https://git.io/fjAHv
<pbb> what's the difference between staging and staging-next?
<evanjs> pbb:
<evanjs> >
<evanjs> PRs that require many rebuilds get merged into staging. Every once in a while, the current staging gets forked off into staging-next. The purpose of staging-next is to let the current rebuild finish, detect regressions, stabilize. staging-next is then merged into master.
<pbb> thanks
<pbb> I notice that staging is quite a bit behind master. Is this usual?
thc202 has quit [Ping timeout: 250 seconds]
<evanjs> Doesn’t seem to be, based on the RFC? Depends
<{^_^}> [nixpkgs] @jtojnar opened pull request #67596 → meson: 0.50.1 → 0.51.2 → https://git.io/fjAhA
marler8997 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjAhj
<{^_^}> [nixpkgs] @petabyteboy opened pull request #67597 → ruby: 2.5.3 -> 2.6.3, rubygems 3.0.3 -> 3.0.6 → https://git.io/fjAjv
alex`` has quit [Ping timeout: 268 seconds]
<evanjs> They’re both under the 6 and 12 hour intervals set by the RFC, so that seems normal to me
<evanjs> pbb: ^
<evanjs> A little more helpful, here is the rendered RFC:
<pbb> There is no information in the RFC on how the branches are synced
<pbb> I saw that sometimes master gets merged into staging(-next), but when does this usually happen?
jluttine_ has joined #nixos
bbarker_home has quit [Remote host closed the connection]
growpotk- has quit [Ping timeout: 258 seconds]
pareidolia has quit [Ping timeout: 245 seconds]
<growpotkin> Hey I have never tried to plug in an SD card in NixOS and right off the bat it's not being detected anywhere. I'm using a USB card reader and also tried plugging directly into my motherboard's builtin SD card reader.
<growpotkin> Is there some kernel module or setting I need?
m0rphism1 has quit [Ping timeout: 248 seconds]
<pbb> usually that's not necessary
<pbb> growpotkin: where did you look? does it show up in dmesg?
<growpotkin> I'm getting squat from `fdisk` and `gparted` on two different NixOS machines :(
<pbb> are you sure the sd card is fine?
<growpotkin> It's brand new, I just unwrapped it. I need to format it for the first time.
<pbb> so you don't see a block device at /dev/mmcblk*?
<pbb> can you see the sd card when you plug it into a computer not running nixos?
<growpotkin> nah I got nothing. I'm plugged in through a USB card reader now. Let me try on the laptop where the SD Reader is directly on the board
slack1256 has joined #nixos
pareidolia has joined #nixos
<growpotkin> I haven't tried on a non-nixos box yet.
<{^_^}> [nixpkgs] @aanderse merged pull request #67594 → unixODBCDrivers.msodbcsql17: 17.2.0.1 -> 17.4.1.1 → https://git.io/fjAhT
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjAjL
<pbb> I mean maybe you're unlucky and there is no linux driver for this particular sd card reader, but I think that is very unlikely
<growpotkin> I think I just found it under /dev/bus/usb/012/007
<growpotkin> kind of odd that I had to go digging for it directly though.
<growpotkin> whooops nope `not a block device` :(
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
growpotkin has joined #nixos
dansho has joined #nixos
sigmundv_ has quit [Ping timeout: 245 seconds]
vika_nezrimaya has quit [Read error: Connection reset by peer]
vika_nezrimaya has joined #nixos
polman has quit [Ping timeout: 245 seconds]
m0rphism1 has joined #nixos
polman has joined #nixos
boxscape has quit [Remote host closed the connection]
marcinja has quit [Disconnected by services]
marcinja has joined #nixos
Mateon1 has quit [Remote host closed the connection]
Mateon1 has joined #nixos
wildtrees has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Shados opened pull request #67598 → dnsmasq: Make unexpected resolvconf integration separately opt-in → https://git.io/fjAj2
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<jophish_> Yo
jophish_ is now known as jophish
thomashoneyman has quit [Ping timeout: 244 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
domogled has joined #nixos
m0rphism1 has quit [Ping timeout: 244 seconds]
drakonis1 has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
growpotkin has joined #nixos
freeman42x has joined #nixos
ottidmes has quit [Ping timeout: 245 seconds]
oida has quit [Ping timeout: 260 seconds]
felixfoertsch has joined #nixos
nexgen2 has quit [Quit: Leaving]
felixfoertsch23 has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66859 → nixos/xfce4-14: init → https://git.io/fjFzG
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fjAjp
oida has joined #nixos
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
drakonis1 has quit [Quit: WeeChat 2.5]
camsbury has joined #nixos
freeman42y has joined #nixos
freeman42x has quit [Ping timeout: 268 seconds]
<camsbury> hey all - struggling trying to migrate my zshrc to `config.programs.zsh`
Mateon1 has quit [Remote host closed the connection]
<camsbury> I guess I'm a bit naive on load order in general but my environment.variables stuff is just not loading
<camsbury> I have things like
<camsbury> OH_MY_ZSH = [ "${pkgs.oh-my-zsh}/share/oh-my-zsh" ];
<camsbury> for now just putting them in `shellInit`
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
Mateon1 has joined #nixos
Mateon1 has quit [Remote host closed the connection]
dansho has quit [Ping timeout: 246 seconds]
dansho has joined #nixos
Mateon1 has joined #nixos
lally has joined #nixos
camsbury has quit [Remote host closed the connection]
abathur has quit [Ping timeout: 248 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
ilikeheaps has quit [Ping timeout: 244 seconds]
freeman42x has joined #nixos
freeman42y has quit [Ping timeout: 268 seconds]
philr has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #67599 → cadvisor: 0.33.1 -> 0.34.0 → https://git.io/fjxe2
freeman42x]NixOS has joined #nixos
Myhlamaeus2 has quit [Ping timeout: 246 seconds]
nexgen2 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #67600 → postgresqlPackages.plv8: 2.3.12 -> 2.3.13 → https://git.io/fjxeo
nexgen2 has quit [Excess Flood]
nexgen2 has joined #nixos
<rodarmor> I was added to the `nixpkgs-maintainers` github org, but immediately started receiving notification spam, so I left. Is it possible to make that group un-mentionable/pingable?
domogled has quit [Ping timeout: 245 seconds]
nexgen2 has quit [Ping timeout: 244 seconds]
mac10688 has joined #nixos
MrCCoffee has quit [Quit: leaving]
<infinisil> rodarmor: What's an example of something you received a notification for?
<rodarmor> Here's an example: https://github.com/NixOS/nixpkgs/pull/67572
<{^_^}> #67572 (by Amar1729, 13 hours ago, open): libguestfs: 1.38.6 -> 1.40.2
<rodarmor> OP @-ed NixOS/nixpkgs-maintainers
<infinisil> Huh, why would anybody do that -.-
<rodarmor> I thought I received more notifications, but I think they were just follow ups to that
slack1256 has quit [Ping timeout: 268 seconds]
thonkpod has quit [Ping timeout: 268 seconds]
thonkpod has joined #nixos
lally has quit [Ping timeout: 272 seconds]
<Orbstheorem> Hello! Quick question: Is the `nix` command meant to replace all the `nix-*` commands? If so, how can I add derivations to my user environment, the same way `nix-env -i` does?
lambda-11235 has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
nexgen2 has joined #nixos
freeman42x has quit [Quit: Leaving]
Myhlamaeus2 has joined #nixos
judson_ has quit [Ping timeout: 245 seconds]
judson has joined #nixos
nexgen2 has quit [Ping timeout: 248 seconds]
glasserc has quit [Quit: ZNC 1.6.6 - http://znc.in]
growpotkin has quit [Ping timeout: 245 seconds]
glasserc has joined #nixos
mac10688 has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/61ba5d88ef8 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nexgen2 has joined #nixos
nexgen2 has quit [Remote host closed the connection]
nexgen2 has joined #nixos
cyphase has joined #nixos
zupo has joined #nixos
<lambda-11235> How do you invoke patchelf in development? that is, get it to provide the right interpreter and rpath?
<clever> lambda-11235: if you run nix-build directly on that file, it will generate a bash script, so you can just ./result ./foo
<clever> and it will patchelf foo
palo1 has joined #nixos
<clever> once its working, you can use the nix as an example of how to properly patchelf in your own expr
<{^_^}> [nixpkgs] @marsam opened pull request #67602 → wtf: 0.19.1 -> 0.20.0 → https://git.io/fjxvL
freeman42x]NixOS has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @etu merged pull request #67292 → gitea: 1.9.1 -> 1.9.2 → https://git.io/fjN3g
<{^_^}> [nixpkgs] @etu pushed 2 commits to release-19.03: https://git.io/fjxvt
palo has quit [Ping timeout: 244 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @domenkozar merged pull request #67439 → elmPackages: share node-env.nix, add elm-live & elm-xref → https://git.io/fjAI4
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/fjxvm
nexgen2 has quit [Remote host closed the connection]
nexgen2 has joined #nixos
<lambda-11235> shit, nvm it appears the program modifies it's binary when first ran, so I just reapplied the interpreter and rpath from before it was ran and things work now
chr15 has joined #nixos
Zer0xp has joined #nixos
endformationage has quit [Quit: WeeChat 2.5]
chr15 has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/27a4afefbe9 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<jonge[m]> i was surprised how `import` works on `niv`-style attrsets. it seems that `import` solely consumes the `outPath` attribute if presented with an attrset argument. is that true or where can i read that in any documentation?
chr15 has joined #nixos
nexgen2 has quit [Ping timeout: 245 seconds]
<jonge[m]> didn't find it in the `nix` documentation and i think that this would have been the right place
reallymemorable has joined #nixos
Myhlamaeus2 has quit [Ping timeout: 244 seconds]
<clever> > let set = { outPath = "boo"; } in "${set}"
<{^_^}> error: syntax error, unexpected IN, expecting ';', at (string):263:32
<clever> > let set = { outPath = "boo"; }l in "${set}"
<{^_^}> error: syntax error, unexpected IN, expecting ';', at (string):263:33
<clever> > let set = { outPath = "boo"; }; in "${set}"
<{^_^}> "boo"
<clever> jonge[m]: if you try to treat a set as a string, it will use the .outPath attr on the set
<jonge[m]> clever: ooooh so it has nothing to do with `import` directly. interesting. thank you for this hint!
<jonge[m]> unfortunately, that doesn't seem to be documented anywhere either, so you can only know that by reading the nix source, right?
bakakuna has joined #nixos
<clever> hmmm, that just makes a passing reference to it, but doesnt explain it
<clever> nix-build now defaults to using ./default.nix if no Nix expression is specified.
<clever> damn thats an old releaaaaaaaaaase note, lol
<jonge[m]> i have seen that section but it didn't help me much, yes.
orivej has joined #nixos
FRidh has joined #nixos
growpotkin has joined #nixos
sb0 has joined #nixos
bakakuna has quit [Ping timeout: 268 seconds]
<sb0> hi, I have a python package that needs special (non-Python) commands to build, but when I add the corresponding dependencies to buildInputs, they are simply ignored and not present during the build
<sb0> this issue only occurs when using pkgs.python3Packages.buildPythonPackage; if I replace it with the stdenv.mkDerivation, the dependencies are present during build as expected
<FRidh> sb0: your deps most likely are nativeBuildInputs
<FRidh> buildPythonPackage is stricter in that regard
<sb0> aah, right
<sb0> yep, works. ta
growpotkin has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 272 seconds]
growpotkin has joined #nixos
nexgen2 has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
nexgen2 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/fjxvD
growpotkin has quit [Ping timeout: 268 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis has quit [Ping timeout: 245 seconds]
drakonis has joined #nixos
emptyflask has quit [Ping timeout: 244 seconds]
bakakuna has joined #nixos
DariusTheMede has joined #nixos
growpotkin has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/51e1e3ceaf0 (from 71 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nixpkgs] @FRidh pushed 1000 commits to staging: https://git.io/fjxvh
alanz has joined #nixos
dansho has quit [Ping timeout: 245 seconds]
Tucky has joined #nixos
zupo has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #67168 → ocamlPackages.{zed,lambdaTerm,utop}: update → https://git.io/fjbV5
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/fjxfJ
dansho has joined #nixos
nexgen2 has joined #nixos
chr15 has quit [Ping timeout: 250 seconds]
Zer0xp has quit [Ping timeout: 268 seconds]
wfranzini has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
freeman42x]NixOS has joined #nixos
bakakuna has quit [Ping timeout: 245 seconds]
bakakuna has joined #nixos
nexgen2 has quit [Ping timeout: 268 seconds]
infinee has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
pycer has joined #nixos
domogled has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
xantoz has quit [Ping timeout: 248 seconds]
xantoz has joined #nixos
pycer has quit [Quit: "sleep"]
bakakuna has quit [Ping timeout: 245 seconds]
nexgen2 has joined #nixos
ilikeheaps has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f7387ad3839 (from 59 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
freeman42x]NixOS has quit [Remote host closed the connection]
ng0 has joined #nixos
freeman42x]NixOS has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @peti merged pull request #67438 → dhall-json: fix build → https://git.io/fjAIl
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fjxfD
<alexarice[m]> how does ofBorg work? are only people with commit access able to use it?
<{^_^}> [nixpkgs] @peterhoeg opened pull request #67603 → sayonara: 1.1.1 -> 1.5.1 → https://git.io/fjxfy
DigitalKiwi has quit [Quit: quite.]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #67604 → gcompris: use Qt mkDerivation → https://git.io/fjxfS
Makaveli7 has joined #nixos
DigitalKiwi has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #67605 → strawberry: init at 0.6.3 → https://git.io/fjxfH
DigitalKiwi has quit [Client Quit]
<{^_^}> [nixpkgs] @endocrimes opened pull request #67606 → vault: 1.0.2 -> 1.2.2 → https://git.io/fjxfQ
m0rphism1 has joined #nixos
DigitalKiwi has joined #nixos
<{^_^}> [nixpkgs] @danbst merged pull request #67588 → zoom-us: 2.9.265650.0716 -> 3.0.285090.0826 → https://git.io/fjAx9
<{^_^}> [nixpkgs] @danbst pushed commit from @mmlb to master « zoom-us: 2.9.265650.0716 -> 3.0.285090.0826 (#67588) »: https://git.io/fjxf7
<{^_^}> [nixpkgs] @alexarice closed pull request #60660 → Init: Variant Ant gtk themes 1.3.0 → https://git.io/fjZaY
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjxf5
<{^_^}> [nixpkgs] @mmahut merged pull request #67602 → wtf: 0.19.1 -> 0.20.0 → https://git.io/fjxvL
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjxfd
lambda-11235 has quit [Quit: Bye]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjxfF
knupfer has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 11 commits to haskell-updates: https://git.io/fjxfx
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #67599 → cadvisor: 0.33.1 -> 0.34.0 → https://git.io/fjxe2
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjxfp
thc202 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fjxfh
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/51e1e3ceaf0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
joshuagl has joined #nixos
<{^_^}> [nixpkgs] @zimbatm opened pull request #67607 → verifpal: init at 0.2 → https://git.io/fjxfj
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjxJf
<{^_^}> [nixpkgs] @JohnAZoidberg closed pull request #65808 → gdcm: Fix on darwin (include ApplicationServices, Cocoa) → https://git.io/fj99q
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjxJJ
DigitalKiwi has quit [Quit: quite.]
DigitalKiwi has joined #nixos
<adisbladis> alexarice[m]: No, it's a different ACL: https://github.com/nixos/ofborg#trusted-users-vs-known-users
<alexarice[m]> adisbladis: thanks
<alexarice[m]> adisbladis++
<{^_^}> adisbladis's karma got increased to 16
Zer0xp has joined #nixos
<qubasa> How do I check in nix if a string is empty?
<qubasa> or how it is
<qubasa> or how long it is
chr15 has joined #nixos
<qubasa> Ok the first one was trivial the second one i cant answer
<joko> qubasa: builtins.stringLength e ?
<qubasa> joko: ahh I missed that one, thanks!
pycer has joined #nixos
<{^_^}> [nixpkgs] @alexarice opened pull request #67608 → Variant Ant themes: init at 1.3.0 → https://git.io/fjxJl
ottidmes has joined #nixos
o1lo01ol1o has joined #nixos
pycer has quit [Quit: "HACK THE PLANET]
cfricke has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<DariusTheMede> I am trying to use hackage2nix
<{^_^}> [nixpkgs] @dywedir opened pull request #67609 → kanshi: 2019-02-02 -> 1.0.0 → https://git.io/fjxJw
ThatDocsLady has joined #nixos
zupo_ has joined #nixos
<DariusTheMede> Anyone know anything about hackage2nix and how to fix the problem?
<{^_^}> [nixpkgs] @ivan opened pull request #67610 → chromium: 76.0.3809.100 -> 76.0.3809.132 → https://git.io/fjxJ6
<DariusTheMede> Suprisingly the error says it can't find openssl/evp.h
zupo has quit [Ping timeout: 248 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<rnhmjoj> soo, i have been told to use hydra-eval-jobs to build nixosTests but nothing really seems to work. do you know how it works? https://hastebin.com/raw/timalosumi
Makaveli7 has quit [Quit: WeeChat 2.5]
fendor has joined #nixos
<{^_^}> [nixpkgs] @ivan opened pull request #67611 → [19.03] chromium: 76.0.3809.100 -> 76.0.3809.132 → https://git.io/fjxUU
<freeman42x]NixOS> how can I get NixOS to recognize the video camera? it just shows a black screen. I am using NixOS inside a VMWare machine
<ivan> freeman42x]NixOS: you attached a USB device?
<freeman42x]NixOS> ivan, it is a laptop embedded camera
<ivan> hardware.enableAllFirmware = true; might help if it needs firmware
<ivan> oh embedded camera I don't know if you can attach that to a VM
<freeman42x]NixOS> hmm, I am trying to share it in OBS, the name of it is: Video Capture Device (V4L2)
<freeman42x]NixOS> which apparently means Video 4 Linux
<{^_^}> [nixpkgs] @peterhoeg opened pull request #67612 → hidapi: 0.8.0-RC1 -> 0.9.0 → https://git.io/fjxUn
cfricke has quit [Quit: WeeChat 2.5]
cfricke has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #67613 → yubikey-manager-qt: build using Qt mkDerivation → https://git.io/fjxU4
sigmundv_ has joined #nixos
syd91 has joined #nixos
<syd91> Hi again,
<syd91> I forgot who exactly it was that helped me last time
<syd91> but I'm trying to set up hydra afterall
<syd91> I was 'complaining' about it last time
<syd91> I'm trying out the approach in this repo: https://github.com/shlevy/declarative-hydra-example
<syd91> but I'm having trouble understanding what's happening
<syd91> could anyone walk me through it?
<ivan> do you need declarative job specs?
<syd91> I don't _need_ it, but I'd prefer not to click around in my browser
<ivan> you can build a lot of things with one manually configured jobset
<syd91> That's exactly what I'm looking for
<syd91> I'm having a look at this talk now
orivej has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #67487 → nixos/systemd: Add suspend-then-hibernate units → https://git.io/fjA8U
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fjxU6
<{^_^}> [nix] @edolstra merged pull request #3054 → Allow empty /nix directory in multi-user installer → https://git.io/fjNWV
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjxUi
<ivan> but 1) no need for hydra-dev, use the service in nixos 2) postgresql data dir thing is solved 3) store_uri = daemon seems more convenient and garbage-collectable
<{^_^}> [nixpkgs] @WilliButz merged pull request #67590 → thanos: 0.6.0 -> 0.6.1 → https://git.io/fjApR
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjxUP
<ivan> that video does have the secret knowledge of what to type into the form fields in hydra though
o1lo01ol1o has joined #nixos
philr has joined #nixos
<syd91> I think I some of the things out
<syd91> now the question is
<syd91> what is the type of 'job'
<syd91> is that available anywhere?
<{^_^}> [nix] @edolstra merged pull request #2745 → install-multi-user: Detect and fail lack of systemd separately → https://git.io/fjUPT
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjxUb
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @WilliButz merged pull request #67533 → wayback_machine_downloader: init at 2.2.1 → https://git.io/fjAo3
<{^_^}> [nixpkgs] @WilliButz pushed commit from @manveru to master « wayback_machine_downloader: init at 2.2.1 (#67533) »: https://git.io/fjxUp
<qubasa> I am packaging addons for firefox. These do not have a platform on which they run and platforms.all does not work what should I write into that field?
o1lo01ol1o has joined #nixos
<manveru> WilliButz++
<{^_^}> WilliButz's karma got increased to 1
<manveru> qubasa: describe "doesn't work"
<WilliButz> :)
freeman42x]NixOS has quit [Ping timeout: 248 seconds]
* manveru idly punches nodejs
alex`` has joined #nixos
ee1943 has quit [Ping timeout: 244 seconds]
ee1943 has joined #nixos
teto has quit [Ping timeout: 248 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
<{^_^}> [nixpkgs] @alexarice opened pull request #67614 → evtest-qt: use qt mkDerivation → https://git.io/fjxTG
teto has joined #nixos
<qubasa> manveru: Package ‘«name-missing»’ in /etc/nixos/own-pkgs/https-everywhere/default.nix:23 is not supported on ‘x86_64-unknown-linux-gnu’, refusing to evaluate.
<clever> qubasa: can you pastebin that file?
freeman42x]NixOS has joined #nixos
<qubasa> clever: sure one moment
noudle has joined #nixos
<syd91> 'm getting closer. Now getting this error: error: access to URI 'https://github.com/NixOS/nixpkgs/archive/82d2c663b4dffbd635ed694bcc301284987b8097.tar.gz' is forbidden in restricted modeI
smakarov has joined #nixos
<manveru> syd91: you need to provide the nixpkgs version as input instead of doing a fetchTarball, i think
<syd91> but the `fetchTarball` is part of the derivation that I want to build
<syd91> i.e. the repository that contains the project that I want to build fixes a nixpkgs version
<syd91> on purpose
<{^_^}> [nixpkgs] @lheckemann merged pull request #67394 → nixos/treewide: drop dependencies to `keys.target` → https://git.io/fjNdg
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/fjxTu
sigmundv_ has quit [Ping timeout: 244 seconds]
<clever> > pkgs.platform
<{^_^}> attribute 'platform' missing, at (string):263:1
<clever> qubasa: the unknown in your error is fishy, makes me thing something is wrong somewhere
<qubasa> I dont know what pkgs.platfroms is but the values are stored in pkgs.stdenv.lib.platforms I think
<qubasa> clever: ^
<qubasa> clever: If I use platforms = [ "x86_64-linux" "i686-linux" ] it works
civodul has joined #nixos
freeman42x]NixOS has quit [Quit: Leaving]
<manveru> clever: try `platforms = lib.platforms.all`
<manveru> err, i meant qubasa
sigmundv_ has joined #nixos
syd91 has quit [Remote host closed the connection]
<qubasa> manveru: Yes! that works :)
<manveru> it's a list already, that's why then :)
<{^_^}> [nixpkgs] @globin merged pull request #67246 → qt48: Fix build for gcc8 → https://git.io/fjNT5
<{^_^}> [nixpkgs] @globin pushed 2 commits to gcc-8: https://git.io/fjxT5
freedan42x has joined #nixos
<{^_^}> [nixpkgs] @jlesquembre opened pull request #67615 → gomplate: init at 3.5.0 → https://git.io/fjxTN
<DariusTheMede> I'm trying to generate a blas.pc file - I've copied what is in openblas but it doesn't seem to generate anything: https://gist.github.com/idontgetoutmuch/8714de2a06691bc34cd1a9d1ff97b690#file-default-nix-L56
ubert has joined #nixos
sigmundv_ has quit [Ping timeout: 244 seconds]
Makaveli7 has joined #nixos
feep_ has joined #nixos
feep has quit [Disconnected by services]
noudle has quit []
<craige> If I run a build like: nix-build '<nixpkgs/nixos>' -I nixpkgs=/path/to//nixpkgs -A vm --arg configuration vm-with-my-app.nix so that it can build a single custom app I've added to nixpkpgs, it nix going to pull binaries from cache, build as neede or build everything from my nixpkgs= argument?
<craige> (this build appears to be building all the things)
sigmundv_ has joined #nixos
<DariusTheMede> clever: > cinimod: i think you want to fix the pkgs.blas package, to include a blas.pc file
johanot has joined #nixos
<DariusTheMede> clever: https://gist.github.com/idontgetoutmuch/8714de2a06691bc34cd1a9d1ff97b690#file-default-nix-L56 does not seem to produce any .pc files
freeman42x]NixOS has joined #nixos
kha_ has joined #nixos
<DariusTheMede> clever: OTOH liblapack already seems to contain a blas.pc
<DariusTheMede> clever: but I have no idea on how to tell cabal to use this - extra-lib-dirs=...? But what should ... be?
freedan42x has quit [Quit: Leaving]
<clever> DariusTheMede: if you get it into the buildInputs, it should just work
<clever> DariusTheMede: as for your gist, if you set installPhase, then postInstall stops working
<clever> DariusTheMede: just put both things in installPhase
<clever> DariusTheMede: also, fix the indent on lines 62-67, to match 61
<clever> hmmm, no, it should match 60
<DariusTheMede> :thumbsup:
<{^_^}> [nixpkgs] @teto merged pull request #67385 → ljsyscall: init at 20180515 → https://git.io/fjN78
<{^_^}> [nixpkgs] @teto pushed commit from @lblasc to master « ljsyscall: init at 20180515 »: https://git.io/fjxkZ
<clever> DariusTheMede: i would probably also fix lines 15-26, to use another <<EOF
<clever> DariusTheMede: and 31
iyzsong has joined #nixos
Mic92 has quit [Quit: WeeChat 2.3]
Mic92 has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #67559 → qt5ct: fix missing app icon and name when running under Wayland → https://git.io/fjA9m
<{^_^}> [nixpkgs] @teto pushed commit from @lightbulbjim to master « qt5ct: fix missing app icon and name when running under Wayland »: https://git.io/fjxk4
pie_ has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
Makaveli7 has quit [Quit: WeeChat 2.5]
Makaveli7 has joined #nixos
vyorkin has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
cfricke has quit [Quit: WeeChat 2.5]
ilikeheaps has quit [Quit: Konversation terminated!]
tyx2q[m] has joined #nixos
<{^_^}> [nixpkgs] @dawidsowa opened pull request #67616 → ariang: init at 1.1.3 → https://git.io/fjxkw
domogled has quit [Ping timeout: 246 seconds]
chiefgoat has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @dawidsowa opened pull request #67617 → kcc: init at 5.5.1 → https://git.io/fjxki
chiefgoat has joined #nixos
kha_ has left #nixos [#nixos]
DariusTh` has joined #nixos
xkapastel has joined #nixos
ottidmes_ has joined #nixos
ottidmes has quit [Read error: Connection reset by peer]
DariusTheMede has quit [Ping timeout: 244 seconds]
TheBrodmann has joined #nixos
<TheBrodmann> Hey there
<TheBrodmann> I'm trying to cache the Nix store in TravisCI build workflow
<{^_^}> [nixpkgs] @endocrimes opened pull request #67618 → gotestsum: Init at 0.3.5 → https://git.io/fjxIT
<TheBrodmann> so in nixos wiki I saw the following command
<TheBrodmann> nix copy --to file://$HOME/nix.store -f default.nix buildInputs
<TheBrodmann> but it throws error to me
<TheBrodmann> and I wanna know what is the buildInputs in this command?
drakonis_ has joined #nixos
<TheBrodmann> Also the error is "error: cannot auto-call a function that has an argument without a default value ('mkDerivation')"
drakonis has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #67609 → kanshi: 2019-02-02 -> 1.0.0 → https://git.io/fjxJw
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fjxIL
nexgen2 has quit [Ping timeout: 244 seconds]
__monty__ has joined #nixos
ottidmes_ has quit [Remote host closed the connection]
alanz has quit [Remote host closed the connection]
ottidmes_ has joined #nixos
<__monty__> clever: Could use some help setting up toxvpn on a mac. Ping me when you have some time?
TheBrodm1nn has joined #nixos
<DigitalKiwi> __monty__: did i ever tell you i figured out a solution for ddns for me
<__monty__> Not yet : )
TheBrodmann has quit [Ping timeout: 245 seconds]
<zfnmxt> Is there any coniguration.nix setting that disables my screen going blank after not moving the mouse for X seconds?
<freeman42x]NixOS> how does one create a release.nix?
<freeman42x]NixOS> zfnmxt, does it suffice if you just set it through an application? I can probably tell you where that setting is
<zfnmxt> Uh, what application? I've tried `xset -dpms; xset s off; xset s noblank` and it didn't help.
<__monty__> zfnmxt: Yes, `services.logind.extraConfig = "IdleAction=ignore";` (I think.)
<zfnmxt> Of course there's a systemd setting for that :P
<zfnmxt> Thanks, I'll try that.
<__monty__> freeman42x]NixOS: One simply writes a nix expression and saves it to a file named release.nix : ) (It's possible some language specific tools can generate it for you.)
bakakuna has joined #nixos
<__monty__> zfnmxt: Be sure to read the docs on that option.
<__monty__> I have it set to lock, without a screen locker installed so it just blanks my display.
<freeman42x]NixOS> __monty__, we are trying to follow the instructions mentioned here: https://docs.travis-ci.com/user/languages/nix/
<__monty__> DigitalKiwi: Stop building the suspense : >
<zfnmxt> I read it. Just going to do ignore, prefer to manually lock my screen.
<freeman42x]NixOS> we know how to generate a shell.nix or a default.nix using cabal2nix. But how do we generate a release.nix?
<zfnmxt> The problem is it triggers even when I'm not idle, i.e. keystrokes in emacs don't count, apparently.
chiefgoat has quit [Quit: ZNC 1.7.4 - https://znc.in]
<__monty__> freeman42x]NixOS: Look at a haskell project that has one and rip it off : ) (I don't know of a better way.).
<DigitalKiwi> __monty__: there's a ddns plugin for openwrt and a python script that updates an IP with DO. i configured the plugin to use the script
<freeman42x]NixOS> __monty__, :( if only it would be easy to find an example Hakell projec doing that
<__monty__> zfnmxt: o.O That does sound pretty annoying if you live in emacs. Fwiw the default timeout is fairly annoying to me too. (Read something about EU regulations being the reason but honestly that sounds pretty bogus.)
chiefgoat has joined #nixos
sb0 has quit [Quit: Leaving]
<zfnmxt> Well, *trying* to live in emacs, but yeah. It is. Thanks for the help, let's see if it fixes it. :)
<{^_^}> [nixpkgs] @adisbladis merged pull request #67402 → ripasso-cursive: init unstable at 2019-08-27 → https://git.io/fjNbO
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to master: https://git.io/fjxI0
freeman42x]NixOS has quit [Quit: Leaving]
<__monty__> ,tell freeman42x]NixOS You could take a look at dhall: https://github.com/dhall-lang/dhall-lang
<{^_^}> __monty__: I'll pass that on to freeman42x]NixOS
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #67530 → treewide: remove redundant rec → https://git.io/fjArr
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fjxIV
TheBrodm1nn has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @romildo merged pull request #67586 → enlightenment.efl: 1.22.2 -> 1.22.3 → https://git.io/fjAxe
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/fjxIo
feep has joined #nixos
<__monty__> DigitalKiwi: That's similar to the freedns solution I mentioned. Didn't know DO had a similar service.
<DigitalKiwi> i couldn't figure out how to use that one
<{^_^}> [nixpkgs] @dawidsowa opened pull request #67620 → pythonPackages.iapws: init at 1.4 → https://git.io/fjxIP
chiefgoat has quit [Quit: ZNC 1.7.4 - https://znc.in]
johanot has quit [Quit: WeeChat 2.4]
freeman42x]NixOS has joined #nixos
feep_ has quit [Ping timeout: 264 seconds]
kgz has joined #nixos
chiefgoat has joined #nixos
<__monty__> It's really quite simple, feel free to ask if you still want to use that. (Note that you don't get to use your own domain unless you accept the caveat.)
bakakuna has quit [Ping timeout: 244 seconds]
<tokudan> Can't write in #nixos-security for some reason.
<tokudan> Dovecot will need an update due to an unauthenticated potential RCE (CVE-2019-11500).
<ocharles> Are there plans to add GHC 8.8 to NixOS 19.03?
<ocharles> Or would I have to wait for the next stable?
lally has joined #nixos
chiefgoat has quit [Quit: ZNC 1.7.4 - https://znc.in]
<srhb> ocharles: While it may be added, it will not become the base of haskellPackages. (and 19.03 is almost dead anyway :))
<srhb> ocharles: So, I will posit that it won't be added at all.
<ocharles> I know it wouldn't change `haskellPackages`, just having access to it would be nice though
<ocharles> 19.09 is next?
<srhb> It is indeed.
<ocharles> I guess that's not much of a wait!
chiefgoat has joined #nixos
<srhb> ocharles: No, a bit more than a month probably. :)
<alexarice[m]> ocharles: you can always get ghc from unstable without changing everything
<srhb> ocharles: (And it's already in unstable, so it will be in.)
<ocharles> Yea, I know it's in unstable
<srhb> Good good.
<gchristensen> it is a shame that we can't build 8.8.1 for aarch64 :(
freeman42x]NixOS has quit [Ping timeout: 245 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @romildo opened pull request #67621 → enlightenment.rage: 0.3.0 -> 0.3.1 → https://git.io/fjxIA
<__monty__> What's the problem? I know there was some work to *improve* memory layouts on ARM et al.
<gchristensen> the build results are massively larger
reallymemorable has joined #nixos
zupo has joined #nixos
lally has quit [Ping timeout: 272 seconds]
samrose_ has quit [Read error: Connection reset by peer]
liberiga has joined #nixos
wfranzini has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67614 → evtest-qt: use qt5's mkDerivation → https://git.io/fjxTG
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjxIj
wfranzini has joined #nixos
npmccallum has joined #nixos
smakarov has quit [Quit: rcirc on GNU Emacs 26.2]
wfranzini has quit [Read error: Connection reset by peer]
wfranzini has joined #nixos
<DariusTh`> clever: I get
<DariusTh`> /nix/store/84hf3lqd27j32cy3c1wgz7xl08kkwman-stdenv-darwin/setup: line 1333: /nix/store/pdy9gsysh3y1x6i8jbd2d5rksr0299wx-blas-3.8.0/lib/pkgconfig/blas.pc: No such file or directory
<{^_^}> [nixpkgs] @herrwiese opened pull request #67622 → grub2: 2.04-rc1 -> 2.04 → https://git.io/fjxLY
<{^_^}> [nixpkgs] @tokudan opened pull request #67623 → dovecot: 2.3.7.1 -> 2.3.7.2 (CVE-2019-11500) → https://git.io/fjxLO
noudle has joined #nixos
mac10688 has joined #nixos
ng0 has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout opened pull request #67624 → haskell: get cabal-install 3.0.0.0 building on ghc-8.6.5 and ghc-8.8.1 → https://git.io/fjxLc
lally has joined #nixos
tjg1 has quit [Quit: if i commit suicide, at least a real nigga killed me]
work_ has joined #nixos
tjg1 has joined #nixos
lally has quit [Client Quit]
hyper_ch2 has quit [Remote host closed the connection]
dansho has quit [Quit: Leaving]
<evanjs> Is there an easy way to launch a nix-shell for NixOps deployments?
<DariusTh`> Can anyone see why this derivation is *not* creating the required .pc files? https://gist.github.com/cleverca22/9c6c19bca653a3f332a2943f21e43a6b#file-default-nix-L50
<aanderse> evanjs: what do you mean?
<__monty__> DariusTh`: Maybe because the pkgconfig subdir doesn't exist?
reallymemorable has quit [Quit: reallymemorable]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Neo-- has quit [Ping timeout: 264 seconds]
hyper_ch2 has joined #nixos
zupo has joined #nixos
vika_nezrimaya has quit [Read error: Connection reset by peer]
<DariusTh`> __monty__: So I should create one?
<__monty__> Yes, just add it to the mkdir -p.
vika_nezrimaya has joined #nixos
wfranzini has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #64134 → meson: 0.49.2 -> 0.51.0 → https://git.io/fjKid
<{^_^}> [nixpkgs] @jtojnar opened pull request #67625 → fwupd: 1.2.8 → 1.2.10 → https://git.io/fjxLr
drakonis has joined #nixos
<evanjs> aanderse: I want to debug a kernel compilation as teto mentioned here https://github.com/NixOS/nixpkgs/issues/59914#issuecomment-525691422
drakonis_ has quit [Ping timeout: 252 seconds]
mac10688 has quit [Ping timeout: 248 seconds]
vika_nezrimaya has quit [Read error: Connection reset by peer]
vika_nezrimaya has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.5]
DariusTh` has quit [Ping timeout: 244 seconds]
DariusTh` has joined #nixos
spinus has joined #nixos
<spinus> hello
thc202 has quit [Ping timeout: 264 seconds]
<spinus> was just looking at the docs (https://nixos.org/nixos/manual/) and was looking for language section, cannot find it. Should that be included here or is it somewhere else?
ThatDocsLady has quit [Remote host closed the connection]
thc202 has joined #nixos
<FRidh> spinus: check the nixpkgs manual
<evanjs> The nixpkgs manual seems to point back to the nix manual: e.g. https://nixos.org/nix/manual/#ch-expression-language
<evanjs> > If you like to learn more about the Nix package manager and the Nix expression language, then you are kindly referred to the Nix manual.
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):263:88
reallymemorable has joined #nixos
<spinus> FRidh: it's there, thank you very much, didn't use it long time and forgot about the split
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #67579 → aggregateModules: use stdenvNoCC instead of stdenv → https://git.io/fjANR
<evanjs> Yeah I can never remember which manual has what
<{^_^}> [nixpkgs] @veprbl pushed commit from @lopsided98 to master « aggregateModules: use stdenvNoCC instead of stdenv (#67579) »: https://git.io/fjxLH
chiefgoat has quit [Quit: ZNC 1.7.4 - https://znc.in]
chiefgoat has joined #nixos
wfranzini has joined #nixos
Okinan has joined #nixos
ThatDocsLady has joined #nixos
<spinus> anybody uses android composition to do dev? I'm looking for how to solve license acceptance for react-native dev and no luck so far
orivej has quit [Ping timeout: 244 seconds]
<o1lo01ol1o> Is there a way to tell nixops to change the expressions associated with a deployment? My filenames and paths have changed . . .
<{^_^}> [nixpkgs] @worldofpeace opened pull request #67626 → rl-1909: add note about Xfce 4.14 → https://git.io/fjxte
<evanjs> spinus: Like with Android SDK licenses? I've had issues with that before as well... Have you checked out sandervanderburg's articles relating to Android dev?
orivej has joined #nixos
<evanjs> #23910 and #28348 seem relevant, anyhow
<{^_^}> https://github.com/NixOS/nixpkgs/issues/23910 (by husnoo, 2 years ago, open): Nixos android sdk license
<{^_^}> https://github.com/NixOS/nixpkgs/pull/28348 (by volth, 2 years ago, closed): androidsdk: put license hashes to nix store
wfranzini has quit [Ping timeout: 245 seconds]
<exarkun> o1lo01ol1o: nixops modify
wfranzini has joined #nixos
<spinus> evanjs: yes, android sdk
<o1lo01ol1o> exarkun: awesome, thanks!
chiefgoat has quit [Quit: ZNC 1.7.4 - https://znc.in]
<hodapp> noooo emacs-w3m is b0rked :[
nschoe has joined #nixos
<spinus> evanjs: yeah, the only method so far I guess is to copy sdk out of nix store, I was wondering if we have any better. Thanks for the links anyway
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/51e1e3ceaf0 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
chiefgoat has joined #nixos
nschoe has quit [Read error: Connection reset by peer]
<ddima> does anyone know if there is a simple way to get a list of unowned packages and services from nixpkgs? also, how is maintenance/ownership handled for packages automatically built, like haskellPackages?
chiefgoat has quit [Client Quit]
asymptotically has joined #nixos
<__monty__> ddima: You could always grep nixpkgs for `maintainers = [ *];` : )
<Cale> How is "grep nixpkgs" the answer to every conceivable question about nix? :D
pie_ has joined #nixos
<ddima> yeah, was just wondering if there is maybe some dashboard somewhere or sth.
<ddima> as in, with the current formalization of the ownership I thought maybe s.b. already built sth to track more easily
doveina has joined #nixos
<Cale> he-can't-keep-getting-away-with-it.gif
<vika_nezrimaya> My server's working, but how to confiugre services.postfix.aliasFiles? there is no example in the documentation
freeman42x]NixOS has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #40491 → nixos cups: support for socket activation [WIP] → https://git.io/vpHOF
<spinus> vika_nezrimaya: I guess that's postfix thing
gentauro has quit [Quit: leaving]
<spinus> so I would look in postfix docs how files should look like
gentauro has joined #nixos
<vika_nezrimaya> It's an attribute set, should I just write something like { "kisik21" = "vika"; } ?
<__monty__> Hmm, there's about ~60 maintainerless packages from a quick grep.
<gchristensen> really?
<vika_nezrimaya> __monty__: I'm thinking about maybe adopting one, if I can
<aanderse> vika_nezrimaya: more like { "filename" = /path/to/a/file; "another_file" = /another/path/to/a/file; };
emptyflask has joined #nixos
<vika_nezrimaya> aanderse: ooooohhhhhhhh
<vika_nezrimaya> sounds painful
<aanderse> __monty__: yeah, we should really create an issue that mentions these packages are without a maintainer
<aanderse> because if vika_nezrimaya doesn't adopt all 60... we might need more people to adopt
<aanderse> ;-)
<vika_nezrimaya> aanderse: 60 packages may be too much :3
<vika_nezrimaya> __monty__: can you paste the grep command here? I want to run it on my own checkout and see which packages feel like something I could handle
chiefgoat has joined #nixos
<ddima> well, that was kinda the background of why I was asking ;)
<__monty__> gchristensen: Oof, actually, 214.
<ddima> __monty__: if you create an issue, ideally post it here and maybe I can find a few that I could do.
<ddima> otherwise I'll grep around a bit later too
<aanderse> ddima++ vika_nezrimaya++ you're both awesome then :)
<{^_^}> ddima's karma got increased to 1, vika_nezrimaya's karma got increased to 2
<{^_^}> [nixpkgs] @romildo opened pull request #67628 → enlightenment.enlightenment: 0.22.4 -> 0.23.0 → https://git.io/fjxtu
<__monty__> vika_nezrimaya: Here's my amazing grep-fu: `rg 'maintainers *= *\[ *\]\)?;' ~/src/nixpkgs | wc -l` : )
chiefgoat has quit [Client Quit]
<gchristensen> $ jq '.packages[] | select(.meta.maintainers == []) | .name' pkgs.json | wc -l
<gchristensen> 438
<__monty__> That's probably a lot more accurate.
<aanderse> well
<aanderse> it depends
<aanderse> there will be derivations which could be part of something else
<aanderse> so derivations like that probably do have someone who maintains them, but never listed themself
<vika_nezrimaya> monty: you should've included nix run nixpkgs.ripgrep 'cause not everyone has it
<vika_nezrimaya> :3
chiefgoat has joined #nixos
<__monty__> vika_nezrimaya: This is part of my campaign to get ripgrep into the posix standard : >
<vika_nezrimaya> I heard stuff about ripgrep and I think it may be a valuable tool
<vika_nezrimaya> maybe not for POSIX standard, but for mentioning in my common.nix which installs useful stuff like mkpasswd, htop...
<sphalerite> absolutely
<ddima> is it expected that modules, for instance for some service like postfix, are owned by the maintainer of the package (dominant package? what if multiple?) or just possibly different person explicitly listed?
<evanjs> __monty__: Yessss. rg <3
chiefgoat has quit [Client Quit]
<{^_^}> [nixpkgs] @idontgetoutmuch opened pull request #67629 → Ensure blas produces pkg config files → https://git.io/fjxtg
<vika_nezrimaya> wow, and its small, just 6M unpacked
<sphalerite> ddima: if there are no module maintainers listed, pinging the package maintainers is _probably_ a safe bet :)
endformationage has joined #nixos
<evanjs> __monty__: Don't forget fd :P
<__monty__> vika_nezrimaya: fd is another great UX improvement for a standard tool imo.
<__monty__> evanjs: Like minds : >
<vika_nezrimaya> what is fd?
<sphalerite> ^
<evanjs> :D
<sphalerite> vika_nezrimaya: find replacement
<vika_nezrimaya> couldn't you just use... Emacs?
<sphalerite> as in a replacement for find, not find-and-replace :p
<vika_nezrimaya> ohhhhh
<{^_^}> [nix] @edolstra pushed to master « Don't send certain setting overrides to the daemon »: https://git.io/fjxta
<vika_nezrimaya> lol
<ddima> sphalerite: alright, so if everything was proper, there should be some listed then. mostly asking to inform future grepping ;)
<sphalerite> ddima: I think module maintainers are a relatively new addition, so many might not have any listed
<__monty__> No maintainers for the venerable `ed` o.O : $
<evanjs> sphalerite: Right, sd seems promising for find and replace but I don't think it has as much usage/popularity as fd and especially rg
<sphalerite> not heard of sd before
<evanjs> Basically sed in rust, much like rg and fd :P
<sphalerite> is it really though? Or just find-and-replace?
<__monty__> Hmm, I've never had any problems with sed's UX. I'll check it out.
iyzsong has quit [Ping timeout: 250 seconds]
<vika_nezrimaya> ok I seem to be receiving mail (almost correctly)
<qubasa> Can someone merge this pull request? I am depending on it and the feature we would get is a fully nix configurable firefox with extension etc. https://github.com/NixOS/nixpkgs/pull/57554
<{^_^}> #57554 (by xaverdh, 24 weeks ago, open): WIP: firefox/wrapper.nix: make firefox wrapper configurable by the user
noogie has quit [Ping timeout: 246 seconds]
<vika_nezrimaya> hey, can anyone check that glovebox.fireburn.ru has a hydra server? is it responding quickly enough?
<vika_nezrimaya> that's my hydra server, just brought it online :3
<evanjs> Speaking of pinging/PRs, is 30 days enough wait-time to ping a PR I have that's still open? :B
drakonis_ has joined #nixos
<vika_nezrimaya> More than enough.
<vika_nezrimaya> evanjs: I'm already distressed about my #67490 even though its two days old
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67490 (by kisik21, 2 days ago, open): libargon2: fixed cross-compilation
Tucky has quit [Ping timeout: 246 seconds]
drakonis has quit [Ping timeout: 244 seconds]
Zer0xp has quit [Ping timeout: 258 seconds]
chr15 has quit [Ping timeout: 246 seconds]
hyper_ch2 has quit [Remote host closed the connection]
<evanjs> vika_nezrimaya: Same with me and #67115. Like I rewrote so much (in order to get it actually running, though) and I got so worried I was doing something wrong or "Is all this necessary??". And then there's #64552 where I'm not sure how to approach the remaining issue anyway :D
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67115 (by evanjs, 1 week ago, open): postman: 7.0.7 -> 7.5.0
<{^_^}> https://github.com/NixOS/nixpkgs/pull/64552 (by evanjs, 7 weeks ago, open): openrazer: init at 2.3.1
reallymemorable has quit [Quit: reallymemorable]
wfranzini1 has joined #nixos
chiefgoat has joined #nixos
lally has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #67260 → nixos/x11: provide selected session to custom session → https://git.io/fjNLC
vmandela has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjxqU
wfranzini has quit [Ping timeout: 268 seconds]
wfranzini1 is now known as wfranzini
v0|d has quit [Read error: Connection reset by peer]
retrry[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
v0|d has joined #nixos
<exarkun> Can I control morph's ssh behavior at all? It looks like by default it runs `nix copy --to ssh://address ...` which I suppose just uses my ssh client configuration... but I'm not sure I like the idea of editing my ~/.ssh/config to make `morph deploy` work.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5e2f89bbce1 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
v0|d has quit [Read error: Connection reset by peer]
Zer0xp has joined #nixos
philr has quit [Ping timeout: 245 seconds]
<catern> is there a function in Nixpkgs to remove a string in the middle of another string? there's removePrefix/removeSuffix
acceptable has joined #nixos
<catern> well, builtins.replaceStrings works fine
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjxqW
chr15 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjxq4
Zer0xp has quit [Ping timeout: 245 seconds]
* exarkun tries to decide he doesn't care about https://gist.github.com/exarkun/069f000b71d0bebb6be6df58d63d77e0
Zer0xp has joined #nixos
<samueldr> if I want to unit test (or maybe integration test) failures to build nix derivations, what approach do you recommend?
<{^_^}> [nixpkgs] @dasJ opened pull request #67631 → displaylink: Update to 5.2.14 → https://git.io/fjxqg
<exarkun> samueldr: Can you give an example of the kind of behavior you might want to test?
Ariakenom has quit [Ping timeout: 245 seconds]
<samueldr> I'm making a generic thing that will fail when not giving a value to either of two attributes
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fjxqa
<samueldr> I want to have a test that tests that failure
Tucky has joined #nixos
<samueldr> if it was possible from inside nix it would be fine
<samueldr> I have written a small harness to execute the builds that works fine for my needs
<samueldr> but I would like to see other opinions
<samueldr> one of the thing it needs to do is also validate that the *right* error message is shown
<exarkun> Is anything in nixpkgs/lib/tests helpful?
<samueldr> so builtins.tryEval is not useful
* samueldr checks
<samueldr> all evaluation time checks
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-resolv: keep version 0.1.1.2 around for ghc versions prior to 8.8.x »: https://git.io/fjxqw
apx[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle kick: User has been idle for 30+ days."]
<samueldr> which might be fine for some failures hmmm
<manveru> samueldr: maybe take a look at the nix test suite?
<samueldr> yeah
<samueldr> already did
<exarkun> I imagine the thing you described as `{ ... }: { a ? null, b ? null }: if (a == null) == (b == null) then / * error case */ else /* good case */`
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjxqK
<exarkun> it sounds like that's wrong though
domogled has joined #nixos
<manveru> i don't think i've ever found a usecase for tryEval...
<samueldr> exarkun: wrong how?
<samueldr> I'll explain more :)
<__monty__> Can I nix-shell npm utilities?
<samueldr> __monty__: some
<yorick> manveru: I use it to detect if an option is set or not
<exarkun> samueldr: I mean it sounds like that isn't the shape of what you want to do, since I guess I can imagine evaluation-time testing for all of the cases of that expression
<samueldr> the attributes would be `size` to set a size, it defaults to `"auto"`, auto will use the contents to set the size
<exarkun> _or_ my inexperience with nix is making me look silly ;)
<samueldr> but I just realized I can't know at eval time
<samueldr> nah, it looked alright
<samueldr> I need to build anyway to fail
jasonk000[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
<samueldr> (writing generic filesystem image generation)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
makaveli[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle kick: User has been idle for 30+ days."]
<samueldr> yeah, so both ways it can't be done at eval time; I want to validate error messages from the build, and later on check the build outputs
zupo has joined #nixos
zupo has quit [Client Quit]
<exarkun> What does morph do if health checks fail?
sonercirit[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
domogled has quit [Read error: Connection reset by peer]
domogled1 has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
jgosset[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle kick: User has been idle for 30+ days."]
domogled1 is now known as domogled
<manveru> marek: are you the one who did the elm-test update?
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fjxqQ
vyorkin has quit [Ping timeout: 248 seconds]
lambda-11235 has joined #nixos
wfranzini has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « cabal-install: override native Cabal version on older compilers »: https://git.io/fjxqN
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 18 commits to haskell-updates: https://git.io/fjxqx
<{^_^}> [nixpkgs] @andir merged pull request #67623 → dovecot: 2.3.7.1 -> 2.3.7.2 (CVE-2019-11500) → https://git.io/fjxLO
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fjxqh
<slabity> Anyone have a good method of managing password files and other non-public, possibly impure imports?
<{^_^}> [nixpkgs] @peti pushed 11 commits to haskell-updates: https://git.io/fjxqj
<{^_^}> [nixpkgs] @peti pushed 12 commits to haskell-updates: https://git.io/fjxme
<{^_^}> [nixpkgs] @imuli opened pull request #67633 → fly: bump to 5.4.1 → https://git.io/fjxmJ
doveina has left #nixos [#nixos]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjxmT
<{^_^}> [nixpkgs] @mmahut opened pull request #67634 → prometheus-cups-exporter: init at unstable-2019-03-17 → https://git.io/fjxmI
reallymemorable has joined #nixos
sigmundv_ has quit [Ping timeout: 272 seconds]
alanz has joined #nixos
pie_ has quit [Ping timeout: 252 seconds]
jluttine_ has quit [Ping timeout: 272 seconds]
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti opened pull request #67635 → LTS Haskell 14.3, cabal-install 3.0.0.0, ghc-8.8.1 fixes → https://git.io/fjxmY
erasmas has joined #nixos
emptyflask has quit [Ping timeout: 272 seconds]
emptyflask has joined #nixos
ixxie has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #67635 → LTS Haskell 14.3, cabal-install 3.0.0.0, ghc-8.8.1 fixes → https://git.io/fjxmY
<{^_^}> [nixpkgs] @peti pushed 18 commits to master: https://git.io/fjxmc
<{^_^}> [nixpkgs] @andir opened pull request #67637 → dovecot-pigeonhole: 0.5.7.1 -> 0.5.7.2 (CVE-2019-11500) → https://git.io/fjxmC
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fjxmW
jluttine has joined #nixos
drakonis has joined #nixos
ubert has quit [Quit: Leaving]
acceptable has quit [Quit: ZNC 1.7.1 - https://znc.in]
<inkbottle> then I push it into a usb drive "2.5.1. Booting from a USB Drive"
Zer0xp has quit [Ping timeout: 272 seconds]
<inkbottle> (just saying what I'm doing...)
drakonis_ has quit [Ping timeout: 264 seconds]
<spinus> slabity: if passwords are on one VM, I usually have script that generates passwords in files and giving access to processes that can read that file. If I need to setup some 3rd-party keys, for some use cases I have separate file in the repo with creds and using git-crypt
chr15 has quit [Ping timeout: 272 seconds]
<spinus> so your password file is encrypted and you decrypt it only for deployment time
Ariakenom has joined #nixos
acceptable has joined #nixos
boxscape has joined #nixos
hamishmack has joined #nixos
<__monty__> ddima, vika_nezrimaya: #67638
<{^_^}> https://github.com/NixOS/nixpkgs/issues/67638 (by toonn, 36 seconds ago, open): Unmaintained Packages
<{^_^}> [nixpkgs] @andir opened pull request #67639 → [19.03] dovecot apply CVE-2019-11500 patches → https://git.io/fjxmK
tokudan has left #nixos ["Kicked by @appservice-irc:matrix.org : issued !quit command"]
tokudan has joined #nixos
<o1lo01ol1o> Are there any examples or recommended documentation for deploying services (to staging / production) using nixops and hydra? I can think of a couple ways but I would like to follow best practices if possible.
pie_ has joined #nixos
<{^_^}> [nix] @matthewbauer opened pull request #3069 → Set maximum name length in Nix → https://git.io/fjxmX
drewr has quit [Quit: ERC (IRC client for Emacs 26.2)]
drewr has joined #nixos
drewr has quit [Remote host closed the connection]
<cransom> Huh. I have a machine running lots of builds and the 2T disk was filling (it shouldn't). if i look at the some of the outputs in the store, `nix-store -q --roots /path` was returning lists of `{temp:10329:9843}`. temproots kept accumulating. restarted nix-daemon, no change. after a reboot, a very satisfying nix-collect-garbage.
pie_ has quit [Ping timeout: 248 seconds]
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
<cransom> ack. didn't realize that number was probably a pid. i wonder if it was still alive.
wildtrees has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #65661 → nixos-containers: add TimeoutStartSec option → https://git.io/fj9vk
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjxm7
drewr has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #67640 → eksctl: 0.4.2 -> 0.4.3 → https://git.io/fjxmd
<{^_^}> [nixpkgs] @Infinisil merged pull request #64738 → magnetico: init package and service → https://git.io/fjXz0
<{^_^}> [nixpkgs] @Infinisil pushed 4 commits to master: https://git.io/fjxmb
<vika_nezrimaya> Could someone please take a look at #67619 and #67259 and set label "6.topic: cross-compilation" there?
<{^_^}> https://github.com/NixOS/nixpkgs/issues/67619 (by kisik21, 4 hours ago, open): judy fails to cross-compile
<{^_^}> https://github.com/NixOS/nixpkgs/issues/67259 (by kisik21, 6 days ago, open): apr doesn't cross-compile
<infinisil> vika_nezrimaya: Yeah I'll do that
<vika_nezrimaya> thanks <3
<vika_nezrimaya> infinisil++
<{^_^}> infinisil's karma got increased to 128
drakonis_ has joined #nixos
<o1lo01ol1o> exarkun++
<{^_^}> exarkun's karma got increased to 3
<eyJhb> Do anybody know which config should be changed, to fix the error "the name org.freedesktop.secret was not provided by any .service files", trying to use Mysql Workbench.. :)
drakonis has quit [Ping timeout: 258 seconds]
<vika_nezrimaya> eyJhb: you may want to enable GNOME Keyring, it's a common provider of the Secret Service that's not found here
<eyJhb> So Gnome Keyring and relogin I assume?
<eyJhb> But I am guessing that will not work either because freedesktop stuff. I remember at some point, we had some simlar problem with audio, with freedesktop..
drakonis_ has quit [Ping timeout: 264 seconds]
<vika_nezrimaya> yeah, enable gnome keyring in configuration.nix (I assume you're on NixOS), rebuild and relogin. Should work.
<vika_nezrimaya> AFAIK, GNOME Keyring daemon is DBus-activated, so it should fire up as soon as you need it. It may ask you to create a keyring!
<eyJhb> Damn it
<eyJhb> Will try...
<eyJhb> I hate all this stuff, I just want my cli. but OH NO, someone (project partner), does not agree
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<vika_nezrimaya> they want a shiny GUI for them? then why YOU are configuring it?
<vika_nezrimaya> gchristensen: __monty__: on topic of maintainership, what's the procedure to step up? can I just make a PR marking myself as a maintainer?
<gchristensen> yep!
<__monty__> Yepx2 : )
<vika_nezrimaya> Ok. Now, a question. Does anyone here actually use ed?
<exarkun> like, on purpose?
<vika_nezrimaya> like, you don't accidentally enter ed, right?
<vika_nezrimaya> you can accidentally get stuck in vim
<vika_nezrimaya> that's how I learned vim
<vika_nezrimaya> I wasn't able to exit, so by the time I found the :q command I learned how to use it
<vika_nezrimaya> but ed... no one even sets ed as a default EDITOR, that's just cruel
<tokudan> vika_nezrimaya, you would be surprised how often I get asked (I'm the sysadmin) by other colleagues what they're doing wrong when they hit crontab -e and they cannot figure out what to do. when I checked I found them stuck in ed.
<vika_nezrimaya> Seriously?! WOW
<tokudan> not on linux mind you, that's solaris and some very shitty profile config...
<tokudan> (that I also didn't setup)
<tokudan> but people actually end up in that thing
<vika_nezrimaya> Ok, I think I found my package I'm gonna maintain - it's lr! PR pending
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b6d906732c8 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<tokudan> besides it's probably the only editor that even ms-dos has a clone of... named edlin.
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjxYc
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67490 → libargon2: fixed cross-compilation → https://git.io/fjA4p
<vika_nezrimaya> a clone != a port, right?
judson_ has joined #nixos
judson__ has joined #nixos
<tokudan> pretty sure that microsoft or the company that they bought their dos from made it themselves
<evanjs> Might as well ask both questions at once :P. Is it frowned upon to ping here in addition to/instead of GH for PRs?
<{^_^}> [nixpkgs] @suhr opened pull request #67641 → i2p: 0.9.41 -> 0.9.42 → https://git.io/fjxYW
<evanjs> infinisil: FRidh: second question, when you guys get a chance, could you let me know what/if anything else needs to be done on #64552?
<tokudan> evanjs, it's probably more on topic than our discussion of ed, so it's probably good ;)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/64552 (by evanjs, 7 weeks ago, open): openrazer: init at 2.3.1
<evanjs> tokudan: Didn't realize that was still going haha
<tokudan> evanjs, it's not really, but everything's better than ed. so you win ;)
<vika_nezrimaya> how can I get my github id?
<tokudan> vika_nezrimaya, create an account?
<vika_nezrimaya> um, I have an account
<tokudan> then i'm not sure what you're asking for
<vika_nezrimaya> some people have githubId set in the maintainers-list.nix
<gchristensen> vika_nezrimaya: the instructions at the top should help
<exarkun> "github id" is the same as "github username"
<gchristensen> github ID is not the same as github username
<vika_nezrimaya> it's numeric
<exarkun> :( sorry
<gchristensen> no worries, exarkun :)
<evanjs> Wait what? oops
<vika_nezrimaya> I assume it's their internal DB ids that don't change when you change a username
<ivan> exarkun: usernames are recycled and IDs aren't
<vika_nezrimaya> and as I do plan on changing username sometime in the future
ekleog has quit [Quit: WeeChat 2.4]
<gchristensen> vika_nezrimaya: did the instructions at the top help?
phreedom has quit [Ping timeout: 260 seconds]
<vika_nezrimaya> gchristensen: been busy adding my pgp key, didn't read them yet :3
<vika_nezrimaya> Emacs' scroll is a bit sluggish when something's building in Nix
emptyflask has quit [Ping timeout: 245 seconds]
<Miyu-chan> Am I missing something, or does buildPythonPackage not add propagatedBuildInputs to PATH?
<ivan> vika_nezrimaya:
<ivan> nix.daemonIONiceLevel = 7;
<ivan> nix.daemonNiceLevel = 19;
<ivan> boot.kernelParams = [ "noautogroup" ];
<vika_nezrimaya> gchristensen: read it, it's helpful
<vika_nezrimaya> ivan: thanks, what does noautogroup do?
ekleog has joined #nixos
<Miyu-chan> I'm getting a "command not found" under buildPython. Huh.
<Miyu-chan> buildPythonPackage*
<Miyu-chan> /nix/store/l9hi0ywl5rhcxd5ppprqv03adr03icq7-stdenv-linux/setup: line 99: django-admin: command not found
shabius_ has quit [Quit: Leaving]
<ivan> vika_nezrimaya: makes nice system-wide instead of autogroup-wide
<FRidh> Miyu-chan: nativeBuildInputs
<ivan> see "The autogroup feature" on that page for details
<Miyu-chan> Oh. Right. Of course.
<ivan> vika_nezrimaya: are you using rotational storage?
<vika_nezrimaya> ivan: I do. My laptop only costs like $400, you can't fit a big SSD in that price range
<vika_nezrimaya> I also suspect that its RPM is too slow for my taste
<FRidh> though I wonder why the executable is ran during build time
<ivan> vika_nezrimaya: the other thing you want then is the bfq io scheduler
<ivan> needs some udev rule to enable it on your disk which I don't have because I patch the kernel
<vika_nezrimaya> can I just... y'know, get linux-ck in there? it did wonders for me on Gentoo
fendor_ has joined #nixos
<vika_nezrimaya> I liked optimizing kernel back then on Gentoo, kinda miss that flexibility on NixOS.
<vika_nezrimaya> Nix can do a lot of stuff, but one thing in NixOS that still feels arcane to me is kernel config
<ivan> well by modifying nixpkgs you can do whatever you want :-)
<tokudan> ivan, i believe cgroups (automatically used with systemd) shuold override autogroups
<vika_nezrimaya> modifying nixpkgs is an overkill for a config tweak
<ivan> tokudan: ah interesting
shabius has joined #nixos
<tokudan> ivan, at least that's what it says on that page
fendor has quit [Ping timeout: 248 seconds]
<vika_nezrimaya> gchristensen: do I need to get my full first name in the name, or will Vika be fine?
<tokudan> vika_nezrimaya, here's an example with udev rules in nixos: https://gist.github.com/tokudan/9e56e81bd93052f68d7f5c57710a6c63
<gchristensen> full name is preferred
liberiga has quit [Ping timeout: 260 seconds]
TheGamingBarrel has joined #nixos
<Smith[m]> Hello, any reason why i'm getting firefox 67 and not 68 (i'm on 19.03) ?
<gchristensen> sounds like you need to update your channels :)
<{^_^}> [nixpkgs] @kisik21 opened pull request #67642 → lr: add myself (@kisik21) as maintainer → https://git.io/fjxYD
<evanjs> FRidh: thanks!
<evanjs> FRidh++
<{^_^}> FRidh's karma got increased to 9
<vika_nezrimaya> Ok, PR is pushed, everything's done, the only thing remaining is to wait for the merge to happen
<vika_nezrimaya> Hm, interesting, will OfBorg ping me for review?
<vika_nezrimaya> gchristensen: 'cause my PR lists me as a maintainer. Or is it smart enough to avoid that?
<gchristensen> it won't request the author of a PR for a review :)
<vika_nezrimaya> great!
DariusTh` has quit [Ping timeout: 246 seconds]
vmandela has quit [Quit: Leaving]
ThatDocsLady has quit [Quit: Leaving]
Myhlamaeus2 has joined #nixos
<worldofpeace> Note that naming coventions and traditions differ in different countries gchristensen (some people only have one name or many depending on who's speaking too them)
<gchristensen> I'm aware
pie_ has joined #nixos
<gchristensen> vika_nezrimaya: hmm do you ever sign commits with you gpg key?
<vika_nezrimaya> gchristensen: I do, according to GitHub. Why do you ask?
<vika_nezrimaya> wait
<gchristensen> https://github.com/NixOS/nixpkgs/pull/67642/commits this one doesn't seem to be signed :)
<vika_nezrimaya> wait
<vika_nezrimaya> oh wow
<tokudan> github signs changes you make through their website with their own key
domogled has quit [Ping timeout: 258 seconds]
<vika_nezrimaya> It seems like it slipped past me when I was configuring Git, but yes, I do intended my commits to be signed
<gchristensen> okay, cool, mind giving that one another try?
<vika_nezrimaya> I'll fix it right away
<gchristensen> thanks!
<tokudan> git commit --sign --amend should do it :)
<tokudan> (if it's just a single commit)
<vika_nezrimaya> I'll configure signing by default
shibboleth has joined #nixos
<vika_nezrimaya> ok, switching my Home Manager configuration
<vika_nezrimaya> the signing key was configured, but signByDefault was false explicitly :P
<vika_nezrimaya> tokudan: I use Magit btw
<tokudan> ah, ok
<ajs124> a mkYarnPackage build is throwing "ln: failed to create symbolic link 'node_modules/frappe/frappe': File exists" at me during configuring and failing afterwards. anyone got any ideas?
o1lo01ol1o has quit [Remote host closed the connection]
evanjs has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<spinus> ajs124: I has similar issues with that, my workaround was to manualy copy dependencies to node_modules and run webpack in buildPhase
evanjs has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
hoijui has joined #nixos
evanjs has quit [Client Quit]
evanjs has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67626 → rl-1909: add note about Xfce 4.14 → https://git.io/fjxte
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjxOt
<gchristensen> vika_nezrimaya: looks like github isn't sure about the signature yet
<tokudan> gchristensen, github has issues with my signature as well, as i use different email addresses and they're not smart enough to ignore the email address
shibboleth has quit [Quit: shibboleth]
<gchristensen> hmm interesting. I've taught github about my different email addresses as necessary. it isn't a blocker, but would be ideal
<tokudan> gchristensen, my key has two email addresses, one of them is listed in github. there's no way i'm adding the second one as well
<gchristensen> okay
alanz has quit [Quit: Leaving]
<__monty__> tokudan: I have a similar issue because I use multiple signing subkeys.
alanz has joined #nixos
sigmundv_ has joined #nixos
<exarkun> "${foo}" vs "$${foo}" vs "$$${foo}" is weird
<__monty__> ,$
<__monty__> ,escape$
<{^_^}> __monty__: Did you mean escape"?
<{^_^}> " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
<__monty__> ,escape''
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<jtojnar> worldofpeace: not yet, will try to take a look later today
orivej has joined #nixos
<tokudan> __monty__, same for me, my gpg key is somewhat complicated with multiple yubikeys :)
<__monty__> exarkun: Hmm, is that a bashism?
<exarkun> I don't think so
<exarkun> unless I have misunderstood something quite substantial
ThatOtherGuy has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @MetaDark opened pull request #67643 → clonehero: init at v0.22.5 → https://git.io/fjxO4
ThatOtherGuy has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #67642 → lr: add myself (@kisik21) as maintainer → https://git.io/fjxYD
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fjxO0
reallymemorable has quit [Quit: reallymemorable]
<worldofpeace> jtojnar: cool, gotta catch em' all ✨️
<worldofpeace> (unintentional pokemon reference)
Jackneill has quit [Remote host closed the connection]
oblivia has joined #nixos
<oblivia> hey guys, I'm trying to install nixos on an encrypted zfs pool, using the installation image. I've set "boot.zfs.enableUnstable = true;" in the installer's /etc/nixos/configuration.nix, and run nixos-rebuild switch, but when I try to run "zpool create -o ashift=12 -o altroot="/mnt" -O encryption=aes-256-gcm -O keyformat=passphrase ZPOOL $ROOT_PARTITION, I'm prompted for a passphrase, and then get the error
<oblivia> message "cannot create 'ZPOOL': invalid argument for this pool operation"
<oblivia> any ideas?
<tokudan> oblivia, i think you cannot upgrade the running zfs version through a switch, you probably have to build a new installation image
FRidh has quit [Quit: Konversation terminated!]
<oblivia> ah, ok, i guess that's the issue. i'll try that. thanks.
<tokudan> oblivia, shouldn't be too hard though, it's easy to build modified installation images. see https://nixos.wiki/wiki/Creating_a_NixOS_live_CD
<sphalerite> oblivia: I like you nickname :D
<oblivia> thanks!
<gchristensen> oh wow yeah that is a great nick
<sphalerite> oblivia: should probably be possible to switch, you'll need to remove the zfs kernel module and replace it with the new one
<sphalerite> though
<sphalerite> probably a bit more fiddly than building a new installer image though
<oblivia> I did try a `rmmod -f zfs; modprobe zfs`, but no dice
<tokudan> hmm... yeah, you're probably right there :)
freeman42x]NixOS has quit [Remote host closed the connection]
<oblivia> looks like building a new installer image is actually pretty straightforward, so i might as well give that a go.
<tokudan> you need to feed in the correct path to the new module, i guess
<tokudan> insmod accepts paths, i think
<infinisil> ,escape-special __monty__
<{^_^}> __monty__: A $${foo} will insert the literal string "$${foo}". Use \$${foo} in " strings or ''$${foo} in '' strings to have foo interpolated
freeman42x]NixOS has joined #nixos
<__monty__> infinisil: Thanks. Haven't run into needing $$ myself.
<sphalerite> tokudan oblivia: exactly :)
<{^_^}> [nixpkgs] @kalbasit merged pull request #67633 → fly: 5.3.0 -> 5.4.1 → https://git.io/fjxmJ
<{^_^}> [nixpkgs] @kalbasit pushed commit from @imuli to master « fly: 5.3.0 -> 5.4.1 (#67633) »: https://git.io/fjxOr
DariusTh` has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
TheGamingBarrel has quit [Quit: leaving]
knupfer has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to busybox-static « busybox: fix static builds »: https://git.io/fjxOP
<{^_^}> [nixpkgs] @matthewbauer opened pull request #67644 → busybox: fix static builds → https://git.io/fjxOM
fendor__ has joined #nixos
emptyfl4sk has joined #nixos
fendor__ has quit [Remote host closed the connection]
fendor_ has quit [Ping timeout: 245 seconds]
<emptyfl4sk> I have another bundlerEnv/bundix issue: `collision between '/nix/store/xf2qb32arrsv9vy5vp5axbg6r86mchw1-ruby2.5.5-countries-3.0.0/bin/console' and '/nix/store/bx5d3027b059h0d7jyqk3kli6j6kvhgd-ruby2.5.5-active_record-acts_as-4.0.1/bin/console'`
<emptyfl4sk> not really sure how to prioritize or ignore those bin files -- I don't care about either of them
fendor has joined #nixos
<emptyfl4sk> they're just for launching a ruby console for the gem developers
<inkbottle> "This is not a bootable disk. Please insert a bootable floppy and press any key to try again..."; what did I miss?...
<inkbottle> I did what described here: 2.5.1. Booting from a USB Drive
<andi-> insert the floppy! :D
<emptyfl4sk> inkbottle: assuming your USB disk is written correctly, make sure you can boot from it in your bios config
<inkbottle> emptyfl4sk: I think I did that... And he did try to boot on it since it says it is not bootable...
bakakuna has joined #nixos
phry has joined #nixos
phry has quit [Remote host closed the connection]
unacceptable has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 272 seconds]
<tokudan> inkbottle, did you copy the iso to the usb drive into a partition or the usb drive itself? meaning did you write of=/dev/whatever or of=/dev/whatever1 (with the number)?
<inkbottle> tokudan: with the number
<tokudan> and do you use macos or a linux?
<inkbottle> linux
<tokudan> inkbottle, do you remember the full command?
<inkbottle> yes, hang on
<emptyfl4sk> I don't think you want to use a partition number (/dev/sdx1)
<{^_^}> [nixpkgs] @andir merged pull request #67637 → dovecot-pigeonhole: 0.5.7.1 -> 0.5.7.2 (CVE-2019-11500) → https://git.io/fjxmC
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fjx3m
<emptyfl4sk> just the disk itself (/dev/sdx)
<tokudan> yeah, that's what i assume as well :)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<inkbottle> ok, I try that
Zer0xp has joined #nixos
<emptyfl4sk> found a workaround for my gemset.nix issue above -- set `meta.priority = 1` on one of the gems
<{^_^}> [nixpkgs] @WilliButz merged pull request #67634 → prometheus-cups-exporter: init at unstable-2019-03-17 → https://git.io/fjxmI
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjx3c
<EsperLily> emptyfl4sk: if you use bundlerApp you can specify which binaries to link in
<EsperLily> (I don't have context though; bundlerApp is specifically for when you're publishing binaries but not libraries, I don't know if that applies)
<gchristensen> marek: now do a cups based grafana interface
<exarkun> It would be pretty cool if there were `morph deploy ... build-vm`
<EsperLily> alternatively you could wrap your bundlerEnv derivations in a buildEnv or something that just skips the console binary
<exarkun> boot my whole deployment as vms locally for me
DariusTh` has quit [Remote host closed the connection]
DariusTh` has joined #nixos
bakakuna has quit [Ping timeout: 245 seconds]
chr15 has joined #nixos
<inkbottle> tokudan, emptyfl4sk: didn't work, neither: I'll try to understand what's happening there and be back
<{^_^}> [nixpkgs] @danielfullmer opened pull request #67645 → rclone: 1.49.0 -> 1.49.1 → https://git.io/fjx3P
emptyfl4sk has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @artemist opened pull request #67647 → one_gadget: 1.6.2 → 1.7.2 → https://git.io/fjx39
xkapastel has quit [Quit: Connection closed for inactivity]
englishm has quit [Excess Flood]
englishm has joined #nixos
DariusTh` has quit [Ping timeout: 245 seconds]
<pie_> would be nice if there was a tutorial that explained you could check values of parts of your system config lige
<pie_> like
<pie_> NIXOS_CONFIG=$(realpath ./config/nodes/nixos/configuration.nix) nix-instantiate ./nixpkgs/nixos/ -v -A config.users.users.paprika.packages
<pie_> NIXOS_CONFIG=$(realpath ./config/nodes/nixos/configuration.nix) nix-instantiate ./nixpkgs/nixos/ -v -A config.users.users.paprika.packages --eval
<pie_> you need both because the first one builds is the second one prints the value
<EsperLily> config.users.users?
<tokudan> pie_, something like this? $ nixos-option environment.systemPackages
<pie_> tokudan: i tried that but its giving me different values and i havent figured out why yet
<pie_> mine is based on evaluating a specific instance of a config, as it is on disk
<pie_> i mean, manually evaling the config
<pie_> its not magic but it seems useful
zupo has joined #nixos
<tokudan> pie_, then you probably have to set NIX_PATH=nixos-config=/etc/nixos/configuration.nix nixos-option a.b.c
<pie_> ill give it a shot
ng0 has quit [Quit: Alexa, when is the end of world?]
<{^_^}> [nix] @edolstra merged pull request #2921 → Handle SIGWINCH in main thread → https://git.io/fjuwY
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/fjx3h
<oblivia> okay, I generated a new installation iso with zfs unstable support, booted into it, created my zfs filesystem and prepared my configuration.nix -- so far, so good -- but when I try to run "nixos-install", I'm getting an error message about a missing "/mnt/etc/nixos/nixpkgs/binbin/binbin.nix"
<oblivia> am I missing a step, here?
<pie_> a weird thing is the config expression apparently user NIXOS_CONFIG, not the value in nix path, not sure how taht works - or i made a typo
wfranzini has joined #nixos
<tokudan> oblivia, that sounds like an issue with your system config that you created for the new install
reallymemorable has joined #nixos
<pie_> yeah i made a typo
<tokudan> oblivia, try --show-trace
<freeman42x]NixOS> is there any Nix package which I could use to install some facebook Messenger GUI client?
<{^_^}> freeman42x]NixOS: 7 hours, 22 minutes ago <__monty__> You could take a look at dhall: https://github.com/dhall-lang/dhall-lang
ng0 has joined #nixos
<joko> Is anyone using waybar from colemickens' nixpkgs-wayland
<joko> ?
<__monty__> freeman42x]NixOS: bitlbee + a GUI irc client : >
<oblivia> there's an error "while evaluating the attribute 'activationScript'..."
<freeman42x]NixOS> __monty__, ty, I will take that into consideration for another time. I think it might be complicated to set up :(
<oblivia> not really sure what to do with that information, though. Any suggestions, tokudan?
<__monty__> freeman42x]NixOS: It's really not. Especially on nixos.
<tokudan> oblivia, try something like nixos-install --root /mnt --show-trace
<tokudan> oblivia, question is what's causing the missing files and if the actual message doesn't give you a hint, --show-trace might
<__monty__> freeman42x]NixOS: services.bitlbee.enable = true; services.bitlbee.plugins = [ pkgs.bitlbee-facebook ];
<freeman42x]NixOS> __monty__, do you know what the installation steps would be? like, what would I need to configure?
lurpahi has quit [Ping timeout: 272 seconds]
<__monty__> Then follow this: https://wiki.bitlbee.org/HowtoFacebookMQTT
spease has joined #nixos
spease has left #nixos [#nixos]
spease has joined #nixos
<freeman42x]NixOS> I am already using HexChat GUI IRC client for freenode/twitch
<__monty__> From the Usage section onwards.
<oblivia> okay, I see. These are missing package files. Maybe I need to update the package channel, or something?
<infinisil> oblivia: Can you post the full error trace?
<__monty__> freeman42x]NixOS: Oh, and you'll have to connect to your bitlbee before following that wiki page.
<tokudan> oblivia, if it mentions /mnt/etc/nixos/nixpkgs then I wonder if you are using a special copy of nixpkgs?
lurpahi has joined #nixos
<freeman42x]NixOS> oh yeah, shameless plug - doing some Nix things on twitch: http://twitch.tv/freeman42x
<oblivia> oh wait, okay, never mind. I'm using a modified config that a coworker sent me, and I just realized that it imports dependencies that I don't have.
<oblivia> so, mystery solved! thanks!
<tokudan> oblivia, yep, something like that ;)
<averell> the setup was a setup!
<freeman42x]NixOS> __monty__, thank you for the help, I will try to set it up now __monty__++
<{^_^}> __monty__'s karma got increased to 8
<__monty__> freeman42x]NixOS: np, I really like not having to visit fb or leave my irc client : ) Group chats are a little finicky but I can live with it.
<colemickens> <joko "Is anyone using waybar from cole"> Did I break it? I use i3status-rs but am thinking of making a switch, it doesn't necessarily work so great.
<freeman42x]NixOS> __monty__, yeah, being able to use HexChat for FB messenger also would be cool
<freeman42x]NixOS> although to be honest what I DO need it a better IRC client...
<__monty__> freeman42x]NixOS: I like irssi, weechat's pretty popular, glirc2 is interesting.
<freeman42x]NixOS> __monty__, I am kinda looking for something more modern. Something that works kinda like Gitter / Slack
<freeman42x]NixOS> cause otherwise HexChat is working great
<sphalerite> freeman42x]NixOS: matrix bridge + riot?
<EsperLily> Well that's interesting, I was prepared to say "irssi is on life support, use something else" except it appears to be under active development again
<pie_> tokudan: NIX_PATH=nixos-config=./config/nodes/nixos/configuration.nix:nixpkgs=./nixpkgs nixos-option users.users.paprika.packages
<pie_> An error occurred while looking for attribute names. Are you sure that 'users.users.paprika.packages' exists?
<pie_> error: syntax error, unexpected '=', expecting $end
<pie_> tokudan: it works fine without NIX_PATH set... and there are no errors in my code because the nix-instantiate version works?
<averell> ivan: but it's not the same derivation right? maybe diff the build deps?
<ivan> thanks. bumping mesa first to see if it magically gets fixed :-)
<tokudan> pie_, try using full paths in there
<pie_> oh btw looks like nixos-option is just a script (that calls nix instantiate)
<EsperLily> AFAIK weechat is still the "better" client, though I say this having meant to switch for many years now and still not getting around to it
<pie_> (done nicer though probably)
<spease> Hi. I'm using nix on OS X, and need to build a Rust package that requires the Security framework (via cargo install). I've determined that I probably need to use nix-shell to provide access to the packages that it needs, but can't figure out how to provide access to nixpkgs.darwin.apple_sdk.frameworks as mentioned in this Stack Overflow post (https
<spease> ://stackoverflow.com/questions/51161225/how-can-i-make-macos-frameworks-available-to-clang-in-a... Can anyone point me in the right direction? Thanks. (asked on #nix-darwin too, but it looks pretty dead compared to here)
chr151 has joined #nixos
<EsperLily> spease: what have you tried? Making darwin.apple_sdk.frameworks.Security as a buildInput is really common for darwin support on packages
<EsperLily> CoreFoundation too
emptyfl4sk has joined #nixos
<EsperLily> spease: here's an example of doing so with another rust package: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/ffsend/default.nix#L32
<freeman42x]NixOS> sphalerite, "matrix bridge + riot" I used that with success most of the time... but it was kinda slow and it did have some issues
Zer0xp has quit [Ping timeout: 248 seconds]
<pie_> tokudan: no good
<sphalerite> yeah, I think having a non-matrix.org homeserver and maybe also running your own IRC bridge could make sense
<spease> EsperLily: this isn't being built as part of the nix ecosystem, it's being installed as part of cargo's ecosystem.
<{^_^}> [nix] @edolstra pushed to master « Fix macOS build »: https://git.io/fjxsO
<sphalerite> although this is more #nixos-chat material than #nixos :p
<EsperLily> spease: you're using Nix-installed cargo?
chr15 has quit [Ping timeout: 245 seconds]
<spease> EsperLily: Nix-installed rustup, but then I used rustup to install the toolchains
<EsperLily> spease: in that case, write a derivation for it and let Nix build it
<pie_> haha first line is: # FIXME: rewrite this in a more suitable language.
<EsperLily> that said, I'm not sure why what you just described wouldn't work; cargo via Nix-installed rustup may be patched to use Nix (I don't really know) but surely the stuff it builds would have access to system frameworks
<EsperLily> but I haven't tried that particular setup; I have a manually-installed rustup for normal hacking
<tokudan> pie_, hm, well... then i'm basically out of ideas as I cannot test that myself
<freeman42x]NixOS> is there any Nix only IRC channel? or is #nixos the standard channel for Nix questions?
<EsperLily> freeman42x]NixOS: there's a #nix-lang but it's very low-traffic
<EsperLily> and only 25 folks there
<freeman42x]NixOS> aha
<ivan> averell: ah, the derivation was different because I bumped libuv for a node bump :(
<EsperLily> spease: in any case if you were using nixpkgs.cargo directly then I assume a nix-shell with buildInputs set up to include the frameworks would work fine. But I don't know if Nix-installed rustup even does anything with the installed rust/cargo
<EsperLily> I'm tempted to say no, because that would mean patching rustup to download rust/cargo from cache.nixos.org instead
<EsperLily> unless this is from the Mozilla overlay? In which case I have no idea what they're doing
<EsperLily> though at a quick glance I don't see rustup in that overlay
jgeerds has joined #nixos
Zer0xp has joined #nixos
<spease> EsperLily No, I avoided using the mozilla overlay since I figured it was probably more complex to deal with. In this case I figured nix would be responsible for managing rustup, but rustup would be responsible for the toolchains/cargo, and then cargo would be responsible for anything I installed with 'cargo install'
<EsperLily> I guess it's worth checking what the nixpkgs rustup package does
<EsperLily> spease: personally, I'd just install rustup manually. It supports self-updating
<spease> EsperLily I'm somewhat interested in learning how to write nix packages myself, but this is all a side thing so I can get cargo-tree working to get back to work
<EsperLily> for cargo-tree I just run `nix-env -iA nixpkgs.cargo-tree` :P
<spease> :facepalm:
<EsperLily> spease: I have to idle now, but if you post on https://discourse.nixos.org with details of your issue you can get asynchronous support, and if I have the time I'll experiment with how nixpkgs-installed rustup works
<pie_> tokudan: well the script seems to reset nix?path
<{^_^}> [nixpkgs] @danielfullmer opened pull request #67648 → zerotierone: 1.4.2 -> 1.4.4 → https://git.io/fjxsZ
<averell> mozilla overlay is very simple, and also quite fast now because of binaries
<pie_> tokudan: gitta pass /I
<tokudan> pie_, which scrip? nixos-option?
<pie_> * -I
<pie_> tokudan: yeah
<spease> EsperLily I didn't think there would be a cargo-tree package in nix so I didn't even think to look for it. I'm installing it now, assuming that works it will get me unblocked. However I'm guessing that might introduce some 'impurity' with my cargo setup since then cargo-tree will be unlike other cargo utils. I'll also look into Discourse. Thanks.
<tokudan> pie_, hmm... ok, well then you can just check what nixos-option is doing and do the same without resetting NIX_PATH?
<pie_> tokudan: -I . now im getting a different error xD will report bacj
<pie_> brb
Zer0xp has quit [Ping timeout: 245 seconds]
chr151 has quit [Ping timeout: 268 seconds]
reallymemorable has quit [Ping timeout: 245 seconds]
<{^_^}> [nix] @edolstra pushed to master « gc-auto.sh: Increase verbosity »: https://git.io/fjxsB
ris has joined #nixos
pie_ has quit [Ping timeout: 245 seconds]
ixxie has quit [Ping timeout: 272 seconds]
<vika_nezrimaya> Updated my local checkout to master. Seems like Hydra channels lag a bit, because I'm building a lot of stuff from source :3
abathur has joined #nixos
<mdash> vika_nezrimaya: yes, they wait until the test suite passes
<mdash> Has anyone used a password manager like pass/bitwarden/vault for managing secrets in nixos configurations?
<vika_nezrimaya> mdash: wait, I think I saw a blog post about that
<mdash> I like being able to make my configs public but obviously there are bits that need to be left out
<vika_nezrimaya> I use a file called secrets.nix! You make an attribute set there, paste all your secret stuff into its attributes. Then at the start of the configuration.nix, right after { config, pkgs, ... }: you write:
<vika_nezrimaya> let secrets = import ./secrets.nix; in { <your NixOS configuration> }
pie_ has joined #nixos
<vika_nezrimaya> assuming you have a userPassword entry in secrets.nix, you can now write: users.users.mdash.hashedPassword = secrets.userPassword;
<mdash> that's precisely what I've been doing
<vika_nezrimaya> ok :3
<mdash> it works OK, but I'd like more centralized control
<vika_nezrimaya> Use something similar to git-crypt to stuff this file in the encrypted form into your VCS
<mdash> meh, i guess. i've already got one secrets manager, not excited about having two
freeman42x]NixOS has quit [Ping timeout: 268 seconds]
abathur has quit [Ping timeout: 246 seconds]
<colemickens> It seems like it will end up in the store either way.
<{^_^}> [nixpkgs] @zimbatm merged pull request #67450 → nixos/gitlab-runner: add missing HOME to environment → https://git.io/fjAm2
<{^_^}> [nixpkgs] @zimbatm pushed commit from @bachp to master « nixos/gitlab-runner: add missing HOME to environment (#67450) »: https://git.io/fjxsu
<vika_nezrimaya> Not if you use NixOps!
<colemickens> It would be cool to see a NixOS supported way of mounting runtime secrets under /run/ and having system units look there
<sphalerite> nixops :p
<vika_nezrimaya> colemickens: NixOps already has something similar, we could try to integrate that...
<mdash> I see morph has a "write this file but don't put it in the store" option.
<mdash> I might see what can be done there
<vika_nezrimaya> what is morph?
<{^_^}> [nixpkgs] @zimbatm merged pull request #67648 → zerotierone: 1.4.2 -> 1.4.4 → https://git.io/fjxsZ
<{^_^}> [nixpkgs] @zimbatm pushed commit from @danielfullmer to master « zerotierone: 1.4.2 -> 1.4.4 (#67648) »: https://git.io/fjxs2
evanjs has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
evanjs has joined #nixos
<mdash> colemickens: Maybe so, but many applications want secrets to go in their own config files
<vika_nezrimaya> this blog post is the post I was talking about
<vika_nezrimaya> but it's nixops-specific
<colemickens> mdash: yeah, I didn't think through it very far :S
<mdash> vika_nezrimaya: This looks very similar to what I had in mind
<mdash> secret manager -> nix expr -> non-store files on target machines
fusion809 has joined #nixos
<vika_nezrimaya> btw people use NixOps to deploy configurations on localhost :wink:
<mdash> sure. I'm gonna give morph a try first though
<infinisil> I can't say I'm a big fan of nixops tbh
<infinisil> I've been using it for my machines for a while
<vika_nezrimaya> How to handle SSL certificates with Nixops using /run/keys? Is it reliably possible (I use Let's Encrypt to get certificates) to do that, or am I better off using security.acme.certs as usual?
<vika_nezrimaya> can I even consider these certs secrets? one can revoke them, as far as I know, and perfect forward secrecy is a thing in HTTP IIRC
<vika_nezrimaya> s/HTTP/HTTPS/
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #67650 → ghc881: remove broken unordered-containers override → https://git.io/fjxsD
<colemickens> Does NixOS do some special magic for GTK/themes/cursors/icons? I see weird behavior when trying to configure GTK apperance, and I wonder if it's because I'm not actually using GNOME-Shell and thus not activating all of the magic?
freeman42x]NixOS has joined #nixos
xkapastel has joined #nixos
<tokudan> vika_nezrimaya, use security.acme to generate certs. if you use nginx, you can just set that option in the virtualhost and you'll automatically get a working cert
<pie_> tokudan: i found the problem
<tokudan> vika_nezrimaya, and not every client uses PFS, so that cert must be kept private
<tokudan> pie_, what was it?
<pie_> tokudan: this gets piped to nix-instantiate as part of the script https://bpaste.net/show/0jTA
<vika_nezrimaya> tokudan: I use keys group to share certs between nginx, postfix, dovecot and prosody. It doesn't seem that keys group is unprivileged...
<pie_> tokudan: sigh :P
<vika_nezrimaya> and yes, I do use acme currently
hoijui has quit [Ping timeout: 264 seconds]
<clever> vika_nezrimaya: i would just continue to use normal acme
<pie_> tokudan: this should probably be a bug report somewheer but im not in the mood to write it up......
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
<tokudan> vika_nezrimaya, /run/keys is fine, if you've already got it setup, but acme is a lot faster and easier to setup and use... and you don't have to worry about your certs expiring
<vika_nezrimaya> tokudan: I use acme, but I've configured a shared keys group (which gid seems to be internally used in Nixops sometimes but is privileged anyway) :3
wfranzini has quit [Remote host closed the connection]
<pie_> tokudan: ...not actually sure how that trace line ends up in there though...
freeman42x]NixOS has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #67651 → ghc881: fix happy build → https://git.io/fjxsN
<jtojnar> colemickens: nothing special, ~/.config/gtk-3.0/settings.ini should work
sondr3 has joined #nixos
<sondr3> I was just invited to join the NixOS organization on Github, is this correct? I haven't seen any mentions about this so just wanted to make sure it wasn't a mistake or anything...
<gchristensen> ,invite sondr3
<{^_^}> sondr3: Invited to join "Nixpkgs Maintainers" on GitHub? For more information, see: https://discourse.nixos.org/t/join-the-package-maintainer-team/3751
<colemickens> I can't really get it to use any cursor theme but breeze. No matter what I do, gtk3 apps fallback to breeze, even though Sway and all config say to use capitaine-cursors-white
<colemickens> cat ~/.config/gtk-3.0/settings.ini | rg cursor-theme-name = "capitaine-cursors-white", and yet
wfranzini has joined #nixos
<sondr3> gchristensen: thanks, I felt like I remembered reading something about this. Super cool, thanks
<gchristensen> yep!
<vika_nezrimaya> Ok. Using nixpkgs master for a PRODUCTION server was a bad idea. nginx doesn't start, saying: Consumed 58ms CPU time, no IP traffic.
reallymemorable has joined #nixos
<clever> vika_nezrimaya: strace the pid?
<vika_nezrimaya> There is no PID. It crashes :3
<clever> vika_nezrimaya: logs?
<vika_nezrimaya> This is literally the whole log, it seems. I'll try journalctl -xe
<averell> also try the builtin syntax check maybe
<clever> vika_nezrimaya: read the .service file, and then run nginx under strace
<vika_nezrimaya> oh wait I found it, it's really the config
<vika_nezrimaya> lol
Cale has quit [Ping timeout: 276 seconds]
<pie_> tokudan: the evalNix function deliberately redirects stderr to stdout
<pie_> tokudan: so the header= is getting some garbage via generateAccessors
o1lo01ol1o has joined #nixos
<pie_> i cant think of an easy fix to this offhand...
<pie_> and i dont want to remove the trace
ng0 has quit [Ping timeout: 260 seconds]
is_null has joined #nixos
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #67652 → cage: init at 0.1.1 → https://git.io/fjxGf
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #67653 → haskell.packages.ghc881.haskell-src-exts: fix build → https://git.io/fjxGJ
<infinisil> colemickens: lxappearance should work
<infinisil> > lxappeareanc-gtk3
<{^_^}> undefined variable 'lxappeareanc-gtk3' at (string):263:1
<infinisil> > lxappearance-gtk3
<{^_^}> "<derivation /nix/store/wqj6f1zx5f6lz29ykgf7ghyx62awyqk4-lxappearance-0.6.3.drv>"
<infinisil> This version ^
<pie_> does anyone have any ideas how i could do this search and get actual relevant results https://github.com/NixOS/nixpkgs/issues?utf8=%E2%9C%93&q=%22nixos-option%22+
ng0 has joined #nixos
Cale has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<jtojnar> colemickens: could you try changing it wih `nix run -f channel:nixos-unstable gnome3.gnome-tweaks -c gnome-tweaks`
stites has joined #nixos
ryantrinkle has joined #nixos
fendor has joined #nixos
<stites> I've got a python package (built with `python setup.py install`) which is happily installying, but I want to pull out the extracted `lib/` and `include/` (generated because setup.py runs CMake under the hood). Would anyone help with how to go about doing this?
waleee-cl has quit [Quit: Connection closed for inactivity]
<stites> installing*
<stites> I was planning on adding a `postInstall` hook and copy the files from under `site-packages`, but I realized that I wouldn't know how to extract the correct python-version
<stites> (the desired files are located under `/nix/store/<hash>-<python3.6>-<name>-<version>/lib/<python3.6>/site-packages/torch`)
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #67654 → haskell.packages.ghc881.th-abstraction: fix build → https://git.io/fjxGZ
<clever> > python3.sitePackages
<{^_^}> "lib/python3.7/site-packages"
<clever> stites: ^^^
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #67655 → haskell.packages.ghc881.th-lift: fix build → https://git.io/fjxGn
Fluffy[m] has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #67656 → yle-dl: 2.31 -> 20190614 → https://git.io/fjxGC
<stites> this is going into `pytorch/default.nix` -- would I pass sitePackages directly into the derivation? With `python.callPackage ./. {}` I am getting "called without required argument sitePackages"
<worldofpeace> colemickens: do you switch from using Plasma5? I believe that install would leave around some dotfiles causing this.
<clever> stites: you want to add python to the arguments, and then use that
ottidmes_ is now known as ottidmes
drakonis_ has joined #nixos
<stites> it's building (an improvement)! thanks clever!
freeman42x]NixOS has joined #nixos
<stites> clever: would you happen to know how to only partly run a `buildPythonPackage`? The correct way to configure and build this package is with a `python setup.py --cmake-only && ccmake <plus nix-configured cmake arguments>` but buildPythonPackage is too daunting to pick apart
<clever> stites: nope, i dont do much python stuff in nixpkgs
<stites> meerp. okay, thanks!
<gchristensen> anyone seen this before? /nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh: line 1: source: /nix/store/0623dk7hhb392f7c17kxq4kww3lrwm4s-stdenv-darwin/setup: cannot execute binary file builder for '/nix/store/7nz6z7f1j5vigd97qh0qvziwdry7b99x-aws-sdk-cpp-1.7.53.drv' failed with exit code 126
<gchristensen> when running nix-build ./release.nix -A "binaryTarball.x86_64-darwin" --system x86_64-darwin for https://github.com/NixOS/nix/pull/3066
<{^_^}> nix#3066 (by matthewbauer, 1 day ago, open): Use wait4path on org.nixos.nix-daemon.plist
drakonis_ has quit [Ping timeout: 264 seconds]
<clever> gchristensen: run nix-store --query --binding builder /nix/store/7nz6z7f1j5vigd97qh0qvziwdry7b99x-aws-sdk-cpp-1.7.53.drv
<gchristensen> will do, it got gc'd so having to reeval
<gchristensen> lol: 56.7 wa
zupo has quit [Remote host closed the connection]
<gchristensen> [grahamc@Morbo:~/projects/grahamc/nixos-config]$ nix-store --query --binding builder /nix/store/7nz6z7f1j5vigd97qh0qvziwdry7b99x-aws-sdk-cpp-1.7.53.drv
freeman42x]NixOS has quit [Quit: Leaving]
<gchristensen> /nix/store/ik92bxq5l6fhdcnsykdfhb790y22xm4s-bash-4.4-p23/bin/bash
<gchristensen> [grahamc@Morbo:~/projects/grahamc/nixos-config]$ file /nix/store/ik92bxq5l6fhdcnsykdfhb790y22xm4s-bash-4.4-p23/bin/bash
<gchristensen> /nix/store/ik92bxq5l6fhdcnsykdfhb790y22xm4s-bash-4.4-p23/bin/bash: Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>
tokudan has quit [Quit: ZNC 1.7.3 - https://znc.in]
<clever> ok, so its not the classic linux binary on a mac
npmccallum has quit [Quit: npmccallum]
<clever> gchristensen: can that bash actually run?
<clever> gchristensen: what about `file /nix/store/0623dk7hhb392f7c17kxq4kww3lrwm4s-stdenv-darwin/setup` ?
<gchristensen> /nix/store/0623dk7hhb392f7c17kxq4kww3lrwm4s-stdenv-darwin/setup: UTF-8 Unicode text, with very long lines
<clever> gchristensen: and if you read it with less, it looks fine?
<gchristensen> yep
tokudan has joined #nixos
<clever> not many other things we can check
drakonis_ has joined #nixos
<gchristensen> I thought my fans were going nuts, it turns out to be a nice thunderstorm.
Tucky has quit [Quit: WeeChat 2.5]
<{^_^}> [nix] @zimbatm opened pull request #3070 → WIP: libstore: default to daemon even as root → https://git.io/fjxGV
drakonis_ has quit [Ping timeout: 264 seconds]
<ldlework> gchristensen: you have fans? add me to the list.
<gchristensen> d'awww shucks...
* gchristensen , actually blushing
freeman42x]NixOS has joined #nixos
alanz has quit [Remote host closed the connection]
<worldofpeace> (imagine me in the back with streamers waveing "Go Graham!")
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #67657 → haskell.packages.ghc881.attoparsec: fix build → https://git.io/fjxGD
<freeman42x]NixOS> I'm running NixOS under Windows VMWare and I am facing the following issue. When running OBS no matter what I do I can not capture the desktop audio. I tried switching between the 4 possible audio modes and none make it work:
<freeman42x]NixOS> the audio modes: https://i.imgur.com/Bgy6llq.png
Jackneill has joined #nixos
<oblivia> this seems weird: using a basic but homebrewed installation image, I'm noticing that the /mnt/etc/fstab generated by nixos-install is just a copy of the installation image's own /etc/fstab (and this is unbootable, of course). i don't see anything in /mnt/etc/{configuration,hardware-configuration}.nix that would cause this.
<freeman42x]NixOS> the weird part is that it was not working, then it worked once, and now it is no longer working again
<clever> freeman42x]NixOS: which end is obs running on? where is the audio source?
<gchristensen> freeman42x]NixOS: pacmd load-module module-loopback; pactl load-module module-null-sink sink_name=recsink and then open up pavucontrol and play with sinks and sources
<freeman42x]NixOS> clever, what do you mean? OBS is running inside the NixOS VM
<clever> gchristensen: obs automatically captures from the loopback of a device
<clever> freeman42x]NixOS: are you trying to capture audio playing from nixos, or windows?
<gchristensen> yeah, but I had to do the same thing...
<freeman42x]NixOS> gchristensen, I do not understand how to do the steps you mentioned
<freeman42x]NixOS> clever, "are you trying to capture audio playing from nixos" yes, OBS runs inside the NixOS VM
<clever> freeman42x]NixOS: but what about the source of the audio, is it also in nixos?
<ryantrinkle> i'm running into an issue with nixos containers where it brings up the network interface *after* the machine starts
<ryantrinkle> but i've got a wireguard service, which doesn't come up until it has network access
<ryantrinkle> so the postStartScript never runs
<ryantrinkle> would it be possible to move the network startup code earlier?
<ryantrinkle> and/or is there a reason that would be a bad idea?
Myhlamaeus2 has quit [Remote host closed the connection]
Myhlamaeus2 has joined #nixos
<gchristensen> clever: I think I found a problem
Jackneill has quit [Remote host closed the connection]
<clever> gchristensen: wtf? :D
<gchristensen> no idea :)
<clever> gchristensen: fsck it!
<freeman42x]NixOS> clever, the source of the audio is actually from Windows
<clever> freeman42x]NixOS: then you first need to figure out how to force windows to route its loopback into the virtualbox capture device
<freeman42x]NixOS> oh, I see. So stuff played inside the VM does get picked up by OBS
<clever> freeman42x]NixOS: yes
<freeman42x]NixOS> clever, not sure how to do that but I will look into it
<clever> freeman42x]NixOS: the simpler option is to just run obs on windows
<freeman42x]NixOS> clever, I do not want to do that because I am using a speech to text thingie which I want to be able to easily check on
<gchristensen> clever: ooh you know what happened
<clever> at the cost of more latency, you could have obs on windows, capture audio, stream it somewhere, then have obs on nixos play that stream, and re-stream it
<gchristensen> clever: the host ZFS filesystem ran out of space during an install :)
<clever> gchristensen: oh, lol
<gchristensen> testing that theory now...
<clever> gchristensen: at least with virtualbox, it will suspend the vm if writes fail due to out of space
<{^_^}> [nix] @zimbatm closed pull request #3070 → WIP: libstore: default to daemon even as root → https://git.io/fjxGV
<clever> and you can resume the vm once the issue is resolved
<clever> and the guest wont notice a thing (other then the fact that it was hung for an hour)
o1lo01ol1o has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 264 seconds]
o1lo01ol1o has joined #nixos
evanjs has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<gchristensen> clever: since the disk is ephemeral I set qemu to ignore all of the problems and just assume every write was fine
<gchristensen> maybe not a good idea
<clever> yeah
<clever> write failures should probably result in termination
RobinKroonen[m] has joined #nixos
<clever> which would then reboot, and destroy the clone, and fix the issue
<gchristensen> definitely should
<pie_> i dont suppose there's an easy way to get the system nixpkgs version
evanjs has joined #nixos
<clever> when you find the option, you could share it so i can update the iohk qemu stuff too
<gchristensen> I wasn't going to go looking :P
<zimbatm> pie_: run nix-info
abathur has joined #nixos
<zimbatm> or `nix run nixpkgs.nix-info -c nix-info` if it's not installed
<pie_> im not using channels though. ah well actually i guess that means i should just check the nix repo i generated from...derp
<freeman42x]NixOS> clever, I just realised that it makes no sense for OBS inside the VM to be able to capture the sound from outside of the VM, it's non-sensical
<freeman42x]NixOS> I don't get it why I thought that might work lol
<freeman42x]NixOS> there obviously can be solutions to it though
<clever> freeman42x]NixOS: you would need some pulseaudio style features on the host to force it into working
<clever> freeman42x]NixOS: but windows doesnt make that easy
<freeman42x]NixOS> #BlameItOnWindows hehe
asymptotically has quit [Quit: Leaving]
<zimbatm> pie_: nix-info looks at the NIX_PATH
<zimbatm> which might point to a channel.. or not
<pie_> ok my things are a bit messy, im not sure nix info is saying what im really using, but that muight be my faut
<pie_> fault
<pie_> ill keep it in mind
<pie_> this could go either way
emptyfl4sk has quit [Ping timeout: 244 seconds]
<EsperLily> spease: cargo-tree from Nix will be built with nixpkgs's bundled rustc/cargo, but it pulls in cargo as a library dependency anyway which means it doesn't really matter what you compile it with as long as you compile it with something that meets its minimum rustc version (whatever it is)
<EsperLily> because what it pulls in as a dependency is wholly separate from the cargo binary you compile it with
spease has quit [Remote host closed the connection]
m0rphism1 has quit [Ping timeout: 245 seconds]
wildtrees has quit [Remote host closed the connection]
drakonis_ has joined #nixos
knupfer has joined #nixos
m0rphism1 has joined #nixos
<freeman42x]NixOS> what would be a good MP3 player that works on NixOS and can easily do search for songs and queueing them?
<ivan> I use foobar2000 in wine
<spinus> o dear
<spinus> freeman42x]NixOS: clementine
<hyperfekt> pie_: If you just want the release nix-build -E 'builtins.readFile (<nixpkgs> + "/.version")' would work, otherwise I guess you'd have to run git in the directory to get a ref, since nixpkgs doesn't really know its own version - the channels come packaged with a file that indicates the revision.
<sondr3> I used ncmpcpp and then cmus but in the end I caved in and moved to Spotify *shrugs*
<clever> > <nixpkgs/.version>
<{^_^}> [nixpkgs] @averelld opened pull request #67658 → lsof: 4.91 -> 4.93.2 → https://git.io/fjxZz
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo/.version
<clever> hyperfekt: no need for the + and string
<pie_> hyperfekt: yeah i kind of figured it would be a bit of a chicken and egg problem
jlv has joined #nixos
m0rphism1 has quit [Ping timeout: 245 seconds]
<freeman42x]NixOS> ivan, spinus thank you guys. ivan++, spinus++
<{^_^}> ivan's karma got increased to 4, spinus's karma got increased to 1
<jlv> How would I go about configuring a NixOS server locally before deploying it? Like, a virtual machine or sandbox or something.
<hyperfekt> clever: I keep forgetting nix has a path type ^^
<clever> hyperfekt: the + is also using the path type
<{^_^}> #67659 (by deliciouslytyped, 16 seconds ago, open): nixos-option fails if configuration has trace output
<spinus> jlv: what's the target? local machine or remote machine?
<jlv> spinus: It is an AWS EC2 machine
<{^_^}> [nixpkgs] @jtojnar merged pull request #67596 → meson: 0.50.1 → 0.51.2 → https://git.io/fjAhA
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/fjxZw
sondr3 has quit [Quit: WeeChat 2.4]
<jlv> I would like to do the configuration locally, and push the configuration.nix when I know it works
<spinus> jlv: how you deploy nixops?
o1lo01ol1o has quit [Remote host closed the connection]
<jlv> Just learning nix, so nothing that fancy :) I initially set it up with good ol ssh
<spinus> ok, I think first you may have little trouble as the setups locally and on AWS can be incompatible
<spinus> but
<spinus> you can use local vm to test
slyfox has left #nixos ["bye"]
jgeerds has quit [Ping timeout: 272 seconds]
<spinus> nixos-build-vms is your friend
<spinus> you can prepare config of vms, import your configuration.nix and build local qemu vm to test
mikky has joined #nixos
<spinus> also, I when you are preparing configuration for EC2, I would import <nixos/modules/virtualisation/amazon-image.nix>, it would automate few things on ec2
<jlv> spinus: Thanks. That looks like what I'm looking for. Is there a command to build just one vm? I don't need a network right now. Of course, I can just make a network of 1.
<spinus> jlv: for sake of it, if you are on cloud, I would deploy the server in blue-green or sth like that
<spinus> network on 1
m0rphism1 has joined #nixos
<spinus> of*
<{^_^}> [nixpkgs] @lightbulbjim opened pull request #67660 → qtpass: 1.2.3 -> 1.3.0 → https://git.io/fjxZ1
<jlv> spinus: Do you know if the official EC2 images already import `amazon-image`? They have their own hardware configuration pre-imported. I haven't looked too closely at it yet.
<clever> jlv: you want to look at the nixops source code
<clever> jlv: that is how nixops generates some of the nixos config
<freeman42x]NixOS> ivan, what does your foobar2000 / wine setup look like?
<freeman42x]NixOS> I do not know how to install or use wine on NixOS
<jlv> clever: I am definitly interested in nixops. I'm just dipping my toes in the water for now :) There is a lot to learn about nix
<iqubic> Trying to import megaparsec into a haskell project.
<iqubic> it isn't quite working.
knupfer has quit [Remote host closed the connection]
<iqubic> For some reason the variable megaparsec is undefined.
<spinus> jlv: yes, the image is built from a script in nixpkgs repo, but if you override configuration.nix, you will lose it
<iqubic> The second one is my shell.nix
knupfer has joined #nixos
<iqubic> I have no idea what's going on here.
wfranzini has quit [Remote host closed the connection]
<ivan> freeman42x]NixOS: I wrote this when I was using Ubuntu but it's similar on NixOS https://ludios.org/windows-to-linux-notes/#foobar2000
wfranzini has joined #nixos
<ivan> freeman42x]NixOS: after you have foo_wave_seekbar it's hard to go to anything that doesn't have it (deadbeef does)
__monty__ has quit [Quit: leaving]
<iqubic> Anyone know what's up with my shell setup there?
<jlv> spinus: I plan to continue from the configuration.nix that I initially setup on the EC2 image with ssh.
<freeman42x]NixOS> ivan, "my media library with 134K tracks" you only have like... 335 times more songs than me xD
erasmas has quit [Quit: leaving]
<spinus> jlv: good luck
<spinus> iqubic: shouldn't you use something like haskellWithPackages or sth like that?
<jlv> spinus: Thank you :)
<iqubic> spinus: Where would I put that?
<ivan> freeman42x]NixOS: if you need an autoplaylist that has everything in your media library, it's %path% PRESENT SORT ASCENDING BY %path%
<ivan> freeman42x]NixOS: #foobar2000
<ivan> freeman42x]NixOS: environment.systemPackages = with pkgs; [ wineUnstable winetricks ]; and `winetricks vcrun2015 gdiplus`
fendor has quit [Quit: Leaving]
<spinus> iqubic: sorry, I'm rambling a little. Each time I had issues with something like that it was of leaking dependencies because I didn't use cmd to create environmentWithPackages pattern, either it was python or haskell or sth else
<spinus> I didn't use that shellFor before
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<spinus> ivan: you must really love that player
<freeman42x]NixOS> ivan, are these packages: `winetricks vcrun2015 gdiplus`? why is winetricks mentioned again?
<freeman42x]NixOS> also, what is difference between wine and wine-staging? do I need both or only 1?
stites has quit [Remote host closed the connection]
<clever> freeman42x]NixOS: the version of wine it gives you
ottidmes has quit [Ping timeout: 244 seconds]
ryantrinkle has quit [Ping timeout: 248 seconds]
emptyfl4sk has joined #nixos
pie_ has quit [Ping timeout: 245 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
<ivan> freeman42x]NixOS: winetricks is the package, later you can run the winetricks command which installs vcrun2015 gdiplus to your default wine prefix
<ivan> you only need one wine
<freeman42x]NixOS> ivan, do you happen to have full setup instructions for foobar2000 + plugins using wine on NixOS? if not I am going to write something about it when I finish figuring it out
<freeman42x]NixOS> sorry, I am still confused, didn't quite catch all
<ivan> I do not have full instructions but it's basically 1) install wine | wineUnstable and winetricks 2) run winetricks command for foobar2000 dependencies 3) wine foobar2000_installer.exe
jtojnar has quit [Read error: Connection reset by peer]
<ivan> if it crashes let me know and I'll think of whatever winetricks package I forgot
jtojnar has joined #nixos
<spinus> nix-env -iA nixos.amarok :]
emptyfl4sk has quit [Ping timeout: 245 seconds]
<iqubic> so getting my shell environment working is proving difficult.
szicari_ has quit [Remote host closed the connection]
szicari has joined #nixos
liberiga has joined #nixos
<evanjs> For the few things I’ve used wine for (winbox, etc) all I have to do is install wineStaging or whatever and run the program with wine. YMMV depending on the app though. Games tend to work better with steam-run, for example
Myhlamaeus2 has quit [Ping timeout: 245 seconds]
<freeman42x]NixOS> ivan, what does this mean? "run winetricks command for foobar2000 dependencies"
<ivan> that was: winetricks vcrun2015 gdiplus
<ivan> winetricks takes a list of things to install
<freeman42x]NixOS> ivan, I see. Thank you
<spinus> iqubic: why not just run nix-shell for regular package? (I think I uses that for haskell dev and worked for me quite OK)
<spinus> or building regular mkDerivation shell with haskell dependencies?
<spinus> did you try that by any chance?
judson_ has quit [Ping timeout: 245 seconds]
judson__ has quit [Ping timeout: 245 seconds]
slack1256 has joined #nixos
ryantrinkle has joined #nixos
selfsymmetric-mu has joined #nixos
<freeman42x]NixOS> how difficult would it be to set up NixOS for dualboot on a computer that already has Windows 10 installed? the system should boot by default on NixOS
<clever> freeman42x]NixOS: trivial
ryantrinkle has quit [Remote host closed the connection]
<clever> freeman42x]NixOS: mostly, just install nixos as normal, without deleting windows, and then use grub.extraConfig to add a menu option for windows
<freeman42x]NixOS> clever, "without deleting windows" <- you have no idea how hard this is
<clever> freeman42x]NixOS: either use a 2nd hard-drive, or use gparted to shrink the windows partition
<freeman42x]NixOS> clever, I had quite big issues installing NixOS last time in a VM, took me a while to figure it out
<freeman42x]NixOS> clever, yeah, I would definitely shring the Windows partition
<ivan> if you're using UEFI on NixOS you're not using grub
<clever> i prefer using grub at all times, even on efi
mbrgm_ has joined #nixos
<ivan> if you put a second GPU into your computer and perform some rather arcane qemu setup you can game while your NixOS is running
<clever> ivan: ive found that without the right motherboard, your forced to reboot the host any time windows reboots
<evanjs> infinisil: thanks for the review! Still getting used to waiting and pinging. I usually just make changes and wait... like until something happens lol
wfranzini has quit [Remote host closed the connection]
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
<evanjs> infinisil++
<{^_^}> infinisil's karma got increased to 129
<ivan> clever: weird, no problems on my ASUS Z97-A
<clever> ivan: you need per-slot reset, and it may be specific to the gpu drivers
<ivan> I have 2x NVIDIA and the only USB things I give it are my mouse and keyboard using qemu's usb passthrough
thc202 has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/33b67761be9 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
freeman42x]NixOS has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @spinus opened pull request #67661 → androidenv: android licenses → https://git.io/fjxni
<{^_^}> [nixpkgs] @Ma27 opened pull request #67662 → evcxr: 0.4.3 -> 0.4.4 → https://git.io/fjxn1
orivej has quit [Ping timeout: 245 seconds]
phreedom has joined #nixos