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
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm_ is now known as mbrgm
xcthulhu has quit [Quit: xcthulhu]
horner has joined #nixos
thc202 has quit [Ping timeout: 245 seconds]
domogled has quit [Quit: domogled]
ris has quit [Ping timeout: 245 seconds]
jluttine has quit [Ping timeout: 240 seconds]
xcthulhu has joined #nixos
pratch has joined #nixos
xcthulhu has quit [Quit: xcthulhu]
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JecPz
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6dbb7b24372 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
Rusty1 has joined #nixos
wildtrees has quit [Quit: Leaving]
judson_ has quit [Ping timeout: 265 seconds]
judson has quit [Ping timeout: 265 seconds]
kvda has joined #nixos
jluttine has joined #nixos
zaeph has quit [Ping timeout: 240 seconds]
pratch has left #nixos ["WeeChat 2.6"]
zaeph has joined #nixos
shah^ has quit []
drakonis_ has joined #nixos
xcthulhu has joined #nixos
xcthulhu has quit [Client Quit]
tsrt^ has joined #nixos
<{^_^}> [docker] @losinggeneration opened pull request #10 → Update version to 2.3 & pull sha256sum instead of hardcoding it → https://git.io/JecPK
drakonis has quit [Ping timeout: 245 seconds]
jluttine has quit [Ping timeout: 245 seconds]
ddellacosta has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
ddellacosta has joined #nixos
horner has quit [Quit: zzZzZzZzZZZzzz…]
xkapastel has quit [Quit: Connection closed for inactivity]
sb0 has joined #nixos
sigmundv_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #69745 → f2fs-tools: 1.11.0 -> 1.13.0 → https://git.io/JeZE1
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JecXf
o1lo01ol1o has quit [Ping timeout: 240 seconds]
t58_ has joined #nixos
michaelpj has quit [Read error: Connection reset by peer]
michaelpj has joined #nixos
Gopal[m] has quit [Ping timeout: 252 seconds]
gudea[m] has quit [Ping timeout: 252 seconds]
groggy[m] has quit [Ping timeout: 252 seconds]
Dan[m]8 has quit [Ping timeout: 252 seconds]
jak[m] has quit [Ping timeout: 252 seconds]
kxlljoyy[m] has quit [Ping timeout: 252 seconds]
ndarwincorn has quit [Ping timeout: 252 seconds]
peterhoeg[m] has quit [Ping timeout: 252 seconds]
MiloIgnis[m] has quit [Ping timeout: 252 seconds]
Sisyphe[m] has quit [Ping timeout: 252 seconds]
slabity has quit [Ping timeout: 252 seconds]
Seb[m] has quit [Ping timeout: 252 seconds]
luftmensch[m] has quit [Ping timeout: 252 seconds]
rycee has quit [Ping timeout: 252 seconds]
pinage404[m] has quit [Ping timeout: 252 seconds]
sylvie[m] has quit [Ping timeout: 252 seconds]
domenkozar[m] has quit [Ping timeout: 252 seconds]
groggy[m] has joined #nixos
gudea[m] has joined #nixos
Dan[m]8 has joined #nixos
kxlljoyy[m] has joined #nixos
peterhoeg[m] has joined #nixos
Gopal[m] has joined #nixos
jak[m] has joined #nixos
ndarwincorn has joined #nixos
Sisyphe[m] has joined #nixos
MiloIgnis[m] has joined #nixos
Seb[m] has joined #nixos
slabity has joined #nixos
luftmensch[m] has joined #nixos
rycee has joined #nixos
sylvie[m] has joined #nixos
domenkozar[m] has joined #nixos
pinage404[m] has joined #nixos
t58 has quit [Ping timeout: 276 seconds]
mexisme has quit [Ping timeout: 246 seconds]
jluttine has joined #nixos
<jackdk> I am trying to print to my brother hl31250cdn. I hacked up a derivation for the driver based on some of the other brother drivers, and pushed to https://github.com/endgame/nixpkgs/tree/hl3150cdn , and added it to services.printing.drivers, but it does not show up as a driver I can select in the CUPS web UI. anyone have ideas?
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos
vonfry has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #70361 → wireguard-go: 0.0.20190517 -> 0.0.20190908 → https://git.io/JecXq
drakonis has joined #nixos
goodwill has quit [Quit: ...]
goodwill has joined #nixos
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
srhb has quit [Quit: ZNC 1.7.4 - https://znc.in]
dustinm has quit [Quit: Leaving]
andymandias has joined #nixos
evanjs has quit [Remote host closed the connection]
LnL has quit [Ping timeout: 245 seconds]
srhb has joined #nixos
evanjs has joined #nixos
qubasa has quit [Remote host closed the connection]
dustinm has joined #nixos
<pie_> i need to come up with a more complicated cgroups setup for firefox he
<pie_> heh
<pie_> so it sops crashing the tabs i actually use
jluttine has quit [Ping timeout: 245 seconds]
philr has quit [Ping timeout: 245 seconds]
eraserhd has quit [Ping timeout: 245 seconds]
jeaye has quit [Ping timeout: 245 seconds]
delroth has quit [Ping timeout: 245 seconds]
arianvp has quit [Ping timeout: 245 seconds]
msgctl has quit [Ping timeout: 245 seconds]
<pie_> browsers they really are their own little operating systems....
qubasa has joined #nixos
lord| has quit [Ping timeout: 245 seconds]
Wharncliffe has quit [Ping timeout: 245 seconds]
evils has quit [Ping timeout: 245 seconds]
xantoz has quit [Ping timeout: 245 seconds]
cransom has quit [Ping timeout: 245 seconds]
arianvp has joined #nixos
eraserhd has joined #nixos
evils has joined #nixos
msgctl has joined #nixos
xantoz has joined #nixos
lord| has joined #nixos
Wharncliffe has joined #nixos
LnL has joined #nixos
LnL has quit [Changing host]
LnL has joined #nixos
jeaye has joined #nixos
cransom has joined #nixos
delroth has joined #nixos
philr has joined #nixos
rajivr___ has joined #nixos
<{^_^}> [nixos-org-configurations] @grahamc pushed 29 commits to master: https://git.io/JecXG
jluttine has joined #nixos
Mr_Keyser_Soze has joined #nixos
Mr_Keyser_Soze has quit [Remote host closed the connection]
iyzsong has joined #nixos
selfsymmetric-mu has joined #nixos
orivej has joined #nixos
hmpffff_ has joined #nixos
freeman42x has quit [Ping timeout: 246 seconds]
hmpffff has quit [Ping timeout: 268 seconds]
silver_ has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
felixfoertsch has quit [Ping timeout: 246 seconds]
felixfoertsch has joined #nixos
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
philr has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #70362 → nixos/gnome3: copy gnome-shell override → https://git.io/JecX9
ee194350 has quit [Quit: The Lounge - https://thelounge.github.io]
ee194350 has joined #nixos
fusion809 has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
andi- has quit [Remote host closed the connection]
andi- has joined #nixos
dansho has joined #nixos
endformationage has quit [Ping timeout: 240 seconds]
endformationage has joined #nixos
mmlb has quit [Ping timeout: 276 seconds]
t58_ has quit [Quit: Leaving]
mexisme has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
nixnothing has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #70363 → postgresql_12: init at 12.0 → https://git.io/Jec1J
nixnothing has joined #nixos
nikola_i has joined #nixos
mexisme has joined #nixos
vonfry has quit [Quit: WeeChat 2.4]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0137b08bd10 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
boxscape has quit [Remote host closed the connection]
abathur has joined #nixos
mmlb has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #70364 → llvm9/clang.nix: fix clang on macos → https://git.io/Jec1C
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @jglukasik opened pull request #70365 → apacheHttpdPackage.mod_tile: init at unstable-2017-01-08 → https://git.io/Jec1E
sb0 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @teto merged pull request #70215 → neovim: fix darwin build → https://git.io/Jen57
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/Jec12
MichaelRaskin has quit [Quit: MichaelRaskin]
<hpfr[m]> How do I "manually open a set of ports for each instance"? I only know of networking.firewall, which is system-wide. https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/networking/syncthing.nix#L332-L343
Wharncliffe has quit [Quit: leaving]
<clever> hpfr[m]: add the ports to networking.fireall
<clever> hpfr[m]: if you set openDefaultPorts, it just opens 2 ports, one tcp, one udp
<clever> if you have changed the ports, you need to set allowedTCPPorts and allowedUDPPorts yourself, to whatever you changed them to
<buckley310> if i have a local package, with a `src` attribute pointing to a local zip file, does nix rehash that file every time i rebuild?
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nikola_i has quit [Ping timeout: 245 seconds]
kvda has joined #nixos
mmlb has quit [Ping timeout: 276 seconds]
<jackdk> I am trying to print to my brother hl31250cdn. I hacked up a derivation for the driver based on some of the other brother drivers, and pushed to https://github.com/endgame/nixpkgs/tree/hl3150cdn , and added it to services.printing.drivers, but it does not show up as a driver I can select in the CUPS web UI. anyone have ideas?
<hpfr[m]> clever: oh, I thought there was some kind of user set of ports but I guess that doesn't make much sense. it just means each user would need its own set of ports that you would need to manually configure on all devices to match users or whatever. so I'll use the defaults, gotta do it manually cuz I'm using the home-manager module
<hpfr[m]> clever: in hindsight maybe the home manager module was not a good idea? I have to be logged in on my server to start syncthing there
<hpfr[m]> But on the other hand permissions were weird with the nixos module since the directory I’m syncing is under my user home directory
mmlb has joined #nixos
abathur has quit [Ping timeout: 276 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
ardumont has quit [Ping timeout: 276 seconds]
dansho has quit [Ping timeout: 268 seconds]
endformationage has quit [Ping timeout: 252 seconds]
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @orivej-nixos pushed 2 commits to master: https://git.io/Jec1j
Cale has joined #nixos
ardumont has joined #nixos
Cale has quit [Ping timeout: 245 seconds]
infinee has joined #nixos
nikola_i has joined #nixos
Cale has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
AluisioASG has quit [Ping timeout: 276 seconds]
kini is now known as fs
fs has joined #nixos
fs has quit [Changing host]
drakonis_ has quit [Ping timeout: 265 seconds]
fs is now known as kini
kini has quit [Changing host]
kini has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #70366 → OCaml: make version 4.07 the default one → https://git.io/JecMl
dansho has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #70367 → pythonPackages.prompt_toolkit: 2.0.9 -> 2.0.10 → https://git.io/JecMR
nikola_i has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @d-goldin opened pull request #70368 → go_1_12: disable flakey TestGcSys test → https://git.io/JecMu
Ariakenom has joined #nixos
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/3ba0d9f75cc (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
cfricke has joined #nixos
<{^_^}> [nixpkgs] @saschagrunert opened pull request #70369 → podman: 1.5.1 -> 1.6.1 → https://git.io/JecMi
Zer0xp has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
m0rphism has joined #nixos
l33 has joined #nixos
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
wfranzini has joined #nixos
drakonis has quit [Quit: WeeChat 2.6]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2455b2e3091 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @etu opened pull request #70370 → php: 7.2.22 -> 7.2.23, 7.3.9 -> 7.3.10 → https://git.io/JecM7
slack1256 has joined #nixos
Heirlung has joined #nixos
slack1256 has quit [Remote host closed the connection]
Jackneill has joined #nixos
nexgen has quit [Remote host closed the connection]
nexgen has joined #nixos
noudle has quit []
<dminuoso> Nix reports an error `value is a string with context while a set was expected,`
<dminuoso> What is a "string with context"?
<sphalerite> dminuoso: a string with dependencies on store paths
<dminuoso> Ah I see.
graf_blutwurst has joined #nixos
<davidtwco> hey folks, I want to contribute a new version of a package and I’m not sure how best to go about it. nixpkgs currently has an intel-ocl package that’s pretty old (5.0), it only supports OpenCL 1.x. Intel have a new version (18.1) that supports OpenCL 2.1 but I’m not entirely sure if it’s backwards compatible. They’ve got an even newer experimental version (2019.9.9.0.0901) that I’ve been using successfully
<davidtwco> and has support for things I need. I don’t know which version to put a package up for, or if it should be a new package.
<{^_^}> [nixpkgs] @vcunat pushed to staging « unbound: 1.9.3 -> 1.9.4 »: https://git.io/JecD8
troydm has quit [Ping timeout: 276 seconds]
<dminuoso> Okay some packages are really scary. Finding options that cannot clearly work because they are configured for the wrong type, don't people actually try out their modules? :/
nexgen has quit [Remote host closed the connection]
<dminuoso> What's the protocol for overriding nixos modules? Are nixos module overlays?
Lears has joined #nixos
<{^_^}> [nixpkgs] @jonringer pushed to release-19.09 « Revert "racerd: 2019-03-20 -> 2019-09-02" »: https://git.io/JecDu
[Leary] has quit [Ping timeout: 245 seconds]
mexisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to staging-19.09 « unbound: 1.9.3 -> 1.9.4 »: https://git.io/JecD2
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Makaveli7 has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @dminuoso opened pull request #70371 → Fix wrong type in dovecot module. → https://git.io/JecDH
fling has quit [Ping timeout: 265 seconds]
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
thc202 has joined #nixos
o1lo01ol1o has joined #nixos
nexgen has joined #nixos
nexgen has quit [Remote host closed the connection]
nexgen has joined #nixos
<{^_^}> [nixpkgs] @jonringer pushed to release-19.09 « python3Packages.lammps-cython: fix tests »: https://git.io/JecDb
o1lo01ol1o has quit [Ping timeout: 240 seconds]
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @basvandijk merged pull request #70321 → libcxxabi: don't depend on libunwind → https://git.io/Jec0z
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/JecDj
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4a10b030ce9 (from 37 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
Boomerang has joined #nixos
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-19.03 « unbound: patch CVE-2019-16866 (DoS, minor one IMHO) »: https://git.io/JecyY
<{^_^}> [nixpkgs] @doronbehar opened pull request #70372 → gaia: init at 2.4.5 → https://git.io/Jecys
veske has joined #nixos
troydm has joined #nixos
peanutbutter144 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ee194350 has quit [Read error: Connection reset by peer]
ee194350 has joined #nixos
o1lo01ol1o has joined #nixos
philr has joined #nixos
civodul has joined #nixos
dermetfan has joined #nixos
dermetfan has quit [Client Quit]
asymptotically has joined #nixos
dermetfan has joined #nixos
dermetfan has quit [Client Quit]
<{^_^}> [nix] @edolstra pushed to flakes « Merge release.nix, shell.nix and release-common.nix into flake.nix »: https://git.io/Jecyi
Okinan has joined #nixos
<zfnmxt> What version do you specify for a package packed off the HEAD of a repo instead of a given release?
asymptotically has quit [Remote host closed the connection]
<Yaniel> depends on why it was packaged off the HEAD
knupfer has joined #nixos
<Yaniel> next.version-pre1 is something I did while waiting for a new release of renderdoc that fixed some issues with the nix build
asymptotically has joined #nixos
<Taneb> I'm trying to set up a service which cals "hydra-queue-runner --status" and it fails due to not being able to find a home directory (because it's a DynamicUser systemd service). It feels odd to me that a home directory is needed for this, though
<zfnmxt> Yaniel: I just chose HEAD because the last release was 6 months ago and there have been bug fixes since.
fendor has joined #nixos
<zfnmxt> I saw a few packages with something like "version = "git-2019-08-05"".
<Yaniel> I'd prefer to use something like the output of `git describe`
ng0 has joined #nixos
<Yaniel> I don't think the version comparison logic in nix handles your format very well
<zfnmxt> That seems better. Is there no standard for this sort on thing for nixpkgs?
<zfnmxt> s/on/of
<Yaniel> AFAIK no
<zfnmxt> I'll just go with `git describe` then. Thanks for the help.
<etu> zfnmxt: I often see "unstable-2019-10-04" as a suggested format
dm9 has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #70361 → wireguard-go: 0.0.20190517 -> 0.0.20190908 → https://git.io/JecXq
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jecy5
bahamas has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #70373 → slurm: 19.05.2.1 -> 19.05.3.2 → https://git.io/Jecyj
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
nexgen has quit [Quit: Leaving]
peanutbutter144 has joined #nixos
nexgen has joined #nixos
kcalvinalvin has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #70305 → nixos/zeronet: Improved config, dynamic user, remove static UI… → https://git.io/JecCQ
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JecSI
o1lo01ol1o has quit [Remote host closed the connection]
psyanticy has joined #nixos
o1lo01ol1o has joined #nixos
infinee has quit [Ping timeout: 268 seconds]
<bahamas> hello. I installed the gdal library and I'm looking for the .so file. I checked the outPath but when I try to list that directory, I get "No such file". what am I missing?
o1lo01ol1o has quit [Remote host closed the connection]
graf_blutwurst has quit [Ping timeout: 264 seconds]
o1lo01ol1o has joined #nixos
mexisme has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
sigmundv_ has joined #nixos
l33 has quit [Remote host closed the connection]
l33 has joined #nixos
spacefrogg has quit [Quit: Gone.]
o1lo01ol1o has quit [Remote host closed the connection]
fyuuri has joined #nixos
spacefrogg has joined #nixos
fyuuri has quit [Client Quit]
fyuuri has joined #nixos
dermetfan has joined #nixos
dermetfan has quit [Client Quit]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #70374 → unbound: 1.9.3 -> 1.9.4 (CVE-2019-16866) → https://git.io/JecSP
apeyroux has joined #nixos
<xwvvvvwx> Just out of curiosity, who pays for hydra and cache.nixos.org, and are there any figures for user numbers / total bandwidth used?
Khetzal has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @andir opened pull request #70375 → [19.03] unbound: 1.9.3 -> 1.9.4 (CVE-2019-16866) → https://git.io/JecSy
Khetzal has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #70376 → [19.09] unbound: 1.9.3 -> 1.9.4 (CVE-2019-16866) → https://git.io/JecS9
Arahael has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @Kjuvi opened pull request #70377 → timetable: 1.0.8 -> 1.0.9 → https://git.io/JecSH
Arahael has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5aa46b6bdb5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
FRidh has joined #nixos
<niksnut> it's mostly sponsored by a couple of companies (Infor for the S3 bucket, fastly for the CDN)
<niksnut> and some machines are paid by the NixOS foundation
<niksnut> and packet provides a bunch of build machines
<{^_^}> [nixpkgs] @Kjuvi opened pull request #70378 → ephemeral: 5.3.0 -> 5.4.0 → https://git.io/JecSx
tilpner has joined #nixos
<hyperfekt> Are any still at Delft like I read somewhere?
<{^_^}> [nixpkgs] @marsam opened pull request #70379 → gitAndTools.delta: init at 0.0.12 → https://git.io/Jec9q
Okinan has quit [Quit: Konversation terminated!]
o1lo01ol1o has quit [Remote host closed the connection]
Okinan has joined #nixos
logzet has joined #nixos
<{^_^}> [nixpkgs] @zfnmxt opened pull request #70380 → variety: init at 0.7.2-96-g3afe3ab → https://git.io/Jec9s
Okinan has quit [Quit: Konversation terminated!]
avn has quit [Ping timeout: 265 seconds]
<tetdim> Ericson2314, found another error in your original attempt
__monty__ has joined #nixos
<tetdim> libexpr doesnt import a bunch of stuff
MarcWeber has quit [Remote host closed the connection]
<Taneb> It's a little annoying that the "manage machines" admin page of a Hydra server has always-greyed-out checkboxes so you can't actually manage the machines from there
Okinan has joined #nixos
nexgen has quit [Remote host closed the connection]
bahamas has quit [Ping timeout: 245 seconds]
noudle has joined #nixos
nexgen has joined #nixos
avn has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/Jec9W
alex`` has joined #nixos
tokudan_ has joined #nixos
tokudan has quit [Ping timeout: 240 seconds]
horner has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5aa46b6bdb5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
boredom101 has joined #nixos
boredom101 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam opened pull request #70381 → shadowenv: init at 1.2.1 → https://git.io/Jec96
bahamas has joined #nixos
<l33> ls
<{^_^}> [nixpkgs] @lheckemann opened pull request #70382 → Fix dead anonscm links → https://git.io/Jec95
<{^_^}> [nixpkgs] @Chiiruno opened pull request #70383 → zeronet/merkle, nixos/zeronet master -> release-19.09 → https://git.io/Jec9F
<{^_^}> [nixpkgs] @lheckemann opened pull request #70384 → Anonscm 19.09 → https://git.io/JecHe
Okinan has quit [Quit: Konversation terminated!]
Okinan has joined #nixos
grenade has quit [Remote host closed the connection]
floscr_ has quit [Remote host closed the connection]
floscr has joined #nixos
<{^_^}> [nixpkgs] @davidtwco opened pull request #70385 → starship: 0.19.0 -> 0.20.0 → https://git.io/JecHm
horner has quit [Quit: zzZzZzZzZZZzzz…]
floscr_ has joined #nixos
floscr has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Kjuvi opened pull request #70386 → cipher: init at 2.0.0 → https://git.io/JecH4
is_null has joined #nixos
<{^_^}> [nixpkgs] @stigtsp opened pull request #70387 → perlPackages.CSSMinifierXP: rename attribute to CSSMinifierXS → https://git.io/JecHK
horner has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @davidtwco opened pull request #70388 → mdcat: init at 0.13.0 → https://git.io/JecH9
veske2 has joined #nixos
veske has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @doronbehar opened pull request #70389 → essentia: init at: 2.1_beta5 → https://git.io/JecH5
avn has quit [Read error: Connection reset by peer]
avn has joined #nixos
Izorkin has quit [Ping timeout: 240 seconds]
Izorkin has joined #nixos
jacobat has joined #nixos
<jacobat> I'm trying to install nixos on a machine with only wifi but my wifi card isn't recognized. So I'm trying to use my iphone to tether but nixos isn't picking up my iphone either. How can I get nixos to use my iphone as a network connection?
bahamas has quit [Quit: leaving]
<inkbottle> I've been trying to get a pdf version of the manual through chromium/print
<inkbottle> But the conversion is not very good, like "example 2.4" is not transformed correctly.
<yorick> parseval: great nickname
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bf3360cdcfe (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Ariakenom_ has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
Ariakenom has quit [Ping timeout: 246 seconds]
Ariakenom__ has joined #nixos
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #70390 → tmate-ssh-server: init at 2.3.0 → https://git.io/JecQm
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
Ariakenom_ has quit [Ping timeout: 240 seconds]
<l33> just going over the nix pills examples, 12.3. Packaging graphviz. if i do nix-build graphviz.nix .... i get ... /nix/store/86k2z0mc023y9qxn8gln4a6kj2a759gx-builder.sh: line 7: tar: No such file or directory
<l33> if i run nix-shell graphviz.nix ... echo $src is /nix/store/y0wl6h78qx234bv3jnkffnha4nh8cpgh-graphviz-2.38.0.tar.gz
<l33> ..... hmmm so what am i missing here?
<l33> ls -lha $src
<l33> -r--r--r-- 1 root root 25M Jan 1 1970 /nix/store/y0wl6h78qx234bv3jnkffnha4nh8cpgh-graphviz-2.38.0.tar.gz
<inkbottle> I've converted the manual to pdf using https://www.web2pdfconvert.com and the output looks exactly as the original (not affiliated in any way; but very useful; chrome conversion was just not good)
<niso> jacobat: you should be able to setup tethering like on any other machine
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @lsix opened pull request #70391 → qscintilla: Fix qt4 build → https://git.io/JecQC
<sphalerite> inkbottle: why exactly?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/bcc3c118bfa (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<grw> jacobat: you need services.usbmuxd.enable = true
<grw> or maybe there is another way to do it, but this works for me
<jacobat> thanks
<exarkun> Alright so yesterday clever and tilpner helped me understand that https://github.com/LeastAuthority/privacypass/blob/master/ristretto.nix#L26-L29 is bogus and the Darwin hash there is correct and the other is junk. But my NixOS system still likes the junk. I don't know what I need to do to ... clean up my nix store, I guess? So that my stale cached something goes away and I get the same behavior as a fresh
<exarkun> nix store.
<exarkun> If I change the cargoSha256 to something obviously wrong I just get a complaint that the obviously wrong value doesn't match the wrong value encoded in that expression. It doesn't try to fetch anything new.
<{^_^}> [nixpkgs] @romildo merged pull request #70174 → Update numix icon themes to version 19.09.20 → https://git.io/JenP6
<{^_^}> [nixpkgs] @romildo pushed 5 commits to master: https://git.io/JecQg
<{^_^}> [nixpkgs] @doronbehar opened pull request #70392 → ###### Motivation for this change → https://git.io/JecQ2
equivrel has quit [Ping timeout: 240 seconds]
<exarkun> Also, it seems like crates are indexed in a git repository so I wonder how likely it is that the hypothesized explanation - that someone uploaded new code w/ the same version number - is correct
captn3m0 has quit [Ping timeout: 240 seconds]
<qyliss> What's the idiomatic way to have an option that can either be a path or a string (where the value of the string would just be written to a path). Is it to just have two options?
<{^_^}> [nixpkgs] @Lassulus merged pull request #70237 → HTSeq: init at 0.11.2 → https://git.io/Jenh2
<{^_^}> [nixpkgs] @Lassulus pushed commit from @unode to master « HTSeq: init at 0.11.2 »: https://git.io/JecQr
<teto> qyliss: there is types.eitherOf
<qyliss> I guess that would work
<qyliss> but I assume nothing for `name: val: if isPath val then val else writeText name val'?
domogled has quit [Quit: domogled]
<teto> qyliss: mkOption accepts an "apply" entry that can postprocess a value
<exarkun> ##rust says crate releases are immutable
<{^_^}> [nixpkgs] @doronbehar opened pull request #70393 → pdfcpu: 0.2.4 -> 0.2.5 → https://git.io/JecQM
<{^_^}> [nixpkgs] @doronbehar opened pull request #70394 → onedrive: 2.3.9 -> 2.3.10 → https://git.io/JecQD
<inkbottle> Is there a config option to disable baloo?
gagbo has quit [Ping timeout: 240 seconds]
<inkbottle> I do not have pdf preview in Dolphin (although it's enabled)
<inkbottle> Actually I don't have image preview either
gagbo has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to master « libmediaart: apply patch to fix gnome-music crash »: https://git.io/JecQN
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.09 « libmediaart: apply patch to fix gnome-music crash »: https://git.io/JecQA
veske2 has quit [Quit: This computer has gone to sleep]
<exarkun> Hmm. And another data point... Newly configured NixOS-based CI agrees with my cargoSha256, not the Darwin cargoSha256...
<{^_^}> [nixpkgs] @davidtwco opened pull request #70395 → khronos-ocl-icd-loader: init at 6c03f8b → https://git.io/JecQp
vesper11 has quit [Ping timeout: 244 seconds]
<gchristensen> exarkun: which package has a disagreeing hash?
<{^_^}> [nixpkgs] @doronbehar opened pull request #70396 → cpp-utilities: 5.0.0 -> 5.0.1 → https://git.io/JecQj
vesper11 has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #70397 → qtutilities: 6.0.0 -> 6.0.1 → https://git.io/Jec7U
<exarkun> gchristensen: I don't really understand the Rust/cargo toolchain well enough to say. It's a cargoSha256 that mismatches. That means that ... Cargo.lock is different from expected? And that covers all of the dependencies?
veske2 has joined #nixos
<gchristensen> ack
<{^_^}> [nixpkgs] @doronbehar opened pull request #70398 → syncthingtray: 0.10.0 -> 0.10.1 → https://git.io/Jec7T
<exarkun> I'm reading the Nix cargo support implementation now to try to figure out how to trace it further but I'm not making a lot of progress
<exarkun> so any further tips welcome :)
<exarkun> Okay, also I was just running an experiement
<tilpner> exarkun: Try to manually cargo-vendor on both systems, then nix-hash both outputs
<exarkun> and the cargoSha256 matches if I build against current nixpkgs-unstable
<tilpner> exarkun: AIUI cargoSha256 guards the whole process from Cargo.lock to vendored dependencies, which has a lot of potential for impurities and indeterminism
<exarkun> tilpner: I don't know how to cargo-vendor things, I'm not actually a Rust programmer
<tilpner> exarkun: So a different cargo-vendor version might already break things
<exarkun> It seems like I should bisect nixpkgs to see where this goes from fail to succeed, though
<exarkun> is `cargo-vendor` a program?
silver has joined #nixos
vesper11 has quit [Ping timeout: 246 seconds]
<tilpner> It's apparently integrated into cargo now
<tilpner> So you could just try running "cargo vendor" in your project directory
<exarkun> What do you think about the fact that changing the version of nixpkgs changes the behavior
<tilpner> exarkun: Changing the nixpkgs version can also change every other version that matters here
<tilpner> exarkun: So cargo and dependencies
<tilpner> If your nixpkgs version change does not alter the cargo input hash, that would worry me
<exarkun> well, I guess the point is that changing nixpkgs changes the hash to *exactly* the other value
<exarkun> not just some random 3rd value
<tilpner> Were darwin and nixos using the exact same pinned nixpkgs?
<exarkun> also am I kinda hearing that cargo support in nix is fragile and half baked? :)
<tilpner> Well, this is exactly the reason I recommended not using it yesterday (in favor of crate2nix)
<exarkun> okay, I'm happy to stop messing with this solution if crate2nix is better
<tilpner> It's not necessarily, but it's worth a try
<tilpner> (It worked on 1 out of 3 attempts for me, so...)
<exarkun> up 'til a minute ago I thought the problem was I had screwed up my nix store but now it seems that's probably not the case
<exarkun> ha.
<tilpner> No, while I wouldn't exclude store corruption, I'd put it at the very end of my list of things to investigate
<exarkun> and we're talking about https://github.com/kolloch/crate2nix right?
<tilpner> Yes
<exarkun> alright, I'll give it a go now
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to release-19.09: https://git.io/Jec7O
Makaveli7 has quit [Quit: WeeChat 2.6]
bahamas has joined #nixos
<exarkun> well it built
<exarkun> I installed 0.5.1 but it calls itself 0.5.0, not a promising start :)
<exarkun> welp
<exarkun> it generated something
<inkbottle> Plasma Panel configure system tray shows empty transparent window
<wucke13> WHat could cause requireFile to fail, even though the file is part of the store?
emacsomancer has quit [Ping timeout: 268 seconds]
<exarkun> but I think I might have found the problem with my previous nix expression ... there was a stray edit to the version passed to buildRustPackage...
jacobat has quit [Quit: leaving]
jacob has joined #nixos
<exarkun> little bit confused why that leads to a cargoSha256 mismatch (and why different nixpkgs treat it differently) but fixing it gets rid of the mismatch :/
<exarkun> unless this nix-shell is screwing with things
emacsomancer has joined #nixos
magnetophon has quit [Ping timeout: 245 seconds]
<exarkun> aaaa now it succeeds locally with either hash
fendor has quit [Read error: Connection reset by peer]
infinee has joined #nixos
vesper11 has joined #nixos
freeman42x has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
<exarkun> it fails with 1111.... and complains that it wants the value that originally worked on my system. but it's also totally happy with the different value that worked in my darwin tests, instead.
peanutbutter144 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
peanutbutter144 has joined #nixos
<tilpner> exarkun: The problem with fixed output derivations is that Nix will no longer second-guess what you say
<tilpner> exarkun: If you say "the cargoSha256 of this is foo", and there is something with that hash in your store (regardless of how it got there), it will just take that
<exarkun> okay, so it's not really succeeding with the original hash, it's just noticing that it succeeded at some point in the past and skipping all the work
<exarkun> but of course I can't tell the difference between this case and success
<tilpner> You can delete it carefully with nix-store (but never ignore liveness!)
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @lsix opened pull request #70399 → openscad: remove useless preBuild phase → https://git.io/Jec7D
vesper11 has quit [Ping timeout: 240 seconds]
<exarkun> if I could find it
vesper11 has joined #nixos
<tilpner> Well, you know the hash of it
<exarkun> but I think it's still live anyway
<exarkun> because I don't know how to clean anything up on nixos yet
<tilpner> Then you need to ensure it's dead before using nix-store --delete on it
<exarkun> Okay I know the hash of it, what do I do with that?
<exarkun> The old cargoSha256 is 1qbfp24d21wg13sgzccwn3ndvrzbydg0janxp7mzkjm4a83v0qij but there is no /nix/store/1qbfp24d21wg13sgzccwn3ndvrzbydg0janxp7mzkjm4a83v0qij*
mexisme has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dadada closed pull request #70354 → hachoir: init at 3.0a5 → https://git.io/Jec6c
<tilpner> I admit it's not trivial to find the input hash :/
<contrun[m]> nixos-rebuild tries to execute a script which does not have execution permission. What can I do?
* contrun[m] uploaded an image: screenshot-2019-10-04-21-36-26.png (122KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/rngTDDQEMOSgkVTLetrsqgZk >
t58 has joined #nixos
dnixty[m] has joined #nixos
<bahamas> libgeos isn't available in nixpkgs?
<tilpner> exarkun: sqlite3 /nix/var/nix/db/db.sqlite 'select path from validpaths where ca="fixed:r:sha256:1qbfp24d21wg13sgzccwn3ndvrzbydg0janxp7mzkjm4a83v0qij";
<tilpner> :c
<exarkun> oof
<exarkun> tilpner: sqlite3 thinks that select is a write and won't let me :\
<exarkun> meeting :/ bbiab
<Ox4A6F> <exarkun "Okay I know the hash of it, what"> exarkun: nix-collect-garbage --help
<tilpner> exarkun: Put -readonly in. And you added closing ', right?
__Sander__ has joined #nixos
<exarkun> tilpner: I did both of those, yea, no difference :/
<tilpner> Huh
<tilpner> exarkun: This is already so ugly, you might as well copy db.sqlite to your home directory and try it there
<tilpner> That should make sure no nix-daemon tries to access it concurrently
<exarkun> openat(AT_FDCWD, "/nix/var/nix/db/db.sqlite-wal", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = -1 EACCES (Permission denied)
<exarkun> seems like a bug that it tries to open the wal w/ -readonly
logzet has quit [Remote host closed the connection]
<tilpner> And yet that works here without -readonly
<tilpner> And not even as root
<{^_^}> [nixpkgs] @dadada reopened pull request #70354 → hachoir: init at 3.0a5 → https://git.io/Jec6c
<tilpner> Well, try copying it
<exarkun> my sqlite3 is `3.28.0 2019-04-16 19:49:53 884b4b7e502b4e991677b53971277adfaf0a04a284f8e483e2553d0f83156b50` fwiw
l33 has quit [Remote host closed the connection]
<tilpner> Same exact version here
ddellacosta has quit [Ping timeout: 240 seconds]
freeman42x has quit [Ping timeout: 240 seconds]
<exarkun> that's pretty screwed up.
nakkle has joined #nixos
<Ericson2314> tetdim: oh thanks
ddellacosta has joined #nixos
jacob has quit [Quit: leaving]
<{^_^}> [nixpkgs] @adisbladis merged pull request #70211 → overmind: 2.0.2 -> 2.0.3 → https://git.io/Jen7X
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/Jec53
<nakkle> Hey there! If I have a default.nix, which evaluates to an argument set, I can do `nix-build ./default.nix`, and it builds all the elements that directly evaluate to a derivation, but if one of the elements of this argument set evaluates to another argument set, it does not build anything from that set. Is there some kind of flag to enable such "recursive" nix-builds?
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
selfsymmetric-mu has quit [Remote host closed the connection]
<inkbottle> I have the following error with Application Launcher, just after removing the previous panel and creating a new one: https://paste.debian.net/1104417
<inkbottle> like: Could not load: file:///nix/store/z3b3s19726zjcg2zwvdafgd141761...
<inkbottle> It was working before; don't know what got mixed up
<exarkun> tilpner: cool. that gave me 3 paths, all which nix-store --delete was able to delete
<inkbottle> I had to reboot, something was mixed up with plasma, logout wasn't working anymore; that might explain
<{^_^}> [nixpkgs] @stigtsp opened pull request #70400 → perlPackages.DeviceMAC: init at 1.00 → https://git.io/Jec5g
<exarkun> though deleting them doesn't appear to make any difference :)
infinee has quit [Ping timeout: 268 seconds]
infinee has joined #nixos
<tilpner> If those paths re-appeared, that means the derivation actually builds to that hash, which is good
dansho has quit [Quit: Leaving]
domogled has joined #nixos
<exarkun> none of them re-appeared
<exarkun> I went ahead and deleted the store paths associated with the other hash too, and they also did not reappear :o
<exarkun> there's some *other* store path listed in result/nix-support/propagated-native-build-inputs
<tilpner> Ahh, that would be because you updated nixpkgs
<tilpner> Only with the exact same input woulds those paths reappear
<tilpner> *inputs would
<exarkun> I did my new-nixpkgs test w/ nix-build -I nixpkgs=... so I think these builds should be using the same nixpkgs as the earlier failing ones
<exarkun> but it is possible my nixpkgs changed at some point in time over the whole course of development on this thing, I can't be quite sure
<exarkun> is there a reverse-depends search I can do to see what is keeping this newest store path alive?
<exarkun> --referrers I guess
<exarkun> heh, 20 versions of my python project that depends on the rust thing
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @bzizou opened pull request #70401 → Quast: init at 5.0.2 → https://git.io/Jec5M
rmk35 has joined #nixos
<exarkun> `nix-store --query --referres x` returns just `x` but `nix-store --delete x` says `x` is in use
<exarkun> "still alive", rather
<{^_^}> [nixpkgs] @gebner merged pull request #70399 → openscad: remove useless preBuild phase → https://git.io/Jec7D
<tilpner> Is it still running perhaps?
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/Jec5d
<rmk35> Probably a dumb question, but I couldn't google the keywords better: In NixOS is there a philosophy for installing things with "environment.systemPackages" vs "programs.<name>.enable"?
<gchristensen> rmk35: some programs require your system to be changed in order to function. those need a `programs.X.enable` option.
<gchristensen> for example, the "light" program needs to configure udev: https://github.com/NixOS/nixpkgs/blob/release-19.03/nixos/modules/programs/light.nix#L25
<tilpner> rmk35: There's also users.users.rmk.packages if you don't want to install something globally
<rmk35> Thanks!
<{^_^}> [nixpkgs] @wucke13 opened pull request #70402 → stm32cubemx: init at 5.2.1 → https://git.io/Jecde
<exarkun> tilpner: hmm. "running"? does nix-store --delete take into account files that are merely held *open* by some process on the system?
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos
<gentauro> I'm thinking about going to NixConf but it seems a bit difficult to get to Brno from CPH :(
<gentauro> (the issue is the 2 - 3 hours transport from either Wien or Prague)
<gchristensen> it seems Brno is simply difficult to get to
<gentauro> gchristensen: yeah
<gentauro> it's like Malmø :D
<gentauro> (not really cos of CPH Airport)
<{^_^}> [nixpkgs] @marsam merged pull request #70379 → gitAndTools.delta: init at 0.0.12 → https://git.io/Jec9q
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JecdL
<andi-> You are likely to run into other travellers if you come from Vienna or Prague to Brno on those days ;-)
<gentauro> probably but I can get free on Friday (work) but I can't on Thursday
<gentauro> :-\
<gentauro> so unless "timing" is perfect" ...
<clever> exarkun: nix will check for open files, env vars, mapped files, and program arguments
<clever> exarkun: `sudo nix-store --delete $FOO` will always fail, because its in the args of sudo, so sudo is "using" it
__monty__ has quit [Quit: leaving]
<cransom> wha? i've never seen sudo use arguments after your command for it's own.
orivej has quit [Ping timeout: 265 seconds]
<clever> cransom: "use", as in, they are still in the argv array
<clever> cransom: so nix considers it "in use" and not safe to delete
<clever> root 26346 0.0 0.0 130004 2972 pts/12 S 11:33 0:00 sudo bash
<clever> a simple `sudo bash` leaves a sudo proc around, with bash in the argv[1]
<gchristensen> :o
<cransom> i don't think i've encountered that. that's fancy.
<{^_^}> [nix] @edolstra pushed to master « Revert "std::uncaught_exception() -> std::uncaught_exceptions()" »: https://git.io/Jecdc
<clever> when the bash it started exits, sudo will then exit with the same error code
<clever> so its not really leaking a process
<bahamas> I'm working on creating a dev setup with nix+nixos for Django. should I use a shell.nix inside the nixos vm where I start the development server or should I start the dev server as a nixos service?
<exarkun> clever: huh cool, thanks.
<bahamas> a problem with the first approach is that the project depends on some libraries: gdal, geos. in order for django to find them, I need to define some env vars that point to them
waleee-cl has joined #nixos
<hodapp> https://github.com/NixOS/nixpkgs/pull/65065#issuecomment-520142897 can anyone explain the mkDerivation part a bit better? Is that in use when a package uses qt5.callPackage & mkDerivation?
<{^_^}> [nixpkgs] @Yumasi opened pull request #70403 → Criterion → https://git.io/JecdV
fendor has joined #nixos
veske2 has quit [Ping timeout: 250 seconds]
gagbo has quit [Remote host closed the connection]
gagbo has joined #nixos
xcthulhu has joined #nixos
<{^_^}> [nixpkgs] @lsix opened pull request #70404 → nano: 4.4 -> 4.5 → https://git.io/JecdA
horner has quit [Quit: zzZzZzZzZZZzzz…]
<cransom> apologies for ever doubting you, clever. https://gist.github.com/cransom/27ceb144af415b6a8708bf87739a57bd
<buckley310> if i create a package with a `src` pointing to a local file, does Nix have to hash that local file every rebuild?
freeman42x has joined #nixos
<clever> buckley310: yes
<clever> cransom: you can also use `nix-store --query --roots $FOO` to find out why it is still alive
rmk35 has quit [Ping timeout: 260 seconds]
<buckley310> is there any way to get nix to not hash the file? like i know fetchUrl doesnt fetch local files...
<buckley310> i would throw the file on a webserver but im not allowed to redistribute it
<hodapp> I also don't understand what that post means about setting qtPluginPrefix; are there any examples of how to do this?
growpotkin has joined #nixos
dm9 has quit [Quit: WeeChat 2.6]
cfricke has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @lsix opened pull request #70405 → screen: 4.6.2 -> 4.7.0 → https://git.io/JecFO
<{^_^}> [nixpkgs] @matthewbauer merged pull request #70364 → llvm9/clang.nix: fix clang on macos → https://git.io/Jec1C
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JecF3
xcthulhu has quit [Quit: xcthulhu]
Netsu has joined #nixos
<Netsu> hello. I use custom channel, and do import my_channel { inherit overlays; }
<Netsu> but overlays during overriding refering to local user's default (unstable) channel, not the my_channel
<Netsu> how can I fix it?
travelion has quit [Quit: bye]
Ariakenom__ has quit [Remote host closed the connection]
travelion has joined #nixos
<Netsu> such as import overlay with my_channel as super
<clever> buckley310: if you supply the hash upfront, nix will compute where it should be in /nix/store, and use that copy
<clever> buckley310: pkgs.requireFile is one method
<clever> buckley310: requireFile is used for things like oracle java
rsoeldner has joined #nixos
horner has joined #nixos
drakonis has joined #nixos
<exarkun> What makes nix-shell sometimes build a wheel for a Python package and sometimes not?
knupfer has quit [Remote host closed the connection]
philr has quit [Ping timeout: 268 seconds]
<exarkun> eh I guess I don't really care so much about that
<exarkun> I just want a working python local development mode :(
nakkle has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @peti closed pull request #70292 → Remove obsolete patch for Hedgehog on ghc-8.8.1 → https://git.io/JecOm
<{^_^}> [nixpkgs] @peti reopened pull request #70292 → Remove obsolete patch for Hedgehog on ghc-8.8.1 → https://git.io/JecOm
<{^_^}> [nixpkgs] @peti merged pull request #70292 → Remove obsolete patch for Hedgehog on ghc-8.8.1 → https://git.io/JecOm
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/JecFj
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JecbJ
<Netsu> oh, got it, looks like just need the with my_channel; before import overlays..
endformationage has joined #nixos
magnetophon has joined #nixos
captn3m0 has joined #nixos
AluisioASG has joined #nixos
Boomerang has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @edolstra pushed 20 commits to flakes: https://git.io/Jecbc
<{^_^}> [docker] @peti pushed to master « Update to Nix version 2.3. »: https://git.io/JecbW
<{^_^}> [docker] @peti closed pull request #10 → Update version to 2.3 & pull sha256sum instead of hardcoding it → https://git.io/JecPK
freeman42x has quit [Remote host closed the connection]
<{^_^}> [docker] @peti pushed to master « Drop the sha256sum verification. »: https://git.io/Jecbw
<{^_^}> [nixpkgs] @peti merged pull request #70405 → screen: 4.6.2 -> 4.7.0 → https://git.io/JecFO
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/Jecb1
bahamas has quit [Ping timeout: 276 seconds]
Ariakenom has joined #nixos
<{^_^}> [docker] @peti pushed 0 commits to 2.3: https://git.io/JecbS
horner has quit [Quit: zzZzZzZzZZZzzz…]
Boomerang has joined #nixos
boxscape has joined #nixos
horner has joined #nixos
Boomerang has quit [Ping timeout: 240 seconds]
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #nixos
erasmas has joined #nixos
<gchristensen> domenkozar[m], roberth: if you would, join #nixos-officehours?
Netsu has quit [Ping timeout: 260 seconds]
wfranzini has quit [Remote host closed the connection]
<Taneb> Ooh, is that tonight? I keep forgetting about it
<domenkozar[m]> sure, let me remember how Riot works
<domenkozar[m]> done
<gchristensen> domenkozar[m]: doesnt' look like it :P
<domenkozar[m]> weird, there's a room and there's people
<gchristensen> domenkozar[m]: maybe you're previewing the channel. what happens if you say something?
<worldofpeace> domenkozar: sometimes with riot I have to do `!join chat.freenode.net #nixos-officehours` with @appservice-irc to get it working
philr has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #70256 → nodejs-11_x: remove → https://git.io/JecTs
<{^_^}> [nixpkgs] @lheckemann pushed 4 commits to master: https://git.io/JecNm
drakonis_ has quit [Remote host closed the connection]
<tilpner> gchristensen: Hey, were you talking about FF not working on 19.09 recently? (with that twitter person migrating)
arjen-jonathan has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
drakonis has quit [Quit: WeeChat 2.6]
detran has joined #nixos
<{^_^}> [nixpkgs] @Ma27 closed pull request #70338 → pythonPackages.asyncpg: fix hash of patch → https://git.io/Jec2Q
<tilpner> Can anyone confirm please nix-store -r /nix/store/z12n0hm68pz9rqc7hwnda6d9k2as6v34-firefox-69.0.1 and check if you can use it for anything?
civodul has joined #nixos
rsoeldner has quit [Remote host closed the connection]
rsoeldner_ has joined #nixos
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #nixos
infinee has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to release-19.09: https://git.io/JecNz
mexisme has joined #nixos
Zer0xp has quit [Ping timeout: 240 seconds]
<tilpner> It seems to still work in a Ubuntu VM
mexisme has quit [Ping timeout: 252 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
rsoeldner_ has quit [Ping timeout: 252 seconds]
<jophish> Hi all
<tilpner> Well, that was fun
<tilpner> For anyone curious, FF is fine. systemd was deleting random units to break dependency cycles
<tilpner> But curiously, on the first reboot, chromium was still working, so I suspected FF
<tilpner> Then on the second reboot, nothing worked anymore, because NetworkManager.service was deleted
<exarkun> dependency cycle breaking in systemd is so uughh
<exarkun> "your system is broken in a deterministic way so I'll break it in a nondeterministic way for you, have a nice day"
horner_ has joined #nixos
AluisioASG has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<tilpner> exarkun: It does make some sense, I think, it's just really unexpected
horner has quit [Ping timeout: 240 seconds]
AluisioASG has joined #nixos
<tilpner> exarkun: If you do it randomly, there's a chance enough reboots will get your system booting, so that you can fix the problem
<{^_^}> [hydra] @edolstra pushed to flake « Use the overlay from the nix flake »: https://git.io/JecAk
<exarkun> in my experience its not really random, it's always NetworkManager ;)
<exarkun> it's too bad that there's no consistency checking when creating a systemd configuration so that you could just skip having this problem entirely
philr has quit [Ping timeout: 276 seconds]
<tilpner> sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
alex`` has quit [Quit: WeeChat 2.6]
<tilpner> That at least doesn't mention NM
alex`` has joined #nixos
<tilpner> Now I can finally get back to debugging my kresd config, yay
t58 has quit [Quit: Leaving]
<{^_^}> [cabal2nix] @peti pushed 7 commits to v3: https://git.io/JecAq
greg has joined #nixos
ericdallo has joined #nixos
drakonis_ has joined #nixos
<iqubic> I really wish that NixOS-Unstable would be update.
<iqubic> It's been 7 days.
<ericdallo> me too :/
<iqubic> I know what's holding it up.
<{^_^}> [nixpkgs] @matthuszagh opened pull request #70409 → Emacs lsp-mode: 20190926 -> 20191004 → https://git.io/JecAW
<iqubic> It's nixos.ova.x86_64-linux
<tilpner> "Not enough space left in . (4046796800 KB) to decompress ./VBoxLinuxAdditions.run (8404 KB)"
<tilpner> That seems to be what's holding up unstable
<infinisil> tilpner: Also check previous builds of it, there's another error
<inkbottle> isn't there an option to disable Baloo in configuration.nix?
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/bcc3c118bfa (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
civodul has quit [Remote host closed the connection]
civodul has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
alex`` has quit [Ping timeout: 252 seconds]
magnetophon has quit [Ping timeout: 246 seconds]
ericdallo` has joined #nixos
<tilpner> infinisil: Can reproduce the /sys error, but recent changes don't seem overly suspicious
<tilpner> Except of course 5bec9dc65b46eeb45a63a9f7875b5ddfbb798d10
<tilpner> But that's not very recent at all
<iqubic> Are we just going state that this test doesn't actually matter and call it a day?
<iqubic> Or am I misreading this conversation?
drakonis_ has quit [Ping timeout: 240 seconds]
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
greg has left #nixos ["Good Bye"]
judson has joined #nixos
judson_ has joined #nixos
<infinisil> tilpner: How about 7dcef37ef8e1551abbcfe4e926c38aa9cb91b6f3
<infinisil> It's in the range of commits between last successful and first failing
<{^_^}> [nixos-hardware] @exi opened pull request #124 → match specifically on the sound chip → https://git.io/Jecxq
<arcnmx> (is the failure vbox related?)
<tilpner> infinisil: Wait, isn't all this before virtualbox even makes an appearance?
drakonis_ has joined #nixos
<arcnmx> I recall running into the same error with qemu
<tilpner> arcnmx: Did you fix it?
<arcnmx> nope, just commented that the PR was broken for the same reason that unstable has been stuck
<tilpner> Oh, so recently
tboston has left #nixos ["Textual IRC Client: www.textualapp.com"]
Heirlung has joined #nixos
<arcnmx> Yeah as in, I ran into it on master/unstable-small and had to rebase onto unstable to get things working
<{^_^}> [cabal2nix] @peti pushed to master « travis-ci: run ghc-8.8.1 builds with head.hackage enabled »: https://git.io/JecxR
ng0 has quit [Quit: Alexa, when is the end of world?]
rsoeldner_ has joined #nixos
freeman42x has joined #nixos
<{^_^}> [cabal2nix] @peti pushed 7 commits to v3: https://git.io/JecxX
<esclear> Is it okay to add the pizzaware license to licenses.nix or shall I use a placeholder?
<qyliss> esclear: is it commonly used? has it been evaluated by the FSF or OSI?
<ivan> does anyone know which commit I need to revert to get Qt4 apps to not look like the ancient GTK theme on 19.09?
rsoeldner_ has quit [Ping timeout: 246 seconds]
<esclear> qyliss: I've seen multiple uses of it, but could not find any evaluation. It's functionally equivalent to the beerware license (which is already in licenses.nix), but proposes to buy the author a pizza instead of a beer, if the software is deemed useful. But it is a free license.
<arcnmx> bisect blames 930ac600d2b3f18fcfd41c387835332cfb480462 ?
<qyliss> esclear: add it, IMO. Does it have an SPDX identifier?
<buckley310> clever: thanks, requireFile was exactly what i needed :)
ericdallo has quit [Quit: ericdallo]
<esclear> qyliss: No, that does not seem to be the case.
<qyliss> Add it anyway.
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
misuzu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @timokau opened pull request #70412 → sage: add pager to environment → https://git.io/Jecxj
<arcnmx> ... https://github.com/NixOS/nixpkgs/pull/67232#commitcomment-35282126 which was already known apparently and has just been ignored
<tilpner> arcnmx: Argh, yours was faster!
<arcnmx> #70027 is probably worth looking at
<{^_^}> https://github.com/NixOS/nixpkgs/pull/70027 (by ck3d, 5 days ago, open): make-disk-image: replace nixos-install by nix-env calls
alex`` has joined #nixos
ericdallo has joined #nixos
<tilpner> arcnmx++
<{^_^}> arcnmx's karma got increased to 1
<arcnmx> o:
Jackneill has quit [Remote host closed the connection]
<infinisil> Ohh!
<infinisil> I saw that PR's title but didn't think much of it
ericdallo_ has joined #nixos
MichaelRaskin has joined #nixos
horner_ has quit [Remote host closed the connection]
ericdallo_ has quit [Client Quit]
Chiliparrot has joined #nixos
<ivan> my /run/current-system/sw/share/themes has an Adwaita with a gtk-2.0 but lxappearance sees only Raleigh
<ivan> hmm I can at least override the theme with GTK2_RC_FILES=/run/current-system/sw/share/themes/Adwaita/gtk-2.0/gtkrc
<arcnmx> semi-related point that's maybe been discussed to death but it is fairly frustrating how often everything gets stuck/broken; are there any plans/opinions on things like homu/bors style merging?
misuzu has joined #nixos
<infinisil> arcnmx: What's that?
<clever> infinisil: bors is a bot, that will generate a merge commit, then run CI (in this case, a full hydra build??) and only push that merge to master if CI passes
magnetophon has joined #nixos
<clever> infinisil: if you tell bors to merge several branches at once, it will merge all of them together, then test them as a single batch
<clever> it can solve problems like PR1 passes CI, PR2 passes CI, but if you merge both, CI fails
<infinisil> I see
<infinisil> So it would be like an extended @ofborg
<clever> and travis building the merge branch cant catch the above, because it only tests the merge commit when you push
rsoeldner_ has joined #nixos
<clever> so if you push PR1, and it passes, then PR2 gets merged, then PR1+master now fails
<qyliss> clever: does it queue?
<clever> and travis doesnt re-test every time master moves
<clever> qyliss: if a PR merge is pending checks, any further attempts to merge one enter a queue
<qyliss> so, if I say "merge PR1; merge PR2", it'll test PR1 first, then if it fails test PR2?
<qyliss> oh I've been looking for this :D
<clever> qyliss: and once the current job is done, it will create a merge commit, containing everything from the queue, and do them in a second batch
<clever> in your case, it would test pr1, and then pr2, as seperate things
<clever> but if you tell it to merge pr1, pr2, and pr3, it will start testing pr1
<{^_^}> [nixpkgs] @timokau merged pull request #70412 → sage: add pager to environment → https://git.io/Jecxj
<{^_^}> [nixpkgs] @timokau pushed 3 commits to release-19.09: https://git.io/Jecpc
<clever> and when done, it will test pr2+pr3, as a second batch
<clever> it only waits for a batch if tis already busy doing something else and must wait
ris has joined #nixos
<arcnmx> infinisil: atomic merging basically? the tl;dr is instead of merging PRs you approve them and get put into a queue, applied to master, then once all tests pass gets merged
<exarkun> It's too bad GitHub doesn't just give you that.
<clever> exarkun: it kind of does have some tools to support it
<arcnmx> and yeah, can do things like batch changes for efficiency
<exarkun> Oh?
<clever> exarkun: if you try to fetch the pull/42/head branch, you get the tip of the PR
<emily> you can block merging on CI passing and make it so that only a bot can merge i think
ericdallo` has quit [Ping timeout: 268 seconds]
<clever> exarkun: if you fetch pull/42/merge, you get a commit that is the result of merging the pr into master (but that commit wont be pushed to master)
<emily> dunno if it lets you integrate clicking the merge button to putting it into a queue but like, people can just do @ofborg merge or whatever
m1cr0m4n has quit [Ping timeout: 240 seconds]
<clever> exarkun: so, you could configure hydra to build pull/$PR/merge, on every PR
<exarkun> "run a bot to do your merges" makes it impractical for 95% of projects to bother
<clever> exarkun: BUT, hydra will now rebuild EVERY SINGLE PR, on EVERY SINGLE PUSH TO MASTER
<{^_^}> [nixpkgs] @7c6f434c pushed to master « xtreemfs: fix build with openssl-1.1 »: https://git.io/Jecpz
<exarkun> So yea, all that stuff is fine and cool, but it would be better if the big green button just did the right thing :)
<emily> exarkun: you need CI to support this inherently
<emily> but yeah, it'd be nice if GitHub offered more of the glue for it
<exarkun> emily: sure. and github supports CI. it even knows if CI passed or failed!@
<emily> right
<emily> well, that's quite new!
<emily> give them time ^^
<exarkun> well, ~10 years or something...
m1cr0m4n has joined #nixos
<clever> exarkun: the problem, is that travis merge builds, are if the pr passed with the old value of master
<emily> yeah, maybe :<
<clever> exarkun: and if master changes after that test, things can break
<clever> which is why many projects demand that you rebase ontop of master before merging
<exarkun> clever: I guess I'm not clear on the point here. It still seems to me like it would be nice if github gave you this workflow instead of the one it gives you.
Zer0xp has joined #nixos
<clever> exarkun: the problem, is that github has to re-trigger CI, on the result of merging the commit into master
<clever> exarkun: bors does that, by just pushing the merge commit to a bors/staging branch
Mr_Keyser_Soze has joined #nixos
<exarkun> clever: are you saying it wouldn't be nice, or that it would be hard to implement, or that it is impossible to implement?
<clever> and then if the status checks are green, bors will do it
<clever> exarkun: the bors logic could be baked into github, just have github itself push the merge to a dummy branch, and wait for ci to pass on that dummy branch
<exarkun> I think it is probably "hard to implement" and that's why github should do it instead of every single project on github doing it
<clever> and if it passes, fast-forward master to that merge commit you just tested
<clever> but, if any naughty admin pushes directly to master, you cant fast-forward, and ci has to start over
<exarkun> the idea of a workflow where if you break it, it breaks, doesn't bother me _too_ much
arjen-jonathan has joined #nixos
<exarkun> completely academic, not like github is going to do anything I want them to
rsoeldner_ has quit [Ping timeout: 252 seconds]
<clever> exarkun: i have been thinking of rewriting bors as well, while it does work, the errors when it doesnt are horid, typically just ruby backtraces, lol
iqubic has quit [Quit: heading to college]
<exarkun> I love software that, when it fails, does so in a coherent and easily understood manner
<exarkun> Or, well, maybe not that. But I hate software that doesn't do that.
<{^_^}> [nixpkgs] @Profpatsch merged pull request #69953 → rabbitmq-server: 3.7.17 -> 3.7.18 → https://git.io/JeZQz
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @r-ryantm to master « rabbitmq-server: 3.7.17 -> 3.7.18 »: https://git.io/JecpH
dermetfan has joined #nixos
infinee has joined #nixos
<freeman42x> is there some Haskell library that allows editing and saving .nix files?
<exarkun> Can hnix do it?
Mr_Keyser_Soze has quit [Ping timeout: 252 seconds]
infinee has quit [Ping timeout: 276 seconds]
mexisme has joined #nixos
ericdallo has quit [Remote host closed the connection]
<esclear> qyliss: No, that does not seem to be the case.
<esclear> Whops, sorry.
<esclear> The solution is now that I'm talking the developer into relicensing as MIT :D
<LnL> freeman42x: hnix --parse pretty prints an expression so it should have the primitives to do that
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos
<freeman42x> LnL, note that I am not that skilled at Haskell so I would need some usage example :(
<freeman42x> right now I think I will just go with buggy string replace...
ixxie has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/141b7210cb0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<LnL> I have not used hnix as a library yet, let's see
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-19.09: https://git.io/Jechu
rsoeldner_ has joined #nixos
ericdallo has joined #nixos
<Ericson2314> bendlas: Hey, so if you have cycles to burn, I think the next step is to modify Clang to do incremental preprocessing
<Ericson2314> I suspect this shouldn't be too bad
<Ericson2314> Because of dynamic scope, and lack of being able to tell what is a macro identifer other than it being in scope, there is very little one can do but pause and resume
<Ericson2314> and pausing and resuming will fit an existing sequential implementation
<{^_^}> [nixpkgs] @veprbl merged pull request #70396 → cpp-utilities: 5.0.0 -> 5.0.1 → https://git.io/JecQj
<{^_^}> [nixpkgs] @veprbl pushed commit from @doronbehar to master « cpp-utilities: 5.0.0 -> 5.0.1 (#70396) »:
fendor has quit [Ping timeout: 265 seconds]
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
selfsymmetric-mu has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #69863 → luaPackages.pulseaudio: init at 0.1 → https://git.io/JeZ61
<{^_^}> [nixpkgs] @Lassulus pushed commit from @doronbehar to master « luaPackages.pulseaudio: init at 0.1 »: https://git.io/JechM
<selfsymmetric-mu> Hi! I think it would be great to have scoped logs on nixos-rebuild. That is, I would like to be able to see which derivation is responsible for each line of log output. Now, I don't think that that's exactly _controversial_, but I can't find a tracking ticket for it.
<infinisil> freeman42x: LnL: I've written this with hnix to quote nix urls: https://github.com/infinisil/nix-quote-urls
<infinisil> I only used hnix to find urls, manually implemented string replacement
<selfsymmetric-mu> Does anyone know of a such a scoped-logs tracking ticket? If one doesn't exist I think I should make one. Which repository should that be submitted to? My guess is https://github.com/NixOS/nix. Thoughts?
alex`` has quit [Ping timeout: 265 seconds]
alex`` has joined #nixos
<selfsymmetric-mu> I'm not claiming that enabling scoped logs is _easy_, mind you, just that I think there should be a tracking issue.
<qyliss> selfsymmetric-mu: it'll be Nixpkgs if you're talking journald logs
rsoeldner_ has quit [Ping timeout: 276 seconds]
<selfsymmetric-mu> qyliss: What are the logs that occur during `nixos-rebuild switch`?
<qyliss> I'm not sure how useful a tracking issue would be if nobody intends to work on it though.
<qyliss> selfsymmetric-mu: I'm not sure I understand what you mean there
<qyliss> example?
<infinisil> qyliss: Pretty sure they mean nix-build logs in general
<selfsymmetric-mu> infinisil: That's right. The stdout on the build.
<infinisil> How multiple jobs get overlapped stdout
<qyliss> oh, right
<infinisil> So that would be in the Nix repo, not nixpkgs
<qyliss> yeah
<selfsymmetric-mu> Great, thank you infinisil. I'll look there and create an issue if I don't see one.
[Leary] has joined #nixos
<bendlas> @Ericson2314:matrix.org: next step towards ... what exactly?
<bendlas> I feel that anything finer-grained than per - `.o` dependencies would rather be a liability. And that's already provides by `-MMD` (or whatnot).
<bendlas> Also, gcc support.
<selfsymmetric-mu> I think there is value in documenting feature requests even if nothing is immediately happening. That is because other curious people can determine whether the feature is 1) being worked on already 2) available for contribution 3) rejected because it is ill-defined for some fundamental reason, etc.
<infinisil> Yeah agreed selfsymmetric-mu
<selfsymmetric-mu> :)
Lears has quit [Ping timeout: 276 seconds]
<Ericson2314> bendlas: well what exactly did you get caught on before?
<{^_^}> [hydra] @edolstra pushed to flake « Add hydraProxy module »: https://git.io/Jechp
<arcnmx> sounds like it could be relevant to the nixpkgs repo though, because basically you could fix it by using nix build -L instead of nix-build?
<arcnmx> (if I'm understanding this correctly)
<bendlas> <Ericson2314 "bendlas: well what exactly did y"> Chromium builds eating up hydra and everybody working on them. What did you think, you were responding to?
<Ericson2314> bendlas: so if the build changes too much in between releases, or the rebuilds are due to e.g. stdenv changing or something, I am not sure how much incrementality will help you
<Ericson2314> (My clang thing was yes, me responding more to the thread than your original issue)
<freeman42x> is it possible to split a function call on multiple lines? like replace "bla" "abc" "blaqweqwe". Get each argument on a different line
mexisme has quit [Ping timeout: 265 seconds]
<freeman42x> sorry, wrong channel
<{^_^}> [nixops] @edolstra pushed to flake-support « Support deploying from a flake »: https://git.io/Jecjt
<{^_^}> [hydra] @edolstra pushed to flake « Update flake.lock »: https://git.io/Jecj3
orivej has quit [Ping timeout: 240 seconds]
<selfsymmetric-mu> infinisil: What do you think, is this well-defined? https://github.com/NixOS/nix/issues/3117
<{^_^}> nix#3117 (by matthew-piziak, 17 seconds ago, open): Scoped logs for Nix builds
selfsymmetric-mu has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos
<infinisil> selfsymmetric-mu: Looks good
<selfsymmetric-mu> infinisil: Thanks!
<selfsymmetric-mu> infinisil: Looks like it's available with `nix build -L`, but the same functionality is not in `nixos-rebuild`.
<{^_^}> #45919 (by michaelpj, 1 year ago, closed): nixos-rebuild: use `nix build` and `nix copy`
<{^_^}> #54188 (by danbst, 37 weeks ago, open): New `nixos` executable
<selfsymmetric-mu> Hrm. Why don't I see `-L` in the `nix-build` manpage for 2.3?
<michaelpj> yeah, I tried to swap in the nix 2 commands into nixos-rebuild but it turns out to be Not That Easy
boxscape has quit [Remote host closed the connection]
<niksnut> selfsymmetric-mu: the -L option is only supported by the 'nix' command
<selfsymmetric-mu> niksnut: Ah, thank you.
drakonis__ has joined #nixos
<bendlas> <Ericson2314 "bendlas: so if the build change"> It had feared that. Still incrementalizing will help with:
<slabity> I'm having trouble getting a derivation to build correctly. It keeps failing to find a library, but one of the `buildInputs` is a package that includes that library. Is there something else that needs to be added?
drakonis_ has quit [Ping timeout: 240 seconds]
<arcnmx> selfsymmetric-mu: Clearly instead of nixos-rebuild we should all be using something like nix run -Lf '<nixpkgs/nixos>' system -c switch-to-configuration switch
<infinisil> slabity: Gotta needa whole lot more details than just that to help
<Ericson2314> bendlas: OK then then you can just ignore the depfile stuff ih ninja
<slabity> infinisil: Sorry, had to remake my gist. Here are the derivations I'm making: https://gist.github.com/Slabity/d4afd7594ec4fe870df9eb230d6f86f3
<infinisil> slabity: And what's the error exactly?
<Ericson2314> rig up something build2 style where you do the preprocessing in a separate step
<Ericson2314> fine if you preprocess everything i'd think as long as you don't build every time
<slabity> infinisil: "Run-time dependency gulkan-0.13 found: NO (tried cmake)"
silver has quit [Quit: rakede]
<infinisil> slabity: The full logs?
<slabity> Speciically gxr.nix is failing.
<infinisil> Ah okay that's what I wanted to know
<infinisil> slabity: What's the layout of the gulkan derivation outputs?
<slabity> `/nix/store/nsqr6hhwfx2j6sshp5ahvrmr3simhb3k-gulkan-lib/lib/`
<slabity> With the libgulkan-0.13.so inside that folder
<infinisil> I'm not sure if it's that, but some packages have /lib/pkgconfig/*.pc files
<infinisil> Maybe those are needed for pkgconfig to detect them?
rsoeldner_ has joined #nixos
<{^_^}> [nixpkgs] @mmilata opened pull request #70413 → nixos/matomo: fix phpfpm config, add test → https://git.io/JecjM
<{^_^}> [nixpkgs] @primeos opened pull request #70414 → tdesktop: 1.8.9 -> 1.8.13, range-v3: 0.5.0 -> 0.9.1 → https://git.io/Jecjy
<infinisil> I'm noticing that openssl has a .out output where the .so files are, but a .dev output where the pkgconfig/*.pc files are
<slabity> No pkgconfig file is provided by the gulkan repo. But is it necessary?
<slabity> Is there a way to tell meson "Hey, the library is right here"
<infinisil> No idea
<exarkun> are haskell libraries built for the cache?
<infinisil> I'm just guessing here :P
<infinisil> Maybe look up how meson finds libraries
<infinisil> I can't see any obvious problem with your derivations
Zer0xp has quit [Ping timeout: 246 seconds]
ericdallo has quit [Ping timeout: 268 seconds]
<infinisil> exarkun: Yes but only for the default compiler
<{^_^}> [nixpkgs] @dywedir opened pull request #70415 → oil: 0.7.pre3 -> 0.7.pre5 → https://git.io/JecjQ
<exarkun> Hm, I think I'm using the default compiler... but then, ghc 8.6.5 is also being built ... :/
<bendlas> <Ericson2314 "bendlas: OK then then you can ju"> Yeah, I mean, there is shared interest, because incrementalizing needs the depfiles as well, but since ninja doesn't (yet?) provide pregenerating them, we'll have to rewrite cc invokations in a pregeneration pass, right?
<slabity> Infinisil: I would have thought it would invclude all NIX_LDFLAGS
<infinisil> exarkun: What are you building at what version?
ent has quit [Ping timeout: 240 seconds]
<exarkun> building some of my own software at the last version of nixpkgs before openssl went to 1.1.1d
datakurre has quit [Ping timeout: 252 seconds]
fendor has joined #nixos
<{^_^}> [nixops] @edolstra opened pull request #1202 → [WIP] Flake support → https://git.io/Jecjd
liff has quit [Ping timeout: 250 seconds]
ent has joined #nixos
liff has joined #nixos
datakurre has joined #nixos
rsoeldner_ has quit [Ping timeout: 276 seconds]
<bsima> does the guile package omit the info manual, or am I missing something? I don't see it in my INFOPATH
rsoeldner_ has joined #nixos
<slabity> infinisil: I don't suppose there's a way I can modify my derivation to produce a pkgconfig file?
<{^_^}> [nixpkgs] @stites closed pull request #65041 → pytorch: 1.0.0 -> 1.2.0 → https://git.io/fj1Fm
<{^_^}> [nixpkgs] @stites reopened pull request #65041 → pytorch: 1.0.0 -> 1.2.0 → https://git.io/fj1Fm
<infinisil> slabity: I'd try first removing pkgconfig files from something in nixpkgs to see if it doesn't work without them
<bendlas> @Ericson2314:matrix.org: So .. your drv trampoline at rfc#40 .. how would you recommend to compose this into a cc wrapper? Is the code in a state where somebody might try?
<infinisil> slabity: Such a pkgconfig file looks to be pretty simple though, you could probably just hand-write it
wfranzini has joined #nixos
<exarkun> infinisil: I have an openssl override that makes the default 1.1.1 instead of 1.0.whatever, I *guess* that's the cause but I can't seem to prove it by looking at stuff
fusion809 has quit [Remote host closed the connection]
<fuzen> Does dockerTools build the packages for the target image or is it based on the host machine?
<infinisil> exarkun: Oh that's definitely the cause
<infinisil> Almost everything depends on openssl
<{^_^}> [nixpkgs] @esclear opened pull request #70416 → fileshare: init at 0.2.4 → https://git.io/JeCef
<infinisil> exarkun: You could use a more recent version of nixpkgs though, 1.1.1 is now the default
<infinisil> > openssl.name
<{^_^}> "openssl-1.1.1d"
<infinisil> > stable.openssl.name
<{^_^}> "openssl-1.0.2t"
leah2 has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c2fd152c98d (from 79 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<exarkun> infinisil: well, I don't get it
<exarkun> infinisil: 1.1.1d is too new, unfortunately, I need exactly 1.1.1c
<exarkun> infinisil: so I picked the revision before the revision where it went from 1.1.1c to 1.1.1d
captn3m0 has quit [Read error: Connection reset by peer]
janneke has quit [Quit: janneke quits Mes'sing]
<exarkun> infinisil: my override was put in place before 1.1.1 was the default so maybe I don't need it now ... but if I don't need it then isn't it also a no-op?
<{^_^}> [nixpkgs] @mmilata closed pull request #70413 → nixos/matomo: fix phpfpm config, add test → https://git.io/JecjM
<infinisil> exarkun: How can I reproduce this?
janneke has joined #nixos
tokudan_ has quit [Quit: Dunno.]
<exarkun> infinisil: I am building https://github.com/PrivateStorageio/PrivateStorageio/tree/fix-ristretto-cargoSha256 but I also have some local changes not committed (yet)... I was about to commit them so you can get them but they look kind of fishy to me now :/
tokudan has joined #nixos
<exarkun> I am building it with `nix-build --keep-going -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/5d5cd70516001e79516d2ade8bcf31df208a4ef3.tar.gz nixos/system-tests.nix` but the fishy changes seem to pin nixpkgs to something else
<exarkun> so now I wonder if it's actually using the nixpkgs I thought it was ...
troydm has quit [Ping timeout: 246 seconds]
rsoeldner_ has quit [Ping timeout: 252 seconds]
<infinisil> Hm there's no default.nix file though?
<infinisil> Oh
<infinisil> I missed the nixos/system-tests.nix
drakonis__ has quit [Ping timeout: 240 seconds]
<infinisil> Lol in the comments -> # Test the machines with a Perl program (sobbing).
<{^_^}> [nixpkgs] @lilyball opened pull request #70417 → Cocoapods → https://git.io/JeCeB
<Ericson2314> bendlas: because ninja only uses the depfiles for rebuilds, it should be ok to ignore them first time. the downside is the entire source repo + all built headers are availible for preprocessor step, which is hugely non incremental
<Ericson2314> bendlas: there is no WIP C++ Nix code for RC 40
rsoeldner_ has joined #nixos
<esclear> For some reason OfBorg did not act on a pull request I created. (#70416) Is there a possibility to trigger it manually somehow? I'm quite sure that the format is correct.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/70416 (by esclear, 14 minutes ago, open): fileshare: init at 0.2.4
drakonis__ has joined #nixos
l33 has joined #nixos
<exarkun> infinisil: yea. so ... does that have an effect or not? if openssl is already 1.1.1 by default in nixpkgs, then isn't it a no-op?
fenedor has joined #nixos
<exarkun> I guess I should read the definition of openssl and openssl_1_1 in the new nixpkgs I picked ...
<l33> another love hate day with nixos
leah2 has joined #nixos
<infinisil> It should be a no-op yeah
<exarkun> I guess I have the bad habit of picking a new nixpkgs and not looking at what has changed
<exarkun> but ... it's so huge ... I can't really look at all the changes
<infinisil> That is a valid point :)
Okinan has joined #nixos
drakonis has joined #nixos
<l33> change.....fear it or embrace it... (or both)
<infinisil> exarkun: Would be great if you could isolate the thing that causes the ghc rebuild
<infinisil> Try disabling overlays one-by-one
<exarkun> I asked about visualization and someone pointed out https://github.com/craigmbooth/nix-visualize but I didn't try it yet. not sure why I think visualization would help, exactly.
<infinisil> exarkun: I think `nix-store -q --tree` is good enough for this, just shows the tree in a text view and you can search for stuff
<exarkun> I tried `nix show-derivation` on some stuff to try to trace it back to openssl but didn't find anything obvious
<infinisil> nix-store -q --tree on the .drv file specifically
<exarkun> some (all?) `nix-store` commands have the shortcoming that you have to have already built the thing?
<exarkun> maybe I haven't tried it on .drv though
fendor has quit [Ping timeout: 245 seconds]
<infinisil> Yeah this will work without it having been built
<exarkun> now the path to the ghc drv has scrolled out of my terminal history
<infinisil> exarkun: Replace nix-build with nix-instantiate
jd823592 has joined #nixos
<infinisil> This will instantiate the derivation and print its path
<exarkun> cool
<jd823592> anyone successfully playing youtube videos in the `next` browser? I am getting "your browser does not currently recognize any of the video formats available"
<l33> 'next' browser?
<l33> not used that i'm affraid.
<jd823592> it's in nixpkgs master
<exarkun> infinisil: oh yea that's pretty useful
<jd823592> i've read that playback may depend on gst-plugins and also that gst-plugin discovery experienced difficulties on nixos
rsoeldner_ has quit [Ping timeout: 268 seconds]
<l33> where did you read this?
<jd823592> l33: the dependency on gst (https://aur.archlinux.org/packages/next-browser-git/), the difficulties with gst (i noticed some mentions somewhere in here https://nixos.org/nix-dev, I really could not tell if that was related, bause I have no detailed insight in what's going on in webkit regarding video playback)
<l33> i've tried firefox and brave..both seems to work fine for video.. not much help i know......
<l33> ah! gstreamer.... I've always had problems with that beast on other distro's...
<l33> i used to see 'gst' and shudder with fear.
abathur has joined #nixos
<jd823592> l33: i am also using ffox with no problems, gstreamer is my nemesis, everytime i have to interact with it I know I've lost
ixxie has quit [Ping timeout: 276 seconds]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @qolii opened pull request #70419 → eternal-terminal: 5.1.10 -> 6.0.3 → https://git.io/JeCe7
selfsymmetric-mu has quit [Remote host closed the connection]
arjen-jonathan has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @Lassulus merged pull request #70381 → shadowenv: init at 1.2.1 → https://git.io/Jec96
<{^_^}> [nixpkgs] @Lassulus pushed commit from @marsam to master « shadowenv: init at 1.2.1 »: https://git.io/JeCeN
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Lassulus merged pull request #70385 → starship: 0.19.0 -> 0.20.1 → https://git.io/JecHm
<{^_^}> [nixpkgs] @Lassulus pushed commit from @davidtwco to master « starship: 0.19.0 -> 0.20.1 »: https://git.io/JeCvf
hlolli has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #70227 → maturin: 0.7.2 -> 0.7.6 → https://git.io/Jenxk
<{^_^}> [nixpkgs] @Lassulus pushed commit from @danieldk to master « maturin: 0.7.2 -> 0.7.6 »: https://git.io/JeCvq
boxscape has joined #nixos
<hlolli> hi, I'm in a firefighting mode on my server, a node-gyp build is failing on a systemctl service, where the c-compiler is always resolving to unknown (node-v64-linux-x64-unknown) while it should resolve to glibc. Is there any env-flag I can use to mask the name? Even if nixos uses unknown internally.
<clever> hlolli: is the build happening under nix-build/nix-shell?
jb55 has quit [Quit: jb55]
<hlolli> it's happening under system-wide nix-rebuild
<clever> hlolli: can you pastebin the entire output when it fails?
<clever> hlolli: are you running `yarn build` from a systemd service?
<hlolli> since there's a prebuild binary, which runs when I run it as user and resolves correctly, I wouldn't mind node-gyp just downloading it
selfsymmetric-mu has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #69214 → iso-image: add loopback.cfg support to boot iso from grub → https://git.io/JesJo
<{^_^}> [nixpkgs] @Lassulus pushed to master « iso-image: add loopback.cfg support to boot iso from grub »: https://git.io/JeCvs
<hlolli> yes, because I thought node-gyp could just rebuild it.
<hlolli> but it doesn't make sense to go that path
<clever> hlolli: dont do that, its not pure
<clever> hlolli: do all building in nix, and just use the built result in the service
<selfsymmetric-mu> What is the correct way to specify font hinting in my NixOS? Specifically I want to set antialiasing to true, hinting to none, and sub-pixel order to RGB.
<hlolli> yes, I learn it the hard way
<clever> hlolli: you probably want yarn2nix, to build the package
<selfsymmetric-mu> I thought fontconfig would be the right place to set that but now I see that the penultimate rules are now apparently the default? It's a big confusing.
<clever> selfsymmetric-mu: there is an entire fonts tree of options in configuration.nix
<selfsymmetric-mu> clever++
<{^_^}> clever's karma got increased to 207
<selfsymmetric-mu> Brilliant, thank you. So `fonts.fontconfig.hinting.enable = false` would be the right way to disable hinting, yes?
<hlolli> yes, I've used that and node2nix, was hoping I didn't need to go down that path. But a non-important express endpoint suddenly came crucial over time :) typical lazyness that hunts a programmer in the back
<selfsymmetric-mu> Hopefully XFCE will read that correctly in its settings.
<clever> hlolli: builds will only function if you do them under nix-build or nix-shell
<clever> hlolli: your likely not using nix-shell, so things fail in weird ways
<hlolli> I was hoping that I could start the systemd as a normal user, in the normal user's environment
<hlolli> I was able to get ssh keys like that
<clever> hlolli: nixos also sets PATH differently, to only include what the service needs, so it doesnt happen to work due to what youve nix-env -i'd
<clever> hlolli: to help reduce the "but it worked for me" situations
<hlolli> I added the missing deps :P, dug my grave deeper
jb55 has joined #nixos
<bendlas> <Ericson2314 "bendlas: because ninja only uses"> Unfortunately, we need them to generate the correct derivation tree. Ignoring would mean putting fewer than the necessary files into the `.drv` of a `.o` file, or all of them, neither of which does any good.
<hlolli> Im going node2nix now.. thanks clever!
<bendlas> <Ericson2314 "bendlas: there is no WIP C++ Nix"> Too bad. So IFD it is, for now.
<selfsymmetric-mu> I've never been able to get PragmataPro embedded bitmaps to work. Even with `fonts.fontconfig.useEmbeddedBitmaps = true`. Instead they get automatically stuck to pixels in an ugly way. It's a shame since the author spent countless hours tuning them at many sizes.
<selfsymmetric-mu> Of course we can wait for monitors to become effectively continuous, but it would be nice to use them.
<{^_^}> [nixpkgs] @Lassulus merged pull request #69980 → teamviewer: 14.5.1691 -> 14.6.2452 → https://git.io/JeZ51
<{^_^}> [nixpkgs] @Lassulus pushed commit from @r-ryantm to master « teamviewer: 14.5.1691 -> 14.6.2452 »: https://git.io/JeCvB
noudle has quit []
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @0x4A6F opened pull request #70420 → zemeroth: init at 0.6.0 → https://git.io/JeCva
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Lassulus merged pull request #69976 → sysvinit: 2.95 -> 2.96 → https://git.io/JeZ58
<{^_^}> [nixpkgs] @Lassulus pushed commit from @r-ryantm to master « sysvinit: 2.95 -> 2.96 »: https://git.io/JeCvo
<bendlas> Ericson2314: Oh, you already said that .. so yeah, I'm thinking more along the lines of: generate tailored include directories, per `.o` file.
<clever> bendlas: snack does similar with haskell, there is a dedicated binary, that will list the modules a given module depends on, and its ran via IFD, for each module
<clever> bendlas: the major performance cost, is that IFD must happen serially, so it can take 20+ mins to do the first pass
<clever> it would likely be far faster, if you batched it into a single IFD step, but then it costs more when nothing changes
<clever> so id want it to be a non-IFD step, that you just generate the dep tree once ahead of time, and then import the file
selfsymmetric-mu has joined #nixos
hlolli_ has joined #nixos
<wrl> hey all, I'm having considerable trouble getting the nixos installer to boot
<wrl> i'm flashing the ISO onto a sdcard in a usb/sdcard reader using pv (same as dd, basically)
<clever> wrl: are you writing to sd? or sd?1 ?
<wrl> it boots fine into UEFI mode – /sys/firmware/efi/efivars/ exists (it's empty though)
<wrl> clever: sd
<bendlas> clever: for chromium, the initial build would need to be as fast as possible: 4G of source directory; 20K+ .o files
<bendlas> `importJSON` did really good for melpa, so I think I'll go for that.
<wrl> it stalls at "waiting for device /dev/root to appear" and then refuses to go further
<wrl> i can launch the interactive shell and look around
<clever> bendlas: id want to pre-generate the dep tree info, and ship that with the rev+sha256
<wrl> despite the usb_storage module being loaded, i don't have /dev/sd* anything
rsoeldner_ has joined #nixos
<clever> bendlas: but yeah, with 20k derivations, nix will still suffer massively
<wrl> nor do i have the device nodes for the NVME SSD that would function as the installation drive
hlolli has quit [Ping timeout: 276 seconds]
<wrl> this is arguably a bleeding-edge setup – amd 3400G APU in an asrock x570 motherboard (both released less than 6 months ago)
Neo-- has quit [Ping timeout: 276 seconds]
<bendlas> <clever "bendlas: but yeah, with 20k deri"> Hopefully still less, that it does now 😅
<ajs124> So I'm trying to use disabledModules with a module right now that has "(mkRemovedOptionModule ["services" "tt-rss" "checkForUpdates"] ''...'')" in its imports. On a scale of 1-10, how screwed am I?
<wrl> kernel 4.19.75 seems old, hm
<clever> ajs124: edit nixpkgs level :P
<{^_^}> [nixpkgs] @Lassulus merged pull request #69933 → qownnotes: 19.8.6 -> 19.9.16 → https://git.io/JeZHT
<{^_^}> [nixpkgs] @Lassulus pushed commit from @r-ryantm to master « qownnotes: 19.8.6 -> 19.9.16 »: https://git.io/JeCvS
<wrl> i'm going to try and liveboot arch and see if i can get the device nodes
<ajs124> clever: great -.-
<clever> wrl: kexec might be a good way for you to test things, that doesn need any working disk drivers
mexisme has quit [Ping timeout: 252 seconds]
<bendlas> clever: by specifying the sha256, I can extract the identical file from any old derivation, right?
<clever> bendlas: my thinking, is that when you update the sha256, you also generate the new dep-tree info, for what .o depends on what .h files
<clever> bendlas: and you then just commit that whole mess a repo
<wrl> clever: okay so when i boot up the arch liveusb, everything shows up
<clever> bendlas: then IFD isnt needed, everything has been pre-generated
<wrl> efivars isn't empty, both sda (the usb) and nvme (the installation target) show up
<clever> wrl: what kernel does arch have?
<wrl> arch has kernel 5.3.1
<wrl> this is basically a brand-new chipset so that's unsurprising
<clever> > linux
<{^_^}> "<derivation /nix/store/ng41ij6fby6lrjlvjf7kyrxkdi0wzg83-linux-4.19.76.drv>"
<wrl> what about in unstable?
<clever> that is the default on unstable
Mateon1 has quit [Remote host closed the connection]
<cransom> > linux_latest
<clever> > linux_5_3
<{^_^}> "<derivation /nix/store/a91qbl96qwn52r5nl59350ngqh93f3nf-linux-5.3.2.drv>"
<{^_^}> "<derivation /nix/store/a91qbl96qwn52r5nl59350ngqh93f3nf-linux-5.3.2.drv>"
Mr_Keyser_Soze has joined #nixos
<clever> wrl: you may need to build a custom ISO, that uses 5.3 instead
Mateon1 has joined #nixos
<wrl> alright how do i do that?
<wrl> this is me experimenting with nixos so i don't have a currently running system
<wrl> just arch
* clever looks
psyanticy has quit [Quit: Connection closed for inactivity]
<wrl> where's linux_latest located? i'm seeing a linux_testing package in unstable which is 5.2-rc7
<ajs124> clever: I think I got it (without editing nixpkgs!). Turns out, our (modified) copy of the module hat that same mkRemovedOptionModule.
<clever> ajs124: that would do it!
<clever> wrl: there is already a preset called iso_minimal_new_kernel
<clever> # A variant with a more recent (but possibly less stable) kernel
<clever> # that might support more hardware.
<clever> wrl: and it just uses whatever linux_latest is on that nixpkgs rev
<wrl> clever: alright, so how do i build this?
<wrl> i am a complete newcomer
<clever> wrl: nix-build '<nixpkgs/nixos/release.nix>' -A iso_minimal_new_kernel.x86_64-linux
<colemickens> I seem to have lost print-to-file in gtk3 apps. Any tips?
rsoeldner_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Lassulus merged pull request #70001 → pyre: remove → https://git.io/JeZba
<{^_^}> [nixpkgs] @Lassulus pushed commit from @teh to master « pyre: remove »: https://git.io/JeCff
rsoeldner_ has joined #nixos
<colemickens> oh, its probably because I'm not in GNOME and not pulling in some specific gnome/printing package.
Mr_Keyser_Soze has quit [Remote host closed the connection]
abathur has quit [Ping timeout: 276 seconds]
jd823592 has left #nixos [#nixos]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c2fd152c98d (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
rsoeldner_ has quit [Remote host closed the connection]
noogie has joined #nixos
rsoeldner_ has joined #nixos
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #69872 → bpm-tools: init at 0.3 → https://git.io/JeZig
<{^_^}> [nixpkgs] @Lassulus pushed commit from @doronbehar to master « bpm-tools: init at 0.3 »: https://git.io/JeCfl
<freeman42x> I installed zlib, zlib.dev and zlib.out and I am still getting this error. Any ideas? https://gist.github.com/razvan-flavius-panda/656a5473ef4047e0ef9991834b397dea
asymptotically has quit [Quit: Leaving]
l33 has quit [Remote host closed the connection]
l33 has joined #nixos
<lassulus> freeman42x: you could try: cabal v1-install --dependencies-only --extra-include-dirs="$(nix-build '<nixpkgs>' -A zlib.dev)/include" ?
rsoeldner_ has quit [Remote host closed the connection]
rsoeldner_ has joined #nixos
HKei has joined #nixos
<fuzen> freeman42x: you can also try installing 'haskellPackages.zlib'
<freeman42x> lassulus, ok, but why do I need to do that? no way to configure this globally? I did add zlib etc. to configuration.nix
<freeman42x> zlib, zlib.dev and zlib.out are all installed globally and it did not fix the issue
<lassulus> uhm, maybe what fuzen recommends does that?
<lassulus> not sure how cabal finds the libs
<freeman42x> and I think I need to use cabal v1 because I am using HIE
<freeman42x> so I can't use cabal Nix builds
<HKei> hello, this is a bit awkward but does anyone know how/where user display settings are stored for kde? I've played around with xrandr because it was refusing to output in 1440p, but now I'm not getting any output from KDE at all after I log in (everything's still working fine in the login manager)
<HKei> I can't really change them using xrandr from a terminal session either because obviously xrandr only affects the current session...
<HKei> (by no output I mean both of my monitors complain they're literally getting no output send to them and go to sleep)
<lassulus> does it work as another user
<lassulus> ?
drakonis__ has quit [Quit: Leaving]
<HKei> maybe? But if that's the case then settings are per-user, which means I *still* need to find out how to change the settings for *that* user unless I want to abandon that user account
<HKei> also, is the 1440p thing a known issue? Googling it I could only find various people complain that they don't get 1440p offered as a mode; but I do, it just doesn't work
<lassulus> ah sure, but at least you would know if its a per user problem and then you could start searching in .config/.local or whereever it could be
freeman42x has quit [Remote host closed the connection]
l33 has quit [Remote host closed the connection]
HKei has quit [Remote host closed the connection]
HKei has joined #nixos
<HKei> yeah, seems the settings are per user
Ariakenom has quit [Read error: Connection reset by peer]
alex`` has quit [Quit: WeeChat 2.6]
<lassulus> are you using sddm?
notgne2 has quit [Quit: ZNC 1.7.3 - https://znc.in]
notgne2 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
HKei has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @abbradar opened pull request #70421 → Update SDL2_mixer dependencies → https://git.io/JeCf1
HKei has joined #nixos
<HKei> so I did succeed in changing *something*
<HKei> apparently there are some display related settings under kscreen
HKei has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @elseym opened pull request #70422 → documize: introduce state directory → https://git.io/JeCfy
<{^_^}> [nixpkgs] @primeos closed pull request #69948 → range-v3: 0.5.0 -> 0.9.1 → https://git.io/JeZQn
Rusty1 has joined #nixos
erasmas has quit [Quit: leaving]
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @abbradar merged pull request #70414 → tdesktop: 1.8.9 -> 1.8.13, range-v3: 0.5.0 -> 0.9.1 → https://git.io/Jecjy
<{^_^}> [nixpkgs] @abbradar pushed 3 commits to master: https://git.io/JeCf7
sigmundv_ has quit [Ping timeout: 276 seconds]
rsoeldner_ has quit [Ping timeout: 246 seconds]
HKei has joined #nixos
<HKei> found the problem
rsoeldner_ has joined #nixos
<HKei> so apparently it's just the free graphics drivers that can't deal with the high res display
<HKei> the proprietary nvidia drivers work fine
fenedor has quit [Quit: Leaving]
<freeman42x> I don't understand how to add this to system packages: https://github.com/bgamari/nix-pkgconfig since it is not packaged
<clever> ,nix-shell freeman42x
<freeman42x> clever, how?
<clever> freeman42x: installing zlib.dev wont fix cabal, you must use `nix-shell -p zlib` to get zlib working right
<clever> freeman42x: and nix-pkgconfig is already packaged, you just throw import at a path to it, and you get the package out
<freeman42x> I want to avoid using Nix since I need the project to be compiled for Windows also
<clever> freeman42x: if building on nixos, you must use `nix-shell -p zlib`
<freeman42x> clever, "you just throw import at a path to it, and you get the package out" I do not understand what you mean
<clever> if they are on windows, then they must get zlib via some other mean
<clever> `import /home/clever/apps/nix-pkgconfig/default.nix {}`
<freeman42x> clever, where would I use `import /home/clever/apps/nix-pkgconfig/default.nix {}` ?
<freeman42x> and how do I add that to system packages?
<clever> environment.systemPackages = [ (import /home/clever/apps/nix-pkgconfig/default.nix {}) ];
<freeman42x> ohhhh
<clever> that is an expression, that returns a package
<clever> and systemPackages is a list of packages
<freeman42x> I see, thank you. So I just need to point that to wherever I cloned the repository?
<clever> yeah
<clever> or use IFD
<freeman42x> thank you I will give it a try
NightTrain has joined #nixos
<freeman42x> clever, IFD?
<clever> import (pkgs.fetchFromGitHub { owner = "bgamari"; repo = "nix-pkgconfig"; rev = "todo"; sha256 = "todo"; }) {}
<clever> ,ifd
<{^_^}> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result. It has been described as "such a nice footgun."
<clever> freeman42x: but your probably better off just doing `nix-shell -p zlib` and then `cabal build`
<freeman42x> clever, I really want a solution like, forever, so I want to avoid using nix-shell
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7ff17ce730c (from 62 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<freeman42x> actually, I am not sure how I would solve building this on Windows yet... :/
<clever> freeman42x: haskell.nix can cross-compile from linux to windows, using nix
<clever> #haskell.nix on freenode
<freeman42x> I need to write a Miso + Electron GUI that would cross-compile to Linux, Windows and MacOS...
<clever> freeman42x: if all of the code is just JS in the end, it doesnt matter what target os you use
<freeman42x> clever, thank you. Never heard of haskell.nix before
<clever> freeman42x: you can just compile it once, and use the same js on every platform
waleee-cl has joined #nixos
<freeman42x> clever, not all the code is JS, for example we are using this Turtle library that depends on ZLIB
<clever> server-side components?
<freeman42x> yeah
<clever> and the server also has to run on every platform?
<freeman42x> the GUI will be used to install Haskell editors / IDEs automatically
<freeman42x> yeah, the server has to run on any platform
<clever> ah, then you probably want to look into haskell.nix
<clever> it can compile to windows, from both linux and darwin
<clever> and do native linux and darwin builds, on their own hosts
<freeman42x> clever, ok, thank you clever++
<{^_^}> clever's karma got increased to 208
<red[m]> muslc
<red[m]> I was trying to statically compile something and the language authors told me that I needed to be on a "muscl libc"
<red[m]> sorry
<red[m]> muscl distro
<red[m]> I'm guessing that means that I would need to compile the language and compilers using muslc?
<clever> > pkgsCross.musl64.hello
<{^_^}> "<derivation /nix/store/21n1a15y9x5rf6h2zxyd075ibpnlvffp-hello-2.10-x86_64-unknown-linux-musl.drv>"
<clever> > pkgsCross.musl64.stdenv.mkDerivation
<{^_^}> <LAMBDA>
<clever> red[m]: you can use that tree to get muslc based everything in nix
<red[m]> thanks clever! :-D
<freeman42x> clever, I added it to system packages: (import /home/neo/Sources/nix-pkgconfig/default.nix {}) and cabal-install still does not see zlib
<clever> freeman42x: what does `type pkgconfig` say?
<red[m]> I just need to work out how - I'll do some digging - thanks!
<freeman42x> clever, bash: type: pkgconfig: not found
<clever> freeman42x: oops, with a -, `type pkg-config`
<clever> i hate it when the package name, and binary, are one character different :P
<freeman42x> clever, `pkg-config is /run/current-system/sw/bin/pkg-config`
<clever> freeman42x: `file -L /run/current-system/sw/bin/pkg-config` ?
<{^_^}> [nixpkgs] @mmilata opened pull request #70423 → libpng12: 1.2.57 -> 1.2.59 → https://git.io/JeCJm
<{^_^}> [nixpkgs] @emilazy opened pull request #70424 → git-revise: 0.4.2 -> 0.5.0 → https://git.io/JeCJY
<freeman42x> clever, `/run/current-system/sw/bin/pkg-config: Python script, ASCII text executable`
<clever> freeman42x: then that tool isnt actually doing what it claims to do
<freeman42x> but... why would science lie to me?!
<clever> freeman42x: did you read the readme?
<clever> nix-pkgconfig relies on a database of mappings between pkg-config .pc files and the nixpkgs attribute they are provided by. A minimal example database (default-database.json) is included which can be installed via:
<freeman42x> yeah, I will try the other install methods
shibboleth has joined #nixos
<clever> freeman42x: in addition to installing the binary, you must also copy a db file to the right dir
<clever> freeman42x: youve only done half of that
<{^_^}> [nixpkgs] @mmilata opened pull request #70425 → libpng12: 1.2.57 -> 1.2.59 → https://git.io/JeCJO
<freeman42x> clever, I need to run this I think `./build-database.sh`
troydm has joined #nixos
<{^_^}> [nixpkgs] @Fuuzetsu merged pull request #69956 → snd: 19.6 -> 19.7 → https://git.io/JeZQo
<{^_^}> [nixpkgs] @Fuuzetsu pushed 2 commits to master: https://git.io/JeCJG
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Fuuzetsu merged pull request #69470 → babeld: 1.9.0 -> 1.9.1 → https://git.io/JeGrM
<{^_^}> [nixpkgs] @Fuuzetsu pushed 2 commits to master: https://git.io/JeCJZ
<freeman42x> clever, I run the shell script to build its DB and it still does not see zlib :(
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<freeman42x> I guess I will have to use haskell.nix?
<clever> freeman42x: have you tried `nix-shell -p zlib` yet?
<freeman42x> clever, no, but I know that will work
<freeman42x> or rather, this will work: that's the same issue, I solved it with stack and nix: https://github.com/commercialhaskell/stack/issues/2975#issuecomment-340570115
<freeman42x> it might need those 2 packages instead of the zlib package
<clever> freeman42x: stack --nix, just runs itself under nix-shell for you
<clever> freeman42x: but, i dont like using either cabal new-build, or stack, because both are impure
<clever> freeman42x: its far better to build it with nix, using either cabal2nix, stack2nix, or haskell.nix
<clever> cabal2nix has better cache coverage, but wont obey your stack.yaml
<freeman42x> I will look into haskell.nix since you said it would allow me to do crosscompilation
<clever> stack2nix obeys the stack.yaml, but then wont find things on the cache
<clever> haskell.nix can obey either stack.yaml, or cabal.project, and can also cross-compile
<freeman42x> clever, is this it? https://github.com/input-output-hk/haskell.nix
<clever> yep
<freeman42x> oh s**t, it's just another thing in the category cabal2nix or stack2nix, I see
<clever> yep
<clever> the major difference, is that it supports conditional statements in cabal files
<clever> stack2nix is just a wrapper, that runs cabal2nix on the right versions of everything
<clever> cabal2nix just computes the expr for the current (or given) os
<clever> so (stack|cabal)2nix, wont try to supply Win32 to the windows build, and will try to build posix on windows
<clever> and then everything implodes :P
<clever> haskell.nix, just translates the if's in your cabal file, into nix level if's
<clever> and then decides what to do, based on the actual target
<exarkun> darn, nix-visualize: RuntimeError: maximum recursion depth exceeded
mbrgm_ has joined #nixos
judson_ has quit [Ping timeout: 240 seconds]
judson has quit [Ping timeout: 240 seconds]