sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
rpg has joined #nixos
slowz has joined #nixos
slowz has joined #nixos
slowz has quit [Changing host]
ym555 has joined #nixos
init_6 has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
rpg has quit [Quit: Textual IRC Client: www.textualapp.com]
hamishmack has joined #nixos
buffet_ has joined #nixos
buffet has quit [Ping timeout: 252 seconds]
nDuff has quit [Quit: zzz]
thc202 has quit [Ping timeout: 250 seconds]
alexherbo2508 has joined #nixos
alexherbo250 has quit [Ping timeout: 246 seconds]
rprije has quit [Remote host closed the connection]
dontobey has joined #nixos
jgt has joined #nixos
jgt has quit [Ping timeout: 248 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_ris has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 252 seconds]
silver_ has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
work_ has quit [Quit: Connection closed for inactivity]
hamishmack has joined #nixos
Ariakenom has quit [Quit: Leaving]
init_6 has quit []
dansho has joined #nixos
srl295 has quit [Quit: Connection closed for inactivity]
acarrico has quit [Ping timeout: 252 seconds]
jgt has joined #nixos
jgt has quit [Ping timeout: 248 seconds]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
drakonis has joined #nixos
nD5Xjz has quit [Ping timeout: 258 seconds]
nD5Xjz_ has joined #nixos
mkoenig has quit [Remote host closed the connection]
ym555 has quit [Quit: leaving...]
selfsymmetric-mu has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
Guest34 has joined #nixos
emily has quit [Ping timeout: 250 seconds]
<Guest34> Hi all, anyone happen to have experience with pam_exec?
<Guest34> To be honest I'm mostly just trying to understand if there's some log file, or method to debug pam in nixos
jgt has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
statusfailed has quit [Ping timeout: 258 seconds]
statusfailed has joined #nixos
toppler`` has quit [Ping timeout: 245 seconds]
toppler`` has joined #nixos
Guest34 has quit [Ping timeout: 255 seconds]
domogled has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
emily has joined #nixos
Supersonic has quit [Ping timeout: 258 seconds]
Supersonic has joined #nixos
<meizikyn> Guest34: as I understand it, PAM logs to the default system logger (documentation calls for syslogd)
<meizikyn> but with nixos using systemd (is this different?) I believe journalctl may contain pam logs
<meizikyn> I believe I once used this to debug pam_mount issues, but I can't remember, might be a good starting point though
<meizikyn> PAM by itself does not appear to have normal log files AFAICT
lopsided98 has quit [Quit: Disconnected]
jgt has joined #nixos
lopsided98 has joined #nixos
<meizikyn> like on my nixos, i have pam_mount entries via. `journalctl -xe`
mexisme_ has joined #nixos
jgt has quit [Ping timeout: 258 seconds]
mexisme_ has quit [Read error: Connection timed out]
mexisme_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
lstanley has joined #nixos
esmerelda has quit [Ping timeout: 258 seconds]
dansho has quit [Ping timeout: 245 seconds]
esmerelda has joined #nixos
Tiez has joined #nixos
InFlames has joined #nixos
iqubic has joined #nixos
jgt has joined #nixos
emily has quit [Quit: Updating details, brb]
emily has joined #nixos
jgt has quit [Ping timeout: 257 seconds]
o1lo01ol1o has joined #nixos
init_6 has joined #nixos
slack1256 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
lambda-11235 has joined #nixos
hyper_ch has quit [Quit: ZNC 1.7.3 - https://znc.in]
hyper_ch has joined #nixos
drakonis has quit [Quit: WeeChat 2.4]
Rusty1 has quit [Quit: Konversation terminated!]
<cizra> manveru: Thanks! I'll try too.
Lears has joined #nixos
[Leary] has quit [Ping timeout: 248 seconds]
zupo has joined #nixos
<cizra> manveru: Fails with "strip not found"
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
init_6 has quit []
jgt has joined #nixos
jgt has quit [Ping timeout: 257 seconds]
Mateon3 has joined #nixos
delan has quit [Ping timeout: 255 seconds]
Mateon1 has quit [Ping timeout: 252 seconds]
Mateon3 is now known as Mateon1
slack1256 has quit [Remote host closed the connection]
palo1 has joined #nixos
<lostman> is there an easy way to build a custom NixOS VM image with custom kernel?
palo has quit [Ping timeout: 252 seconds]
palo1 is now known as palo
<InFlames> does anyone know how to use bolt the thunderbolt device manager?
Miyu-chan has joined #nixos
hhefesto has quit [Remote host closed the connection]
hhefesto has joined #nixos
mexisme_ has quit [Ping timeout: 258 seconds]
Glider_IRC__ has joined #nixos
Glider_IRC_ has quit [Ping timeout: 255 seconds]
logzet has joined #nixos
jgt has joined #nixos
jgt has quit [Ping timeout: 258 seconds]
tv has quit [Ping timeout: 245 seconds]
lassulus has quit [Ping timeout: 255 seconds]
[Leary] has joined #nixos
tv has joined #nixos
lassulus has joined #nixos
Lears has quit [Ping timeout: 258 seconds]
endformationage has quit [Ping timeout: 246 seconds]
adamantium has joined #nixos
m0rphism has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
layus has quit [Remote host closed the connection]
layus has joined #nixos
jgt has joined #nixos
knupfer has joined #nixos
mexisme_ has joined #nixos
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jgt has quit [Ping timeout: 250 seconds]
<adamantium> question. A systemd-boot UEFI installation. Can I just move the disk to another computer, and expect it to boot right up, or is the boot entry not going to be shown by the bios?
Myhlamaeus has quit [Ping timeout: 252 seconds]
asheshambasta_m has joined #nixos
<rnhmjoj> adamantium: i think you'll probably need to write a boot entry using efibootmgr, but it's not too difficult
<adamantium> thats what i was thinking. it's too bad they made uefi to be that way
tbenst_ has joined #nixos
tbenst has quit [Ping timeout: 244 seconds]
<colemickens> That's not necessarily true.
<colemickens> Every UEFI implementation I've ever used has offered a boot menu entry for loaders in the default locations.
<colemickens> (without having installed an entry via efibootmgr, etc)
jgt has joined #nixos
<adamantium> colemickens: default locations -- does that mean your EFI partition should be mounted at /boot/EFI
<colemickens> Well, the UEFI won't know anything about where you're mounting in some OS that boots later.
<colemickens> It's more about that Grub and Systemd-boot will install to <esp>/some/path that UEFI system menus will look in by default.
<adamantium> i guess 'try and see' then
<colemickens> er, \EFI\BOOT\BOOTX64.EFI is the default, I think
<colemickens> I've never heard of a UEFI implementation that doesn't do what I'm discussing. I'm not sure they're allowed to omit this functionality.
<colemickens> Even TianoCore without the ability to even persist menu entries, will still boot the default location.
<adamantium> colemickens: yes, mine is /boot/EFI/BOOT/BOOTX64.EFI but my /boot is fat32 and efiSysMountPoint = "/boot";
<colemickens> Guess it's just a matter of if your BIOS will look on external devices, but that's usually just a config issue.
<colemickens> well, those are the defaults/standards, so that will be fine
lambda-11235 has quit [Quit: Bye]
<adamantium> thanks
<adamantium> I wasn't sure if it was standard or not
slack1256 has joined #nixos
alp has joined #nixos
dansho has joined #nixos
ee1943 has quit [Ping timeout: 252 seconds]
ee1943 has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
horner has quit [Quit: zzZzZzZzZZZzzz…]
mexisme_ has joined #nixos
st4ll1 has quit [Quit: ZNC 1.7.1 - https://znc.in]
st4ll1 has joined #nixos
linarcx has joined #nixos
domogled has quit [Ping timeout: 245 seconds]
domogled has joined #nixos
toppler`` has quit [Ping timeout: 258 seconds]
toppler`` has joined #nixos
<globin> joedevivo:
<globin> whoops
esmerelda has quit [Ping timeout: 255 seconds]
<Izorkin> flokli: found error in mysqlReplication - https://github.com/NixOS/nixpkgs/pull/51314#issuecomment-493660001
dansho has quit [Read error: Connection reset by peer]
dansho has joined #nixos
silver has joined #nixos
InFlames has quit [Ping timeout: 258 seconds]
horner has joined #nixos
logzet has joined #nixos
InFlames has joined #nixos
horner_ has joined #nixos
asheshambasta_m has quit [Quit: Leaving.]
horner has quit [Ping timeout: 246 seconds]
slack1256 has quit [Ping timeout: 245 seconds]
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
esmerelda has joined #nixos
adamantium has quit [Remote host closed the connection]
phaebz has joined #nixos
ottidmes has joined #nixos
Izorkin has quit [Ping timeout: 252 seconds]
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
__monty__ has joined #nixos
<yorick> the HP uefi implementation hardcoded only the windows loader, fun time
Ariakenom has joined #nixos
<__monty__> So no linux on HP?
thc202 has joined #nixos
<MichaelRaskin> Or only on the systems with Linux preinstalled…
<MichaelRaskin> (do they hardcode GRUB there?)
<ottidmes> Is there a way to protect the purity of my config against accidentally pointing to some file on the local file system (non local to the config directory)? --pure-eval would not catch these I believe, because they are just part of some strings without any context. I guess I could do some rigurous thing like checking for paths in the output paths in /nix/store
init_6 has joined #nixos
<Torus[m]> <ottidmes "Is there a way to protect the pu"> chmod ?
<tilpner> ottidmes: You could check purity by filtering nix-instantiate -v for "evaluating file" lines outside of the store
<tilpner> Which isn't really pretty, and might not catch local sources
<tilpner> For which you could use strace, but that's even worse
<tilpner> IIRC gchristensen had something for this, maybe
<ottidmes> tilpner: but that would not catch lines a hardcoded path in config files of applications, I had this for example with my nginx config defined in my NixOS config, where I referred to some absolute path outside of my NixOS config project
<tilpner> Not exactly what you meant
<tilpner> ottidmes: There is a restricted mode, which can be used to define which directories you can access
<tilpner> ottidmes: The bot uses it for safe evaluation
<ottidmes> tilpner: but that is again only restricting files within the Nix system, like when using import and whatnot, but it would not protect me from generating config files for my application that point to hardcoded paths outside of my NixOS configuration
<tilpner> > /etc/passwd
<tilpner> > "${/etc/passwd}
<tilpner> > "${/etc/passwd}"
<tilpner> I guess it's not here
<tilpner> I feel like restricted mode also protects against "${./config}"
<tilpner> But I don't know for sure, so check that
InFlames has quit [Ping timeout: 246 seconds]
knupfer has quit [Quit: knupfer]
<ottidmes> I meant more if I had some path not nixified, so just plain strings, e.g. in my NixOS configuration I had '' ... ssl_dhparam /wheel/proj/nixcfg/shared/config/nginx/dhparam.pem; ... ''; which hardcoded /wheel/proj/nixcfg
knupfer has joined #nixos
<tilpner> Oh
<tilpner> That's not visible to Nix at all, you'll need to do something custom for that
<ottidmes> yeah, was just wondering if someone had :)
<ottidmes> I am planning to convert my configuration to be completely pure now, so I am checking all impurities in my config at the moment. I will probably first do some scopedImport magic to mimic the behavior of --pure-eval, because having to commit / tarball on every change while actively working on your config is too painful
knupfer has quit [Ping timeout: 264 seconds]
phaebz has quit [Quit: ERC (IRC client for Emacs 26.1)]
adamantium has joined #nixos
Izorkin has joined #nixos
mexisme_ has quit [Ping timeout: 244 seconds]
rembo10_ has quit [Quit: ZNC 1.7.3 - https://znc.in]
rembo10 has joined #nixos
adamantium has quit [Quit: Konversation terminated!]
knupfer has joined #nixos
Ariakenom has quit [Quit: Leaving]
kloenk has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
vid has joined #nixos
phaebz has joined #nixos
<manveru> cizra: yeah, got a fix for that
freeman42x has joined #nixos
dne has quit [Remote host closed the connection]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
dne has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
troydm has joined #nixos
_ris has joined #nixos
linarcx has joined #nixos
fendor has joined #nixos
<infinisil> ottidmes: oh neat
<infinisil> ottidmes: You could always autocommit every change. I'm almost doing that already with my config
alexherbo25086 has joined #nixos
init_6 has quit []
alexherbo2508 has quit [Ping timeout: 255 seconds]
vid has quit [Ping timeout: 255 seconds]
phaebz has quit [Ping timeout: 252 seconds]
<manveru> cizra: i got tdm to build and execute, but it's missing all the assets i think... do i know where to get those?
talqu has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
alexherbo25086 has quit [Quit: The Lounge - https://thelounge.chat]
zupo has joined #nixos
romildo has joined #nixos
alexherbo2 has joined #nixos
zupo has quit [Ping timeout: 268 seconds]
ckoparkar has joined #nixos
civodul has joined #nixos
gchristensen has joined #nixos
fendor has quit [Read error: Connection reset by peer]
Glider_IRC__ has quit [Quit: Leaving]
ym555 has joined #nixos
horner_ has quit [Ping timeout: 244 seconds]
kisik21 has joined #nixos
<gchristensen> (question from kisik21
<gchristensen> (question from kisik21 ) http://dpaste.com/0KR6NT2 - I want to set an attribute from provided information. The "config.theming.fonts.sans.name" should be visible from another module and provide a string combining some info from the "config.theming.fonts.sans" submodule set in the same module, but... it gives me a cryptic error: "value is a string while a set was expected, at /nix/store/<...>-nixos-19.09pre<...>/nixos/lib/modules.nix:219:25"
<gchristensen> (continued) basically it's like that: 1) module imports theming.nix (the paste) 2) module sets theming.fonts.sans.* attributes 3) module expects theming.fonts.sans.name to contain a string set from theming.fonts.sans.* attributes 4) it doesn't seem to receive that string?
<kisik21> Thank you very much gchristensen
{^_^} has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/87f146a41c4 (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/87f146a41c4 (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/c86f09d2d93 (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/619492c03ec (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ccd94f56357 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/87f146a41c4 (from 18 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ccd94f56357 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
{^_^} has quit [Remote host closed the connection]
toppler`` has quit [Ping timeout: 258 seconds]
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
toppler`` has joined #nixos
{^_^} has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @risicle to master « libsass: add patch for CVE-2018-19827 (PR #61673) »: https://git.io/fj8BO
<{^_^}> [nixpkgs] @vcunat pushed commit from @risicle to release-19.03 « libsass: add patch for CVE-2018-19827 (PR #61673) »: https://git.io/fj8B3
<{^_^}> [nixpkgs] @vcunat closed pull request #61673 → libsass: add patch for CVE-2018-19827 → https://git.io/fj8Bs
miniBill has joined #nixos
hamishmack has joined #nixos
b has joined #nixos
<miniBill> So, I'm tring to build a cabal package from a specific git commit. I've done "cabal2nix https://github.com/elm/compiler.git --revision af2ea2b5baf6e47dcccca4385f6a773a981c6df2 > elm.nix" but when I try to build I get missing dependencies errors. When I tried using cabal2nix on the deps and overriding them... it still failed in the end saying that some packages depended on container 0.5.something some
<miniBill> others on 0.6.someotherthing
<miniBill> clues on how to proceed?
<tilpner> nix-repl> devices.kisik.config.theming.fonts.sans.name
<tilpner> "this is set from Liberation"
orivej has joined #nixos
<gchristensen> hey, orivej :) seems I haven't seen you on IRC in some time now
<tilpner> kisik21: Oh, if you need those in curl-able plaintext, tell me
<kisik21> tilpner: I'm in tty so plaintext would be cool
<tilpner> kisik21: They're plaintext now
<manveru> minibill: have you seen https://github.com/turboMaCk/nix-elm-tools ?
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
pie_ has joined #nixos
romildo has quit [Quit: Leaving]
<miniBill> manveru: thanks for the link, but I want to install a different version of the compiler itself, which is not packaged on npm (yet)
jgt has quit [Ping timeout: 248 seconds]
Ariakenom has joined #nixos
kisik21 has left #nixos ["ERC (IRC client for Emacs 26.2)"]
kisik21 has joined #nixos
kisik21 has quit [Remote host closed the connection]
meck has quit [Quit: WeeChat 2.4]
meck has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/82435a53e9a (from 26 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
mexisme_ has joined #nixos
<gchristensen> I'm doing magic tricks worthy of you, clever
phaebz has joined #nixos
linarcx has joined #nixos
mexisme_ has quit [Ping timeout: 255 seconds]
mmlb2 has joined #nixos
<pie_> gchristensen, do tell :D
mmlb has quit [Ping timeout: 248 seconds]
Nover[m] has joined #nixos
phaebz has quit [Ping timeout: 252 seconds]
srid has quit [Ping timeout: 255 seconds]
dansho has quit [Ping timeout: 246 seconds]
MmeQuignon has joined #nixos
jgt has joined #nixos
buffet_ is now known as buffet
linarcx has quit [Quit: WeeChat 2.4]
vid has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
srid has joined #nixos
dustinm has quit [Quit: Leaving]
ivan has quit [Quit: lp0 on fire]
wfranzini has quit [Remote host closed the connection]
dustinm has joined #nixos
wfranzini has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
ivan has joined #nixos
lovesegfault has quit [Ping timeout: 250 seconds]
lovesegfault has joined #nixos
vid has quit [Ping timeout: 258 seconds]
Izorkin has quit [Quit: ZNC 1.7.3 - https://znc.in]
Izorkin has joined #nixos
Izorkin has quit [Client Quit]
Izorkin has joined #nixos
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61300 → cpcfs: init at 0.85.4 → https://git.io/fjCNy
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj8BH
dansho has joined #nixos
fusion809 has quit [Remote host closed the connection]
mkoenig has joined #nixos
pie__ has joined #nixos
Qubasa has joined #nixos
pie_ has quit [Ping timeout: 252 seconds]
qubasa_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #61584 → racket: 7.2 -> 7.3 → https://git.io/fjlMN
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj8Re
<{^_^}> [nixpkgs] @marsam closed pull request #61587 → racket racket-minimal: 7.2 -> 7.3 → https://git.io/fjlDp
Glider_IRC has joined #nixos
esmerelda has quit [Ping timeout: 248 seconds]
alp has quit [Remote host closed the connection]
jgt has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
phaebz has joined #nixos
phaebz has quit [Ping timeout: 252 seconds]
goibhniu1 has joined #nixos
endformationage has joined #nixos
acarrico has joined #nixos
esmerelda has joined #nixos
phaebz has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/51cc0ed1461 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> [nixpkgs] @Lassulus merged pull request #61600 → whatstyle: init at 0.1.7 → https://git.io/fjlxj
<{^_^}> [nixpkgs] @Lassulus pushed commit from @dtzWill to master « whatstyle: init at 0.1.7 »: https://git.io/fj8Rr
MmeQuignon has quit [Ping timeout: 245 seconds]
phaebz` has joined #nixos
phaebz has quit [Ping timeout: 252 seconds]
<bodqhrohro_> Is there some analog of localepurge for Nix?
<cocreature> is there any documentation on flakes? I’ve seen the term mentioned in a few commits and issues but I’m utterly failing to find any documentation or more information on what they actually are.
<cocreature> tilpner: awesome, thank you!
<tilpner> bodqhrohro_: Nix/nixpkgs isn't the most space-efficient solution, do you need the extra disk space or do you want to do it just because you could elsewhere?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60944 → patchelfUnstable: 0.10-pre-20180509 -> 0.10-pre-20190328 → https://git.io/fj8RD
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj8Ry
goibhniu1 has quit [Ping timeout: 258 seconds]
<bodqhrohro_> tilpner: doing somewhere means I can theoretically do it anywhere :D Nothing prevents me from looping on /nix/store/**/share/locale/, right?
<tilpner> bodqhrohro_: Well, the store is usually mounted read-only, so yes, something prevents you from doing that
<tilpner> bodqhrohro_: And don't just remount it read-write either, that's against the spirit
<clever> bodqhrohro_: if you set i18n.supportedLocales, then nixos will trim the locales down while building nixos
<bodqhrohro_> clever: will I have to build everything from source that way?
<clever> nope
<{^_^}> [nixpkgs] @dywedir opened pull request #61674 → android-file-transfer: 3.7 -> 3.8 → https://git.io/fj8Rh
bgamari_ has quit [Ping timeout: 250 seconds]
bgamari has joined #nixos
jgt has joined #nixos
hyper_ch has quit [Quit: ZNC 1.7.3 - https://znc.in]
drakonis has joined #nixos
<Izorkin> How to fix build? source - https://pastebin.com/U7T0yz0p Error - Makefile:951: *** missing separator. Stop.
<clever> Izorkin: you want to use autoreconfHook, not autoregen
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b opened pull request #61675 → 389-ds-base: 1.3.5.19 -> 1.3.9.1 → https://git.io/fj80J
hyper_ch has joined #nixos
drakonis_ has quit [Ping timeout: 244 seconds]
jgt has quit [Ping timeout: 252 seconds]
drakonis has quit [Ping timeout: 250 seconds]
<miniBill> manveru: in the end I've clone nixpkgs and added to the patchlist
<Izorkin> clever: with autoreconfHook error - config.status: error: cannot find input file: `po/Makefile.in.in'
<clever> Izorkin: looks like they added extra junk to their autogen.sh script
acarrico has quit [Ping timeout: 245 seconds]
avn_ has joined #nixos
<gchristensen> is it possible to set a default `services.nginx.virtualHosts.<name>.extraConfig` ?
miniBill has quit [Quit: kthxbai]
<clever> Izorkin: you can use the preAutoreconf hook to put those extra things back in
nckx has quit [Read error: Connection reset by peer]
<clever> gchristensen: possibly by assigning to options.services.nginx.virtualHosts, giving it a submodule, that has a default extraConfig, but that may conflict due to defining extraConfig twice
<{^_^}> [nixpkgs] @marzipankaiser opened pull request #61676 → caffeine-ng: init at 3.4.2 (and setproctitle: 1.1.9 -> 1.1.10) → https://git.io/fj80G
michaelpj has quit [Quit: ZNC 1.7.1 - https://znc.in]
michaelpj has joined #nixos
nckx has joined #nixos
xok has joined #nixos
<xok> hello all..
<xok> I am trying to install something...
<xok> and this something is a perl library...
<gchristensen> interesting, clever
<xok> but when it builds the module the error comes up saying it can't find openssl/opensslv.h file..
<xok> openssl is installed...
<symphorien> ,libraries xok
<{^_^}> xok: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<xok> symphorien: I am doing a nixops deployment...
<xok> and this deployment builds several perl modules...
<xok> I tried doing: nix-shell -p openssl
<xok> but it didn't help..
esmerelda has quit [Ping timeout: 268 seconds]
<Izorkin> clever: added preAutoreconf = '' ls po/*.po | sed -e 's/.po//' | sed -e 's/po\///' > po/LINGUAS && intltoolize --force --automake''; - same error - missing separator. Stop.
justanotheruser has joined #nixos
esmerelda has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/cff7364526d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<symphorien> xok: add openssl to the buildInputs of the perl modeuls
<xok> this is the error I am getting...
freeman42x has joined #nixos
<clever> Izorkin: if you go back to your old code, what is line 951 of Makefile?
<xok> symphorien: thanks a lot, you were very helpful...
<Izorkin> clever: count lines Makefile - 923
<clever> 2019-05-18 12:10:04 < Izorkin> How to fix build? source - https://pastebin.com/U7T0yz0p Error - Makefile:951: *** missing separator. Stop.
<clever> Izorkin: your error mentions line 951
srid has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/cff7364526d (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
pie__ has quit [Ping timeout: 258 seconds]
<infinisil> gchristensen: Regarding defaults for submodules options, I recently answered something very similar for pam here: https://github.com/NixOS/nixpkgs/pull/49506#issuecomment-492852607
<Izorkin> clever: found in config/Makefile - @GSETTINGS_RULES@
<Izorkin> clever: and in log build ./configure: line 3239: GLIB_GSETTINGS: command not found
<gchristensen> infinisil: I am impressed those merge too :o
<gchristensen> thank you <3
<clever> Izorkin: try adding glib to the inputs?
<infinisil> :)
<gchristensen> btw the machine {^_^} runs on has bad ram, I'm moving services off. first up is search.nix.gsc.io, since it is the most ram hungry one.
<clever> eek!
dansho has quit [Ping timeout: 244 seconds]
toppler`` has quit [Ping timeout: 245 seconds]
<Izorkin> clever: thanks, i am trying glibc, not glib
<clever> Izorkin: glibc will always be available when building on linux
toppler`` has joined #nixos
phaebz` has quit [Remote host closed the connection]
xok has quit [Quit: Leaving.]
xok has joined #nixos
xok has quit [Client Quit]
xok has joined #nixos
xok has quit [Client Quit]
jgt has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #61679 → pythonPackages.zxcvbn-python: 4.4.24 -> 4.4.27 → https://git.io/fj80D
<Izorkin> there is such a package python3-slip-dbus ?
xok has joined #nixos
xok has quit [Client Quit]
drakonis has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f9f3d6b210f (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jgt has quit [Ping timeout: 252 seconds]
drakonis1 has quit [Ping timeout: 250 seconds]
<Izorkin> how to fix tis error - Traceback (most recent call last): File "firewall-config", line 25, in <module> import gi - mportError: No module named gi
romildo has joined #nixos
linarcx has joined #nixos
drakonis_ has joined #nixos
<symphorien> Izorkin: you need pygobject3 and wrapGappsHook, see https://nixos.wiki/wiki/Python#Gnome
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Lassulus merged pull request #56247 → gitAndTools.transcrypt: add dependencies → https://git.io/fj80p
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/fj80h
knupfer has joined #nixos
dashkal has joined #nixos
_ris has quit [Ping timeout: 258 seconds]
<Izorkin> symphorien: called without required argument 'wrapGappsHook'. In default.nix:1:1 wrapGappsHook added
<symphorien> wrapGAppsHook, rather, sorry
<Izorkin> https://pastebin.com/ekwmJSin - latest variant
<Izorkin> pygobject3 added
<symphorien> you don't have wrapGappsHook.
<{^_^}> [nixpkgs] @volth closed pull request #61650 → [for ofborg] #61631 variation → https://git.io/fj8Ef
<symphorien> also, use buildPythonApplication instead
<{^_^}> [nixpkgs] @miniBill opened pull request #61680 → Elm: fix "Map.! when compiling with --debug" → https://git.io/fj8EJ
<symphorien> see 9.14.2.2.2 in the nixpkgs manual
fendor has joined #nixos
<gchristensen> infinisil: I get «building all machine configurations... error: The option `security.acme.certs' in `/nix/store/j9k3hwrvcnd28dkl03zcxx5xwawayl5x-nixexprs.tar.xz/nixos/modules/security/acme.nix' is already declared in `/home/grahamc/projects/github.com/grahamc/network/network.nix'.» with https://gist.github.com/grahamc/281f8f235837f683f25c08f4934d84c1 -- any thoughts?
ambro718 has joined #nixos
fendor_ has joined #nixos
fendor_ has quit [Remote host closed the connection]
<ambro718> I booted the armv7 image on raspberry pi 2, it went well until some point when the screen went black, there were some drm-related messages just earlier.
<ambro718> can I at least ssh into it somehow?
horner has joined #nixos
<tilpner> gchristensen: Try attrsOf
<gchristensen> d'oh
<gchristensen> thank you...!
detran has quit [Ping timeout: 255 seconds]
<gchristensen> dang. I went over the rate limit for LE.
linarcx has quit [Quit: WeeChat 2.4]
<tilpner> That's why I back up my certs too :/
linarcx has joined #nixos
nullher0es has quit [Quit: WeeChat 2.4]
romildo has quit [Quit: Leaving]
<gchristensen> I *think* I will be able to try again in about 30min.
srid has joined #nixos
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #61681 → compton-git: 5.1-rc2 -> 6.2 → https://git.io/fj8Es
* tilpner thought it was a week
detran has joined #nixos
<mkoenig> hi. what's the best way to manage haskell dependencies in a haskell project in a declarative way, without calling cabal2nix manually?
drakonis has joined #nixos
<clever> mkoenig: callCabal2nix is one option
<{^_^}> [nixpkgs] @c0bw3b closed pull request #19183 → dunst service: init [wip, stalled] → https://git.io/vPmC4
pie_ has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60978 → guile-lib: 0.2.2 -> 0.2.6.1 → https://git.io/fj8EV
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « guile-lib: 0.2.2 -> 0.2.6.1 (#60978) »: https://git.io/fj8Ew
polman has quit [Ping timeout: 255 seconds]
ckoparkar has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
kai_w has joined #nixos
hhefesto has quit [Read error: No route to host]
pie_ has quit [Ping timeout: 248 seconds]
selfsymmetric-mu has quit [Remote host closed the connection]
<infinisil> gchristensen: tilpner: Now that LE supports wildcard certs, it would be cool if the NixOS module supported that
<tilpner> infinisil: Someone put that down as planned in some Discourse thread
* tilpner is very specific
<infinisil> Nice to know :D
pie_ has joined #nixos
<mkoenig> clever: thanks! for others who might wanna know https://www.tpflug.me/2019/01/14/haskell-nix-vim/#nixifying-your-project
<clever> mkoenig: https://github.com/input-output-hk/proposal-ui/blob/master/default.nix and the shell.nix nearby is how i handle things
<DigitalKiwi> https://nixos.wiki/wiki/NixOS_on_ZFS#Unlock_encrypted_zfs_via_ssh_on_boot when I do it like this I currently have to run a bunch of commands to generate the dropbear each time I nixos-rebuild after a boot, how can I avoid that?
iqubic has quit [Ping timeout: 252 seconds]
<clever> mkoenig: the only variables, are the name of the cabal file, and the nixpkgs rev, and that is far more compact then what cabal2nix generates
<DigitalKiwi> first time after a reboot*
polman has joined #nixos
<tilpner> DigitalKiwi: Which commands?
<DigitalKiwi> # $ nix-shell -p dropbear --command "dropbearkey -t ecdsa -f /tmp/initrd-ssh-key" <-- that but /tmp/ isn't right I either have to move it or put it in a different spot
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
<tilpner> DigitalKiwi: Just put the key into persistent storage, and you won't have to regenerate it every time
<tilpner> Yes, it will be world public
<DigitalKiwi> https://dpaste.de/0Qys this is what i currently run first
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #61683 → x264: 20170731-2245 -> 20190517-2245; add myself as maintainer → https://git.io/fj8EQ
<obadz> any way to get nix build to print more info? logs of running builds, ETAs? how much stuff will get built vs just downloaded, etc?
<DigitalKiwi> tilpner: where's a good place to put them?
<tilpner> DigitalKiwi: I put them next to that module, which is... not great. But at least I don't have to regenerate them every time
<DigitalKiwi> hmm i just had an idea
pie_ has quit [Ping timeout: 258 seconds]
<mkoenig> clever: error 404
<clever> mkoenig: oh right, private repo
<gchristensen> obadz: Nix master has a flag to show build logs
<DigitalKiwi> tilpner: https://gist.github.com/Kiwi/354ca9c133dd8953726c5ccf5a8a6b4f i could do something like this with what's in that other paste >.>
drager has joined #nixos
<mkoenig> clever: ty
<drager> Hi, I can't install steam on NixOS 19.03. What's up? Error log: https://dpaste.de/49m0
<clever> drager: you need to update your channel
polman has quit [Ping timeout: 255 seconds]
<drager> clever: Alright, will try that. Thanks!
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<drager> clever: Seems to work. Thanks!
<drager> Btw, how do I install things that doesn't exist in nixpkgs? I mean, I have downloaded a tar.gz with a bin etc. How would I install that?
<clever> drager: youll want to write a derivation that will patchelf it
<genesis> quick answer : write some shell.nix with runtime dependancies in it.
<drager> clever: Any docs on how do to that? Or should I just look at a package at nixpkgs?
<clever> drager: its in the nixpkgs manual
<drager> Ok, so using stdenv. Thanks
nly has joined #nixos
<symphorien> drager: building from source is usually easier
<obadz> gchristensen: does it basically go back to nix-build or is it nicer?
capnp has joined #nixos
<gchristensen> nicer
<gchristensen> a PR is in fo rcolorized output
MmeQuignon has joined #nixos
jgt has joined #nixos
<drager> symphorien: Won't stdenv.mkDerivation do that?
<capnp> Hello. When I run `nix-store -q --roots <path>` the output is "{memory:17}" what does it mean?
<{^_^}> [nixpkgs] @alyssais opened pull request #61684 → ruby: --disable-rubygems for baseruby → https://git.io/fj8uZ
<clever> capnp: a running process is refering to it
<capnp> is there a way to figure out which one?
<clever> capnp: strace nix-store, as root
<capnp> thats very hacky
<clever> capnp: yeah, its not simple
knupfer has quit [Ping timeout: 264 seconds]
<clever> capnp: what path are you doing a query on?
npmccallum has quit [Quit: npmccallum]
<capnp> I just found out that I have 3 copies of ffmpeg in store even after "nix-collect-garbage -d"
<drager> What would be the recommended way to get nvidia drivers?
<capnp> so I'm trying to remove it
<clever> capnp: can you put all 3 into a pastebin, along with the nix-store -q --roots output fo each?
jgt has quit [Ping timeout: 248 seconds]
<capnp> yes I can, give me a minute
<bodqhrohro_> Should I modify ~/.nix-profile/manifest.nix manually or via some CLI tool? It's minified, which probably means something.
Glider_IRC_ has joined #nixos
<clever> bodqhrohro_: you cant modify it, its read-only
<clever> bodqhrohro_: the only way to edit it is with the nix-env command, which creates copies
nD5Xjz has joined #nixos
nD5Xjz_ has quit [Ping timeout: 244 seconds]
<drager> tilpner: Thanks
Glider_IRC has quit [Ping timeout: 245 seconds]
Tiez has quit [Quit: WeeChat 2.4]
<capnp> clever: they are all the same http://dpaste.com/27EFDM3.txt
<clever> capnp: is ffmpeg running? or anything that links to ffmpeg? or a nix-shell is open?
<clever> capnp: simplest solution i can think of is to just reboot
<clever> capnp: then everything that is currently running, wont be!
work_ has joined #nixos
<clever> and with no other roots, nothing can find ffmpeg
<capnp> no ffmpeg is not running, and there shouldnt be any shells open
<capnp> so this is strange
<clever> capnp: it can also be in the closure of something else, that has a storepath in $PATH or any other env var
work_ has quit [Client Quit]
<clever> why-depends doesnt work for memory references, so you cant use that to figure it out
<clever> --query --roots would have to be modified to give more data
<capnp> i'll try to reboot and see what happens
capnp has quit [Remote host closed the connection]
drager has quit [Quit: WeeChat 2.4]
capnp has joined #nixos
<clever> capnp: update?
<capnp> after reboot gc collected 1GB of stuff and all ffmpegs are gone
<clever> :D
<capnp> but it would be nice if it wasn't necessary to reboot when you want to remove stuff
<clever> capnp: if you knew what process was to blame, you can just stop it
shabius has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @markuskowa merged pull request #61630 → molden: 5.9.5 -> 6.1 → https://git.io/fj8uV
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fj8uw
<capnp> if only it could tell me which one)
linarcx has quit [Quit: WeeChat 2.4]
<infinisil> clever: capnp: Wouldn't `sudo lsof /nix/store/...` have shown what process was using it?
<clever> infinisil: not if its in the closure of an unrelated path, that is in use
<clever> capnp: which paths it deleted (that arent ffmpeg) would say what was to blame
<infinisil> Oh right, then probably `nix-store -q --referrers` combined with lsof on each of them could've worked
polman has joined #nixos
<capnp> clever: here is full log http://dpaste.com/2X15C76.txt
ambro718 has quit [Quit: Konversation terminated!]
<capnp> but it's probably hard to find a single process that would use all of that
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61674 → android-file-transfer: 3.7 -> 3.8 → https://git.io/fj8Rh
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj8uK
<clever> capnp: qt, cairo, other misc things
<capnp> for example there is a wireshark-qt in the list, but I definitely wasn't running it
jb55 has quit [Ping timeout: 258 seconds]
<clever> capnp: but something was (somehow) (indirectly) refering to it
<{^_^}> [nixpkgs] @marsam merged pull request #58441 → postgresqlPackages.pipelinedb: init at 1.0.0-13 → https://git.io/fjUdi
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj8uX
qualiaqq has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b closed pull request #15648 → libcef: init at 51.0.2704.47-1414 → https://git.io/vrw4S
Miyu-chan has quit [Read error: Connection reset by peer]
sveitser1 has quit [Ping timeout: 276 seconds]
sveitser1 has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b closed pull request #25858 → mawled: init at 20170517 → https://git.io/v9xov
<manveru> lsof +D is cool :)
<clever> neat
<cizra> manveru: from the packaged game distro
<cizra> manveru: what's the fix for strip? Share thy scripts!
<manveru> cizra: at that point... wouldn't it be simpler to patchelf the game?
<manveru> ah, sure
<cizra> manveru: not third as cool
<manveru> it builds fine, but if you figure out how to get the assets in there, i'd be super happy :)
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<manveru> also seems like it needs a default.cfg file in the current directory
<manveru> but that can be empty
<cizra> default.cfg is in assets, I think
selfsymmetric-mu has joined #nixos
polman has quit [Ping timeout: 255 seconds]
reinhardt has joined #nixos
MmeQuignon has quit [Ping timeout: 255 seconds]
sm has joined #nixos
gxt has quit [Ping timeout: 250 seconds]
linarcx has joined #nixos
polman has joined #nixos
<sm> g'day all
<sm> why am I constantly seeing "SSH remote key was not ok" errors from nix-env ?
<clever> sm: do you have any ssh based binary caches in nix.conf?
<sm> clever: I have used nix only for simple installing and don't know.. where is that again ?
<clever> sm: /etc/nix/nix.conf
<sm> doesn't apply to my setup I think. I install nix-env on a mac
<clever> sm: you can also run `nix show-config` to just print the result of reading the config
pie_ has joined #nixos
<sm> thanks. No mention of "ssh" in there
<clever> sm: can you pastebin the whole content of `nix show-config` ?
jb55 has joined #nixos
capnp has quit [Remote host closed the connection]
<clever> sm: anything in /etc/nix/machines ?
<sm> I have no /etc/nix or /usr/local/etc/nix
mexisme_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/96e513df825 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
<clever> sm: cant think of the cause then
mexisme_ has quit [Ping timeout: 268 seconds]
<sm> ok, thanks
Anton-Latukha has joined #nixos
nly has quit [Quit: Quit]
Qubasa has quit [Ping timeout: 258 seconds]
toppler`` has quit [Ping timeout: 268 seconds]
<cizra> manveru: I wonder if the tdm-updater could be run during installation to fetch the assets.
Qubasa has joined #nixos
toppler`` has joined #nixos
domogled has quit [Ping timeout: 258 seconds]
MrUpload1000[m] has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/cff7364526d (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<cizra> If I ask for xlib in buildInputs in my shell.nix, I get error: cannot coerce a set to a string - yet the same works fine in nix-build's default.nix. How to fix?
<clever> > xlib
<{^_^}> undefined variable 'xlib' at (string):253:1
<clever> > xlibs
<{^_^}> { appres = <CODE>; bdftopcf = <CODE>; bitmap = <CODE>; callPackage = <CODE>; editres = <CODE>; encodings = <CODE>; fontadobe100dpi = <CODE>; fontadobe75dpi = <CODE>; fontadobeutopia100dpi = <CODE>; fo...
<clever> cizra: and that is a set of all xorg packages
<cizra> clever: https://paste.ee/p/mhWmK -- that's what I get
<Ralith> clever: I think the question is why sometimes you need to go through xlibs and sometimes its contents are already implicitly available
<clever> cizra: you want an attribute of xlibs, so xlibs.something
<cizra> clever: Can I have xlibs.everything?
<clever> cizra: [ things ] ++ (lib.attrValues xlibs);
<clever> that will return every value on the set
<clever> including things like xf86-video-tga-1.2.2 that are flagged as broken
<cizra> ooops :) OK, thanks
<clever> nix repl '<nixpkgs>'
<clever> you can tab-complete xlibs. in here, to see whats inside it
Anton-Latukha has quit [Quit: Leaving.]
<clever> > xlibs.libX11
<{^_^}> "<derivation /nix/store/gsf8lcjw2pq5x2gdd5alpy7c9yrv8daa-libX11-1.6.7.drv>"
MmeQuignon has joined #nixos
<cizra> Thanks, that's useful
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<cizra> How does dlopen work on NixOS - what's it search path?
<clever> cizra: whatever LD_LIBRARY_PATH is set to
<slabity> Isn't it just LD_LIBRARY_PATH?
<clever> it may also obey the rpath on the ELF, but patchelf will shrink the rpath automatically, breaking that
<cizra> ooh, right!
alp has joined #nixos
<clever> and then you have wrapProgram, which can replace a binary, with a bash script that exports vars, then runs the original binary
jgt has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b closed pull request #24855 → added macOS compatibility to portmidi-3.17 → https://git.io/vSysH
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b closed pull request #25184 → python/wrapper.nix: Don't try to wrap pyc files → https://git.io/v9LI0
jgt has quit [Ping timeout: 252 seconds]
slack1256 has joined #nixos
reinhardt has quit [Quit: Leaving]
<cizra> Mmm, OK. I nix-built a game (The Dark Mod) using manveru's fine script @ https://www.irccloud.com/pastebin/CWzqYTi6/thedarkmod.nix , but it can't dlopen libGL.so.1 unless I run it like: LD_LIBRARY_PATH=/nix/store/7jfdw9nr6dxhj71g2l1yqzqpq0f40bsa-libGLU-combined/lib:$LD_LIBRARY_PATH thedarkmod
<sm> upgrading nix from 2.2.1 to 2.2.2 seems to have fixed my connectivity problem
<cizra> manveru: when I do, it works perfectly, assets n' all. I ran it from my usual directory.
<manveru> usual directory?
<clever> $ echo $LD_LIBRARY_PATH
<clever> /run/opengl-driver/lib:/run/opengl-driver-32/lib
<infinisil> cizra: Can you try `LD_LIBRARY_PATH=/run/opengl-driver/lib:$LD_LIBRARY_PATH thedarkmod`?
<clever> cizra: this is where libGL is usually found
shabius has joined #nixos
<manveru> cizra: that's what i get here: https://www.irccloud.com/pastebin/KVECCvVN/
<manveru> so i'm still not sure where i should be getting this "darkmod" directory from
<cizra> infinisil: That LD_.. is already present by default, but doesn't contain libGL.so.1 (it contains various other NVidia-specific things)
<manveru> cizra: are you non nixos?
<cizra> manveru: yeah, it's the unpacked binary distribution, but running NixOS-specific self-compiled thedarkmod
<clever> some video drivers lack libGL for weird reasons
<cizra> manveru: Also, if you decided to name the package "tdm", the binary ought to be "tdm" as well.
<manveru> i just came up with a name :P
<manveru> you wanted to package it
<{^_^}> [nixpkgs] @matthewbauer closed pull request #61583 → [wip] nixos/lxd-container.nix: init → https://git.io/fjlXP
Copenhagen_Bram has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @matthewbauer pushed 0 commits to ryantrinkle/ledgerblue-0.1.17: https://git.io/fj8zb
MrUpload1000[m] has left #nixos ["User left"]
Miyu-chan has joined #nixos
<cizra> OK, so having libGLU_combined in LD_LIBRARY_PATH fixes my issue, let's add it to dependencies. However, _despite_ nix repl '<nixpkgs>' tab-completing libGLU_combined, I cannot add it (nor libGLU) to buildInputs[].
<{^_^}> [nixpkgs] @matthewbauer merged pull request #61169 → static: set default_library flag for meson in makeStaticLibrary → https://git.io/fjcpd
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fj8zp
<manveru> in case you needed that
<manveru> i think that might download my assets
horner has quit [Remote host closed the connection]
Copenhagen_Bram has joined #nixos
ddellacosta has joined #nixos
<cizra> manveru: 1) tdm_update downloads stuff. 2) the game itself downloads stuff. How can we reconcile this with file permissions in Linux? Set the executables as sgid and have a group-writeable directory?
_e has quit [Quit: WeeChat 2.4]
_e has joined #nixos
mexisme_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @0xflotus opened pull request #61685 → fixed small error → https://git.io/fj8gs
_e has quit [Client Quit]
knupfer has joined #nixos
domogled has joined #nixos
_e has joined #nixos
<cizra> Let's suppose we create a package for tdm_update, then another package for tdm that depends on tdm_update and runs it in a post-build step, and it ends up in NixOS official repos -- will it spam up the binary cache? The assets seem to be 3.6 gigabytes.
schneid3306 has joined #nixos
domogled has quit [Ping timeout: 258 seconds]
<cizra> manveru: You're correct - the buildscript works fine and running tdm_update in an empty dir is acutally the official way of getting the assets.
gchristensen has quit [Quit: Connection closed for inactivity]
drager has joined #nixos
jgt has joined #nixos
<drager> When I use videoDrivers = [ "nvidiaLegacy940" ]; together with resolutions = [ { x = 1920; y = 1080; } ]; the resolutions doesn't apply. Any idea why?
Xal has quit [Ping timeout: 258 seconds]
Matthieu_ has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer closed pull request #40679 → [wip] programs/nix-index.nix: init module → https://git.io/vpN11
<{^_^}> [nixpkgs] @matthewbauer merged pull request #59754 → Cleanup; Remove old patches → https://git.io/fjYwo
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/fj8gu
schneid3306 has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @c0bw3b closed pull request #31880 → arangodb: Add a NixOS service → https://git.io/vF5lA
MmeQuignon has quit [Ping timeout: 246 seconds]
jgt has quit [Ping timeout: 250 seconds]
drager has quit [Quit: WeeChat 2.4]
jgt has joined #nixos
Xal has joined #nixos
drager has joined #nixos
<{^_^}> [nixpkgs] @georgewhewell opened pull request #61686 → broadcom_sta: fix build on linux-5.1 → https://git.io/fj8gM
slowz has quit [Quit: ZNC 1.7.3 - https://znc.in]
jgt has quit [Ping timeout: 248 seconds]
dansho has joined #nixos
mexisme_ has joined #nixos
Miyu-chan has quit [Ping timeout: 246 seconds]
<clever> cizra: thats a case where i would set meta.hydraPlatforms = [];
<clever> cizra: that will prevent hydra from ever building it
ddellacosta has quit [Ping timeout: 244 seconds]
<clever> cizra: if something is purely a bandwidth task and has no computation to it, then its best to do on the client end, and not cache it
ddellaco1 has joined #nixos
Myhlamaeus has joined #nixos
<{^_^}> [nixpkgs] @erictapen opened pull request #61687 → opensc: fix cross compilation → https://git.io/fj8gj
linarcx has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @c0bw3b closed pull request #30824 → Packaging cope → https://git.io/vFJOq
<{^_^}> [nixpkgs] @c0bw3b closed pull request #30916 → ungoogled-chromium: init at 58.0.3029.110-1 → https://git.io/vFIQP
polman has quit [Ping timeout: 255 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #61685 → fixed small error → https://git.io/fj8gs
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @0xflotus to master « Update haskell.section.md (#61685) »: https://git.io/fj82k
drager has quit [Ping timeout: 258 seconds]
_ris has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b closed pull request #30571 → modex: add modex analysis tool package → https://git.io/vd74l
knupfer has quit [Ping timeout: 252 seconds]
ddellaco1 has quit [Ping timeout: 250 seconds]
BuGless1 has joined #nixos
BuGless has quit [Read error: Connection reset by peer]
ddellaco1 has joined #nixos
mexisme_ has quit [Ping timeout: 245 seconds]
nD5Xjz has quit [Ping timeout: 258 seconds]
selfsymmetric-mu has joined #nixos
Orbstheorem has quit [Ping timeout: 248 seconds]
JustAnotherNixUs has joined #nixos
nD5Xjz has joined #nixos
ardumont has quit [Ping timeout: 252 seconds]
jgt has joined #nixos
ng0 has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
ardumont has joined #nixos
work_ has joined #nixos
talqu has quit [Remote host closed the connection]
ddellaco1 has quit [Ping timeout: 245 seconds]
<JustAnotherNixUs> Hey, so for the nix package manager, when using substituters, is it possible for one cache to override the other? I added a additional binary cache, but now when I try and download things, it seems to only use the new one
ddellaco1 has joined #nixos
<tilpner> JustAnotherNixUs: That's the default, it prefers one, but falls back to the other ones if it's not in the first one
<JustAnotherNixUs> Huh, how many attempts will it try before falling back?
<tilpner> I don't know
fusion809 has joined #nixos
fenedor has joined #nixos
ddellaco1 has quit [Ping timeout: 258 seconds]
ddellaco1 has joined #nixos
fendor has quit [Ping timeout: 258 seconds]
ddellaco1 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61644 → lightdm: 1.28.0 -> 1.30.0 → https://git.io/fj82x
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @dtzWill to master « lightdm: 1.28.0 -> 1.30.0 »: https://git.io/fj82p
<clever> Priority: 40
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
<clever> JustAnotherNixUs: if 2 caches have the same file, then it will use the priority of the cache to decide where to get it
gentauro has quit [Read error: Connection reset by peer]
<clever> JustAnotherNixUs: also, double-check `nix show-config | grep substituters` to make sure its actually using 2
<tilpner> Oh, good point
gentauro has joined #nixos
ddellacosta has joined #nixos
<immae> Hello there, does someone know how quicklisp packages work in nixpkgs? I have pgloader in pkgs/development/lisp-modules/quicklisp-to-nix-output/pgloader.nix but it’s not referenced in the main set nor anywhere else, so I’m a bit lost as to how to use it
<JustAnotherNixUs> Hmmm, alright, I dooo seem to have two entries yeah
<{^_^}> [nixpkgs] @xaverdh opened pull request #61688 → android-file-transfer: fix hash of version 3.8 → https://git.io/fj8am
ddellaco1 has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/66c091c52c2 (from 24 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<clever> immae: looks like somebody forgot to add it to pkgs/development/lisp-modules/quicklisp-to-nix.nix
<immae> Is it that simple?
<immae> Ah right, seems so
<immae> Thanks clever
jgt has joined #nixos
<clever> immae: checking `git log --patch`, i can see the following:
<clever> lispPackages: drop pgloader that leads to a circular depedency
<clever> commit cd7bfa6f48295f361c691a7520fb122938bd2a68
<clever> immae: it was removed, about a year ago
<immae> ah, so on purpose then
<clever> so its actually the reverse
<clever> they half removed it, and missed a file
ddellacosta has quit [Ping timeout: 268 seconds]
<clever> you could try undoing the change in quicklisp-to-nix-systems.txt, and then rebuild things and see what happens
<immae> I’m a bit puzzled how an "final program" can provoke a circular dependency though
<immae> I’ll try that yes, thanks
jgt has quit [Ping timeout: 250 seconds]
jgt has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
polman has quit [Ping timeout: 255 seconds]
Matthieu_ has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ec49cf3a416 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
fenedor has quit [Read error: Connection reset by peer]
dftxbs3e has joined #nixos
acarrico has joined #nixos
mbrgm_ has joined #nixos
ddellaco1 is now known as ddellacosta
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
Matthieu_ has joined #nixos
jluttine has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @neilmayhew opened pull request #61689 → nixos/modules: Ensure the colord user is a system user → https://git.io/fj8ai
thc202 has quit [Ping timeout: 252 seconds]
<immae> clever: end of story, postmodern is a dependency of s-sql, which is itself a dependency of postmodern :(
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @Kjuvi to master « ephemeral: init at 5.1.0 »: https://git.io/fj8a1
<{^_^}> [nixpkgs] @worldofpeace closed pull request #61665 → ephemeral: init at 5.1.0 → https://git.io/fj8aM
toppler`` has quit [Ping timeout: 246 seconds]
simukis_ is now known as nagisa
nagisa is now known as simukis_
jgt has joined #nixos
ddellacosta has quit [Ping timeout: 258 seconds]
ddellacosta has joined #nixos
ddellacosta has quit [Client Quit]
ddellacosta has joined #nixos
toppler`` has joined #nixos
<clever> immae: see if something in that cycle is optional and can be disabled?
<immae> I tried already
jgt has quit [Ping timeout: 252 seconds]
<immae> they’re actually both from https://github.com/marijnh/Postmodern and I suppose they can be installed somehow "simultaneously" usually, which nix cannot (and I don’t speak enough lisp to debug that)
<immae> (postmodern is a super-package containing s-sql, and s-sql has an explicit dependency in postmodern)
m0rphism has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed to master « ephemeral: add glib-networking »: https://git.io/fj8a9
ddellacosta has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
jluttine has joined #nixos
drakonis1 has joined #nixos
drakonis_ has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61689 → nixos/modules: Ensure the colord user is a system user → https://git.io/fj8ai
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj8aj
<{^_^}> [nixpkgs] @rycee opened pull request #61692 → Vscode haskell → https://git.io/fj8Ve