gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || 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
<gchristensen> the one counting the changed outputs counts changed outpaths ... it is smarter :p
obadz has quit [Ping timeout: 256 seconds]
* infinisil is confused
obadz- is now known as obadz
philippD has joined #nixos
sk8forether has quit [Quit: Connection closed for inactivity]
acarrico has joined #nixos
fragamus has joined #nixos
<gchristensen> the "10.rebuild-darwin-stdenv" tag is added f the drv changes
<gchristensen> the "10.rebuild-darwin: 1-10" tag counter is based on outPath
* infinisil is a bit less confused
<infinisil> Eh whatever, now is not the time to be confused
<infinisil> Because I'm going to sleep now, good night :)
<worldofpeace> Is it normal for the nixos.tests.installer.* to just fail all randomly(on hydra.nixos.org)?
<worldofpeace> Like IO errors. write errors. filesystem errors?
tenten8401_ has quit [Ping timeout: 260 seconds]
blonkhart has quit [Ping timeout: 264 seconds]
acarrico has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 260 seconds]
stepcut has joined #nixos
andymandias has quit [Ping timeout: 260 seconds]
freeman42x[nix] has joined #nixos
andymandias has joined #nixos
stepcut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @fmenou opened pull request #42688 → terraform: update all providers → https://git.io/f4dAT
jackdk has joined #nixos
silver_ has joined #nixos
stepcut has joined #nixos
tmaekawa has joined #nixos
Jason_Gr` has quit [Quit: ERC (IRC client for Emacs 26.1)]
tmaekawa has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42689 → mpage: 2.5.6 -> 2.5.7 → https://git.io/f4dAc
silver has quit [Ping timeout: 240 seconds]
<worldofpeace> It seems to only fail when it's on a certain machine... Yeah that makes sense.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42690 → marp: 0.0.12 -> 0.0.13 → https://git.io/f4dAE
mahalel_ has joined #nixos
obadz has quit [Ping timeout: 256 seconds]
muzzy has joined #nixos
<muzzy> Has anybody got discord to work on 18.03?
adam-6520493 has quit [Quit: The Lounge - https://thelounge.github.io]
hoshineko has joined #nixos
adam-6520493 has joined #nixos
obadz has joined #nixos
<worldofpeace> What's the error?
<muzzy> worldofpeace, well it seems to install fine, but it installs the wrong version, and asks me to download a deb to update
<muzzy> basically the package isnt updated
ericsagnes has joined #nixos
blonkhart has joined #nixos
<worldofpeace> https://github.com/NixOS/nixpkgs/issues/40564 <--- It seems any time there's an update it does this. I'll pr the update and backport it to 18.03. hopefully the channel will advance quick enough for you to get it soon.
<bgamari> Does anyone have a nix expression for postgrest?
<ajmccluskey> Is this the right place for a nixops question? #nixops doesn't seem like it's thriving.
blankhart has joined #nixos
<muzzy> worldofpeace: thanks, I wish I could figure out how to make a diy package for nix. I need to spend more time with this OS.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42691 → mate.mozo: 1.20.0 -> 1.20.1 → https://git.io/f4dAx
hoshineko has left #nixos [#nixos]
<worldofpeace> It seems the stable version is 0.0.5. Which is the same as it is in tree... What version do you have installed?
lord| has quit [Ping timeout: 240 seconds]
<worldofpeace> I think you can get it if you run `discord -v` or look for it under the help menu `discord --help` - In a terminal
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42692 → lynis: 2.6.4 -> 2.6.5 → https://git.io/f4dxI
sk8forether has joined #nixos
<muzzy> hold on I'm having trouble, it wasnt working earlier
lord| has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42693 → libndctl: 60.3 -> 61.1 → https://git.io/f4dxm
thc202 has quit [Ping timeout: 268 seconds]
andreabedini has joined #nixos
mahalel_ has quit [Quit: Leaving.]
<muzzy> hmm, how can I update discord? Am I just forgetting something? I thought the package should update automatically
<muzzy> still on 0.0.4
i0-dfn has quit [Quit: No Ping reply in 180 seconds.]
<worldofpeace> Ahh, how did you install it? with `nix-env -iA nixos.discord` or in your `configuration.nix` ?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42694 → nftables: 0.8.5 -> 0.9.0 → https://git.io/f4dxP
i0-dfn has joined #nixos
<muzzy> in my configuration.nix
<tnks> I just thought I'd try out ghc843, and noticing that a lot of stuff isn't cached in Hydra (maybe all of it?)
<tnks> Does anyone know the story there? Is there a better way to keep up on these things beyond asking here?
<worldofpeace> muzzy: Then you need to run `sudo nixos-rebuild switch --upgrade` this build other things because this change happened a month ago.
alexteves has quit [Remote host closed the connection]
<tnks> I guess Stackage's LTS is still on 8.2.2. Maybe for work it's best to stay there if some packages haven't been updated by upstream authors.
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42695 → mate.mate-utils: 1.20.0 -> 1.20.1 → https://git.io/f4dps
<worldofpeace> muzzy: https://hastebin.com/tasoceroqe.bash <-- You should add this to your config. It will make it so upgrades run(weekly) without you attending to them.
obadz has quit [Ping timeout: 245 seconds]
obadz has joined #nixos
<muzzy> oh my gosh I completely forgot about that
<muzzy> thanks for the script
<worldofpeace> it's not a script. It should be in your `configuration.nix`. Make sure to run the rebuild with it or the changes won't actually be made.
asuryawanshi has joined #nixos
mahalel_ has joined #nixos
<muzzy> I was confused, since it was a .bash (but not really). Thanks so much, this would have confused me for the longest time
silver_ has quit [Read error: Connection reset by peer]
dnovosel has joined #nixos
tertle||eltret has joined #nixos
<worldofpeace> muzzy: You`re welcome
chessai has quit [Ping timeout: 276 seconds]
newhoggy_ has quit [Remote host closed the connection]
newhoggy has joined #nixos
newhoggy has quit [Remote host closed the connection]
newhoggy has joined #nixos
<ldlework> What does it mean when nixops says "resource ‘wharf-keypair’ is obsolete" ?
dbmikus_ has joined #nixos
newhoggy has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42696 → languagetool: 4.1 -> 4.2 → https://git.io/f4dhr
ldlework has quit [Ping timeout: 256 seconds]
dbmikus_ has quit [Ping timeout: 240 seconds]
Jason_Grossman has joined #nixos
muzzy_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42697 → libguestfs: 1.38.0 -> 1.38.2 → https://git.io/f4dhS
muzzy has quit [Ping timeout: 256 seconds]
wgas has quit [Quit: Leaving]
ldlework has joined #nixos
mahalel_ has quit [Quit: Leaving.]
slyfox has quit [Ping timeout: 256 seconds]
slyfox has joined #nixos
aarvar has left #nixos [#nixos]
fresheyeball has joined #nixos
Jason_Grossman has quit [Ping timeout: 256 seconds]
<fresheyeball> How can I access `tail` in a nix expression?
<fresheyeball> it's a binary, but I can't find it in nixpkgs
ckauhaus has joined #nixos
Jason_Grossman has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42698 → librealsense: 2.12.0 -> 2.13.0 → https://git.io/f4djE
muzzy_ has quit [Remote host closed the connection]
jperras has quit [Quit: WeeChat 2.1]
dbmikus_ has joined #nixos
ckauhaus has quit [Ping timeout: 240 seconds]
ldlework has quit [Quit: co'o ro do]
martingale has quit [Ping timeout: 240 seconds]
<samueldr> fresheyeball: nix-locate is handy to find tools and files in non-installed packages
<samueldr> nix-locate -r bin/tail$ → coreutils
sbdchd has quit [Remote host closed the connection]
ldlework has joined #nixos
<DevX> what is the simplest way to run KDE with wayland?
halfbit has quit [Quit: WeeChat 2.1]
mahalel_ has joined #nixos
<{^_^}> [nixpkgs] @dalaing opened pull request #42699 → nixos/virtualbox: Adds more options to virtualbox-image.nix → https://git.io/f4djh
fragamus has quit [Read error: Connection reset by peer]
<worldofpeace> devx: Wondering the same thing for a while :P
chessai has joined #nixos
pingu_ has joined #nixos
<pingu_> I'm trying to get hydra to build a project which has an explicitly pinned nixpkgs via nixpkgs = import (builtins.fetchTarball {...
<pingu_> This seems to be forbidden by hydra:
<pingu_> hydra-eval-jobs returned exit code 1:
<pingu_> I suspect this is related to this ticket: https://github.com/NixOS/nixpkgs/issues/16130#issuecomment-229691307
<pingu_> But I'm not sure if what I'm doing is a bad idea, or, if the "fatal flaw" mentioned in the ticket is what I'm bumping up against.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42700 → iperf2: 2.0.11 -> 2.0.12 → https://git.io/f4Fe8
<pingu_> I'm considering patching hydra to turn off the protection, but that seems drastic.
<pingu_> Any ideas from the hydra-initiated?
i0-dfn has quit [Ping timeout: 268 seconds]
infinity0_ has joined #nixos
<hyper_ch> hmmm, if an attached USB hdd doesn't show up as device and neither create and dmesg output when attaching/removing - it's pretty dead then?
<{^_^}> [nixpkgs] @dtzWill opened pull request #42701 → brotli: 1.0.4 -> 1.0.5 → https://git.io/f4Fvm
<pingu_> hyper_ch: That would have been my guess if other USB devices work, yes.
<hyper_ch> drive does spin up though :(
<pingu_> Power is seperate to data with USB IIRC, you could try cleaning the pins.
<samueldr> hyper_ch: on other distros, updating the kernel and not rebooting could lead to not being able to load the appropriate drivers for new usb devices
<hyper_ch> will try cleaning the pins, thx
war has joined #nixos
<war> IRC SERVER ====> /server -m irc.heckmann.top
war has left #nixos [#nixos]
tzemanov_ has joined #nixos
<pingu_> For the archives: the solution was as simple as nix.extraOptions = "allowed-uris = https://github.com/NixOS/nixpkgs-channels/archive/"
<{^_^}> [nixpkgs] @dtzWill closed pull request #42701 → brotli: 1.0.4 -> 1.0.5 → https://git.io/f4Fvm
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tzemanovic has quit [Ping timeout: 265 seconds]
lassulus_ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #42702 → brotli: 1.0.4 -> 1.0.5 → https://git.io/f4FfR
lassulus has quit [Ping timeout: 265 seconds]
lassulus_ is now known as lassulus
newhoggy has joined #nixos
andreabedini has joined #nixos
chessai has quit [Remote host closed the connection]
Jason_Grossman has quit [Remote host closed the connection]
Jason_Grossman has joined #nixos
Jason_Grossman has quit [Read error: Connection reset by peer]
stepcut has quit [Remote host closed the connection]
Ridout has quit [Quit: Lost terminal]
stepcut has joined #nixos
stepcut has quit [Ping timeout: 268 seconds]
roconnor__ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42703 → i2pd: 2.18.0 -> 2.19.0 → https://git.io/f4FUC
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
nallar has joined #nixos
Ross has quit [Ping timeout: 245 seconds]
nallar is now known as Ross
<colemickens> does anyone have a buildUserFHSEnv + pythonPackages.setuptools example I could look at?
<colemickens> Also, any pointers on where I can learn about how the "staging" branch works?
dbmikus_ has quit [Quit: WeeChat 2.1]
<colemickens> I had a PR get moved and merged into "staging" but it's not clear how it makes its way back to master/nixos-unstable.
andreabedini has quit [Ping timeout: 265 seconds]
asuryawanshi has quit [Ping timeout: 268 seconds]
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
freeman42x[nix] has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42704 → graphicsmagick: 1.3.29 -> 1.3.30 → https://git.io/f4FTZ
sk8forether has quit [Quit: Connection closed for inactivity]
reinzelmann has joined #nixos
mariatsji has joined #nixos
dje4321_ has joined #nixos
<dje4321_> Is there a way to query nix about what package provides a library? program foo requires library foo.so.6 and i need to point the rpath/runpath to that library.
fragamus has joined #nixos
vasiliy_san has joined #nixos
<fragamus> argh I have a SYSV 80386 executable and I need to patchelf it to run on my 64 bit nixos intel machine... can anyone tell me if I have to inhale much of UNIX System V or can nixos run it with some loader it has
asuryawanshi has joined #nixos
kreetx has joined #nixos
reinzelmann has quit [Quit: Leaving]
asuryawanshi has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42705 → feh: 2.26.3 -> 2.26.4 → https://git.io/f4FkI
<vasiliy_san> Hi all, I have a beginner question about nix and I will appreciate some help (correct me if it's the wrong place to ask such questions).
<vasiliy_san> nix-shell -p gcc
<vasiliy_san> Example of what I mean: I can execute next commands to find outputs of `nixpkgs.gcc` derivation:
<vasiliy_san> ```
<vasiliy_san> The question is: given a package name in nixpkgs, how to find it's location in nix-store (to manually explore derivation outputs)?
<vasiliy_san> nix-store -q --tree `which nix-repl`
<vasiliy_san> ```
<vasiliy_san> But it's indirect approach since the second command uses the fact that gcc package provides gcc executable. Is there a command like
<vasiliy_san> ```
<vasiliy_san> nix-store -q --package nix-repl?
<vasiliy_san> ```
<vasiliy_san> Thanks in advance!
<vasiliy_san> Copy-pasted wrong snippet
<vasiliy_san> ```
<vasiliy_san> nix-shell -p gcc
<vasiliy_san> nix-store -q --tree `which gcc`
<vasiliy_san> ```
tmaekawa has joined #nixos
mariatsji has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
martingale has joined #nixos
MercurialAlchemi has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #42694 → nftables: 0.8.5 -> 0.9.0 → https://git.io/f4dxP
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/f4FkR
tmaekawa has quit [Quit: tmaekawa]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42706 → gnucash: 3.1-1 -> 3.2 → https://git.io/f4Fku
<{^_^}> [nixpkgs] @adisbladis merged pull request #42705 → feh: 2.26.3 -> 2.26.4 → https://git.io/f4FkI
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/f4Fkz
asuryawanshi has quit [Ping timeout: 245 seconds]
robstr has joined #nixos
<LnL> nix-build '<nixpkgs>' -A gcc --no-out-link
asuryawanshi has joined #nixos
Guanin has quit [Ping timeout: 256 seconds]
<LnL> that will print out the store path, and builds it first if it doesn't exist yet
andreabedini has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wchresta has joined #nixos
mariatsji has joined #nixos
Guanin has joined #nixos
mahalel_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @dirn opened pull request #42707 → python: 3.7.0rc1 -> 3.7.0 → https://git.io/f4FkH
rprije has quit [Ping timeout: 256 seconds]
oldandwise has joined #nixos
<oldandwise> today my fluxbox 'alt f1' no longer works.. i'm not doing any fluxbox-related changes lately...
asuryawanshi has quit [Ping timeout: 245 seconds]
<oldandwise> .. then, i booted to last week's in boot grub menu.. still the same problem
<oldandwise> i thought, that i could back to a complete system settings in nixos?
<vasiliy_san> @LnL: great, thanks!
<vasiliy_san> One more question. I am not sure if I understand the difference between derivation and environment. AFAIU build of a derivation will create some outputs (files). What about environments? When I execute `nix-shell` it can set some variables, but can it create files as well? Is there a way to explore the current environment? I can execute `nix-shell --pure --run env` to see set environment variable. Can I use something else
<vasiliy_san> to explore current environemnt I am in?
<colemickens> also, can this be merged? https://github.com/NixOS/patchelf/pull/149
<colemickens> I'm going to have to flee nixos again if I can't even patchelf static go binaries. :(
<oldandwise> why is my 'fluxbox' 'alt f1' suddenly not working?
<LnL> colemickens: you can use a custom patchelf until it's merged, not sure who has merge writes for that
<colemickens> Yeah, that's what I'm doing now
<colemickens> lol
<colemickens> there's not even a shell.nix for it
<colemickens> and you have to bootstrap it
<oldandwise> the only change i did, 'nixos-rebuild switch' wherein i added in configuration.nix one line boot.kernel.sysctl."vm.max_map_count" = 262144;
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42708 → gdcm: 2.8.6 -> 2.8.7 → https://git.io/f4FIk
agander has joined #nixos
<Orbstheorem> Hi, how does nixos-rebuild prepares the bootloader?
agander_ has joined #nixos
<Orbstheorem> I'm looking for a way to given the partitioning scheme, automatically create the partitions and the filesystem inner layout (ie. btrfs's subvolumes)
oldandwise has quit [Quit: leaving]
<colemickens> looks like I just needed to use the build target in the release.nix
<colemickens> works for me. hooray!
agander has quit [Ping timeout: 256 seconds]
dje4321_ has quit [Ping timeout: 260 seconds]
pingu_ has quit [Remote host closed the connection]
wchresta has quit [Remote host closed the connection]
andymandias has quit [Ping timeout: 268 seconds]
pikajude has quit [Quit: ZNC 1.7.0 - https://znc.in]
andymandias has joined #nixos
<{^_^}> [nixpkgs] @jollheef opened pull request #42709 → hostapd: use WPA2 instead of WPA1 by default → https://git.io/f4FLY
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42710 → cpp-hocon: 0.1.6 -> 0.1.7 → https://git.io/f4FLZ
agander_ has quit [Remote host closed the connection]
agander_ has joined #nixos
asuryawanshi has joined #nixos
hyper_ch2 has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42711 → eid-mw: 4.4.2 -> 4.4.3 → https://git.io/f4FL2
crmlt has joined #nixos
periklis` has joined #nixos
tertle||eltret has quit [Quit: Connection closed for inactivity]
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42712 → deadbeef-mpris2-plugin: 1.10 -> 1.11 → https://git.io/f4FL7
asuryawanshi has quit [Ping timeout: 256 seconds]
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42713 → eccodes: 2.7.3 -> 2.8.0 →
matthewbauer has quit [Ping timeout: 256 seconds]
asuryawanshi has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/f4FtP
FRidh has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to master « python37: 3.7.0rc1 -> 3.7.0 »: https://git.io/f4Ftp
obadz- has joined #nixos
agander_ has quit [Ping timeout: 256 seconds]
obadz has quit [Ping timeout: 276 seconds]
obadz- is now known as obadz
jameshjacksonjr[ has quit [Ping timeout: 260 seconds]
davidar has quit [Ping timeout: 260 seconds]
nico202[m] has quit [Ping timeout: 260 seconds]
admin[m]4 has quit [Ping timeout: 260 seconds]
card[m] has quit [Ping timeout: 260 seconds]
zdisk[m] has quit [Ping timeout: 260 seconds]
gudea[m] has quit [Ping timeout: 260 seconds]
zurk[m] has quit [Ping timeout: 260 seconds]
peel[m] has quit [Ping timeout: 260 seconds]
hw9891[m] has quit [Ping timeout: 260 seconds]
taohansen has quit [Ping timeout: 260 seconds]
ProofTechnique[m has quit [Ping timeout: 260 seconds]
bendlas has quit [Ping timeout: 260 seconds]
danbst[m] has quit [Ping timeout: 260 seconds]
johnazoidberg has quit [Ping timeout: 260 seconds]
NickHu has quit [Ping timeout: 260 seconds]
abbafei[m] has quit [Ping timeout: 260 seconds]
sargon[m] has quit [Ping timeout: 260 seconds]
tehnix[m] has quit [Ping timeout: 260 seconds]
aniketd[m] has quit [Ping timeout: 260 seconds]
M-liberdiko has quit [Ping timeout: 260 seconds]
Adev[m] has quit [Ping timeout: 260 seconds]
devr[m] has quit [Ping timeout: 260 seconds]
slabity[m] has quit [Ping timeout: 260 seconds]
M-manveru has quit [Ping timeout: 260 seconds]
moredhel_[m] has quit [Ping timeout: 260 seconds]
ayyjayess[m] has quit [Ping timeout: 260 seconds]
musicmatze[m] has quit [Ping timeout: 260 seconds]
sorbet has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @FRidh closed pull request #42707 → python: 3.7.0rc1 -> 3.7.0 → https://git.io/f4FkH
DIzFer[m] has quit [Ping timeout: 260 seconds]
praticamentetild has quit [Ping timeout: 260 seconds]
MaJoe[m] has quit [Ping timeout: 260 seconds]
primeos[m] has quit [Ping timeout: 260 seconds]
chatnowvvv[m] has quit [Ping timeout: 260 seconds]
Olinkl[m] has quit [Ping timeout: 260 seconds]
mathis[m] has quit [Ping timeout: 260 seconds]
midchildan[m] has quit [Ping timeout: 260 seconds]
mcatis[m] has quit [Ping timeout: 260 seconds]
nocent has quit [Ping timeout: 260 seconds]
Drakonis[m] has quit [Ping timeout: 260 seconds]
florianjacob has quit [Ping timeout: 260 seconds]
comphez[m] has quit [Ping timeout: 260 seconds]
vskilet[m] has quit [Ping timeout: 260 seconds]
kitten[m] has quit [Ping timeout: 260 seconds]
SamuelEvans-Powe has quit [Ping timeout: 260 seconds]
wak-work has quit [Ping timeout: 260 seconds]
cornu[m] has quit [Ping timeout: 260 seconds]
TimePath has quit [Ping timeout: 260 seconds]
bionicmac[m] has quit [Ping timeout: 260 seconds]
Mr_Keyser_Soze has joined #nixos
crmlt has quit [Ping timeout: 240 seconds]
zurk[m] has joined #nixos
zdisk[m] has joined #nixos
gudea[m] has joined #nixos
comphez[m] has joined #nixos
admin[m]4 has joined #nixos
nocent has joined #nixos
chatnowvvv[m] has joined #nixos
sargon[m] has joined #nixos
tehnix[m] has joined #nixos
aniketd[m] has joined #nixos
TimePath has joined #nixos
johnazoidberg has joined #nixos
NickHu has joined #nixos
devr[m] has joined #nixos
card[m] has joined #nixos
bionicmac[m] has joined #nixos
hw9891[m] has joined #nixos
mathis[m] has joined #nixos
praticamentetild has joined #nixos
MaJoe[m] has joined #nixos
mcatis[m] has joined #nixos
taohansen has joined #nixos
peel[m] has joined #nixos
SamuelEvans-Powe has joined #nixos
danbst[m] has joined #nixos
abbafei[m] has joined #nixos
Drakonis[m] has joined #nixos
florianjacob has joined #nixos
sorbet has joined #nixos
M-manveru has joined #nixos
Adev[m] has joined #nixos
slabity[m] has joined #nixos
civodul has joined #nixos
wak-work has joined #nixos
vskilet[m] has joined #nixos
jameshjacksonjr[ has joined #nixos
crmlt has joined #nixos
moredhel_[m] has joined #nixos
M-liberdiko has joined #nixos
bendlas has joined #nixos
ProofTechnique[m has joined #nixos
musicmatze[m] has joined #nixos
primeos[m] has joined #nixos
coot has joined #nixos
nico202[m] has joined #nixos
Olinkl[m] has joined #nixos
kitten[m] has joined #nixos
cornu[m] has joined #nixos
ayyjayess[m] has joined #nixos
midchildan[m] has joined #nixos
DIzFer[m] has joined #nixos
matthewbauer has joined #nixos
davidar has joined #nixos
adisbladis has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42714 → abcmidi: 2018.06.13 -> 2018.06.23 → https://git.io/f4Fmn
knupfer has joined #nixos
redj_ has joined #nixos
tzemanov_ has quit []
redj has quit [Ping timeout: 260 seconds]
Mr_Keyser_Soze has quit [Remote host closed the connection]
mmercier has joined #nixos
Wharncliffe has joined #nixos
agander_ has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
hyper_ch2 has joined #nixos
newhoggy_ has joined #nixos
newhoggy has quit [Ping timeout: 265 seconds]
mmercier has quit [Ping timeout: 264 seconds]
kiloreux has joined #nixos
<cocreature> how do I handle pinning of nixpkgs if I want to import nixpkgs/nixos? I tried https://gist.github.com/cocreature/be02d17401cfe0a3c4fdfc7a5504bf78 but that gives me "error: The option `system.nixos.stateVersion' defined in `<unknown-file>' does not exist." so I’m probably doing something wrong
newhoggy_ has quit [Ping timeout: 276 seconds]
thc202 has joined #nixos
ckauhaus has joined #nixos
palo has quit [Ping timeout: 276 seconds]
reinzelmann has joined #nixos
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
jackdk has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 260 seconds]
cdepillabout has joined #nixos
myshoe has joined #nixos
agander_ has quit [Remote host closed the connection]
<cdepillabout> A few days ago I remember reading something that explained how to get NixOS to boot to the terminal without starting X. After booting to a terminal you could start the window manager like normal with `startx`.
<cdepillabout> However, I can't find what it was that I was reading.
<cdepillabout> Does anyone have any hints on how to do this?
<{^_^}> [nixpkgs] @xvapx opened pull request #42716 → pythonPackages.cheroot: fixed tests → https://git.io/f4FsJ
<pie_> cdepillabout, is it this by any chance? https://nixos.wiki/wiki/Using_X_without_a_Display_Manager
<pie_> hmm i might want to use this myself
<pie_> though id try to do something about needing to run the script after every rebuild...
<pie_> does nix provide somehing like post-rebuild hooks or something? i suppose you could alias the command or something
andymandias has quit [Ping timeout: 276 seconds]
asuryawanshi has joined #nixos
<cdepillabout> pie_, Thanks for the link. I don't think it was that post. Although I guess I could do something like that.
<cocreature> oh I think my approach was actually correct, I just need to remove system.nixos.stateVersion since that’s unnecessary when fetching from the channels repo
<cdepillabout> To be honest I just wanted something super easy, like a NixOS configuration option I could switch that would just do everything for me.
andymandias has joined #nixos
<LnL> cocreature: it's not unnecessary, it's there to keep things like databases or ssh host keys compatible with your initial installed release
<cocreature> LnL: hm, so why do I get the error when I try to use the import shown in the gist I pasted above but not when I just use import <nixpkgs/nixos>?
<LnL> not sure, maybe you're using an older release where it was still system.stateVersion?
Mateon3 has joined #nixos
<cocreature> ah!
agander_ has joined #nixos
<cocreature> that seems to work (18.03-small)
crmlt has quit [Remote host closed the connection]
<cocreature> thanks LnL!
agander_ is now known as agander
worldofpeace has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #42714 → abcmidi: 2018.06.13 -> 2018.06.23 → https://git.io/f4Fmn
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/f4FGe
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
<pie_> cdepillabout, not everything is always that easy xD would be nice though i guess
ThatDocsLady has joined #nixos
newhoggy has joined #nixos
<cdepillabout> pie_, :-p
<pie_> cdepillabout, maybe check if theres any open issues for it, it would be convenient if you could do that imo
<pie_> i havent tried to figure out how i can run startx yet while having the service enabled. idk a lot about how x11 works and its annoying that i cant just run startx like on other OS to start another x session
<cdepillabout> To be completely honest, it doesn't really bother me that much. I used to use Arch Linux that way (that is to say, just login like normal and run `startx`). It is not a huge deal-breaker that NixOS can't do it. But if that option existed, I would want to enable it.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42717 → arangodb: 3.3.10 -> 3.3.11 → https://git.io/f4FGs
<pyvpx> how can I explore available paths? I understand there is nixos.haskellPackages and now I'm stuck needing some python packages (flask, namely) and even after reading the nixpkgs python section I'm unsure of how to proceed (I don't need anything fancy -- just to install flask ;)
bobblehead has joined #nixos
<bobblehead> hello
<bobblehead> bobble bobble bobble bobble bobble bobble bobble bobble bobble bobble bobble bobble bobble bobble bobble
endformationage has quit [Quit: WeeChat 1.9.1]
<LnL> cocreature: we should probably add an alias on 18.03 to avoid annoyances like this
<bobblehead> adisbladis, adisbladis[m], Aexoden, agander, card[m], Christian[m]4, dash, DwarfMaster, elasticdog, Elephant454[m], ent, joelpet, johbo, kini, lassulus, Lears, M-fishy, mtncoder[m], sgk[m], Swant, symphorien, systmkor, TolleLege, tos9, TrentP:
<cocreature> LnL: yeah if that’s not too hard to do then that would definitely be nice
<bobblehead> cocreature: do you have big genitals?
<bobblehead> LnL: omg ur a fart goblin
<bobblehead> lololololLOLOLOLOL
Plato[m] has joined #nixos
<bobblehead> bigpresh is a nigger LOLOLOLOL
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42718 → calamares: 3.2.0 -> 3.2.1 → https://git.io/f4FZf
<Plato[m]> A local nix-build with a haskell project tells me ghc: can't find a package database at /home/philipp/.cabal/store/ghc-8.2.2/package.db, so I guess the build wrongly uses some files in the source directory?
__Sander__ has joined #nixos
<adisbladis> pie_: You can't really use startx on other distros nowadays, no?
<pie_> adisbladis, you might have a point, ever since "everybody" geniusly took a lightning switch to systemd
* pie_ salty :p
bobblehead has quit [K-Lined]
<pie_> pyvpx, theres a couple options for finding pachages, im probably not doing it the best way but there's https://nixos.org/nixos/packages.html i think this tracks stable, not sure. there's also the nix search command in nix 2.x i think
<cdepillabout> @adisbladis, I'm using startx on Arch Linux, although I don't know if have done something to make it work with systemd. Or maybe I set it up to work with systemd and I just completely forgot I did it.
<pie_> you can also use nix-repl with tab completion
<pyvpx> pie_: I found it. I even installed flask. however when I run the interpreter, it does not find flask when importing
<{^_^}> [nixpkgs] @FRidh pushed to staging « python36: 3.6.5 -> 3.6.6 »: https://git.io/f4FZ8
<pyvpx> I'm hoping for a hand-holding level of example. the default docs make sense but I still don't quite get it -- how do I install libaries to an existing python installation?
<pie_> pyvpx, i think using python with nix-env -i is fucky
<pie_> not sure
<Yaniel> you don't
<adisbladis> cdepillabout: Iirc arch provides patches to accomplish that
<adisbladis> It's not supported by upstream
<Yaniel> you either use virtualenv or make custom packages for whatever you need
<pie_> either i remember wrong or sometimes it works sometimes it doesnt
<Yaniel> in the latter case you can use nix-shell if you need interactive sessions I think
<pie_> Yaniel, iirc it does work if you use nix-shell right?
<pie_> ok
<pie_> pyvpx, probably look into py2nix
<Yaniel> virtualenv would work even without nix-shell
<pie_> i wish i could help more but i havent properly figured out half of this stuff :P
<pie_> ah yeah virtualenv probably is the easiest
<FRidh> pyvpx: you don't. Use `python.withPackages`
<pie_> Yaniel, you might still need to use nix-shell if theres library deps you need?
<pie_> i forgot about withpackages
<Yaniel> unless you want to install *those* system-wide yeah
<adisbladis> pie_: It has nothing to do with systemd. Startx was full of fugly hacks.
<pie_> adisbladis, oh. well all i experienced was at some point i couldnt easily start another x session thing
<pie_> on one hand i understand technical issues, on the other hand as a power _user_ its annoying
<pyvpx> FRidh: what does that mean, exactly? if I have installed python36 from nix-env who do I add flask to that python instance?
<pie_> if i run a full screen app that messes up my resolution id rather run it in another x instance and keep working with things in my other instance just fine without having to fix my resolution when i alt-tab
<pyvpx> sorry for being obtuse. I've read the docs. it kind of makes sense but I dont know how to put it together to get what I want :)
<Yaniel> pyvpx: you uninstall it with nix-env, then add python.withpackages to your configuration.nix
<pie_> pyvpx, i dont think you're obtuse, there's a lot to learn in nix (i hope over time the learning experience can be consolidated a bit or something)
<Yaniel> or install virtualenv, create a virtualenv and install whatever you want there in the same way you would do on other distros
<pie_> but you have to fight with it a bit. i started learning the most when i set up nix on a second machine (you could probably just use a VM) so i could feel like im not messing anything up (Even though nix provides a relatively large amount of foot shooting protection) and started trying to set up as much as i could just with my configuration.nix
Peaker has joined #nixos
<pie_> there's also a lot of helpful material on https://nixos.wiki/ now
<Yaniel> oh, a new wiki?
<pie_> Yaniel, "new"
<pie_> i think its been around for at least a couple months now?
<pie_> i might even guess a year? idl
<pie_> idk
<Yaniel> well better than the one that was officially closed over a year ago
<Yaniel> and still was more useful than the manual that was touted as *the* documentation
<pie_> ive actually been neglecting browsing the wiki...i need to get around to it sometime
<pie_> ive definitely gotten some use out of it before
newhoggy has quit [Read error: Connection reset by peer]
<Yaniel> I better close that tab right now
<pie_> hahahaha
<Yaniel> before I suddenly notice that it's time to go home
<pyvpx> pie_: I am using a VM. I tried NixOS becauseI could not get pandoc+dependencies working on anything else. I stick to OpenBSD. I really like NixOS so far -- great documentation. I personally need a few more concrete examples to really appreciate the concepts, though.
vasiliy_san has quit [Quit: Connection closed for inactivity]
<pyvpx> Yaniel: okay. uninstall -- no problem. two questions -- what good is that route of installation then, if I can't add any libraries to it? like, why even be able to install python that way? (not trying to be argumentative)
<pie_> i guess the docs are great when you can find what you need xD , or at least i think thats what i tend to have trouble with. also if you need docs for stuff in nixpkgs, i think docstrings still arent a thing but you can usually find documentation in the comments in the relevant .nix file
<pie_> (there *is* also a nixpkgs manual but it doesnt cover everything iirc)
<Yaniel> pyvpx: no reason to explicitly prevent it
<pie_> pyvpx, the community is nice too, do stick aroun :D and get more people wanting nix on openbsd :PPP
<Yaniel> and AFAIK it's not even possible to prevent it on a package level
<pie_> (i actually want to get more openbsd experience sometime)
<Yaniel> for playing around you can install python36Packages.virtualenv with nix-env I think
<pyvpx> pie_: I want it *bad* already
<pie_> pyvpx, i bet openbsd people would say its too complicated eh :P
<pie_> dont fix what aint broken
<pyvpx> I mean, it'd never be in base
<pyvpx> but I also cant find a reason why it couldn't be layerd on top
<pie_> is ports in base?
<FRidh> pyvpx: with python.withPackages you define an environment consisting of your interpreter, along with packages you want and their dependencies.
<FRidh> the libraries you speak of would be part of that environment
<pie_> cant really remember. i think theres bound to be a lot of issues due to linux specific features nix depends on though i think
<FRidh> also, at any time, you could also use `nix-shell` with `python.withPackages` to create another, temporary, environment
<pyvpx> FRidh: so it's all in one go? my ultimate question is how do I *add* libraries to an existing environment/installation?
<FRidh> like virtualenv, but with the advantage it picks up the non-python dependencies
<pie_> also the deep systemd integration. but just for packages i guess you at least wouldnt have to deal with that part.
<FRidh> pyvpx: with nix we don't install libraries
<Yaniel> pyvpx: it's a slightly more involved question
__monty__ has joined #nixos
<FRidh> libraries are only added as build inputs to a nix expression. Installing that result will also "install" libraries when needed
<Yaniel> you have to think about what kind of library it is, who and how should be able to access it etc
kiloreux has quit [Quit: Leaving]
<pie_> oh damn this sounds helpful https://github.com/matthewbauer/nix-bundle
orivej has joined #nixos
<pie_> thank wiki
illabout has joined #nixos
<pie_> there was the dude the other day that tried to copy something to a non-nix machine
<pyvpx> FRidh: so this is part of the immutable feature. if I need to add something later, I rebuild the entire environment
<pyvpx> that makes sense.
<FRidh> correct
<Yaniel> correct
<pie_> haha "Self-bundling (meta)"
<Yaniel> you reconstruct your environment to match your new requirements
<Yaniel> the new environment can be temporary (nix-shell) or permanent (packages, configuration.nix)
cdepillabout has quit [Ping timeout: 260 seconds]
<Yaniel> and it can be portable (custom package that depends on whatever you want your environment to contain) or not (nix-env, configuration.nix=
Peaker has quit [Ping timeout: 260 seconds]
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
<pie_> oh cool im not sure if i just missed this earlier but the wiki now also has discussion pages for pages
<{^_^}> [nixpkgs] @orivej merged pull request #42661 → ceres-solver: clean up cmake configuration → https://git.io/f4dmJ
<{^_^}> [nixpkgs] @orivej pushed commit from @timor to master « ceres-solver: clean up cmake configuration (#42661) »: https://git.io/f4FCU
<{^_^}> [nixpkgs] @jD91mZM2 opened pull request #42720 → cargo-tree: 0.18.0 -> 0.19.0 → https://git.io/f4FCk
Peaker has joined #nixos
<{^_^}> [nixpkgs] @mickours opened pull request #42721 → Update simgrid 3.19.1 -> 3.20 + parallel tests + enable darwin → https://git.io/f4FCu
ciil has quit [Quit: Lost terminal]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
davidak has quit [Quit: Leaving.]
agander has quit [Ping timeout: 260 seconds]
<pyvpx> now I openly wonder if someone has already smoothed out the python 'requirements.txt' to nixpkgs configuration.nix pipeline?
<pyvpx> well, I guess requirements.txt is just pkg == ver
<pyvpx> hm
ciil has joined #nixos
* pyvpx would rather not think too hard
<FRidh> pyvpx: if only it was so simple. A requirement is a package at a certain version. A package has dependencies, so they need to be discovered, and the whole set needs to be compatible. pypi2nix does this, however, in case of extension modules it typically requires manual steps.
<pyvpx> pypi2nix! wonderful
<FRidh> actually, pypi2nix uses pip for dependency resolution
<pyvpx> ok. I was entirely clear on how pip worked in a nixpkg world
<pyvpx> my hamfisted attempts predictably failed
illabout has quit [Quit: Leaving]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/3688ab8f5d5 (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<pyvpx> pypi2nix is unstable only
<pyvpx> hm, okay.
<pyvpx> well, so much for "let's just get pandoc & python in this VM an dmov eon with life"
<pyvpx> at least I'm experiencing new stuff
mmercier has joined #nixos
bebarker has quit [Ping timeout: 264 seconds]
hamishmack has joined #nixos
TweyII has joined #nixos
bebarker has joined #nixos
TweyII is now known as Guest48419
FRidh has quit [Quit: Konversation terminated!]
<__monty__> pyvpx: This is a good time to switch to haskell, it's a first class nix citizen ; p
rardiol1 has quit [Remote host closed the connection]
agander has joined #nixos
<pyvpx> __monty__: I just want this nice static blog generator to work! and I've lost two days to it -- because I'm stubborn. now I'm at the home stretch and...python in nixpkgs is holding me back haha
rardiol1 has joined #nixos
<__monty__> pyvpx: You can always just use pip in a virtualenv.
b7r has joined #nixos
<pyvpx> I don't fully grok how that works in a nixpkg setup, I guess
<Myrl-saki> samueldr: Seems like this can be daily driver worthy. https://imgur.com/a/IVpAjQx
<__monty__> pyvpx: What is there to grok? Install virtualenv, create a virtualenv, use the virtualenv to run your blog generator.
<pie_> Myrl-saki, ooh pretty
<Myrl-saki> pie_: It's currently Debian though. :P
<pie_> Myrl-saki, also if thats your phone you have really good eyes
<Myrl-saki> pie_: It's on my tablet. :D
<pie_> then your tabled it very tall heh
<pie_> or wide, whatever :P
<Myrl-saki> pie_: It's those phablet formats. :P
<pie_> ¯\_(ツ)_/¯
<pie_> youre only a real sysadmin if you have an anime girl background
<Myrl-saki> pie_: ++
<Myrl-saki> pie_: Sadly, I'm not a fullly real sysadmin because it's not a *lewd* anime gerl background.
<pie_> heh
<pie_> my machine is a mess right now though so nothing fancy https://i.imgur.com/vCssIlI.png
<pie_> Myrl-saki, the sysadmin-est have lewd catgirl backgrounds though right
<tazjin> I never see my wallpapers
<tazjin> but it's good to know that _technically_ there is a wallpaper
<pie_> tazjin, yup
<MasseR> I have some issues with PATH over ssh, how can I fix this? For example if I do `ssh <domain> ls` I get back a response `zsh:1: command not found: ls`
<pie_> inb4 should display an image permanently on one of the ttys for someone that only uses the cli
<Myrl-saki> pie_: Floating windows? GUI applications? cred--
<Myrl-saki> jk
<pie_> meh :'P
<Myrl-saki> Cool setup. :P
<LnL> MasseR: did you set programs.zsh.enable?
<MasseR> let me check
<Myrl-saki> pie_: Oh cool. Seems like your wallpaper is vertical. Link?
<{^_^}> [nixpkgs] @thefloweringash opened pull request #42722 → bison2: Fix Darwin runtime crash → https://git.io/f4F46
<pie_> Myrl-saki, well it wasnt the right resolution so i just tried to pick a color in kde that fit well enough for the background fill
<pie_> Myrl-saki, to the pic you mean?
<MasseR> LnL: I have it enabled for that specific user, shouldn't that be enough? `users.extraUsers.masse.shell = pkgs.zsh`
<Myrl-saki> pie_: Yep. :P
<pie_> im probbaly going to have to reverse search it xd
<Myrl-saki> pie_: Also, you picked a good enough color that I actually didn't realize it until my third viewing.
<LnL> MasseR: no, that only configures the login shell of that user
<MasseR> ah right, I'm rebuilding right now
<MasseR> I can test soon
simukis has joined #nixos
<MasseR> LnL: I have some users using bash on the server, does this field conflict with them?
<LnL> no, it configures /etc/zshrc and friends
<MasseR> +1
logzet has joined #nixos
<clefru> Is there something like a good index of contributed nix package overlays? I'd like to start one for cryptocurrency projects, and share my .nix files for certain obscure projects out there.
<LnL> so without that there's no zshrc and stuff like PATH and other environment veriables won't be configured
<MasseR> I see
<{^_^}> [nixpkgs] @Mic92 merged pull request #41846 → nixos/zfs: load encryption keys for all pools → https://git.io/vhV25
<{^_^}> [nixpkgs] @Mic92 pushed commit from @woffs to master « nixos/zfs: load encryption keys for all pools (#41846) »: https://git.io/f4FBU
<pie_> clefru, i think i saw one on the wiki but im not sure
agander_ has joined #nixos
<__monty__> Myrl-saki: Dat nicklist, why? And all the wasted space after the timestamps, why? And seconds in your timestamps, why? Need to be more economical with your screen real-estate. Oh, right, what's with the wasted space around those windows? Is this SM, sysadmasochism?
agander has quit [Ping timeout: 240 seconds]
rprije has joined #nixos
MercurialAlchemi has quit [Ping timeout: 276 seconds]
agander_ is now known as agander
newhoggy has joined #nixos
periklis` has quit [Read error: Connection reset by peer]
<infinisil> clefru: there is <nixpkgs/pkgs/applications/altcoins>
ericsagnes has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @thefloweringash opened pull request #42723 → elasticsearch5: Set classpath for elasticsearch-plugin → https://git.io/f4FRJ
<clefru> infinisil: I am aware of that, but I am reluctant to put highly experimental stuff in there.
adisbladis has quit [Ping timeout: 240 seconds]
<Myrl-saki> __monty__: :P
knupfer has joined #nixos
blankhart has quit [Ping timeout: 245 seconds]
MercurialAlchemi has joined #nixos
rardiol1 has quit [Quit: Leaving.]
uralbash has joined #nixos
silver has joined #nixos
periklis` has joined #nixos
andymandias has quit [Ping timeout: 264 seconds]
rprije has quit [Ping timeout: 265 seconds]
<{^_^}> [rfcs] @edolstra merged pull request #23 → [RFC 0023] Support musl libc → https://git.io/f4F0V
<{^_^}> [rfcs] @edolstra pushed commit from @dtzWill to master « [RFC 0023] Support musl libc (#23) »: https://git.io/f4F0w
<uralbash> prompt me plz in which place can I add my own plymouth theme ?
periklis` has quit [Ping timeout: 268 seconds]
logzet has quit [Ping timeout: 265 seconds]
logzet has joined #nixos
periklis` has joined #nixos
andymandias has joined #nixos
Wharncliffe has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @xeji merged pull request #42663 → firebird-emu: init at 1.4 → https://git.io/f4d4q
<{^_^}> [nixpkgs] @xeji pushed commit from @Pneumaticat to master « firebird-emu: init at 1.4 (#42663) »: https://git.io/f4FEm
<pie_> Myrl-saki, idk if its gotten better recently but now that you mention it its kind of a miracle you can run debian on your tablet properly
<pie_> its like companies proactively made them hard to do useful things with
newhoggy has quit [Remote host closed the connection]
Wharncliffe has joined #nixos
orivej has quit [Ping timeout: 276 seconds]
agander has quit [Remote host closed the connection]
agander has joined #nixos
mmercier_ has joined #nixos
mmercier has quit [Read error: Connection reset by peer]
mmercier_ is now known as mmercier
<{^_^}> [nixpkgs] @xeji merged pull request #42702 → brotli: 1.0.4 -> 1.0.5 → https://git.io/f4FfR
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to staging « brotli: 1.0.4 -> 1.0.5 (#42702) »: https://git.io/f4FzM
<samueldr> Myrl-saki: booted debian or debian through something like linux deploy?
<Myrl-saki> samueldr: Linux Deploy. :(
<samueldr> gui through VNC then?
<Myrl-saki> samueldr: Nope. XSDL.
<samueldr> ah, at least
<Myrl-saki> I'm actually sufficently surprised that everything I have here is FOSS.
<Myrl-saki> Except for these damn firmware.
<Myrl-saki> samueldr: Hacker's Keyboard + Linux Deploy + XSDL.
<samueldr> I started gathering the necessary things for the nexus 7 2013 port of my project yesterday, hopefully during the week-end it boots up to stage-2, then I'll have 2 devices to verify stuff works right
rprije has joined #nixos
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]
<{^_^}> [nixpkgs] @xeji merged pull request #42682 → dwm-status: 1.0.0 -> 1.1.1 → https://git.io/f4dHS
<{^_^}> [nixpkgs] @xeji pushed commit from @Gerschtli to master « dwm-status: 1.0.0 -> 1.1.1 (#42682) »: https://git.io/f4Fgs
troydm has joined #nixos
Peaker has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @yshui opened pull request #42724 → libinput: add button to scrollMethod → https://git.io/f4Fgw
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42720 → cargo-tree: 0.18.0 -> 0.19.0 → https://git.io/f4FCk
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @jD91mZM2 to master « cargo-tree: 0.18.0 -> 0.19.0 (#42720) »: https://git.io/f4FgS
init_6 has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
sigmundv has joined #nixos
fragamus has joined #nixos
newhoggy has joined #nixos
FRidh has joined #nixos
sigmundv has quit [Ping timeout: 260 seconds]
knupfer has joined #nixos
ericsagnes has quit [Ping timeout: 240 seconds]
newhoggy has quit [Remote host closed the connection]
<fragamus> argh I have a SYSV 80386 executable and I need to patchelf it to run on my 64 bit nixos intel machine... can anyone tell me if I have to inhale much of UNIX System V or can nixos run it with some loader it has
tenten8401_ has joined #nixos
pie__ has joined #nixos
sir_guy_carleton has joined #nixos
coot has quit [Quit: coot]
pie_ has quit [Ping timeout: 260 seconds]
<clever> fragamus: that appears to be a normal 32bit ELF file, you just need to use the 32bit stdenv when you patchelf it
<fragamus> but it says SYSV as in UNIX system 5
<fragamus> I'm so pleased to hear you say it can work
Mercuria1Alchemi has joined #nixos
MercurialAlchemi has quit [Ping timeout: 260 seconds]
<clever> /nix/store/djry35vxb3s6fsq6a8x7blv17q0fcf59-hello-2.10/bin/hello: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /nix/store/yzgkvv23r91n86j6gw4yrmdllgz1qw3q-glibc-2.27/lib/ld-linux.so.2, for GNU/Linux 2.6.32, not stripped
<gchristensen> 2frmaybe
<clever> fragamus: thats also what the hello package in nixpkgs claims to be
knupfer has quit [Ping timeout: 260 seconds]
ericsagnes has joined #nixos
jensens has joined #nixos
MercurialAlchemi has joined #nixos
Wharncliffe has quit [Ping timeout: 264 seconds]
Mercuria1Alchemi has quit [Ping timeout: 260 seconds]
philippD has joined #nixos
tenten8401 has quit [Ping timeout: 256 seconds]
tenten8401 has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
fendor has joined #nixos
asuryawanshi has joined #nixos
knupfer has joined #nixos
eqyiel has quit [Remote host closed the connection]
nschoe has joined #nixos
dnovosel has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b7c97e6267b (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
periklis` has quit [Ping timeout: 268 seconds]
aarvar has joined #nixos
rprije has quit [Ping timeout: 260 seconds]
tenten8401 has quit [Ping timeout: 240 seconds]
tenten8401 has joined #nixos
<{^_^}> [nixpkgs] @gavinrogers opened pull request #42725 → init: holochain-go at 0.1.0-alpha → https://git.io/f4FKo
newhoggy has joined #nixos
<catern> argh
agander_ has joined #nixos
<catern> help #nixos
<catern> I'm trying to get a random tarball application that links against QT working on NixOS
<tilpner> Did you try steam-run?
<catern> but where do I find, e.g., libQt5Gui.so.5?
<catern> it's not in qt5.qtbase
<catern> I'm still trying to determine what libraries I need
<tilpner> Yes it is
<catern> qt5.qtbase has a pkgconfig file for it
<catern> but I don't see it in the /lib
<catern> oh wait, it's not the in the -dev output
<catern> okay cool
agander has quit [Read error: Connection reset by peer]
<tilpner> file $(nix-build --no-out-link "<nixpkgs>" -A qt5.qtbase.out)/lib/libQt5Gui.so.5
<tilpner> > /nix/store/jjs2samkj519zg44j5md6xf8xqmjfbvr-qtbase-5.11.0/lib/libQt5Gui.so.5: symbolic link to libQt5Gui.so.5.11.0
<{^_^}> error: syntax error, unexpected ':', expecting ')', at (string):150:77
<catern> yeah, I see now
<tilpner> To make dependency hunting easier, try nix-locate
asuryawanshi has quit [Ping timeout: 240 seconds]
<catern> okay, so now I tried to do LD_LIBRARY_PATH=/nix/store/3l5g4dajypkp1sw18lf14byxrhivhkph-qtbase-5.10.1/lib
<catern> but ldd still shows libQt5Gui.so.5 => not found
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> catern: is it a 32bit or 64bit program?
<catern> oh wait I was confused nevermind
sigmundv has joined #nixos
<catern> lol I was doing ldd LD_LIBRARY_PATH= not LD_LIBRARY_PATH= ldd
<catern> so now I need libGL.so.1 and libstdc++.so.6
<catern> clever: 64bit
<clever> catern: thats in gcc
<{^_^}> [nixpkgs] @dtzWill merged pull request #42700 → iperf2: 2.0.11 -> 2.0.12 → https://git.io/f4Fe8
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/f4F6U
<catern> and libGL.so.1?
tzemanovic has joined #nixos
<catern> can I just get it from mesa?
<catern> or do I need to, like, use my graphics card's whatever?
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/f4F68
<catern> oh that's already in LD_LIBRARY_PATH, nvm
<catern> so ldd shows all the libraries are satisfied, and yet http://ix.io/1fhm
<catern> what's missing?
sigmundv has quit [Quit: Leaving]
<catern> here, output of file: http://ix.io/1fhn
sigmundv has joined #nixos
mmercier has quit [Ping timeout: 260 seconds]
sigmundv has quit [Client Quit]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b7c97e6267b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
__monty__ has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
__monty__ has joined #nixos
humanoyd has joined #nixos
numerobis has joined #nixos
fragamus has joined #nixos
<tenten8401_> Dumb question, but is it possible to deploy VMs to a remote host using NixOps?
<clever> catern: you still need to patch the interpreter with patchelf
<{^_^}> [nixpkgs] @dtzWill opened pull request #42726 → bison: 2.7 -> 2.7.1 → https://git.io/f4FPY
newhoggy has quit [Remote host closed the connection]
newhoggy has joined #nixos
andreabedini has joined #nixos
<tenten8401_> going to take that as a probably not
<symphorien> tenten8401_: there is a rfc for declarative vms
<joepie91> there;s already declarative containers though!
<tenten8401_> declarative containers might work
<{^_^}> [cabal2nix] @peti pushed to master « regression-test: ensure that our test suite can run with 1K stack space again »: https://git.io/f4FXt
blonkhart has quit [Quit: WeeChat 1.9.1]
spear2 has joined #nixos
asuryawanshi has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> [nixpkgs] @dtzWill opened pull request #42727 → lit: 0.5.1 -> 0.6.0 → https://git.io/f4F1i
philippD has joined #nixos
Profpatsch is now known as ServChan
ServChan is now known as Profpatsch
mariatsji has quit [Remote host closed the connection]
<MasseR> I have a script that I want to 'make work' in nixos. It starts with a `#!/usr/bin/env python` bang line. I can make a `let script = "wrapProgram asd"; in derivation { name = "foo"; builder = "${pkgs.bash}/bin/bash"; args = [ script ], ... }` style of solution, but this seems really verbose. Basically I Just want to take a source file and call wrapProgram on it, what's the preferred way? Or is my approach wrong
<MasseR> on a fundamental level
ajs124 has joined #nixos
ihar has joined #nixos
<srhb> MasseR: The usual approach is to patchShebangs
<MasseR> let's see
<srhb> MasseR: I think you should barely need to do anything but have python (with packages, if needed) in your buildInputs and just copy the script to $out, and the default fixup should do that automatically.
<MasseR> a basic 'stdenv.mkDerivation'?
<srhb> That's the most obvious way I guess.
andymandias has quit [Ping timeout: 256 seconds]
MercurialAlchemi has quit [Ping timeout: 260 seconds]
cyso has joined #nixos
Supersonic has quit [Ping timeout: 264 seconds]
periklis` has joined #nixos
schjetne has joined #nixos
<Mic92> I just added travis for that, but not have not yet tested the resulting packages: https://github.com/Mic92/nix-fpm-multiuser/releases
<Mic92> basically a multiuser nix for non-nixos, where nix manages the nix binary.
alter-schjetne has quit [Ping timeout: 240 seconds]
<cyso> Hi! I'm trying to do some C++ development in NixOs using a nix-env. Now for some reason, I can't even compile a simple hello world application, because g++ always returns the error "Unknown command line option -stdlib=libstdc++; did you mean -static-libstdc++?". And I'm not even using that option, just "g++ main.cpp -o test". Any Ideas what could be the reason for this problem?
mariatsji has joined #nixos
andymandias has joined #nixos
<hodapp> cyso: how do you mean 'using a nix-env'?
mariatsji has quit [Remote host closed the connection]
<MasseR> srhb: If I'm not mistaken, /usr/bin/env is the interpreter and it is kept as is. However python is not in scope after adding it to buildInputs: `/usr/bin/env: 'python': No such file or directory`
<cyso> hodapp: I created a default.nix inside the folder of my project to manage the libraries I want to include
<srhb> MasseR: I don't know what you're doing, but the default fixupPhase will correct that interpreter.
drewr has quit [Remote host closed the connection]
<srhb> MasseR: Trivial example: http://nixpaste.lbr.uno/9xz66KvK?nix
<tenten8401_> Anyone know if there are any Nix syntax highlighters for Kate?
<srhb> MasseR: test.py has a /usr/bin/env python shebang, but the result has: #!/nix/store/nwsww2h72aa6040sg3yzprl9qrhkgymx-python-2.7.15/bin/python
<MasseR> https://pastebin.com/4LeSy5xR <- what I tried
<hodapp> cyso: typically if you're trying to build inside that environment you want to be doing that inside of a nix-shell
<cyso> hodapp: oh, sorry, my fault! I actually meant nix-shell and not nix-env
agander_ has quit [Ping timeout: 260 seconds]
Supersonic has joined #nixos
<hyper_ch2> Unknown CMake command "qt5_use_modules". :(
<cyso> hodapp: So I have this default.nix with all my libraries as well as gcc listed inside of buildInputs. And then I use nix-shell with that file.
<srhb> MasseR: Is it not executable?
<srhb> MasseR: patchShebangs takes a directory and finds every file in it that is and patches it.
<MasseR> It is (or should be) a regular python script with a non-standard extension
<srhb> MasseR: And with the executable bit set?
<MasseR> Apparently no
tenten8401_ has quit [Quit: Page closed]
<srhb> MasseR: So the minimal way to do it is to just copy it to out and set the executable bit. Everything else will be done for you.
<mkaito> hey should new PRs be made against master or against staging for nixpkgs?
<MasseR> srhb: right. Thanks
FRidh has quit [Quit: Konversation terminated!]
drewr has joined #nixos
<srhb> mkaito: Generally master for small changes and staging for world-rebuilds
<mkaito> srhb: okay I see, thanks
<srhb> mkaito: (World rebuilds being things like gcc or something)
<srhb> mkaito: Mainly so we can bunch together huge rebuilds. :)
<mkaito> yeah, reason I ask is I recently submitted an update for mesa and was told to rebase against staging :P
<srhb> That makes sense.
<srhb> Lots of things depend on mesa :)
<mkaito> I noticed that. rebuild took an entire day on my computer.
<srhb> Must be a powerful computer ;)
<mkaito> new workstation :P
<srhb> But yeah, hydra will rebuild _everything_ that depends it, so probably a bit worse than what you did. :D
coot has joined #nixos
<mkaito> probably. I ran into issues rebuilding some things that depend on pyqt in the process.
newhoggy has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/fdfe5b028bd (from 73 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nD5Xjz has quit [Ping timeout: 245 seconds]
<Orbstheorem> So, I made a mr on nixpkgs 4 days ago, but still hasn't been addressed, it has tags *rebuild-*: 11-100. Does it mean my request is waiting a massive nixpkgs rebuild and test (that happens every ...?)?
<dtz> teehee it tickles whenever a channel updates to a commit I was part of
cyso has quit [Quit: Page closed]
<mkaito> Orbstheorem: no, it's just waiting for an actual review. ofborg just flags it for context.
sk8forether has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<Orbstheorem> Oh
<Orbstheorem> mkaito: Shouldn't ofborg highlight the package maintainer?
<mkaito> there's the concept of code owner, but I'm not really sure how that works.
agander_ has joined #nixos
philippD has joined #nixos
<andi-> codeowner is a github thing. not very fine grane. You might want to look into meta.maintainers and highlight those
blankhart has joined #nixos
agander_ has quit [Ping timeout: 260 seconds]
tzemanovic has quit []
agander_ has joined #nixos
agander_ is now known as agander
roconnor has joined #nixos
nD5Xjz has joined #nixos
logzet has quit [Ping timeout: 260 seconds]
logzet_ has joined #nixos
<Orbstheorem> andi-: hmm, there's no maintainer for the lua53 package (The mainteiner's array is empty) :)
alexteves has joined #nixos
TrentP has quit [Quit: ZNC - http://znc.in]
TrentP has joined #nixos
orivej has joined #nixos
<agander> Please can someone advise - can I recover from "nix-collect-garbage -d"? Now I have no 'nix-' commands
newhoggy has joined #nixos
<andi-> Orbstheorem: looks not to bad and I can see where the need for that change comes from. Is that something we should be doing for all the lua variant?
jperras has joined #nixos
<Orbstheorem> probably, actually I discover the need for this while writing this: https://gitlab.com/roosemberth/dotfiles/commit/60b6bb4355b96207aa9eb57d4299465ca2343db5
<Orbstheorem> andi-: ^^
asuryawa_ has joined #nixos
init_6 has quit [Ping timeout: 260 seconds]
newhoggy has quit [Ping timeout: 260 seconds]
asuryawanshi has quit [Ping timeout: 260 seconds]
npmccallum has joined #nixos
<slabity[m]> Is there a way to print a variable in my configuration.nix defined in a `let .. in`?
<slabity[m]> Just for debugging purposes
<{^_^}> [nixpkgs] @mkaito opened pull request #42728 → yubikey-manager: 0.4.0 -> 0.7.0 → https://git.io/f4F7D
<infinisil> slabity[m]: builtins.trace a b, or lib.traceVal a
roconnor has quit [Ping timeout: 256 seconds]
alex`` has joined #nixos
drewr has quit [Ping timeout: 260 seconds]
reinzelmann has quit [Quit: Leaving]
dhess has quit [Remote host closed the connection]
dhess has joined #nixos
<{^_^}> [cabal2nix] @peti pushed 4 commits to master: https://git.io/f4F51
<infinisil> Very nice ;P
mmercier has joined #nixos
Sonarpulse has joined #nixos
<infinisil> pushcx: Oh and I just recently experimented with building an xmonad config derivation. xmonad was the only thing on NixOS for me that couldn't be set up declaratively, because it needs the xmonad --recompile thing
<infinisil> But it's surprisingly easy to get it to be declarative
<srk> cool :)
<srk> would love to migrate my dotfiles to home-manager when time permits
<slabity[m]> I cannot seem to figure out how to use those tracing functions. 😕
<infinisil> slabity[m]: `builtins.trace "foo" 10` prints foo and returns 10
<srk> recently moved to xmobar instead of dzen and it's now mostly clone dotfiles, run script be done
<infinisil> slabity[m]: `lib.traceVal 10` prints 10 and returns 10
<infinisil> When evaluated only though
<pushcx> infinisil: I haven't tried xmonad yet, so I appreciate the warning of a speedbump.
<infinisil> pushcx: It will be easy once I get this into nixpkgs though. Or it's possible to use it without nixpkgs too
<infinisil> I can't gist it though, it's on my other machine which I can't access right now
endformationage has joined #nixos
<slabity[m]> `{ lib, ... }: let val = builtins.trace "Test" "test"; in { environment = val; }`
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/f4Fdg
<pushcx> irc
<pushcx> infinisil: No rush, I need to learn to make packages first. I'm reading through pills this morning.
<slabity[m]> Oh yea, that works
<slabity[m]> Thanks infinisil
<infinisil> :)
<infinisil> There's more debug functions in <nixpkgs/lib/debug.nix>
Guest48419 has quit [Ping timeout: 260 seconds]
<slabity[m]> I have a hard time groking those files, but I'll get there eventually
silver_ has joined #nixos
Guest48419 has joined #nixos
silver has quit [Read error: Connection reset by peer]
Mateon1 has quit [Ping timeout: 264 seconds]
Mateon1 has joined #nixos
szicari has joined #nixos
spear3 has joined #nixos
onon has quit [Excess Flood]
onon has joined #nixos
spear2 has quit [Ping timeout: 265 seconds]
dbmikus has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
mmlb37 has joined #nixos
mmlb has quit [Ping timeout: 240 seconds]
Sonarpulse has quit [Remote host closed the connection]
mmlb37 has quit [Read error: Connection reset by peer]
mmlb37 has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
orivej has quit [Ping timeout: 256 seconds]
mmlb37 has quit [Read error: Connection reset by peer]
fendor_ has joined #nixos
orivej has joined #nixos
mmlb37 has joined #nixos
mmlb37 has quit [Read error: Connection reset by peer]
mmlb37 has joined #nixos
mmlb37 has quit [Read error: Connection reset by peer]
mmlb37 has joined #nixos
mmlb37 has quit [Read error: Connection reset by peer]
fendor has quit [Ping timeout: 260 seconds]
mmercier has quit [Ping timeout: 276 seconds]
<ldlework> pushcx: are you a reverse engineer
<pushcx> ldlework: no, mostly web dev. Why do you ask?
<ldlework> pushcx is assembler iirc
<pushcx> Yeah, x86 assembly. It was an early language for me and I picked up the domain push.cx a few years ago.
<{^_^}> [nixpkgs] @taku0 opened pull request #42729 → firefox, firefox-bin: 60.0.2 -> 61.0, firefox-esr: 52.8.1esr -> 52.9.0esr, 60.0.2esr -> 60.1.0esr, nss: 3.36.4 -> 3.3… → https://git.io/f4bJa
<pushcx> So, I'm following the nix pills documentation and it says to install nix-repl to play in with 'nix-env -i nix-repl'. I did so as a regular user on my nixos box, but when I run nix-repl I get "error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied" Any suggestions?
mmlb37 has joined #nixos
<ldlework> pushcx: cool, I've worked with it too
Twey has joined #nixos
mmlb37 has quit [Read error: Connection reset by peer]
umbe[m] has joined #nixos
Twey is now known as Guest46296
<{^_^}> [nixpkgs] @Assassinkin closed pull request #40767 → WIP: pythonPackages.ModernGL: init at 5.2.1 → https://git.io/vppAw
Guest48419 has quit [Ping timeout: 240 seconds]
mmlb37 has joined #nixos
mmlb37 is now known as mmlb
asuryawa_ has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<slabity[m]> I'm trying to debug a simple function using `mapAttrs`, but my traces just say `trace: { name: <CODE>; }`. Why is `<CODE>` appearing?
blankhart has quit [Read error: Connection reset by peer]
<slabity[m]> `myfn = set: lib.mapAttrs (name: value: name + value) set;` and running it with `builtins.trace (myfn { name = "Test"; }) "";`
blankhart has joined #nixos
Guest46296 has quit [Ping timeout: 265 seconds]
<slabity[m]> Oh nevermind. Laziness got me
Guest46296 has joined #nixos
<srhb> pushcx: Just use nix repl nowadays :)
<catern> clever: ah. can't I just run the interpeter directly? in what Nix package is it located?
<pushcx> srhb: Yeah, docs are out of date.
stepcut has joined #nixos
<srhb> pushcx: If you have time, throw a note (or fix) here: https://github.com/NixOS/nix-pills
ryantrinkle has joined #nixos
stepcut_ has joined #nixos
<pushcx> it's already in the bug I found
spear3 has quit [Quit: Leaving]
hph^ has joined #nixos
spear2 has joined #nixos
andreabedini has quit [Ping timeout: 260 seconds]
erasmas has joined #nixos
stepcut has quit [Ping timeout: 260 seconds]
iyzsong has quit [Ping timeout: 240 seconds]
schjetne has quit [Remote host closed the connection]
humanoyd has quit [Quit: WeeChat 2.1]
drewr has joined #nixos
jtojnar has joined #nixos
__monty__ has quit [Quit: leaving]
redj_ is now known as redj
sgraf has quit [Quit: Leaving]
jperras has quit [Quit: WeeChat 2.1]
fragamus has joined #nixos
knupfer has joined #nixos
doyougnu has joined #nixos
andymandias has quit [Ping timeout: 260 seconds]
__monty__ has joined #nixos
newhoggy has joined #nixos
andymandias has joined #nixos
hph^ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42668 → feedgnuplot: init at 1.49 → https://git.io/f4dzY
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/f4bq8
stepcut has joined #nixos
<{^_^}> [nixpkgs] @jonafato opened pull request #42731 → keybase: 2.0.0 -> 2.1.0 → https://git.io/f4bqR
ericsagnes has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jonafato opened pull request #42732 → kbfs: 1.0.44 -> 2.1.1 → https://git.io/f4bqE
<{^_^}> [nixpkgs] @jonafato opened pull request #42733 → keybase-gui: 1.0.44 -> 2.3.0 → https://git.io/f4bqV
stepcut_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42708 → gdcm: 2.8.6 -> 2.8.7 → https://git.io/f4FIk
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « gdcm: 2.8.6 -> 2.8.7 (#42708) »: https://git.io/f4bqo
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
newhoggy has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #42734 → ocamlPackages.utop: 1.19.3 -> 2.1.0 → https://git.io/f4bqH
<{^_^}> [nixpkgs] @mboes opened pull request #42735 → bazel: 0.13.0 -> 0.15.0 → https://git.io/f4bq7
jmiven has quit [Quit: co'o]
jmiven has joined #nixos
rihards has joined #nixos
blankhart has quit [Ping timeout: 256 seconds]
periklis` has quit [Ping timeout: 260 seconds]
<infinisil> gchristensen: Do you happen to know how one could test this? https://github.com/NixOS/nixpkgs/pull/42676#issuecomment-401088823
<infinisil> Oh, building stdenv without any substitutions should do it
fendor_ has quit [Ping timeout: 260 seconds]
Guest46296 has quit [Ping timeout: 264 seconds]
ericsagnes has joined #nixos
Guest46296 has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
blankhart has joined #nixos
dotplus has joined #nixos
simukis has quit [Ping timeout: 268 seconds]
jperras has joined #nixos
jperras has quit [Client Quit]
amir has quit [Ping timeout: 240 seconds]
joshie has quit [Ping timeout: 264 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
jperras has joined #nixos
amir has joined #nixos
<catern> what nix package contains the dynamic linker?
<catern> i guess that's glibc
<catern> how do I fix QT applications not finding plugins? I guess I set some environment variable, but what? http://ix.io/1fix
hxrts has joined #nixos
ixxie has joined #nixos
aristid has quit [Ping timeout: 256 seconds]
aristid has joined #nixos
jensens has quit [Ping timeout: 260 seconds]
sigmundv has quit [Ping timeout: 260 seconds]
hph^ has joined #nixos
Drakonis has joined #nixos
ThatDocsLady has quit [Quit: Leaving]
agander has quit [Quit: Leaving]
m0rphism has joined #nixos
FRidh has joined #nixos
b7r has left #nixos ["Leaving"]
dbmikus_ has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
<fragamus> clever: I finally got that thing working
stanibanani has joined #nixos
fresheyeball has quit [Ping timeout: 248 seconds]
orivej has quit [Ping timeout: 264 seconds]
<ldlework> Can I have just a string as a nix expression?
<ldlework> like a password in my private subrepo that I import direct?
<ldlework> Maybe I should just keep all the passwords in an attrset
<infinisil> > "hunter2"
<{^_^}> "hunter2"
<ldlework> :)
<infinisil> Seems to be working!
<infinisil> I do keep all my passwords in an attrset
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9720833743f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<ldlework> infinisil: is it possible to shell out to a command and store it's output as a value in something like that? I have my passwords in a password manager. I don't really want my passwords even in a private git repo.
<infinisil> And gen.nix looks like { foo = "passwordforfoo"; bar = "passwordforbar"; }
<ldlework> right
earldouglas is now known as punktional
<infinisil> Yeah
<infinisil> Something like `import (pkgs.runCommand "password" {} "<command to produce password> > $out")`
<ldlework> infinisil: do I need to create a derivation?
<ldlework> I see.
<infinisil> It does use IFD though
<ldlework> IFD?
<infinisil> ,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
* ldlework looks back and forth
<infinisil> But that's not a problem usually
<ldlework> IFD?
<ldlework> oh
<ldlework> I ignored the bot
<ldlework> ,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
<infinisil> (And your passwords will still end up in the nix store)
<ldlework> hmm
<ldlework> ,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
<ldlework> there we go
<infinisil> Ahh
<ldlework> that makes my head swirl a bit conceptually
<infinisil> IFD is special because it needs to build a derivation at evaluation time
<infinisil> Without IFD, evaluation and build time would be strictly sequential
<catern> ldlework: I assume your password manager is not available in the sandbox
<catern> in which case you can't use IFD for this
<ldlework> I am very unclear about the nature of derivations and how they actually work so I'll take your word.
<infinisil> Well, you just need to import the data source into it and it might just work
<ldlework> Couldn't I just install lastpass-cli into the derivation?
<catern> yes, if you put your password manager database into the store, then it would work I guess ¯\_(ツ)_/¯
fresheyeball has joined #nixos
<ldlework> It gets the passwords from the internet
<fresheyeball> hey out there
tenten8401_ has joined #nixos
<fresheyeball> I want to do a mildly evil thing
<infinisil> ldlework: Well what I'm doing is just running a small bash script statefully (not in Nix), to produce the gen.nix file with the passwords
<fresheyeball> I want to use CI to deploy nixops things when my nix expression changes
<ldlework> I see.
<ldlework> fresheyeball: that doesn't sound very evil
reinzelmann has joined #nixos
<fresheyeball> ldlework: I want to leverage nix's ability to memoize builds to do it
<infinisil> fresheyeball: Memoize expressions or builds?
<fresheyeball> builds, check out my paste
<tenten8401_> Anyone know how I'd make NixOps use a specific channel again? I know it's something along the lines of NIX_PATH="nixpkgs=https://nixos.org/channels/nixos-18.03/" but I'm unsure what to put after the nixos-18.03 part
<fresheyeball> its a BS derivation with an effectful builder
<sphalerite> tenten8401_: nixexprs.tar.xz
<fresheyeball> so I think I should be able to have CI run `nix-build` when PRs are merged
<fresheyeball> and it will cause a deployment
<sphalerite> tenten8401_: although with nix 2.0 you can shorten that to NIX_PATH="nixpkgs=channel:nixos-18.03"
<infinisil> fresheyeball: Oh yeah that is evil and I wouldn't do it like that
<tenten8401_> ooh fancy
<fresheyeball> infinisil: how would you do it
<fresheyeball> ?
<tenten8401_> so it'd basically be NIX_PATH="nixpkgs=channel:nixos-18.03" nixops deploy -d name?
<infinisil> fresheyeball: I mean, you can give the CI a script to run, why not put the deploy there?
steell has quit [Quit: Lost terminal]
<fresheyeball> because I dont want it to deploy each time there is a PR merged. I only want to deploy if the nix expression changes
<fresheyeball> the alternative is to store hash state myself with MUTATION
<sphalerite> tenten8401_: yep
<fresheyeball> have like an ENV var on the box with an md5 of the nix expressions
<tenten8401_> seems to be working, thanks!
walter1 has joined #nixos
<fresheyeball> and then check if the new ones match in a CI script manually
<tenten8401_> sphalerite++
<{^_^}> sphalerite's karma got increased to 8
<fresheyeball> I don't think I should have to do that, given that nix has it for free
<ldlework> fresheyeball: shouldn't nix itself figure out that you're deploying what results in the same output as last time, and it wont do the deploy?
<infinisil> fresheyeball: Oh, nixops supports not doing the deployment when nothing changed already
<fresheyeball> infinisil: oh! what command does that?
<ldlework> it still has to evaluate...
<infinisil> fresheyeball: Hold on, checking
<fresheyeball> I don't see it in the --help
<ldlework> I feel like this is the default behavior of `deploy`
<fresheyeball> also in a bash script with writeShellScriptBin
<infinisil> fresheyeball: It's an option, see deployment.alwaysActivate here: https://nixos.org/nixops/manual/#idm140737317810768
<ldlework> Ah
<fresheyeball> how can I access coreutils? I am doing ${coreutils}/bin/tail
<fresheyeball> which is ugly
<sphalerite> fresheyeball: add ${coreutils}/bin to $PATH
<fresheyeball> oh duh
<fresheyeball> is there a thing though? I recall something like `source $stdenv` or something
<sphalerite> fresheyeball: sorry which context is this in?
<fresheyeball> writeShellScriptBin
<sphalerite> oh hm if you do that it'll create a dependency on stdenv which you may not want.
<sphalerite> oh wait no it won't work at all
<sphalerite> you'd have to do source ${stdenv}/setup but that would create the dep
<fresheyeball> sphalerite: I think thats a fine dep though
<sphalerite> oh and you'd need to set buildInputs too
<sphalerite> probably easiest to do `export PATH=${lib.makeBinPath [coreutils foo bar baz]}`
<fresheyeball> sphalerite: how about curl?
<fresheyeball> curl does not have a `bin` thing in its derivation
stanibanani has left #nixos [#nixos]
<fresheyeball> infinisil: alwaysActive defaults to true
<fresheyeball> so obviously that is not doing the trick
tenten8401_ has quit [Ping timeout: 260 seconds]
<infinisil> fresheyeball: you want to set it to false
<infinisil> So it doesn't activate when nothing changed
<fresheyeball> OH!
<endformationage> Where are systemd service module config options like preStart, serviceConfig defined?
<endformationage> .. or documented?
<infinisil> endformationage: <nixpkgs/nixos/modules/system/boot/systemd-unit-options.nix>
<infinisil> endformationage: https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E
steell has joined #nixos
<endformationage> Thank you!
<steell> anyone have experience setting up xmonad downloaded via nix but *not* NixOS?
<fresheyeball> infinisil: so I need to do a safe shutdown of jenkins before deploying if we deploy
<fresheyeball> Can I do that with nixops?
<steell> `xmonad --recompile` gives: xmonad: ghc: runProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
<fresheyeball> say, run this script before deploying, and if it fails fail
<infinisil> fresheyeball: Wrapper for nixops
<fresheyeball> infinisil: what do you mean?
<infinisil> make a wrapper for nixops that first shuts down jenkins then deploys
<fresheyeball> what do you mean by a wrapper?
numerobis has quit [Ping timeout: 260 seconds]
<infinisil> a shell script
<fresheyeball> how would I know there is a change to the nix expression?
<fresheyeball> given that I am using alwaysActivate = false; to prevent un-needed redeployes
<infinisil> Ah, so you don't want it to shut down jenkins when there is no change
<infinisil> Hmm..
<fresheyeball> right
<infinisil> steell: How did you build it?
<fresheyeball> I dont want to deploy unless there is a change
<fresheyeball> and shutting down jenkins safely is part of a deploy
<infinisil> fresheyeball: Hmm, alwaysActivate can't do that, but maybe you could look into --dry-run and --build-only
<steell> infinisil: nix-env -f "<nixpkgs>" -iA xmonad-with-packages
<ldlework> fresheyeball: it is an interesting problem
<ldlework> you got an rss feed to subscribe to in the case you solve it? :)
<infinisil> steell: What's does nix-info output?
<fresheyeball> infinisil: well now I am wondering if I can do this in the nix expression for this service
<fresheyeball> can I add custom steps to deployment?
<infinisil> Which service?
Guest46296 has quit [Quit: WeeChat 2.1]
<fresheyeball> the jenkins service
<infinisil> Don't think so, unfortunately
<infinisil> Nixops needs some hooks system
<ldlework> is there a nix conference?
<infinisil> ,nixcon ldlework
<{^_^}> ldlework: NixCon 2018 will be in London on 25-27 October, https://nixcon2018.org/
<infinisil> :D
<steell> infinisil: system: "x86_64-linux", multi-user?: no, version: nix-env (Nix) 2.0.4, channels(steell): "nixpkgs-18.09pre142870.bffc59badd0", nixpkgs: ~/steell/.nix-defexpr/channels/nixpkgs
<fresheyeball> infinisil: so how should I do this? I am back to thinking my evil approach is best
<infinisil> fresheyeball: What does jenkins do btw, and why do you need to shut it down?
<fresheyeball> it does builds with nix
<{^_^}> [nixpkgs] @andir closed pull request #42631 → Firefox 61 → https://git.io/f47QL
<fresheyeball> I don't want it to shutdown when nixops redeploys it
<fresheyeball> because it could kill a running build
<infinisil> steell: Can you gist the output of `strace xmonad --recompile`?
page_ has joined #nixos
<fresheyeball> a safe shutdown will wait for all builds to finish, then continue
<infinisil> Ohhh you want nixops to shut down, I thought you wanted jenkins to shut down
<fresheyeball> here is the sequence I want
<fresheyeball> 1. I merge a PR to the repo with nixops expressions in it
<fresheyeball> 2. Jenkins picks up the change and runs a job to redeploy and deployments effected by the change
<jluttine> a python package needs to have in its PATH a binary that is installed by the package when running its tests in checkPhase. how to achieve this?
<fresheyeball> 3. If the change is to the jenkins deployment, it redeploys itself by
<fresheyeball> 4. doing a safe shutdown of jenkins
<{^_^}> [nixpkgs] @dtzWill opened pull request #42737 → tor-browser-bundle-bin: 7.5.5 -> 7.5.6 → https://git.io/f4bBL
<fresheyeball> 5. then redeploying with nixops (which will bring jenkins back up reflecting the changes in git)
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
page has quit [Ping timeout: 240 seconds]
<ldlework> if jenkins is the ci that does the deploy, and you're trying to detect a change to jenkin's own nixops expressions, who is doing the redeploy of jenkins if it shuts itself down?
<steell> infinisil: i actually "fixed" it by installing ghc with nix-env, but now have a new issue where none of the xmonad haskell libraries are found when compiling xmonad.hs
<infinisil> steell: It's supposed to be wrapped with a GHC that has the correct libraries, again, can you share the gist of strace?
hxrts has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill merged pull request #42727 → lit: 0.5.1 -> 0.6.0 → https://git.io/f4F1i
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/f4bBB
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/9720833743f (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<infinisil> fresheyeball: Try if you can do something with --build-only or --dry-run
<infinisil> I'm not really in favor of trying to hammer Nix, meant for pure builds, into something that statefull does stuff, just so you can avoid using anything other than nix-* commands
<infinisil> State has it's place
<infinisil> its*
acarrico has joined #nixos
<infinisil> And if the above idea doesn't work, then the 'correct' solution would be to extend nixops so it can do it
alex``` has joined #nixos
<infinisil> fresheyeball: Or, another possibility: I'm actually using something to (almost) reproduce a nixops build via nix-build
<infinisil> steell: Not when you have ghc installed to "fix" it..
<infinisil> This way the original error isn't there anymore of course
alex`` has quit [Ping timeout: 260 seconds]
<steell> sorry, on it
chessai has joined #nixos
<steell> infinisil: gist updated
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
andymandias has quit [Ping timeout: 240 seconds]
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos
<jluttine> well, this is weird.. ould not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/nix/store/nwsww2h72aa6040sg3yzprl9qrhkgymx-python-2.7.15/lib/python2.7/site-packages/salmon-mail.egg-link'
<jluttine> s/ould not/Could not/
<fresheyeball> infinisil: looks like build-only and dry-run return exit code 0, even if no changes happened
<infinisil> fresheyeball: Maybe something to get with stdout/stderr
<jluttine> do i need to manually set permissions to files that go to store?
<{^_^}> [nixpkgs] @andir closed pull request #40763 → WIP: 18.03/sec updates → https://git.io/vppQL
<jluttine> that file is only root-accessible :/
mariatsji has joined #nixos
<infinisil> steell: Can you add the output of `cat $(which xmonad)` to the gist?
<infinisil> jluttine: I'm pretty sure Nix is supposed to set all files readable by everyone
<fresheyeball> infinisil: what do you mean?
<infinisil> fresheyeball: grep stdout/stderr or so, maybe extract the .drv from the output if it displays it
<jluttine> -rw-r----- 1 root root 33 Jun 28 21:24 /nix/store/nwsww2h72aa6040sg3yzprl9qrhkgymx-python-2.7.15/lib/python2.7/site-packages/salmon-mail.egg-link
<fresheyeball> infinisil: why do I need to do that?
andymandias has joined #nixos
<fresheyeball> oh, I see, just see if it outputs any drv?
<infinisil> jtojnar: That file doesn't exist
<infinisil> Wait
<infinisil> jluttine: Why does that file exist for you?
<infinisil> I just checked and it doesn't for me
<infinisil> fresheyeball: Yeah, you could save the drv path, and detect if it changed by comparing it to the last deploy run
<fresheyeball> I am trying to avoid maintaining that mutable state
spear3 has joined #nixos
spear2 has quit [Read error: Connection reset by peer]
<infinisil> Deployments have state though.. you can't avoid that
<jluttine> infinisil: i'm trying to upgrade pythonPackage.salmon-mail. testing my setup with `nix-shell -p pythonPackage.salmon-mail` and i get the permission error :/
<steell> infinisil: to confirm, you want the contents of the binary?
<{^_^}> [nixpkgs] @xeji merged pull request #42676 → treewide: http -> https sources → https://git.io/f4dKr
<{^_^}> [nixpkgs] @xeji pushed commit from @Infinisil to master « treewide: http -> https sources (#42676) »: https://git.io/f4b0V
<infinisil> jluttine: Try a `nix-store --verify-path <path>` and `nix-store --repair-path <path>`
<infinisil> steell: Oh, it's a binary for you? It's not supposed to be
<steell> yeah
<infinisil> steell: What does `which xmonad` output?
<steell> ~/steell/.nix-profile/bin/xmonad
<jluttine> path '/nix/store/nwsww2h72aa6040sg3yzprl9qrhkgymx-python-2.7.15' was modified! expected hash 'sha256:0rh2ncy09wzrj8r81c4y33f9sg96gi4k25fdj07zfv0j6kmisvbr', got 'sha256:0i1y8r9cfmm27p804dmjzv8wvdda1ivc6y62g44d3x09q9cbm734'
<jluttine> trying repair now..
<infinisil> steell: What about `nix-instantiate '<nixpkgs>' -A xmonad-with-packages`
<infinisil> jluttine: Did you mess with a mutable store? :P
<steell> /nix/store/piam16nah0jzfyyf76k40pap4n69c232-xmonad-with-packages.drv
<jluttine> infinisil: i'm not aware of doing anything like that
<jluttine> infinisil: no idea how to do something like that
<infinisil> jluttine: Weird
<jluttine> i'm just running nix-shell stuff
<fresheyeball> infinisil: ok, luckily, nixops deploy -d thang --build-only, returns different output if there are no changes
<fresheyeball> so I can leverage that
<infinisil> steell: And what about `realpath $(which xmonad)`
<jluttine> infinisil: ok, now nix-shell works without permission error. what on earth could have caused that mutation :o
<jluttine> i wonder if there are other store paths that are mutated for some reason :o
<infinisil> jluttine: I have no idea..
chreekat has joined #nixos
<infinisil> jluttine: You could do the ultimate check and repair: nix-store --verify --check-contents --repair
<{^_^}> [nixpkgs] @xeji closed pull request #42440 → xawtv: 3.104 -> 3.105 → https://git.io/f4SqZ
<steell> infinisil: /nix/store/gwsyv09kp1rwjpllcq3gi0rsn4higwy4-xmonad-0.13/bin/xmonad
<{^_^}> [nixpkgs] @xeji closed pull request #42448 → sonarr: 2.0.0.5163 -> 2.0.0.5225 → https://git.io/f4SY5
<infinisil> steell: Does running `$(nix-build --no-out-link '<nixpkgs>' -A xmonad-with-packages)/bin/xmonad --recompile` give an error too? (Might take a while)
<jluttine> my computer was acting a bit strangely about 15mins ago. everything was really slow. i had some nixos-rebuild running on the background so i thought it was that, but still it was really really slow, and it wasn't compiling anything. i'm wondering if there was some hard drive malfunction..? but how could that result in wrong permissions. i'd expect it to produce some nonsense
<infinisil> That might as well be the case
<infinisil> disk malfunctions aren't unheard of
<steell> infinisil: that appears to work, but doesn't include xmonad-contrib and xmonad-extras
<steell> according to the compilation errors, at least
<infinisil> steell: Yeah, you seem to not have installed xmonad-with-packages actually
<fresheyeball> infinisil++
<{^_^}> infinisil's karma got increased to 10
<steell> hmm i will rollback the generation and try again
<infinisil> steell: nah
<infinisil> steell: nix-env -iA nixpkgs.xmonad-with-packages
fzer0 has joined #nixos
<infinisil> Then check again if `cat $(which xmonad)` is still a binary (it shouldn't be)
<steell> infinisil: error: packages '/nix/store/qgz00795zjdmvd62lawp8n0cp5h82iw5-xmonad-with-packages/bin/xmonad' and '/nix/store/gwsyv09kp1rwjpllcq3gi0rsn4higwy4-xmonad-0.13/bin/xmonad' have the same priority 5; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the priority of one of the conflicting packages (0 being the highest priority)
nschoe has quit [Read error: Connection reset by peer]
<infinisil> Ah yes, uninstall the other one
<infinisil> steell: And then, to actually get your contrib & extras packages, you'll have to do something else too
<infinisil> (putting together an expression to run)
MichaelRaskin has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<infinisil> steell: nix-env -iE 'pkgs: pkgs.xmonad-with-packages.override { packages = self: with self; [ xmonad-contrib xmonad-extras ]; }'
<infinisil> Should probably work, alternatively, use a nix file to declaratively install packages
<infinisil> steell: Oh, and if you want an easy way to uninstall something, use `nix-env -q | fzf | xargs -I{} nix-env -e {}` (needs fzf installed)
dbmikus_ has quit [Ping timeout: 260 seconds]
dbmikus_ has joined #nixos
phdoerfler has joined #nixos
freeman42x]NixOS has joined #nixos
pikajude has joined #nixos
jtojnar has quit [Quit: jtojnar]
<pikajude> hello
<pikajude> my hydra isn't actually running any builds
<pikajude> they've been stuck in queue for a long time
<pikajude> what am i doing wrong
reinzelmann has quit [Quit: Leaving]
jtojnar has joined #nixos
<jluttine> there were indeed a few nix store paths that were mutated. :o anyone else have similar issues? for instance, /nix/store/s7jlb60pgwp308gp85han2p31vz0n792-python3.6-pyOpenSSL-17.5.0 and /nix/store/x9yd5nwcqndjmqzpysfhl426wwpzbqz9-python2.7-bootstrapped-pip-10.0.1 were mutated
<jluttine> i'm a bit worried now
mariatsji has quit [Remote host closed the connection]
heyho has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to master « lxd: also needs ebtables »: https://git.io/f4bz7
<steell> infinisil: error: attribute 'xmonad-with-packages' missing, at (string):1:7
<heyho> is there some easy way to setup plasma to use wayland? (sddm)
<infinisil> steell: ah, use 'pkgs: pkgs.nixpkgs.xmonad-with...' instead
<steell> infinisil: error: value is a function while a set was expected, at (string):1:7
<infinisil> damnit, umm
colonel_john_by has joined #nixos
<pikajude> this has historically been an issue with hydra, hasn't it
<pikajude> it doesn't say why a job isn't buildable
<infinisil> steell: Just write a nix file with the contents `with import <nixpkgs> {}; xmonad-with-packages.override { packages = self: with self; [ xmonad-contrib xmonad-extras ]; }` and install that with `nix-env -if file.nix`
<{^_^}> [nixpkgs] @matthewbauer merged pull request #42669 → Upstream PLIST handling → https://git.io/f4dzz
<{^_^}> [nixpkgs] @matthewbauer pushed 7 commits to master: https://git.io/f4bgo
chessai has quit [Ping timeout: 268 seconds]
blankhart has quit [Ping timeout: 264 seconds]
<infinisil> This nix-env -E thing is weird
sir_guy_carleton has quit [Ping timeout: 268 seconds]
blankhart has joined #nixos
fragamus has joined #nixos
<steell> infinisil: cool that seems to work! if i need to pull in other packages, i can just add them to the package list next to xmonad-contrib and xmonad-extras?
<infinisil> yeah
<infinisil> and reinstall
<steell> is there an easy to reinstall besides uninstalling then installing?
<infinisil> just install it again
<infinisil> It will uninstall the old one automatically
<infinisil> (it didn't work before because it can't replace xmonad with xmonad-with-packages, different name)
<steell> cool, gonna give this a shot
chessai has joined #nixos
heyho has quit [Ping timeout: 260 seconds]
steell has quit [Quit: Lost terminal]
steell has joined #nixos
<steell> infinisil: success!
<steell> infinisil++
<{^_^}> infinisil's karma got increased to 11
fzer0 has quit [Quit: Leaving]
<infinisil> Nice \o/
<pikajude> ok I opened an issue, NixOS/hydra#568
<{^_^}> https://github.com/NixOS/hydra/issues/568 (by pikajude, open): Hydra doesn't build queued jobs, episode 4
<pikajude> thanks {^_^}-bot
steell has left #nixos [#nixos]
tenten8401_ has joined #nixos
blankhart has quit [Remote host closed the connection]
blankhart has joined #nixos
<tenten8401_> Anyone know if there's a way to have NixOps build the configuration on the server rather than my local computer? I'm on a painfully slow connection and it's trying to build around 100 packages
<tenten8401_> I've been waiting for gcc to download for a good 20 minutes and it's failed several times already
<hodapp> https://github.com/NixOS/nixpkgs/issues/24315 uhm, my eyes are glazing over trying to make sense of the issue or its solution. can anyone lend some clarity? I am running into this in nix-shell on one of my own derivations
<hodapp> the usual 'qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""'
heyhp has joined #nixos
<hodapp> oh, I guess it's https://github.com/NixOS/nixpkgs/issues/37864 also
logzet_ has quit [Ping timeout: 265 seconds]
logzet has joined #nixos
<matthewbauer> dhess: did you manage to figure out what was causing your ARGMAX issue?
<matthewbauer> I think there is an issue in generic-builder.nix because we were not hitting the ARGMAX on macOS so often before
<infinisil> hodapp: Maybe something like in https://github.com/rycee/home-manager/pull/269 works for you
orivej has joined #nixos
<{^_^}> [nixpkgs] @dasJ opened pull request #42740 → rainloop: Init at 1.12.0 → https://git.io/f4bVK
camsbury has quit [Remote host closed the connection]
<ixxie> when the snowflake logo was picked for NixOS, was it a bit of a joke about https://martinfowler.com/bliki/SnowflakeServer.html
camsbury has joined #nixos
<tenten8401_> I like the snowflake
<ixxie> yeah me too
<ixxie> but check out the article
<ixxie> its describing the *opposite* of NixOS
walter1 has quit [Ping timeout: 260 seconds]
<tenten8401_> lol
<tenten8401_> "Good for a ski resort, not for a datacenter"
dbmikus_ has quit [Ping timeout: 240 seconds]
asuryawanshi has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
<dtz> haha
<dtz> i like the logo too but lol re;snowflake server
camsbury has quit [Remote host closed the connection]
dbmikus_ has joined #nixos
camsbury has joined #nixos
<tenten8401_> So there's really not a decent way to build the nixops packages on a remote server?
<tenten8401_> should I just move the NixOps config folder over to the remote server?
<{^_^}> [nixpkgs] @matthewbauer pushed to master « libcCross: Use correct libSystem »: https://git.io/f4bwn
<ixxie> 'NixOS: our logo is flaky but our systems ain't!'
<Mic92> The new dep/rpm nix packages work great! https://github.com/Mic92/nix-fpm-multiuser/releases
<dtz> i really hope so, and look forward to that being something we can distribute + rely upon
myshoe has quit [Remote host closed the connection]
<endformationage> How can I test if a string holds an abs path? I tried to use lib.pathExists with builtins.tryEval but still end up with an error.
dbmikus__ has joined #nixos
dbmikus_ has quit [Ping timeout: 260 seconds]
walter1 has joined #nixos
dbmikus__ has quit [Ping timeout: 240 seconds]
<Mic92> endformationage: you mean if the path starts with `/` or if it exists?
mkoenig has quit [Remote host closed the connection]
<endformationage> I have an option of type.str where I want to allow specifying a file name, or abs path to a file.
<infinisil> endformationage: Just make it types.path
<infinisil> relative path doesn't make much sense because it's unspecified relative to what
<infinisil> And you can still do `my.option = ./foo/bar;`, because ./foo/bar will get expanded to an absolute path
heyhp has quit [Ping timeout: 260 seconds]
<infinisil> relative to the current nix file
dbmikus__ has joined #nixos
nuncanada has joined #nixos
<endformationage> Alright. Thank you.
<Mic92> but be aware that ./foo/bar might copy stuff to the nix store.
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @xeji closed pull request #42680 → simgrid: 3.19.1 -> 3.20 → https://git.io/f4d9M
<infinisil> endformationage: ^^. Use toString if you don't want it to copy stuff to the nix store in any case
<endformationage> Hmm. I don't think using a path will work for what I wish to do, seen a rel path will expand to abs.
shabius_ has joined #nixos
<infinisil> Well what do you need it for?
<infinisil> If you do need to have it relative at runtime somewhere, then it's just a types.str that you want
<endformationage> In my case, I want to allow the naming of a key file, which will be either placed manually, of generated by this name. OR if the string is an abs path, describes the path to the keyfile.
shabius_ has quit [Client Quit]
<endformationage> s/of generated/or generated
work_ has joined #nixos
<infinisil> Oh, well then you just need types.str and have some ifs that change the behaviour depending on the value
shabius has quit [Ping timeout: 240 seconds]
<endformationage> ok, as is matching agaist the str I assume
<endformationage> sounds right.
wangoe has quit [Ping timeout: 255 seconds]
shabius has joined #nixos
coot has quit [Quit: coot]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41722 → mbedtls: cmake&ninja, threading, clean-up; hiawatha: options, Nix mbedtls → https://git.io/vhgXK
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Anton-Latukha to master « mbedtls: cmake&ninja, threading, clean-up; hiawatha: options, Nix mbedtls (#41722) »: https://git.io/f4boy
simukis has joined #nixos
freeman42x[nix] has joined #nixos
asymmetric has joined #nixos
tenten8401_ has quit [Ping timeout: 260 seconds]
<asymmetric> on non-nixos, what's the best way of running a program installed with nix in a cron job?
<asymmetric> is it to run a script that sources ~/.nix-profile/etc/profile.d/nix.sh ?
<asymmetric> in order to get /nix/store into $PATH etc
heyhp has joined #nixos
<symphorien> you can probably call ~/.nix-profile/bin/foo
ixxie has quit [Ping timeout: 248 seconds]
asymmetric_ has joined #nixos
camsbury has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @rycee opened pull request #42741 → eclipses: 4.7.3a -> 4.8 → https://git.io/f4bKX
asymmetric has quit [Ping timeout: 256 seconds]
chreekat has quit [Ping timeout: 268 seconds]
baconicsynergy has joined #nixos
matthewbauer has quit [Read error: Connection reset by peer]
wangoe has joined #nixos
phdoerfler1 has joined #nixos
phdoerfler has quit [Read error: Connection reset by peer]
chreekat has joined #nixos
<endformationage> infinisil: This has worked for me: if builtins.length (lib.splitString "/" key) > 1 then "path stuff" else "name stuff"
<endformationage> Thanks
kreetx has quit [Ping timeout: 240 seconds]
<infinisil> endformationage: Um, that doesn't work correctly
<endformationage> Dang.
<infinisil> Oh
<infinisil> Well it does work if that's the thing you want
<infinisil> But a relative path could also have no "/" in it
<endformationage> I suppose in my case a relative path without a path sep means naming the key.
walter1 has quit [Quit: WeeChat 2.1]
<infinisil> Alright then
robstr has quit [Quit: WeeChat 1.9.1]
<infinisil> Might just be a bit confusing
nschoe has joined #nixos
simukis has quit [Quit: simukis]
ihar has quit [Quit: WeeChat 2.0]
rardiol1 has joined #nixos
tenten8401_ has joined #nixos
<{^_^}> [nixpkgs] @tadfisher opened pull request #42742 → zoom-us: 2.2.123200.0405 -> 2.2.128100.0627 → https://git.io/f4bP3
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> [nixpkgs] @benley opened pull request #42743 → thunderbolt: 0.9.2 -> 0.9.3 → https://git.io/f4bPG
<{^_^}> [nixpkgs] @Mic92 opened pull request #42744 → nix-review: 0.2.0 -> 0.3.0 → https://git.io/f4bPn
camsbury has joined #nixos
<tenten8401_> Are modules able to write to installation directories of packages? For instance, if I needed to write a configuration file for a webapp to wherever that webapp is installed
<tenten8401_> And is there a way I can give a webapp write access to it's install location (for caching), how would that work?
heyhp has quit [Quit: Page closed]
<Mic92> tenten8401_: usually services prepare a directory, where the webapp can write to. what application do you work on?
<Mic92> sometimes symlinking application files from the nix store to a directory in /var/lib works fine
<tenten8401_> Thinking about writing a module for Pterodactyl, which is based on Laravel in PHP
<Mic92> and the remaining stuff is writable
<tenten8401_> It needs to have write access to some directory inside of it's install
<tenten8401_> so maybe just symlink the file that needs write access to somewhere in /var/lib?
<Mic92> no the other way around.
<Mic92> but this could also work,
__Sander__ has joined #nixos
<infinisil> nix checks all symlinks, they can't point outside the store afaik
<tenten8401_> so there really wouldn't be a good way to have a webapp as a package?
<infinisil> Or not! It does work!
<Mic92> we even support gitlab kind of, which is a nightmare in this regard.
<tenten8401_> might try linking the cache directory to /tmp or something
<tenten8401_> because, it is a cache
<tenten8401_> but at the same time idk
<tenten8401_> I wish NixOS had a system in place for writable application storage
worldofpeace has joined #nixos
<infinisil> Patch it to not do that
<tenten8401_> caching speeds it up though
szicari has quit [Quit: Leaving.]
<infinisil> No, patch it to use something else for caching, not its installation directory, but maybe the directory its being run from
<{^_^}> [nixpkgs] @fragamus opened pull request #42745 → hmetis package → https://git.io/f4bXI
<infinisil> Oh wait, it's not a program, just some web things?
<tenten8401_> yeah
<tenten8401_> bunch of PHP scripts
* infinisil thinks
* benley thonks
andymandias has quit [Ping timeout: 256 seconds]
travankor has joined #nixos
* __monty__ thunk
<{^_^}> [nixpkgs] @Mic92 merged pull request #42712 → deadbeef-mpris2-plugin: 1.10 -> 1.11 → https://git.io/f4FL7
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/f4bXs
<infinisil> No idea
<{^_^}> [nixpkgs] @Mic92 merged pull request #42711 → eid-mw: 4.4.2 -> 4.4.3 → https://git.io/f4FL2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/f4bXG
<tenten8401_> I feel like I know why some people manage their webapps the stupid way now
<infinisil> Don't webservers have some option to combine multiple directories, falling back to the second one if the first one doesn't have the file?
<tenten8401_> not that I know of
<infinisil> What program writes these cached files? php?
<tenten8401_> yeah
<infinisil> Oh, but then somewhere in this webapp they write these cache files
<tenten8401_> infinisil: yes
rihards has quit [Quit: rihards]
<__Sander__> tenten8401_: a composer project
<tenten8401_> Mic92: Let me see what needs write access again, 1s
<__Sander__> maybe you'll like https://github.com/svanderburg/composer2nix
<tenten8401_> would it not be appropriate to just `composer install` when building the package?
<{^_^}> [nixpkgs] @svanderburg pushed to master « nodePackages: regenerate with node2nix 1.6.0 »: https://git.io/f4bXM
<__Sander__> tenten8401_: you can, but you can also use Nix to obtain the dependencies
<tenten8401_> Mic92: that seems promising, but I might have to find out if I can set that path in .env, since that file is technically part of the app
<tenten8401_> doesn't look like it can be changed in .env but I'll have a look
fresheyeball has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @joachifm merged pull request #42737 → tor-browser-bundle-bin: 7.5.5 -> 7.5.6 → https://git.io/f4bBL
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/f4bXA
travankor has quit [Ping timeout: 260 seconds]
<Mic92> tenten8401_: well, patch the configuration file when you build the package instead.
<tenten8401_> I guess I could
<tenten8401_> I'll check if I can edit the laravel storage path
stepcut has quit [Remote host closed the connection]
travankor has joined #nixos
ottidmes has joined #nixos
stepcut has joined #nixos
roconnor has joined #nixos
nuncanada has quit [Quit: Leaving]
<tenten8401_> Looks like I can set APP_STORAGE in .env
<tenten8401_> it might work
andymandias has joined #nixos
<tenten8401_> I'll see what I can do
<tenten8401_> oh, not sure if this got answered earlier, but are modules able to write to app directories?
<tenten8401_> say I needed to have a module configure .env inside of my laravel app
punktional is now known as duiglas
stepcut has quit [Ping timeout: 240 seconds]
duiglas is now known as earldouglas
<{^_^}> [nixpkgs] @xeji merged pull request #42726 → bison: 2.7 -> 2.7.1 → https://git.io/f4FPY
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to staging « bison: 2.7 -> 2.7.1 (#42726) »: https://git.io/f4b1l
travankor has quit [Read error: Connection reset by peer]
<tenten8401_> Looks like setting APP_STORAGE definently works just fine in /tmp
<ottidmes> I really would like to use Live Share within Visual Studio Code on NixOS, but I ran into this issue: https://github.com/NixOS/nixpkgs/issues/41189. I tried to fix that by adding the missing library and got ldd to report it can be found, but when I run the executable I still get: no such file or directory. Any idea?
__monty__ has quit [Quit: leaving]
<ottidmes> The executable itself obviously does exist, but how do I figure out what is still misconfigured. I tried running strace to get more insights, but that just reported: execve("/home/user/.vscode/extensions/ms-vsliveshare.vsliveshare-0.3.335/dotnet_modules/vsls-agent", ["/home/user/.vscode/extension"...], 0x7ffd6bb4a570 /* 83 vars */) = -1 ENOENT (No such file or directory)
npmccallum has quit [Ping timeout: 256 seconds]
nschoe has quit [Ping timeout: 276 seconds]
<Mic92> ottidmes: run ldd on the same file
<Mic92> it probably needs some love from patchelf
<Mic92> you will get ENOENT when the link-loader cannot be found
asymmetric_ has quit [Ping timeout: 256 seconds]
<dgpratt> setting up a fresh NixOS install in VBox, is there any reason to try to set it up as UEFI? any good resources for explaining considerations for partition configuration?
<Mic92> tenten8401_: no modules can't, they can only create override derivations to create new packages.
<tenten8401_> Last time I tried setting up VBox and UEFI I wasn't able to get a bootable system
<tenten8401_> so if I needed to configure .env with a module I'd basically be screwed?
<srk> looks like setting WorkingDirectory to $baseDir while also trying to create it in preStart is a bad idea, right?
<infinisil> Mic92: He did put the ldd output in the issue
<tenten8401_> would we need a new entry for the .env file in the nix store or something?
<ottidmes> Mic92: ldd on that file just works, it reports me the libraries used, when I run file on the file I get: /home/user/.vscode/extensions/ms-vsliveshare.vsliveshare-0.3.335/dotnet_modules/vsls-agent: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=51dab8bca0432777b85954f4705cc50111f39950, stripped
<Mic92> tenten8401_: pkgs.fancy-package.overrideAttrs (old: { postInstall = "dirty patching"; })
<Mic92> ottidmes: here we go: /lib64/ld-linux-x86-64.so.2 does not exists on macOS
<Mic92> *nixos
<tenten8401_> and that'd overwrite it and make a new package?
<Mic92> you need patchelf
asuryawanshi has quit [Read error: Connection reset by peer]
<tenten8401_> I'm so confused
<Mic92> tenten8401_: it overrides the expression which in turn builds a package with overriden postInstall
<Mic92> this can be then installed in a module
<Mic92> if you only use the package in the module, you will only build & install the package once
<ottidmes> Mic92: Ah, thanks :) (I am not used to this stuff), the annoying thing is that it is installed as an extension, but hopefully I can still patch them the improper way
<Mic92> ottidmes: we have some visual code packages in nixpkgs as well for reference
<dgpratt> assuming no UEFI, I further assume I can just use one big partition, any obvious reason not to do that?
nschoe has joined #nixos
Drakonis has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes> Mic92: We do? Awesome, I will check them out then, was just Googling for a way to do something like that
aanderse_ has quit [Remote host closed the connection]
matthewbauer has joined #nixos
aanderse_ has joined #nixos
<Mic92> ottidmes: pkgs/misc/vscode-extensions
<ottidmes> Mic92: Hah, found this: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vscode/with-extensions.nix but my next question was indeed, where are actual examples of this, you've read my mind
<infinisil> <nixpkgs/pkgs/misc/vscode-extensions>
<Mic92> interesting
<infinisil> It sure it rather tedious to have to patch everything for Nix all the time..
<infinisil> is*
<infinisil> It does pay off by being reproducible and stuff, but still
asuryawanshi has quit [Ping timeout: 264 seconds]
<ottidmes> infinisil: Agreed, was thinking the same, its annoying that I have to do this patching now, but then I thought about a hard drive fuckup a few months ago that could be solved by a simple rebuild and backup
fragamus has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #42746 → Manual fixes: users.extraUsers -> users.users → https://git.io/f4bD0
asuryawanshi has joined #nixos
newhoggy has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
asuryawanshi has quit [Ping timeout: 260 seconds]
blankhart has quit [Ping timeout: 260 seconds]
asuryawanshi has joined #nixos
<rardiol1> is there something like "nix build --no-link -f '<nixpkgs/nixos>' config.system.build.toplevel" but for a user?
<{^_^}> [nixpkgs] @dtzWill opened pull request #42747 → llvm6: 6.0.0 -> 6.0.1 → https://git.io/f4byT
newhoggy has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « lf: 5 -> 6 »: https://git.io/f4by3
newhoggy has joined #nixos
alex``` has quit [Quit: WeeChat 2.1]
hph^ has quit [Ping timeout: 264 seconds]
asuryawanshi has quit [Ping timeout: 268 seconds]
chessai has quit [Remote host closed the connection]
newhoggy_ has joined #nixos
<infinisil> rardiol1: What do you mean by "for a user"?
jmsb has joined #nixos
asuryawanshi has joined #nixos
newhoggy has quit [Ping timeout: 248 seconds]
<rardiol1> infinisil: that commands roughly replaces nixos-rebuild with something a little more informative, I want a command that replaces "nix-env -u"
<jmsb> hey everybody--i am trying to run a glfw application and am seeing libGL errors about loading drivers. i.e., 'libGL error: unable to load driver: i965_dri.so'
<infinisil> rardiol1: What do you mean by "replaces "nix-env -u""? nix-env -u uninstalls a program
ajs124 has left #nixos ["Machine going to sleep"]
<infinisil> rardiol1: Do you want a declarative user configuration via a nix file, instead of the stateful nix-env -i?
<rardiol1> infinisil: I'm quite sure that updates every program you have on your user profile?
<infinisil> Oh
<infinisil> Sorry right, -e is uninstall
<rardiol1> so I do nixos-rebuild switch for a system upgrade, and nix-env -u (--leq) for updates, but can I do user profile update with the more informative nix command?
roconnor has quit [Ping timeout: 260 seconds]
<infinisil> You mean the single fancy terminal line?
goibhniu has quit [Ping timeout: 256 seconds]
<infinisil> A direct equivalent to nix-env doesn't exist
asuryawanshi has quit [Ping timeout: 240 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has quit [Ping timeout: 260 seconds]
<rardiol1> yes, but there is that fancy terminal line that builds the system wide nix configuration, I assumed maybe there is a user equivalent
phdoerfler1 has quit [Quit: Leaving.]
asuryawanshi has joined #nixos
<infinisil> rardiol1: You could use the normal nix commands (and therefore have this build status), if you were to use a declarative user configuration instead
<{^_^}> [nixpkgs] @xeji merged pull request #42734 → ocamlPackages.utop: 1.19.3 -> 2.1.0 → https://git.io/f4bqH
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/f4b9Y
asuryawanshi has quit [Ping timeout: 260 seconds]
matthewbauer has quit [Ping timeout: 260 seconds]
fragamus has joined #nixos
newhoggy_ has quit [Remote host closed the connection]
newhoggy has joined #nixos
<ottidmes> Hmm, vscode-with-extensions works as intended, I do see live share preinstalled, but it did not compile, so the binaries are not present. And I do not know how to make it compile those executables
Ross has quit [Quit: ZNC - http://znc.in]
hph^ has joined #nixos
asymmetric_ has joined #nixos
newhoggy has quit [Ping timeout: 256 seconds]
init_6 has joined #nixos
asymmetric_ has quit [Ping timeout: 260 seconds]
tzemanovic has joined #nixos
blankhart has joined #nixos
erasmas has quit [Quit: leaving]
dbmikus__ has quit [Ping timeout: 240 seconds]
Wharncliffe has joined #nixos
newhoggy has joined #nixos
<infinisil> Is there something to get a random open PR for reviewing?
newhoggy_ has joined #nixos
newhoggy has quit [Ping timeout: 248 seconds]
<infinisil> gchristensen: Meh, I don't want an email for that, I don't have time every day
<infinisil> But now I know what this "Code Helpers" thing means :)
<infinisil> Oh well, I get tons of emails daily already, might as well sign up for that too in the hopes of getting an issue I have an idea about
<gchristensen> you can set it to 0/day
init_6 has quit []
<gchristensen> and then "send me a new issue" by hand on that page when you want
<samueldr> at 0 the button disappears!
<samueldr> :/
<infinisil> Lol
<gchristensen> not for me?
orivej has quit [Ping timeout: 256 seconds]
<samueldr> (once saved)
<infinisil> After clicking Save
asuryawanshi has joined #nixos
<catern> hey #nixos, how come when I nix-env -iA nixpkgs.idris, I get build errors?
<catern> something about *** abort because of serious configure-time warning from Cabal
<catern> what gives?
<samueldr> I looked at codetriage before, but it seems to only do issues?
<infinisil> Yeah, I'm more interested in PR's actually
<gchristensen> ooh
<samueldr> infinisil: it's yak shaving time again :)
<infinisil> How about this: echo $(( RANDOM % 30 )) $(( RANDOM % 25 ))
<infinisil> Wait
* samueldr wonders how un-random it would be to pick a random page in the github api and then random issue in there
<samueldr> WELL
<catern> huh
<catern> even on the latest version of nixpkgs, nixpkgs.idris still fails to build. has it just always been broken or something???
<infinisil> > randomUpto 30
<{^_^}> 29
<infinisil> > randomUpto 25
<{^_^}> 12
<infinisil> Entry 12 on page 29 of the open PR's :)
vasiliy_san has joined #nixos
<catern> (why is there a random number generator in nix)
<infinisil> Huehue
<infinisil> catern: Are you sure you don't have some weird overlay
newhoggy_ has quit [Remote host closed the connection]
<infinisil> I have idris installed all the time from unstable nixos
asuryawanshi has quit [Ping timeout: 264 seconds]
<infinisil> catern: Builds just fine on master for me
<catern> that is extremely curious
urien1[m] has joined #nixos
<infinisil> catern: nix-build -A idris
<infinisil> When you use import <nixpkgs> it doesn't use the current path
<catern> oops sorry
RealUnix28200 has joined #nixos
<srk> does it make sense to introduce types.float? looks like floats and isFloat are available now
ldesgoui[m] has joined #nixos
<catern> yeah, when I do that it works
<catern> awkward
<catern> thanks!
<catern> wait actually
camsbury has quit [Remote host closed the connection]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
camsbury has joined #nixos
<infinisil> If it still doesn't work, try adding --arg config {} --arg overlays '[]'
nonfreeblob has joined #nixos
<RealUnix28200> Hello
<catern> no it still works just fine
<catern> I was just confused why there are two different 'idris' packages
<RealUnix28200> cc
<samueldr> hi!
<infinisil> catern: Nice to see more people interested in Idris :D
rprije has joined #nixos
camsbury has quit [Ping timeout: 260 seconds]
<catern> there's an idris study group at my job and they're using Nix to install Idris :)
<srk> speaking about types.. what about longtitude and latitude? :D
<tenten8401_> related to my issue earlier with Laravel and write permissions, turns out there's a hardcoded cache directory in Laravel and that's what's causing issues
<tenten8401_> friend of mine is working on something that should override it
Judson has joined #nixos
<nonfreeblob> Hey, guys! I want to create a new package based on an existing nix expression, but with different parameters. Should I consider this as an init of a new package or an upgrade of an existing one?
<Judson> I'm trying to update the Gemfile of an existing project. When I run bundix, I get a bunch of errors to the effect that the Nix DB is write only.
<Judson> I know I've seen this problem before, but I can't remember the fix.
<srk> bundix -l ?
<Judson> Generally it's that I'm already in a nix-shell, and killing that fixes it...
<Judson> Rebundles, but then I get errors again.
btbytes has joined #nixos
<catern> nonfreeblob: is it the same project? what's the concrete software you're working with? I think it's kind of a case-by-case thing
<catern> Judson: do you have NIX_REMOTE set?
<Judson> catern: no
<Judson> nix-instantiate --eval -E builtins.toJSON(import /home/judson/dev/mezzo/gemset.nix) => error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied
<{^_^}> [nixpkgs] @matthewbauer pushed to master « xcbuild: add missing bins »: https://git.io/f4b7i
<Judson> (is what bundix says)
mkoenig has joined #nixos
<Judson> Weirdly, I can run that nix-instantiate myself without problem.
<Judson> Does that look familiar, manveru?
<nonfreeblob> catern: I'm working on x11 version of nethack. Is it ok if I name the package and the new binary "nethack-x11"?
<catern> Judson: and are you using a daemon-based Nix?
<catern> (if you're on NixOS, you are)
<catern> if so, NIX_REMOTE should be set to daemon
<{^_^}> [nixpkgs] @patternspandemic opened pull request #42748 → nixos/neo4j: Update module, make compatible with neo4j 3.4 → https://git.io/f4b5I
<catern> nonfreeblob: yes, that seems fine - it will probably have a whole different set of dependencies right? it's not just the same piece of software built differently
<catern> well, different dependencies is often a consequence of building differently... but what I meant to say is that the source code is different - right?
<Judson> catern, yes, daemon based, NixOS
npmccallum has joined #nixos
<catern> Judson: try export NIX_REMOTE=daemon and see if that fixes it
<catern> I think Nix 2.0 is supposed to autodetect this though
<catern> (so maybe the real problem is you accidentally downgraded?)
<Judson> It does. Huh.
<Judson> Nah, I've been using `nix search` to try to debug this...
ericsagnes has quit [Ping timeout: 256 seconds]
<catern> Sure, but what does nix-instantiate --version output?
<nonfreeblob> catern: In fact, the changes are not very big, although there are additional inputs and changes compared to the regular version.
<Judson> nix-instantiate (Nix) 2.0
<catern> odd, maybe I misremember then
<Judson> Hrm
<catern> anyway, I admit I'm not quite sure how that environment variable is supposed to be set by NixOS, but probably it's set by profile.d and there's something in your user environment that's unsetting it
<Judson> Could be.
<catern> nonfreeblob: but is it actually forked code?
<Judson> I have a couple of weird irritations along those lines.
<Judson> My xdg-open stuff continues to be borked.
<catern> nonfreeblob: let me rephrase: it's actually a different set of source code, right? so there are a lot of packages where the same source code is built in different ways - that's fine and a really powerful strong point of Nix
<catern> it's a little unusual to have the same package definition building different source code, though, so probably it's best to copy and paste if the source code is different/coming from a different location
<catern> (usually the same package building different source code happens for things where there are multiple versions of a single project in Nixpkgs)
<catern> (as in version numbers)
nschoe has quit [Quit: Program. Terminated.]
<{^_^}> [nixpkgs] @LnL7 opened pull request #42749 → nixos: add system.nixos.stateVersion alias → https://git.io/f4b52
<nonfreeblob> catern: Source is the same. This is most similar to crawl and crawl-tiles with one default.nix but two packages in all-packages.nix. I also added a binary input to switch between the two packages.