gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
Rusty1 has joined #nixos
qyliss^work has quit [Quit: bye]
qyliss has quit [Quit: bye]
jasongrossman has joined #nixos
apaul1729 has quit [Remote host closed the connection]
qyliss has joined #nixos
qyliss^work has joined #nixos
drakonis has joined #nixos
Lisanna has quit [Ping timeout: 250 seconds]
jasongrossman has quit [Remote host closed the connection]
kvda has joined #nixos
aleph- has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
Lisanna has joined #nixos
thc202 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to release-18.09-firefox64: https://git.io/fpxiM
dgarzon has joined #nixos
commander has quit [Remote host closed the connection]
<dgarzon> Hi, given: https://gist.github.com/dgarzon/b454c25b5a9fb4d6e1cf0ef8da6436b6, is it possible to modify `wrapdocker` so that it uses `docker` `dockerd` and `dmsetup` from nixpkgs? I tried using `substituteInPlace` but that seems ugly. Any alternatives? Thanks!
<{^_^}> [nixpkgs] @fpletz merged pull request #46806 → nixos/testing: disallow special chars in machine names in network expressions → https://git.io/fADwk
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fpxPL
jasongrossman has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
petersjt014 has quit [Ping timeout: 250 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
<catern> are there any other build systems like Nix that have the ability to express some common target as a function which takes parameters?
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
<catern> er that is, are there any build systems that are like Nix in that they have that ability?
<catern> basic Make doesn't have that ability, right?
Rusty1 has joined #nixos
slack1256 has joined #nixos
<catern> I'm doing a thing where I want to do a bunch of complex builds, but I think that I probably can't use Nix for them because there's a bunch of things involved that are un-Nixy... I have huge artifacts that I don't want to copy into the store, secrets/private information in the build that shouldn't be world-readable, and I need to access the network at build time...
<catern> but I still want all the nice features of Nix
<catern> (the nix language anyway)
dgarzon has quit [Quit: dgarzon]
dgarzon has joined #nixos
<manveru> catern: you could use a private store?
dgarzon has quit [Client Quit]
<manveru> and for networking, that's what fixed output derivations are for
<catern> manveru: i have multi-user machines, I can't have a private store - and having each user have their own copy of everything in their home directory would be inefficient and very easy to mess up
<catern> manveru: I want to do network access without being fixed output
<catern> I could disable the sandbox, but again that's anti-Nix
<catern> and likewise I could just bite the bullet and put my huge artifacts in the store
<catern> but because all these things are annoying with nix, that's why I asked about other build languages with similar features
<manveru> sorry, can't really help you then :|
<manveru> i think i heard of a kinda similar build system that google uses?
<manveru> forgot the name though
<manveru> bazel?
<catern> urgh, I know of bazel but I don't really like it :)
<manveru> no clue how that'd share sensitive data without sharing it...
<catern> filesystem permissions? :)
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erratic has quit [Ping timeout: 240 seconds]
pie__ has joined #nixos
pie___ has quit [Remote host closed the connection]
halfbit has joined #nixos
iqubic has joined #nixos
<iqubic> Well, I am finding myself unable to get steam working on Nixos.
<iqubic> I was able to install it, but when I try to run steam, I get a popup window saying: "glXChooseVisual failed"
<iqubic> anyone know what's up with that?
jasonrm has left #nixos ["EOL"]
<manveru> iqubic: did you install it using configuration.nix?
<iqubic> Yes I did.
goibhniu has quit [Ping timeout: 272 seconds]
<manveru> what's your graphics driver?
<iqubic> Not sure. How do I check?
<manveru> hmm
<manveru> seems like there's an issue for it, solution seems to be to also set `hardware.opengl.driSupport32Bit = true;`
<{^_^}> #47932 (by Chiiruno, 10 weeks ago, closed): steam: glXChooseVisual failed
<iqubic> Now, let's say I want to enable correct drivers for using a playstation dualshock 3 controller to play steam games. This controller will be connected via a cable to my laptop.
<iqubic> What driver/program do I need to make this work?
erratic has joined #nixos
<iqubic> manveru: I moved on to my second issue, because I got steam to work.
Anton-Latukha has quit [Quit: Leaving.]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #52450 → wiiload: init at v0.5.1 → https://git.io/fpxlj
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpxMH
<{^_^}> [nixpkgs] @matthewbauer merged pull request #52449 → gamecube-tools: init at v1.0.2 → https://git.io/fpxlB
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpxMd
ottidmes has quit [Quit: WeeChat 2.2]
cyounkins has joined #nixos
sigmundv_ has quit [Ping timeout: 240 seconds]
lo_mlatu has joined #nixos
ensyde has joined #nixos
petersjt014 has joined #nixos
dgarzon has joined #nixos
<petersjt014> is is possible to cross compile while also specifying a specific channel and binary cache?
<petersjt014> im trying to build for armv6 and am being told my perl version is too old
<petersjt014> which I suspect means I have to specify the unstable channel
<petersjt014> but I dont know where to do that. This is the command I'm using:
<gchristensen> perl has problems cross compiling, it may be that
<petersjt014> nix-build '<nixpkgs>' --arg crossSystem '(import <nixpkgs> {}).lib.systems.examples.raspberryPi' -A wget
<petersjt014> thats annoying >->
<petersjt014> you know how I'd specify the channel though? I just checked and there *is* a newer version than what I have
<petersjt014> so worth a try prob
<simpson> petersjt014: I have a relatively new nixpkgs and I'm currently attempting to build `pkgsCross.raspberryPi.wget`. Maybe this route to cross-compiling will be easier; certainly, many more things are being pulled from binary cache for me. (Over 1GiB from binary cache!)
halfbit has quit [Ping timeout: 268 seconds]
<simpson> 3/12 built, 67 copied
sbdchd has quit [Remote host closed the connection]
kisik21 has joined #nixos
<{^_^}> [nixpkgs] @stephengroat opened pull request #52459 → terraform_0_11: 0.11.10 -> 0.11.11 → https://git.io/fpxDS
<kisik21> hi! any way to havve i3-gaps from git? tried to override the source w/ overrideAtrts but it seems to do some sort of dark magic in postUnpack
dgarzon has quit [Quit: dgarzon]
<petersjt014> If you're writing a nixfile, there's a fetchFromGithub function that I think is enough. The one other thing I can think of is cloning and manually adding to the store
<iqubic> So I take it no one knows how to get Sony Dualshock 3 wired drivers working on Nixos?
<petersjt014> Never done that, but It should at least be possible to get it to run with xInput (if you havent already)
<petersjt014> I can personally tell you that the Steam Controller works out of the box
<petersjt014> though it is treated like a mouse :/
<{^_^}> [nixpkgs] @Mic92 opened pull request #52460 → buildGoPackage: also support pname → https://git.io/fpxyk
Supersonic has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @stephengroat opened pull request #52461 → terraform-providers: bump versions → https://git.io/fpxym
<petersjt014> just found this--no idea how useful it is: https://nixos.org/nixos/packages.html#dualshock
<iqubic> I'll look at that when I'm done with Homework for tonight. Should get around to it soon.
<petersjt014> cool
<Enzime> can someone take a look at my PR?
<{^_^}> #51313 (by Enzime, 2 weeks ago, open): llpp: 2018-03-02 -> 30
<petersjt014> two ther things tho
<simpson> petersjt014: Success: /nix/store/ybsci1l68wg2l7wg1y473bhwg03vb1zp-wget-1.20-armv6l-unknown-linux-gnueabihf
<GlennS> Anyone know if NixOps can handle the Amazon EC2 Nitro instances? They have their block devices in a different place, and it looks like NixOps has the old /dev/xvda-e addresses hardcoded?
<simpson> I hear that pkgsCross is the more-supported way to cross-compile. Hopefully it works for you.
<petersjt014> @iqubic you may want to look at services.xserver.inputClassSections too
<petersjt014> @simpson thanks, I'll try it rn
Supersonic has joined #nixos
GlennS is now known as Glenn
Glenn is now known as GlennS
nornagon has joined #nixos
<nornagon> 👋 hi friends! i'm trying to install nixos on an Intel NUC, and I'm getting a black screen when booting from the installer USB image. My suspicion is that it's related to EFI booting and kernel modesetting, but `nomodeset` doesn't seem to alleviate the situation. The thing is definitely booted and at a prompt, because typing "poweroff" blindly into
<nornagon> the machine turns it off
<nornagon> I could ssh into it and set it up that way, but I'd like to figure out what's going on!
<cyounkins> nornagon: Did you get anything on the screen at the start? "Starting kernel..."?
pmade has quit [Remote host closed the connection]
<samueldr> nornagon: is that a really new model?
<nornagon> samueldr: It is new, just released a month ago i think. the NUC8.
<samueldr> I'd bet it's because the kernel is "old", 4.14
<nornagon> cyounkins: nope, nothing at all. black immediately after i hit 'enter' on the grub(?) screen
<samueldr> not too confident, but it's a liekely cause
<nornagon> oh interesting
<samueldr> and, that's using the 18.09 image, right?
<nornagon> yes, the 18.09 image
<samueldr> hmm
<cyounkins> nornagon: So you get the u-boot screen then?
<samueldr> nornagon: wait just a moment
<samueldr> I'm not 100% sure this is the one you should use
<nornagon> i'm not 100% sure it's uboot, but it shows the boot options (nomodeset, copytoram, debug, etc.)
<samueldr> cyounkins: probably not u-boot
<nornagon> i'm pretty sure it's booting in uefi mode
<cyounkins> Oh right
<samueldr> NUC are standard uefi x86_64 machines :)
* samueldr waits on hydra
<nornagon> i think there are firmware options to make it do a legacy BIOS boot, but i'd rather stick with uefi
<samueldr> I bet it won't help
<samueldr> I mean, choosing bios over uefi
<nornagon> ah ok
<nornagon> is that build a newer kernel?
<samueldr> it's the same configuration than the normal minimal iso image, but using 4.19
<samueldr> instead of 4.14
<samueldr> (4.14 is the default kernel for 18.09 as it was the latest LTS released at the moment 18.09 released)
<nornagon> ah cool, ok! i'll try flashing this to my boot media and report back
<samueldr> if it works, you'll have to remember to configure your system to use linuxPackages_latest
<samueldr> something like `boot.kernelPackages = pkgs.linuxPackages_latest;` in configuration.nix
<nornagon> only the freshest of kernel bugs for this box
<samueldr> really new hardware sometimes has trouble on a bit older kernels :)
<samueldr> most often seen on laptops, but NUCs aren't that far from laptop
<nornagon> still getting a black screen immediately after pressing 'enter', sadly. even with `nomodeset i915.modeset=0` in the boot params
<samueldr> hm!
<samueldr> which model is it?
<samueldr> does it have multiple video outputs?
<samueldr> (probably does?)
<samueldr> the model is for a cursory googling
<nornagon> it's the NUC8i7BEH, and ... yeah actually now that you mention it i have a USB-C to HDMI thing plugged in
<nornagon> though i just switched the HDMI cable over to that and i don't see anything being displayed on that output either
<samueldr> (after a reboot?)
<nornagon> good q, i'll try
<nornagon> same issue when plugged into the USBC/HDMI adapter and when plugged directly into the NUC
<samueldr> :/
<samueldr> others distro have the same issue?
<nornagon> haven't tried
<samueldr> if there's a nixos-specific bug, it'd be a bother to try and fix
<samueldr> (I mean, someone would probably need one of it specifically)
<cyounkins> If you enable SSH in you can check if there is a kernel panic on plugging the HDMI
<cyounkins> Or not panic but error
<iqubic> So I'm not sure how to get sony dualshock 3 driver support on Nixos. This is a pain.
<samueldr> they said that using "poweroff" blindly powers off the machine
<samueldr> so probably not paniced
<samueldr> oh right
<cyounkins> Right
<cyounkins> I don't know if enabling the SSH server on the livecd has PermitRootLogin
<samueldr> I believe it does
<samueldr> which is why it's disabled by default
<samueldr> you see, no key, no password, allows root, allows login without password
<samueldr> systemctl start sshd # iirc
<samueldr> yeah
<cyounkins> Oh but you have to set a root password
<nornagon> i can get ssh access to the machine by typing blindly
<samueldr> oops, no: needs to set a passwrod apparently
<nornagon> yeah i did that all blindly, worked fine
<nornagon> lemme again and check for errors
<samueldr> if you can, a dmesg dump could help, if the kernel felt it's been blinded
<cyounkins> Try re-plugging HDMI and tailing dmesg
<nornagon> hm, i see no additional messages in dmesg after replugging
<cyounkins> "You have booted with nomodeset. This means your GPU drivers are DISABLED "
<samueldr> though this message isn't necessarily bad
<iqubic> so how do I get dualshock drivers on nixos?
<samueldr> nornagon: you tried regular boot on hdmi, not with nomodeset?
<cyounkins> "Calgary: Unable to locate Rio Grande table in EBDA - bailing!" - lol what
<samueldr> app
<samueldr> apparently something related to IOMMU
<nornagon> will try with regular modeset options in a sec
<nornagon> found this which looks interesting: [ 0.715830] efifb: invalid framebuffer address
kvda has joined #nixos
<samueldr> hmmmm
<{^_^}> [nixpkgs] @ceedubs closed pull request #51988 → metals: init at 0.3.2 → https://git.io/fpFsO
<nornagon> ok, gonna retry without nomodeset now
<nornagon> oh wait what?
<nornagon> it's working now
<samueldr> this gets annoying if grub is beginning to cause issues and they don't update :/ either we start our own patchset like debian, fedora et al. does, mostly cherry-picking fixes, or we get on the git train :/
<nornagon> maybe i just didn't wait long enough
<samueldr> nornagon: with the usb-c->hdmi adapter?
<nornagon> this is plugged straight into the box
<cyounkins> Fixed it!
<nornagon> 🎉
aleph- has quit [Ping timeout: 268 seconds]
<nornagon> let's see what's in my dmesg now
<samueldr> did you have output during stage-1?
<samueldr> or grub, black screen, then some output?
<samueldr> if so, and there's still the same efifb error, I would hazard a guess that grub2 leaves "???" in a bad state, but then the modesetting driver knows what to do with it
<nornagon> grub, black screen, then output. same efifb error in dmesg.
<samueldr> yeah, it's possibly what I have in mind
sir_guy_carleton has quit [Ping timeout: 246 seconds]
pie___ has joined #nixos
<nornagon> yeah, around 14 seconds after dmesg begins i see messages like `[drm] Replacing VGA console driver` and some messages from i915
<nornagon> so it looks like once i915 gets its hands on the gpu everything goes back to normal
<iqubic> So do I need to do anything special to get my sony dualshock game controller working with Nixos?
<nornagon> thanks for the help! I'll add a comment to https://github.com/NixOS/nixpkgs/issues/5829 which is where i landed when googling
<{^_^}> #5829 (by purefn, 3 years ago, open): Blank screen after choosing NixOS on LiveCD
<samueldr> nornagon: note that it's possibly not from the same cause
pie__ has quit [Remote host closed the connection]
<samueldr> but it's something to look for
<samueldr> (the efifb error)
sir_guy_carleton has joined #nixos
<nornagon> yeah, i suspect that issue is describing something different. but since it's what came up in google for me, i thought i'd leave a trail for the next person :)
<samueldr> yeah, that's what I meant, note as in "write down" :)
phreedom has quit [Ping timeout: 256 seconds]
<nornagon> gotcha
phreedom has joined #nixos
<nornagon> thanks for the help samueldr and cyounkins!
<samueldr> you're welcome
<cyounkins> :thumbsup:
<samueldr> once you're setup, if you want to try to install grub with the patch it's possible and relatively easy with nixos
<samueldr> (if you intend on using grub)
<nornagon> i hadn't considered that there might be an alternative to grub, so yeah, i'm probably intending on using it :P
<nornagon> actually this box is going to sit in a storage closet with no screen attached, i just wanted to figure out the video stuff in case i need to debug with a screen plugged in later
drakonis has quit [Ping timeout: 264 seconds]
jperras has quit [Quit: WeeChat 2.2]
sbdchd has joined #nixos
<iqubic> So do I need to do anything special to get my sony dualshock 3 video game controller working with Nixos?
<cyounkins> iqubic: I don't think anyone here knows. Try it?
<iqubic> I will.
fusion809 has quit [Remote host closed the connection]
lassulus_ has joined #nixos
<nornagon> interesting, now that i've actually installed nixos onto a drive on the machine, stage-1 works fine
<nornagon> must be just an issue with the livecd
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
<clever> nornagon: how did you image the livecd?
iqubic has quit [Quit: Page closed]
<nornagon> hh
<nornagon> dd*
Growpotkin has joined #nixos
<clever> should have just worked
<petersjt014> any way I can make the command for copying closures via ssh shorter? Like by making a shorter-named hard/symlink to the relevant path?
<cyounkins> What are you using?
<petersjt014> nix-copy-closure
<petersjt014> I'm copying over from a fast machine to a raspi zero
Dedalo has joined #nixos
<cyounkins> Sorry, I'm not sure.
<nornagon> is there a way to get the configuration.nix file from the currently running system?
<nornagon> maybe with `nix eval` or something...?
Growpotkin has quit [Quit: WeeChat 2.3]
Growpotkin has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #52251 → treewide: Use "buildPackages" darwin for bootstrap_cmds → https://git.io/fpNqL
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fpxHA
<{^_^}> [nixpkgs] @matthewbauer merged pull request #52252 → treewide: Use "buildPackages" darwin for bootstrap_cmd for 18.09 → https://git.io/fpNqt
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to release-18.09: https://git.io/fpxHx
<{^_^}> [nixpkgs] @Mic92 merged pull request #52460 → buildGoPackage: also support pname → https://git.io/fpxyk
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpxHh
<{^_^}> [nixpkgs] @pacien opened pull request #52462 → wego: 20160407-81d72ff -> 20170403-415efdf → https://git.io/fpxQs
ensyde has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed to staging « rust: Remove unused `buildRustPackage` from binaryBuild.nix »: https://git.io/fpxQ2
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Ericson2314 to staging « docs: Small change to Rust guide to be more cross friendly »: https://git.io/fpxQw
reinhardt has joined #nixos
scribbler has quit [Ping timeout: 260 seconds]
<cyounkins> What is the proper way to specify "don't build on 32 bit"? I don't think I can do set operations like platforms.linux - platforms.i686
<johnw> any dockerTools wizards around? I'm building an image which contains a single 5.8GB layer, but when I run bash in a container, the entire filesystem only takes 21 MB. Is it somehow retaining the space needed by the build products? I can't just paste the expression here, so I'm wondering if this is a pattern others are familiar with.
dgarzon has joined #nixos
<dgarzon> Hi I am doing makeWrapper on a script that needs `mount` and `mountpoint` commands in the path. How can I add https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/unix-tools.nix as buildInputs? Thanks!
<cyounkins> dgarzon: Check out pkgs/tools/networking/lsh/default.nix usage of nettools / netsta
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51018 → rtl8821a: init at 5.1.5 → https://git.io/fp0hB
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fpx70
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51422 → Csoundqt init 0.9.6-beta2 and python-qt init 3.2 → https://git.io/fpK1z
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fpx7w
Amaelric_ has joined #nixos
<dgarzon> Not sure I follow cyounkins :( I am trying to do something like: `buildInputs = [ coreutils unixtools ];`
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51899 → luigi: include boto3 → https://git.io/fp58G
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpx7P
Rusty1 has quit [Quit: Konversation terminated!]
<cyounkins> dgarzon: Try what is done in pkgs/applications/altcoins/particl/particl-core.nix
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51854 → Freeswitch → https://git.io/fpQ3s
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fpx7D
Amaelric_ has quit [Quit: Leaving]
<dgarzon> cyounkins thanks for the reference, but I get: error: undefined variable 'unixtools' at …
epicmetal has quit [Read error: Connection reset by peer]
hyper_ch has quit [Read error: Connection reset by peer]
<cyounkins> Yeah I was afraid of that. Sorry I don't think I can help more.
hyper_ch has joined #nixos
<{^_^}> #52463 (by cyounkins, 17 seconds ago, open): Set operations on meta.platforms
<ivan> I have a Hydra and builder on localhost. is there any reason why a few things like wireguard, ripgrep would be available in /var/lib/hydra/cache but not in /nix? https://gist.github.com/ivan/ae51aa586ef663121341f5893c2ee711
endformationage has quit [Quit: WeeChat 2.3]
orivej has joined #nixos
<Izorkin> How to need to merge PR #44343 #51902 #52032 #52098
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44343 (by Izorkin, 19 weeks ago, open): mariadb: 10.2.17 -> 10.3.10
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51902 (by Izorkin, 5 days ago, open): mariadb.galera: 25.3.24 -> 25.3.25
<{^_^}> https://github.com/NixOS/nixpkgs/pull/52032 (by Izorkin, 3 days ago, open): unit: update versions and modules config
slack1256 has quit [Remote host closed the connection]
palo1 has joined #nixos
palo has quit [Ping timeout: 250 seconds]
palo1 is now known as palo
dgarzon has quit [Quit: dgarzon]
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
cyounkins has quit [Ping timeout: 245 seconds]
sir_guy_carleton has quit [Ping timeout: 250 seconds]
sir_guy_carleton has joined #nixos
lo_mlatu has quit [Quit: Connection closed for inactivity]
graphene has quit [Read error: Connection reset by peer]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
jackdk has quit [Ping timeout: 250 seconds]
reinhardt has quit [Ping timeout: 268 seconds]
sbdchd has quit [Remote host closed the connection]
crmlt has joined #nixos
<nornagon> dumb question, but how come i can see https://github.com/NixOS/nixpkgs/tree/master/pkgs/servers/miniflux but `nix-env -qa miniflux` shows nothing?
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @hyperfekt opened pull request #52464 → nixos/fish: generate autocompletions from man pages → https://git.io/fpxdy
<nornagon> ohh, looks like it's recent. perhaps added prior to the channel i'm on (18.09)? can i install a single package from a different channel?
reinhardt has joined #nixos
<ivan> does anyone use Hydra for general distributed computing purposes i.e. not builds?
<Arahael> What's the preferred virtual machine for nixos hosts?
hyper_ch2 has joined #nixos
<dmj`> how do I compress the runtime closure of a derivation, to make fetching faster
<hyper_ch2> can you compress that?
ddellacosta has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<eyJhb> I have this weird problem, that when I run `autorandr -c --force`, my terminals changes to some kind of redish pink color? It seems weird...
lo_mlatu has joined #nixos
<lo_mlatu> Is there a record of previous nixos logo?
reinhardt has quit [Ping timeout: 250 seconds]
crmlt has quit [Ping timeout: 268 seconds]
<Arahael> I'm going with qemu-kvm as my choice of VM.
crmlt has joined #nixos
jbgi has joined #nixos
hyperfekt has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
reinhardt has joined #nixos
<Arahael> Hmm, I've tried running `nix-env -qa \*` and looking for 'virt-manager', I see that it's there at version 1.5.1
<Arahael> However, I can't seem to then run `nix-shell -p libvirt qemu virt-manager`, it seems to complain that virt-manager is an undefined variable. How's that and how do I run it in a shell?
<{^_^}> [nixos-homepage] @hyperfekt opened pull request #256 → refer to current logs on community page → https://git.io/fpxb4
orivej has joined #nixos
hyperfekt_ has joined #nixos
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @rydnr opened pull request #52466 → pharo: Simple fix for Iceberg → https://git.io/fpxbV
hyperfekt has quit [Ping timeout: 256 seconds]
<hyperfekt_> Arahael: The package is available under the variable 'virtmanager', without the - . You may want to install nox to easily find out how a package you're interested in is named.
hyperfekt_ is now known as hyperfekt
<hyperfekt> Does anyone know if there's a recommended way to parametrize modules? E.g. I want to have the configuration for a user specified in a module but have it be independent of the eventually chosen username(s).
tzemanovic has joined #nixos
crmlt has quit [Ping timeout: 250 seconds]
tzemanovic has quit [Ping timeout: 252 seconds]
<Lisanna> Bummer ): there's no way to use shellHook in a shebang
<{^_^}> [nixpkgs] @vbgl opened pull request #52467 → ocamlPackages.ppx_deriving_yojson: 3.1 -> 3.3 → https://git.io/fpxNJ
dermetfan has joined #nixos
<ivan> any ideas on how I can stop xwininfo from telling me "xwininfo: can not set locale properly"
<sphalerite> Lisanna: yes there is…
<Lisanna> sphalerite oh, I guess it works with -E
<sphalerite> Lisanna: or with a separate nix expression, like nix-shell -i bash test.nix
<{^_^}> [nixpkgs] @fpletz merged pull request #52462 → wego: 20160407-81d72ff -> 20170403-415efdf → https://git.io/fpxQs
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fpxN5
reinhardt has quit [Ping timeout: 250 seconds]
<Enzime> Mic92: can you take another look at my PR, fixed the issue you mentioned
<Lisanna> sphalerite, thank you, that example was exactly what I needed (and fixed my other problem too!)
<{^_^}> [nixos-homepage] @edolstra merged pull request #256 → refer to current logs on community page → https://git.io/fpxb4
<{^_^}> [nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/fpxAO
ThatDocsLady_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 1000 commits to staging-next: https://git.io/fpxAH
reinhardt has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #47297 → Introduce hardware/bladeRF module → https://git.io/fANI4
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/fpxxc
<Arahael> hyperfekt: Thanks for that tip!
<vdemeester> lewo: o/
<{^_^}> #51627 (by vdemeester, 1 week ago, open): podman: init at 0.11.1.1
agander has joined #nixos
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @lheckemann pushed 5 commits to master: https://git.io/fpxpC
<{^_^}> [nixpkgs] @lheckemann merged pull request #52361 → Fluidsynth 1 → https://git.io/fpNVU
<tazjin> can someone point me in the direction of whatever is responsible for building /etc/passwd?
<tazjin> I'm building container tarballs using containerTarball from release.nix, but they end up not having /etc/passwd, /etc/group etc. and incurring all sorts of strange breakage
<ivan> ./update-users-groups.pl in nixos/modules/config/users-groups.nix?
Growpotkin has quit [Quit: WeeChat 2.3]
alex`` has joined #nixos
dermetfan has quit [Ping timeout: 245 seconds]
<tazjin> ivan: that seems to be it - and it's supposed to run as an activation script, mhmm
freeman42x[nix] has quit [Ping timeout: 252 seconds]
scribbler has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 272 seconds]
Mateon3 is now known as Mateon1
mr_noobs has joined #nixos
[Leary] has joined #nixos
Lears has quit [Ping timeout: 240 seconds]
<tazjin> sphalerite: thanks, but this isn't for docker - it's an LXC container to be used in Crostini on ChromeOS
<tazjin> it turns out that for some reason LXC is forcing a read-only `/`, but only on my Nix containers, and only on one machine 🤔
<tazjin> must be some odd profile configuration or something I did
<sphalerite> tazjin: shadowSetup should work fine in other contexts than docker too
<sphalerite> see `nix eval --raw nixpkgs.dockerTools.shadowSetup` for what it actually does
__monty__ has joined #nixos
Boomerang has joined #nixos
Xal has joined #nixos
dermetfan has joined #nixos
oida has quit [Remote host closed the connection]
oida has joined #nixos
thc202 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #52458 → nixos/bash: Fix prompt regression in Emacs term mode → https://git.io/fpxot
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fppff
<tazjin> sphalerite: thanks, but I still need to actually make the rootfs writeable, otherwise I won't be able to rebuild (which is kinda the point of this exercise :))
<sphalerite> right
<sphalerite> is using containerTarball a strict requirement?
<tazjin> no
<tazjin> but I believe it's not NixOS causing things to be read-only, as this works on another machine also running LXC with the same image
<ivan> is pkgs/applications/office the right place to put an EPWING dictionary reading program?
hyper_ch2 has quit [Quit: Page closed]
<ivan> or maybe applications/misc
<ivan> yeah, that's where goldendict is
<__monty__> Hmm, I wouldn't really expect it in office but I wouldn't expect todo managers there either.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52053 → pywal: 3.1.0 -> 3.2.1 → https://git.io/fpFQq
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fppfy
<__monty__> Ah, yeah, probably just go with prior art.
__Sander__ has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52044 → samplv1: 0.9.3 -> 0.9.4 → https://git.io/fpFDD
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fppfh
<ivan> someone put https://www.tagaini.net/ into office/
<ivan> studying Japanese... at the office
pietranera has joined #nixos
<__monty__> It should only have office suites imo. But that makes it a fairly useless category.
hyper_ch2 has joined #nixos
mojjoo_ has quit [Ping timeout: 256 seconds]
<{^_^}> #9415 (by joepie91, 3 years ago, open): libGL not working on non-NixOS (without setting up)
<ivan> my qt5 application is using GL of course
agander has quit [Quit: Leaving]
stigo has joined #nixos
<__monty__> What a strange penguin.
johanot has joined #nixos
sigmundv_ has joined #nixos
Ariakenom_ has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52041 → riemann_c_client: 1.10.3 -> 1.10.4 → https://git.io/fpF1t
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fppTg
Ariakenom has quit [Ping timeout: 244 seconds]
slyfox has quit [Ping timeout: 250 seconds]
slyfox has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reinhardt has quit [Ping timeout: 250 seconds]
<vdemeester> Mic92: thx for the change on the podman PR <3 — works like a charm !
<tazjin> sphalerite: update on the thing from earlier, on one machine the containerTarball has an `/etc` symlink pointing into the store, on one it doesn't - this must be due to some change in nixpkgs because the config used to build it is identical
<tazjin> interestingly just deleting that from the image works fine and `/etc` gets set up on container launch
<sphalerite> tazjin: have you looked at nixos-container to compare at all?
<sphalerite> tazjin: nixos-container might even work on non-nixos distros actually
<sphalerite> ,find nixos-container.pl
<tazjin> sphalerite: this is for quite a specific use-case (https://chromium.googlesource.com/chromiumos/docs/+/master/containers_and_vms.md)
<tazjin> so alternative containerisation solutions / scripts etc. won't work
<tazjin> I'm switching the build setup to wrap it in a shell script that pins a nixpkgs version, so I can git bisect nixpkgs and find out where this symlink comes from
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52028 → sound-juicer: 3.16.1 -> 3.24.0 → https://git.io/fpFof
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fppky
<Mic92> vdemeester: I think I should add support for running make to buildGoPackage.
<Mic92> as it is quiet often used.
hamishmack has joined #nixos
<sphalerite> tazjin: oh yeah of course, chromeos doens't have systemd :D
<vdemeester> Mic92: indeed :)
<tazjin> sphalerite: it's more complicated than that ;-)
<vdemeester> I wonder if the docker derivation uses `buildGoPackage` but it could (and yeah many others)
<tazjin> there's a KVM vm running in chromeos which is configured to run LXC, and in that LXC you can run arbitrary things
<tazjin> they get a set of statically compiled executables bind-mounted into them, which allows communication with the "outside" wayland to launch GUI apps
<Mic92> vdemeester: I started replacing it in a few packages, but it takes a lot of time.
<tazjin> (like a fake compositor)
reinhardt has joined #nixos
<emily> tazjin: fwiw I had nixos working in crostini containers a few months ago
<emily> might be able to give advice if any is needed
<tazjin> emily: the basic stuff is working, it's this particular `/etc` thing that is causing manual work atm
<Lisanna> I would like to perform an overrideAttrs on python in nixpkgs, and ensure that this affects *all* references to *any* python, as if I had went and modified the .nix file... how should I do this? python seems to be everywhere...
<vdemeester> Mic92: do you store it as a list somewhere ? I could help from time to time ;)
<uniporn> ,locate ledger
<{^_^}> Found in packages: ledger, ledger, electrum, electrum-ltc, electron-cash
arjen-jonathan has joined #nixos
<Mic92> vdemeester: done
ottidmes has joined #nixos
<vdemeester> Mic92: nice \o/
dermetfan has quit [Ping timeout: 250 seconds]
<ottidmes> I have a few local scripts that I want packaged, right now I use for example: makeWrapper ${./checkout.sh} $out/bin/nixcfg-checkout --prefix PATH : '${makeBinPath [ bash git jq nix ]}', which works fine when I call them, but fails when run from system.extraSystemBuilderCmds with a bad interpreter error. I guess I could first copy the script over, run patchShebangs, and only then wrap them, other suggetions?
<{^_^}> [nixpkgs] @Mic92 merged pull request #51935 → retroarch: Remove --menu from wrapper → https://git.io/fpdRj
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fppL9
crmlt has joined #nixos
alex`` has quit [Ping timeout: 250 seconds]
<lo_mlatu> Is there a derivation of the nixpkgs itself I can reference in my configuration.nix?
<{^_^}> [nixpkgs] @rasendubi merged pull request #52459 → terraform_0_11: 0.11.10 -> 0.11.11 → https://git.io/fpxDS
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/fppqY
simukis has joined #nixos
<sphalerite> lo_mlatu: what do you mean?
<sphalerite> lo_mlatu: you can reference the path to nixpkgs using pkgs.path, but it's not a derivation
<{^_^}> [nixpkgs] @memberbetty opened pull request #52470 → aws-google-auth: use python36 (#52445) → https://git.io/fppqp
<__monty__> lo_mlatu: Maybe you're interested in pinning nixpkgs?
<lo_mlatu> __monty__: yes, and pkgs.path in configuration points to a symlink so I can't use it to pin the actual nixpkgs
<__monty__> ,pinning
<__monty__> Heh, that little knowledge base is so intuitive.
<lo_mlatu> thank for your tip, but what I want is to pin the current nixpkgs I am using in to the system derivation when I run nixos-rebuild
crmlt has quit [Ping timeout: 268 seconds]
<Twey> I have a derivation that fails to build, but only when run inside the sandbox
Dedalo has joined #nixos
<Twey> Can I enter a shell inside the sandbox to debug it?
<Twey> nix-shell doesn't work because all the paths are wrong
<{^_^}> [nixpkgs] @hedning opened pull request #52472 → zeroad: fix build with spidermonkey-38.8.0 → https://git.io/fppmy
<__monty__> lo_mlatu: Ah, didn't catch that. Sounds like useful behavior.
iyzsong has joined #nixos
<unacceptable> Feel like I'm getting more settled with Nixos now. It's starting to make sense!
tzemanovic has joined #nixos
<unacceptable> I mean, the concept made sense right away, but the language
* ldlework hugs unacceptable
<ldlework> You made it buddy!
<unacceptable> My mouse wheel seems like it's on crack though, I've set it to scroll one line at a time and it's just ignoring that
<unacceptable> ldlework: Not yet, I've a ways to go - but I'm loving it
init_6 has joined #nixos
scribbler has quit [Ping timeout: 250 seconds]
<lo_mlatu> Twey: I remember Mic92 talked about something like that in NixCon
dermetfan has joined #nixos
<sphalerite> Twey: yep, what lo_mlatu said https://www.youtube.com/watch?v=ULqoCjANK-I
hedning has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fppYa
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-appar: drop obsolete override »: https://git.io/fppYy
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52029 → squirrel-sql: 3.8.1 -> 3.9.0 → https://git.io/fpFoW
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « squirrel-sql: 3.8.1 -> 3.9.0 »: https://git.io/fppYb
hedning has quit [Quit: hedning]
<{^_^}> [nixpkgs] @c0bw3b closed pull request #52048 → deepin.qt5dxcb-plugin: 1.1.13 -> 1.1.15 → https://git.io/fpFSy
<{^_^}> [nixpkgs] @c0bw3b closed pull request #52065 → deepin.qt5integration: 0.3.6 -> 0.3.7 → https://git.io/fpFpf
<Twey> lo_mlatu: Are you also dunda_mlatu?
<Twey> sphalerite: Cool, thanks, I'll give it a watch when I'm not on work hours :)
<sphalerite> Twey: the key part is using https://github.com/mic92/cntr to enter the environment of a build
jbgi has quit [Ping timeout: 250 seconds]
<lo_mlatu> Twey: No, I don't think so :P
Dedalo has quit [Ping timeout: 268 seconds]
<Twey> sphalerite: So you stop the build and attach to it with cntr?
<Twey> lo_mlatu: Oh :( Okay :)
<sphalerite> Twey: yep
hyperfekt has quit [Ping timeout: 256 seconds]
hedning has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fppO9
scribbler has joined #nixos
<Twey> What's the convention for building static libraries with dependencies? Should the static library be a separate derivation, with its dependencies as propagatedBuildInputs?
<Twey> Or C++ libraries with headers that reference other libraries?
lassulus has quit [Ping timeout: 245 seconds]
<Twey> E.G. every time I use https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/folly/default.nix I have to manually propagate boost, double-conversion, glog, &c. so that they're available in the headers
<Twey> Which doesn't feel right
hamishmack has quit [Remote host closed the connection]
<Twey> lo_mlatu: I know that pkgsStatic exists, I just don't know what the appropriate convention is for things that need their dependencies present (much less for things that need their dependencies present conditionally)
<Twey> I really like having pkgsStatic :)
jbgi has joined #nixos
<{^_^}> [nixpkgs] @lheckemann opened pull request #52473 → hwloc: 1.11.10 -> 1.11.12 → https://git.io/fpp34
nikivi has quit [Ping timeout: 264 seconds]
dermetfan has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @peti pushed to master « python-osc: update to latest git snapshot »: https://git.io/fpp37
<Izorkin> How to need to merge PR #44343 #51902 #52032 #52098
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44343 (by Izorkin, 19 weeks ago, open): mariadb: 10.2.17 -> 10.3.10
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51902 (by Izorkin, 6 days ago, open): mariadb.galera: 25.3.24 -> 25.3.25
<{^_^}> https://github.com/NixOS/nixpkgs/pull/52032 (by Izorkin, 4 days ago, open): unit: update versions and modules config
alex`` has joined #nixos
hamishmack has joined #nixos
<Twey> Izorkin: #52098 looks fishy to me — why does nginx.conf need to live in /etc where it might conflict with other nginx.confs?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/52098 (by Izorkin, 3 days ago, open): nginx: change location configuration file to /etc/nginx/nginx.conf
<Izorkin> Twey: my checked, there were no conflicts. Normal worked on test virtual server
<{^_^}> [nixpkgs] @lheckemann opened pull request #52474 → gopass: 1.8.2 -> 1.8.3 → https://git.io/fpps0
<sphalerite> Twey: any reason why there might be an nginx.conf on nixos?
nikivi has joined #nixos
MrCoffee has joined #nixos
Guanin has joined #nixos
<Guanin> Hi, is there a way to check that two configurations are identical? I want to rewrite multiple configurations without changing them in that progress
<{^_^}> [nixpkgs] @lheckemann opened pull request #52475 → [18.09] backport fwup updates → https://git.io/fppGf
<{^_^}> [nixpkgs] @cryptix opened pull request #52476 → gotop: 1.5.0 -> 1.7.1 → https://git.io/fppGn
<{^_^}> [nixpkgs] @markuskowa opened pull request #52477 → soapybladerf: 0.3.5 -> 0.4.0 → https://git.io/fppGX
agander has joined #nixos
<{^_^}> [nixpkgs] @lheckemann opened pull request #52478 → [18.09] Haproxy backports → https://git.io/fppZ3
vk3wtf has joined #nixos
<tilpner> You could evaluate them for their system path. If it stays the same, nothing (relevant) changed
<tilpner> And if they do differ, you can use nix-diff on them to figure out what exactly changed
<{^_^}> [nixpkgs] @lheckemann merged pull request #52478 → [18.09] Haproxy backports → https://git.io/fppZ3
<{^_^}> [nixpkgs] @lheckemann pushed 3 commits to release-18.09: https://git.io/fppZi
dermetfan has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
crmlt has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 opened pull request #52481 → python37: fix cross-compilation → https://git.io/fppn1
reinhardt has quit [Quit: Leaving]
agander has quit [Ping timeout: 268 seconds]
MrCoffee has quit [Quit: Lost terminal]
agander has joined #nixos
m0rphism has quit [Quit: WeeChat 2.2]
m0rphism has joined #nixos
nikivi has quit [Quit: ZNC is awesome]
<{^_^}> [nixpkgs] @markuskowa merged pull request #52477 → soapybladerf: 0.3.5 -> 0.4.0 → https://git.io/fppGX
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fppCF
fusion809 has joined #nixos
clefru has joined #nixos
nikivi has joined #nixos
ensyde has joined #nixos
<{^_^}> [nixpkgs] @lheckemann opened pull request #52482 → [18.09] Fswatch backports → https://git.io/fppWx
<clefru> is there infrastructure in the form of a centralized server where I can send an RPC to grep through the set of known derivation names, where known means inside of nixpkgs, nixpkgs.pythonPackages, nixpkgs.emacsPackages, nixpkgs.haskellPackages and so on?
johanot has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @lheckemann merged pull request #52473 → [18.09] hwloc: 1.11.10 -> 1.11.12 → https://git.io/fpp34
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to release-18.09: https://git.io/fpplW
<{^_^}> [nixpkgs] @lheckemann merged pull request #52474 → gopass: 1.8.2 -> 1.8.3 → https://git.io/fpps0
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to release-18.09: https://git.io/fpplE
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52164 → oniguruma: 6.9.0 -> 6.9.1 → https://git.io/fpbHz
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpplw
<WilliamHamilton[> How do I enable wake on lan?
<clefru> WilliamHamilton[: most often in your bios/uefi
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52092 → fprint: update packages → https://git.io/fpbOk
<{^_^}> [nixpkgs] @c0bw3b pushed 4 commits to master: https://git.io/fpply
<WilliamHamilton[> I've done that, what should I do in the os side?
<WilliamHamilton[> clefru ^
<clefru> I don't think anything is needed.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52025 → synthv1: 0.9.3 -> 0.9.4 → https://git.io/fpFal
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpp8q
<clefru> Sorry, I am just using this with my windows box, and I did absolutely nothing on the OS side.
johanot has joined #nixos
ensyde has quit [Ping timeout: 250 seconds]
perique has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #52483 → vimPlugins.Recover-vim: init at 2018-10-22 → https://git.io/fpp4O
crmlt has quit [Ping timeout: 250 seconds]
<lucus16> Can I use builtins.fromJSON on files somehow?
<ottidmes> WilliamHamilton[: I use https://nixos.org/nixos/options.html#services.wakeonlan
<ottidmes> WilliamHamilton[: And I use the wakelan package to wake things with, because it also support an IP address if you want to wake a remote machine
ubert has joined #nixos
<WilliamHamilton[> Thanks ottidmes , have to run now, ill ask more later!
<qyliss> lucus16: yes, do readFile first
<lucus16> ah, thanks
betaboon has joined #nixos
jperras has joined #nixos
<siraben> How do I make a font like "noto fonts" to be the default for unicode characters?
<siraben> I get this really pixelated font for CJK and other Asian scripts
<{^_^}> [nixpkgs] @lheckemann pushed 3 commits to release-18.09: https://git.io/fppRn
<{^_^}> [nixpkgs] @lheckemann merged pull request #52482 → [18.09] Fswatch backports → https://git.io/fppWx
<gchristensen> any recommended nixos font packages to avoid seeing tofu?
<ldlework> Symbola has everything.
<samueldr> noto
<tilpner> noto-fonts, noto-fonts-extra
<ldlework> Noto is good, but Symbola is comprehensive.
<tilpner> Noto for "No more tofu"
<samueldr> noto-fonts-emoji
<samueldr> noto-fonts-cjk too
<Twey> I just grep'd nix-env for fonts and added them all to config.fonts.fonts then removed things until my config built
<Twey> And never looked back
<gchristensen> haha
<ldlework> lol
<samueldr> I didn't know about extra
mariel__ has joined #nixos
ThatDocsLady_ has quit [Read error: Connection reset by peer]
<samueldr> ah, looks like it's mostly weights? >> Black,Condensed,Extra,Medium,Semi,Thin
<ldlework> Yeah
<{^_^}> [nixpkgs] @dotlambda pushed to master « python3.pkgs.git-annex-adapter: 0.2.0 -> 0.2.1 »: https://git.io/fppRA
<ldlework> For languages other than english
<ldlework> I think noto-fonts comes with weights for english
<gchristensen> whoa, symbola is great
<{^_^}> [nixpkgs] @ciil opened pull request #52484 → Pdfmod module → https://git.io/fppRp
<Luciole> symbola's handy as a fallback
init_6 has quit [Ping timeout: 245 seconds]
luigy has left #nixos [#nixos]
luigy has joined #nixos
<samueldr> looks like symbola doesn't cover CJK?
<samueldr> I can't find confirmation
fendor has joined #nixos
biopandemic has joined #nixos
<gchristensen> with noto's emojis, sakura shows them approx. 4x too large
<gchristensen> I can live with that
biopandemic has quit [Client Quit]
<__monty__> You use sakura? Are you a lightweight applications freak? ; )
<Luciole> what's sakura in this context?
<gchristensen> a terminal emulator :)
<Luciole> ah
<gchristensen> __monty__: mmm...no I don't think I am... what do you recommend?
<gchristensen> I fumble through with whatever tools were last present in my nixos config until someone prods me to change them :P
<__monty__> gchristensen: I don't think it gets more lightweight than sakura re install size.
<__monty__> I like full fat terminals though : )
<samueldr> :/ don't have links ready, gchristensen, but there's a fix for that, it's common to all VTE terminals
<samueldr> (and other tools too
<gchristensen> oh cool, samueldr
<gchristensen> I tried alacritty for a while. it was pretty good except how it doesn't reflow text on resize
<samueldr> gchristensen: should be fixed in the last release
* etu kinda likes stupidterm, but that's vte more or less with an ini-file
<samueldr> (didn't try yet)
<gchristensen> samueldr: reflow in alacritty?
<samueldr> or I misremember?
<gchristensen> don't know
<samueldr> aww, I nuked every traces of my user's fontconfig since moving to nixos, and I don't have the bitmap scaling fix :/
<gchristensen> they had a good thing going -- principles wise -- refusing to implement scrollin, saying do all this stuff in screen or tmux... and they've kept adding features :P once you add scrolling you commit to a dozen more
<qyliss^work> yeah :(
phreedom_ has joined #nixos
<{^_^}> jwilm/alacritty#591 (by Aaron1011, 1 year ago, open): Reflow on resize
crmlt has joined #nixos
<samueldr> right, I must have confused it with the selection issues
phreedom has quit [Ping timeout: 256 seconds]
Rusty1 has joined #nixos
<gchristensen> https://github.com/jwilm/alacritty/pull/1506 this relevant issue was fixed recently
mupf has quit [Quit: WeeChat 2.3]
<{^_^}> jwilm/alacritty#1506 (by chrisduerr, 18 weeks ago, merged): Scroll visible area when growing window
johanot has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @dotlambda closed pull request #50645 → python36Packages.ase: 3.16.2 -> 3.17.0 → https://git.io/fpcQX
johanot has joined #nixos
pie__ has joined #nixos
Denommus has joined #nixos
pie___ has quit [Remote host closed the connection]
<unacceptable> Is there something special I need to do to write a derivation that uses cmake first, before make?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52019 → subsonic: 6.1.3 -> 6.1.5 → https://git.io/fpFRo
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « subsonic: 6.1.3 -> 6.1.5 »: https://git.io/fppun
<{^_^}> [nixpkgs] @pablode opened pull request #52485 → nixos/oh-my-zsh: fix wrong manual information → https://git.io/fppuC
crmlt has quit [Ping timeout: 250 seconds]
<qyliss^work> unacceptable: cmake should be picked up in configurePhase IIRC
<qyliss^work> try it and see!
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 4.4.167 -> 4.4.168 »: https://git.io/fppu0
<unacceptable> It should just do it by itself with stdenv.mkDerivation?
<unacceptable> I'm guessing I want cmake in nativeBuildInputs
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.4.167 -> 4.4.168 »: https://git.io/fppuu
drakonis has joined #nixos
crmlt has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « linux: 4.4.167 -> 4.4.168 »: https://git.io/fppug
<qyliss^work> It'll complain if it needs it and it isn't there. Start with an empty mkDerivation, and fix the errors as they come up.
<unacceptable> mmhm ok
<{^_^}> [nixpkgs] @elohmeier opened pull request #52486 → add sepaxml & fints → https://git.io/fppuP
<unacceptable> oh bugger me genericBuild did indeed do that
<unacceptable> I think that's the fifteenth time I've said something like "nifty"
lassulus has joined #nixos
<Twey> They should rename it dwimBuild
<unacceptable> it really did
<unacceptable> well, is doing
<Twey> Or magicBuild depending on how well it worked today
<unacceptable> I'm waiting for it to fall apart on some missing dependency, but equally hopeful I've catered for them all
zolk3ri has joined #nixos
johanot has quit [Quit: WeeChat 2.2]
jtojnar has joined #nixos
dslegends has joined #nixos
mr_noobs has quit [Ping timeout: 250 seconds]
iyzsong has quit [Ping timeout: 268 seconds]
Anton-Latukha has joined #nixos
jperras_ has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
mupf has joined #nixos
<mupf> Hello
<mupf> For some reason I can't hibernate my system anymore. It tries to but I'm back on my desktop in no time.
<mupf> Any suggestions where to start debugging the issue?
<mupf> It always worked. And I don't really know when it stopped working.
zolk3ri has left #nixos [#nixos]
jtojnar has quit [Quit: jtojnar]
Zajcev has joined #nixos
<goibhniu> mupf: does that also happen if you try to hibernate after a fresh boot?
jtojnar has joined #nixos
<Zajcev> why unregisterd hm
<mupf> goibhniu: let me check, but I believe so, yes
<Zajcev> guys, is there any "simple" way to get pure-ftpd work with pgsql and virtual users?
<Zajcev> or I have to make my own module?
<Zajcev> I'm not that skilled :-0
phreedom has joined #nixos
phreedom_ has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52022 → sundials: 3.2.1 -> 4.0.0 → https://git.io/fpFzR
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « sundials: 3.2.1 -> 4.0.0 »: https://git.io/fpp2x
<mupf> goibhniu: it's getting stranger: for some reason the laptop shuts down again when my power button is pressed
<mupf> it doesnt even try to hibernate
crmlt has quit [Ping timeout: 246 seconds]
<mupf> let me try to trigger the hibernation manually
jabranham has joined #nixos
<mupf> nope, same issue.
<mupf> just my screen is getting dark for a few seconds
<goibhniu> is there anything interesting in the journal?
<mupf> This might be a clue.
mr_noobs has joined #nixos
<mupf> same here:
<mupf> interesting
<goibhniu> interesting, that's a lead anyway, but I have no clue what's up
<mupf> this actually works perfectly fine as root.
<mupf> so it's some kind of permission issue
<mupf> thanks anyway
crmlt has joined #nixos
<mupf> Okay, figured it out. My user wasn't in the 'power' group
<mupf> But this was never an issue
<mupf> Anyway: everything works fine again
dermetfan has quit [Ping timeout: 240 seconds]
<goibhniu> Hrm, my user isn't in the power group. That's odd indeed. Are you on nixos-unstable?
<wirew0rm> goibhniu: me neither, but it might be a KDE thing as opposed to having power management handled by systemd like in my case
<goibhniu> FWIW I'm using Plasma 5/KDE on nixos-unstable myself, but I only ever use suspend.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51956 → liberation fonts updates → https://git.io/fpdwf
<{^_^}> [nixpkgs] @worldofpeace closed pull request #51331 → liberation fonts: updates → https://git.io/fpoS2
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fppr0
ddellacosta has joined #nixos
crmlt has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52174 → notejot: 1.4.7 -> 1.5.2 → https://git.io/fpb7Z
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « notejot: 1.4.7 -> 1.5.2 »: https://git.io/fppof
ddellacosta has quit [Remote host closed the connection]
crmlt has joined #nixos
<mupf> goibhniu: 18.09
<mupf> I only use hibernation
jomik has joined #nixos
<goibhniu> cool, that's good to know
<jomik> Heya guys, uhh. I was wondering if it was possible to easily add stuff to your path based on your working directory? That is, I want to have certain packages available in certain projects, but not everywhere :O
<jomik> I could use nix-shell, but the disadvantage is that I lose my own shell setup.
<qyliss^work> You can use your own shell with nix-shell
<jomik> qyliss^work: How? :O
asymmetric_ has joined #nixos
<qyliss^work> you don't get the bash aliases and stuff, of course
<jomik> aliases being made by the .nix?
<jomik> file*
devalot has joined #nixos
* wirew0rm points jomik to https://github.com/direnv/direnv
<jomik> wirew0rm: Yeah, I've seen that. Though, how do you propose I use that in conjunction with nix to get packages into my environment?
<jomik> Say I wanted to add ghc.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51849 → Backport: zoom-us: 2.5.146186.1130 -> 2.6.146750.1204 → https://git.io/fpQLn
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to release-18.09: https://git.io/fpp6q
<jomik> Tho, to be honest. I should probably just "suck it up" and add npm and ghc as user packages.. :P
<wirew0rm> jomik: it has a use_nix setting, that makes it read shell.nix and applies some magic that you get the env insde your own shell
<wirew0rm> not using it myself, but i just checked my slides
<jomik> :O
agander has quit [Quit: Leaving]
pointfourone has joined #nixos
<jomik> I didn't think it had anything nix related. I guess I oversaw that! Let me look.
<jomik> Thanks.
imdoor has joined #nixos
pointfourone has left #nixos [#nixos]
<siraben> Maybe I missed the discussion but how do I get noto-fonts to be the default font for foreign scripts?
<{^_^}> [nixpkgs] @dtzWill opened pull request #52487 → libinput: 1.12.3 -> 1.12.4 → https://git.io/fpp6j
hyper_ch2 has quit [Ping timeout: 256 seconds]
<djahandarie> Is there any quick hack I can do to deal with a really slow nix expression? Like some intermediate form I can compile/interpret it down to so I don't need to wait so long reevaluating the unchanged expression every time?
arjen-jonathan has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #52488 → security.pam: make pam_unix.so required, not sufficient → https://git.io/fppiP
<clever> ,profile djahandarie
<{^_^}> clever: Did you mean profiling?
<{^_^}> djahandarie: Use NIX_COUNT_CALLS=1 and/or NIX_SHOW_STATS=1 to profile Nix evaluation
<sphalerite> djahandarie: not really, though depending on what you're changing and what you're leaving the same you might be able to imrpvoe the situation by replacing a slow part of the expression with an already evaluated version of that
Kim has quit [Quit: WeeChat 2.2]
<sphalerite> but that's not helpful for e.g. nixos system derivations because there are so many interlinked dependencies
Kim has joined #nixos
dermetfan has joined #nixos
<siraben> manveru: Thanks, that got me started.
<siraben> I fixed it by installed noto-fonts-cjk
<bbarker> I'd like to have some of my nix containers start on boot. Currently I can check their status out of the box like 'systemctl status container@vicOpenMPI' - but is there a way to enable them, or do I need to write a unit in configuraiton.nix:systemd.user.service?
<{^_^}> [nixpkgs] @grahamc opened pull request #52489 → stdenv: shorten evaluation errors when in Hydra → https://git.io/fppPx
<sphalerite> bbarker: nixos containers?
<qyliss^work> sphalerite: systemd-nspawn
<qyliss^work> oh, til that zimbatm wrote direnv
<siraben> How can I manage my Firefox configuration declaratively?
<siraben> e.g. installed extensions, preferences and about:config customiziations
<{^_^}> [nixpkgs] @matthewbauer merged pull request #47678 → Update macOS frameworks to 10.12 → https://git.io/fxk7v
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to staging: https://git.io/fppXM
jomik has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #52254 → fix lldb on macOS → https://git.io/fpNmU
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to staging: https://git.io/fppXd
<{^_^}> [nixpkgs] @matthewbauer merged pull request #52256 → Provide real dsymutil to darwin stdenv → https://git.io/fpNmE
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fppXb
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @memberbetty to master « aws-google-auth: use python3 (#52445) »: https://git.io/fpp1t
<djahandarie> clever, thanks, I've actually already profiled the expression and found that it's... really slow for dumb reasons, but unfortunately it's generated by carnix and I don't have the time to go optimize its output at the moment.
<{^_^}> [nixpkgs] @worldofpeace closed pull request #52470 → aws-google-auth: use python36 (#52445) → https://git.io/fppqp
<djahandarie> sphalerite, that seems like it might be useful -- all that changes between runs is the contents of the src path.
<lo_mlatu> siraben: not complete yet,but we have had a discussion https://discourse.nixos.org/t/firefox-extensions/1122/19
<sphalerite> djahandarie: is the src path big?
<djahandarie> No, 224K
<sphalerite> sorry need to go afk for a bit
<djahandarie> Hell, the nix expression generated by carnix is bigger than all my source. 528K vs 224K
jperras_ has quit [Quit: WeeChat 2.2]
<gchristensen> zoinks
<djahandarie> If there was some way to not need to reevaluate the Cargo.nix file every single time that'd be amazing
jbgi has quit [Ping timeout: 244 seconds]
dslegends has quit [Read error: Connection reset by peer]
<siraben> lo_mlatu: .u'e lo cmene pe do lojbo
<bbarker> sphalerite, qyliss^work; yeah since they are systemd containers, they should be quite systemd friendly, in principle
<{^_^}> [nixpkgs] @dotlambda merged pull request #51959 → pagmo2, pythonPackages.pygmo fixes → https://git.io/fpdDh
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to master: https://git.io/fppM9
<vdemeester> Mic92: ping me on PR you'll open for https://github.com/NixOS/nixpkgs/issues/52469 ;) I'll ping you on the one I open (gonna try to tackle docker, containerd, runc, openshift and cni first :P)
<{^_^}> #52469 (by Mic92, 5 hours ago, open): Use buildGoPackage for all go packages.
<qyliss^work> djahandarie: It definitely needs to be Carnix? rustPlatform.buildRustPackage doesn't work for you?
tzemanovic has joined #nixos
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
crmlt has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #52489 → stdenv: shorten evaluation errors when in Hydra → https://git.io/fppPx
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fppD0
<djahandarie> qyliss^work, it's nice when nix is responsible for building everything. (Except the expression evaluation time issue of course...)
worldofpeace has joined #nixos
<Mic92> vdemeester: ok. I will probably not look at those today.
<qyliss^work> I'm not convinced there's much of a benefit, since the Cargo thing is fixed-output anyway
<qyliss^work> there's a reason we don't use buildRustPackage in nixpkgs where we can
jabranham has quit [Remote host closed the connection]
<Mic92> you mean buildRustCrate.
<Mic92> It saves some compilation time.
mariel__ has quit [Quit: Leaving]
<dhess> I used to be able to install cabal-install in a buildEnv along with ghcWithPackages, but in the last few months there's always a collision with libHSzip-archive
<dhess> Anything obvious I'm missing?
endformationage has joined #nixos
jabranham has joined #nixos
<dhess> oddly I *can* install the buildEnv and cabal-install simultaneously using nix-env; I just can't specificy cabal-install as one of the components of the buildEnv path
fendor has quit [Ping timeout: 250 seconds]
crmlt has joined #nixos
crmlt has quit [Ping timeout: 246 seconds]
pie__ has quit [Remote host closed the connection]
pie___ has joined #nixos
irdr has quit [Remote host closed the connection]
<dhess> Never mind. Pilot error. "with" statements should be used with caution!
<gchristensen> I typically prefer a with-free lifestyle, because of that :)
<dhess> gchristensen: I get lazy :\
<dhess> It's not my first rodeo with "with", either. I should have known better.
erasmas has joined #nixos
Denommus has quit [Ping timeout: 244 seconds]
<devalot> When running sshd on a non-standard port, how to does one configure nix.buildMachines to use it? Adding :N to the end of the hostName doesn't work. Do I need to create a ssh_config for nixbld?
<gchristensen> yeah
agander has joined #nixos
<gchristensen> well, a ~root/.ssh/config works fine
<devalot> gchristensen: Can that be done from configuration.nix?
<dhess> devalot: try this syntax for your machines.nix: ssh://user@buildhost:port
<devalot> Awesome! Thanks!
<gchristensen> dhess: pretty sure that doesn't work
<dhess> gchristensen: :(
petersjt014 has quit [Ping timeout: 240 seconds]
<dhess> wow, umm.... direnv is pretty cool?
<gchristensen> direnv is like the magic trick of Nix editor integration
<dhess> all the nice shell.nix stuff and I get to keep my nice shell prompt :)
<dhess> gchristensen: yeah that's how I got started on this project. I haven't even gotten to that step yet and already seeing benefits
<dhess> just plain old terminal use so far
<djahandarie> qyliss^work, well, I tried rustBuildPackage, and while it certainly results in faster expression evaluation time, it's much slower to watch it rebuild all its dependencies every single time...
Ariakenom_ has quit [Ping timeout: 250 seconds]
<qyliss^work> aah
<qyliss^work> makes sense
Denommus has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
<bbarker> Regarding autostart for imperative nixos containers, I recalled you can do it with autostart=true for declarative containers. Trying to add this to imperative containers like so: https://gist.github.com/bbarker/1882c3200f53b375529c8da185d415c5
agander_ has joined #nixos
<bbarker> But I get " has an unsupported attribute `autoStart'. This is caused by assignments to the top-level attributes `config' or `options'."
cyounkins has joined #nixos
<djahandarie> sphalerite, well, when you return I'd love to hear your thoughts on how to replace nix expressions with more-evaluated nix expressions
mr_noobs has quit [Ping timeout: 245 seconds]
fusion809 has quit [Remote host closed the connection]
agander has quit [Ping timeout: 250 seconds]
fusion809 has joined #nixos
Lears has joined #nixos
[Leary] has quit [Read error: No route to host]
<fusion809> Hi folks, I'm having trouble installing the Julia package Conda.jl, per https://github.com/JuliaPy/Conda.jl/issues/134. One person suggested using buildFHSUserEnv (per the official Conda package https://github.com/NixOS/nixpkgs/blob/db558b31b9af9db59a8000c85c21057c88efcc25/pkgs/tools/package-management/conda/default.nix#L6), but if I understand things correctly that is not applicable to me using Julia to install the Conda
<fusion809> package. It is only applicable to building Nix packages.
<{^_^}> JuliaPy/Conda.jl#134 (by fusion809, 3 days ago, open): Fails to find Python 3.7 interpreter on NixOS 18.09, despite it being in PATH
<fusion809> Is that correct?
sir_guy_carleton has joined #nixos
<simpson> Maybe. "Correct" is a funny term here; you're still on the side of the looking glass where Python is right and Nix is wrong.
<simpson> OTOH I have a pretty heavy bias against Conda.
tzemanovic has quit [Remote host closed the connection]
<dhess> Any Haskellers here using angerman's nix-tools? https://github.com/angerman/nix-tools
v0|d has joined #nixos
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
fusion809 has quit [Quit: Leaving]
fusion809 has joined #nixos
ubert has quit [Quit: Leaving]
agander_ is now known as agander
<fusion809> simpson: well I don't love it either, I just want to install a package called IJulia, so that I can run Julia in Jupyter notebooks and JupyterLab
<simpson> Sure. A completely reasonable desire.
<fusion809> IJulia requires the Conda package to work well
<fusion809> Must admit, with all the frustration I've had with pip and Conda on NixOS I don't think I'll ever 'love' Conda or pip.
<simpson> No worries. Software isn't for loving. It's for computing.
<{^_^}> [nixos-weekly] @roberth pushed to master « Add Arion »: https://git.io/fpp5Z
<{^_^}> [nixpkgs] @Mic92 merged pull request #52062 → perl526: drop → https://git.io/fpFNK
<{^_^}> [nixpkgs] @Mic92 pushed 17 commits to staging: https://git.io/fpp5C
<dhess> hahahaha
<{^_^}> [nixos-weekly] @roberth pushed to master « Update 14.md »: https://git.io/fpp5W
<{^_^}> [nixpkgs] @WilliButz opened pull request #52492 → oxidized: 0.21.0 -> 0.25.0, drop obsolete patch → https://git.io/fpp5w
hotfuzz has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52136 → polar-bookshelf: 1.1.0 -> 1.1.1 → https://git.io/fpbPN
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « polar-bookshelf: 1.1.0 -> 1.1.1 »: https://git.io/fpp5o
hotfuzz has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpp5p
<{^_^}> [nixpkgs] @matthewbauer merged pull request #52448 → Emacs site-start: Use correct feature name → https://git.io/fpxmh
tzemanovic has quit [Ping timeout: 268 seconds]
<elvishjerricco> dhess: I've been messing with that nix-tools thing
<elvishjerricco> Not using it anywhere serious yet, but it's been a pretty huge improvement over the existing haskell infra
hedning has quit [Quit: hedning]
<elvishjerricco> Merely separating test deps from lib deps is a lifesaver
<elvishjerricco> It's very rough around the edges though. We're experimenting with using the NixOS module system, and it's revealing some issues that we're not sure how to solve
<unacceptable> Ugh - ages ago I found an example of sourcing an external nix expression into the systempackages in configuration.nix, and now I can't find it
<dhess> elvishjerricco: hmm interesting. Is it ready for use in personal projects?
<dhess> elvishjerricco: using the NixOS module system where?
<elvishjerricco> dhess: Probably. Nix-tools self-hosts with it
<dhess> elvishjerricco: cool thanks for the info. I'll check it out.
<elvishjerricco> dhess: Rather than the `haskellPackages`-style `overrides` / self + super stuff, we just use the module system
<elvishjerricco> Makes everything more declarative, composable, and documented
<tilpner> unacceptable: It was probably just = [ ... (callPackage ./your-expression.nix {}) ... ];
hedning has joined #nixos
<unacceptable> Yeah, something like that
leotaku has quit [Quit: ZNC 1.7.1 - https://znc.in]
<unacceptable> callPackage not import was the trick
<unacceptable> I've just got nix-env to build it
<unacceptable> er nix-build even
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52422 → vscode-extensions.ms-python.python: 2018.11.0 -> 2018.12.1 → https://git.io/fpAIV
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @eadwu to master « vscode-extensions.ms-python.python: 2018.11.0 -> 2018.12.1 »: https://git.io/fppFD
orivej has joined #nixos
dermetfan has quit [Ping timeout: 250 seconds]
dbmikus has joined #nixos
hedning has quit [Client Quit]
sir_guy_carleton has quit [Ping timeout: 250 seconds]
agander has quit [Read error: Connection reset by peer]
agander has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52319 → focuswriter: 1.6.16 -> 1.7.0 → https://git.io/fpNEm
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « focuswriter: 1.6.16 -> 1.7.0 »: https://git.io/fppbz
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
<sphalerite> djahandarie: I'm alive again! Somewhat. I have flaky internet now. Anyway, you'd want to look at which attrs of the set passed to mkDerivation take long to evaluate, and evaluate those into strings ahead of time. Or somehting.
ntd has joined #nixos
elgoosy has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
jperras has joined #nixos
Streetwalrus has quit [Ping timeout: 252 seconds]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @stephengroat opened pull request #52493 → freetype: 2.9 -> 2.9.1 → https://git.io/fppAM
orivej has quit [Ping timeout: 245 seconds]
ddellacosta has joined #nixos
<djahandarie> sphalerite, hmm.... and then like override them in or something, right. I was trying to play with nix eval thanks to your suggestion but just strictly evaluating the entire expression didn't work, so I'll need to do something more crafty
<djahandarie> I wish nix eval had like a iterative deepening depth-first evaluation mode or something
<ldlework> that'd be sick
<gchristensen> what would that look like?
<gchristensen> or maybe I should ask, why? :)
<fusion809> Is there any interest in merging NixOS/nixpkgs#51404? A new stable release of OpenRA is available, and it'd be nice if this PR was merged before the coming version bump.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51404 (by fusion809, 2 weeks ago, open): openra: adding individual executables for each mod
<ldlework> gchristensen: it's like the only kind of debugging conceivable for something like Nixlang
<gchristensen> I'd love to know more
<ldlework> Well I have no idea, but they made me think of being able to inspect the iterative evaluation of the expression
<gchristensen> hmm that would be super cool
sigmundv_ has quit [Ping timeout: 246 seconds]
robstr has joined #nixos
lo_mlatu has quit [Quit: Connection closed for inactivity]
dgarzon has joined #nixos
<cyounkins> per the suggestion in https://github.com/NixOS/nixpkgs/issues/52463 I'm trying this to disable building on 32-bit: `stdenv.lib.subtractLists stdenv.lib.platforms.i686 stdenv.lib.platforms.unix` - but it seems to equal stdenv.lib.platforms.unix. Might someone be able to help me? https://gist.github.com/cyounkins/c725fd4bc2d51c994da1b27b9ec19ae9
<{^_^}> #52463 (by cyounkins, 12 hours ago, open): Set operations on meta.platforms
<dgarzon> Is there an alternative to `fetchurl` that takes `curlOpts` but does not require a hash?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52221 → libraw: 0.19.0 -> 0.19.1 → https://git.io/fpbjt
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « libraw: 0.19.0 -> 0.19.1 »: https://git.io/fpppH
<cyounkins> dgarzon: Part of what makes Nix deterministic is the hashing, so I'd be surprised if there was a way to fetchurl without a hash
<dgarzon> There is `builtins.fetchurl` that takes a URL with no hash, but it does not take `curlOpts` :(
<gchristensen> what opts do you need to pass?
jomik has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #52494 → polar-bookshelf: 1.1.1 -> 1.5.1 → https://git.io/fpphk
agander_ has joined #nixos
irdr has joined #nixos
agander has quit [Ping timeout: 250 seconds]
<jomik> Anyone here using nix to manage fish plugins?
<dgarzon> gchristensen `["-s" "-L" "-H" "Accept:application/json”]`
<robstr> Hi, I'm trying to write a derivation for hyperledger-fabric,https://gist.github.com/rsoeldner/b7f8969706d2acce8ba74f7862d6d780 but i receive gotools.mk:22: *** target pattern contains no '%'. Stop. which is here https://github.com/hyperledger/fabric/blob/release-1.4/gotools.mk#L22 can someone help ?
samrose has quit [Ping timeout: 246 seconds]
IRCsum has quit [Read error: Connection reset by peer]
IRCsome has joined #nixos
dslegends has joined #nixos
<__monty__> ,locate bin pg_config
<{^_^}> Found in packages: postgresql, postgresql95, postgresql_10, postgresql_11, postgresql_9_3, postgresql_9_4
dgarzon has left #nixos [#nixos]
pietranera has quit [Ping timeout: 250 seconds]
hedning has joined #nixos
rawreraw has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #52494 → polar-bookshelf: 1.1.1 -> 1.5.1 → https://git.io/fpphk
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fppjM
hedning has quit [Quit: hedning]
Thra11 has joined #nixos
<jomik> Hey guys - I need to set up a CSD-wrapper script for OpenConnect in NetworkManager... I am not entirely sure how I will go about doing that. I am wanting to use this script: https://gist.githubusercontent.com/l0ki000/56845c00fd2a0e76d688/raw/61fc41ac8aec53ae0f9f0dfbfa858c1740307de4/csd-wrapper.sh
<jomik> It has some dependencies that I obviously need to provide for it with a wrapper.
<jomik> I want to make a normal package that you can install and configure... But, I will need a way to point OpenConnect at that package.
<{^_^}> [nixpkgs] @frlan opened pull request #52495 → Geany: Taking over maintainership → https://git.io/fphek
turion has joined #nixos
avn has joined #nixos
arjen-jonathan has joined #nixos
<unacceptable> a ha! kvirc on nixos, as a systemPackage, I feel super accomplished
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52119 → python37Packages.fonttools: 3.32.0 -> 3.33.0 → https://git.io/fpb2O
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.fonttools: 3.32.0 -> 3.33.0 »: https://git.io/fphvL
<unacceptable> qt5 bindings, too, I gather it was removed as part of the QT4 Purge
pie____ has joined #nixos
<pie____> rycee, do you want to maybe make a channel for nix-home?
<domenkozar> anyone has weekly material?
<pie____> rycee, also has anyone worked on making nix configurable firefox configuration
<{^_^}> nixos-weekly#72 (by domenkozar, 2 weeks ago, open): Call for Content: 2018/14
<pie____> domenkozar, cool, didnt know thats a thing
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52421 → wakatime: 10.2.1 -> 10.6.0 → https://git.io/fpAIa
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @eadwu to master « wakatime: 10.2.1 -> 10.6.0 »: https://git.io/fphvW
<unacceptable> Can I push that kvirc derivation or am I the only person who likes this client? :P
<{^_^}> [nixpkgs] @matthewbauer merged pull request #52495 → Geany: Taking over maintainership → https://git.io/fphek
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fphv0
Denommus has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52420 → vscode-extensions.WakaTime.vscode-wakatime: 1.2.4 -> 1.2.5 → https://git.io/fpAIg
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @eadwu to master « vscode-extensions.WakaTime.vscode-wakatime: 1.2.4 -> 1.2.5 »: https://git.io/fphvb
sbdchd has quit [Remote host closed the connection]
<jomik> Anyone managed to get a csd-wrapper script working for network-manager openconnect?
<jomik> Ah, I used a nix-shell shebang. Yay
jomik has quit [Quit: WeeChat 2.2]
tg has left #nixos ["WeeChat 1.5"]
<turion> About gitlab: systemd.services.gitlab.preStart does a huge amount of work. Is this really being executed *every* time we do systemctl restart gitlab?
<gchristensen> it does
<gchristensen> are you having problems with it, or just surprised?
Streetwalrus has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #52128 → mkdocs: 0.17.5 -> 1.0.4 → https://git.io/fpb6l
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fphJW
v0|d has quit [Ping timeout: 250 seconds]
jomik has joined #nixos
<{^_^}> [nixpkgs] @bennofs merged pull request #52454 → adoptopenjdk: autogenerate sources + add support for aarch64 → https://git.io/fpxu5
<{^_^}> [nixpkgs] @bennofs pushed 3 commits to master: https://git.io/fphJ0
hedning has joined #nixos
<turion> gchristensen: I'm very surprised
hedning has quit [Client Quit]
<{^_^}> [nixpkgs] @Mic92 merged pull request #52137 → perlPackages.Po4a: fix lib path → https://git.io/fpbXT
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fphJQ
<turion> Couldn't we only do that when setting up the package once and be done with it?
arjen-jonathan has quit [Ping timeout: 250 seconds]
<gchristensen> no
<gchristensen> because every time you start your computer or do an nixos-rebuild switch , it might be different
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @nyanloutre to master « radarr: 0.2.0.1120 -> 0.2.0.1217 »: https://git.io/fphJp
<gchristensen> does it take a long time on your system?
halfbit has joined #nixos
halfbit has quit [Client Quit]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #52037 → radarr: 0.2.0.1120 -> 0.2.0.1217 → https://git.io/fpFPL
judson has joined #nixos
<turion> gchristensen: No, but I'm thinking about setting up gitlab on my nixos server, but I find the current way strange
jomik has quit [Quit: WeeChat 2.2]
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.github.io]
Mrmaxmeier has joined #nixos
<turion> These things in the prestart section are messing with the state, so it's strange that nixos touches the state every time you do nixos-rebuild switch
<judson> I'm trying to switch to lightdm (in part to be more in the mainstream of NixOS, and in part because loginctl seems busted under sddm), but I cannot get "none+xmonad" to work.
<{^_^}> [nixpkgs] @Mic92 merged pull request #52100 → lib.makePerlPath -> perlPackages.makePerlPath → https://git.io/fpbn4
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging: https://git.io/fphUi
<judson> It's there in the generated lightdm.conf, but lightdm starts xmonad with an xterm.
<judson> Which is mostly just aesthetics for me, but little irritations trouble me a lot over time.
<turion> judson: Have you by any chance mistyped your password *last time*?
<judson> turion, that for sure has happened, but I went through several cycles getting it right.
<turion> Because back when I used none+xmonad, it would launch an xterm every time I managed to log in after a failed login
<judson> One thing maybe related: my testing has been `systemctl restart display-manager`
<turion> So if you restart cleanly now and log in without mistyping, does the xterm still appear?
<judson> I put an `env` in my .xprofile, and there are variables with xterm+xmonad, which may also be related.
<judson> I should try that.
<judson> I need to get the systemtray working properly, too.
betaboon has quit [Quit: WeeChat 2.2]
<turion> gchristensen: Why is it ok for nixos to mess with state *every* time, but not when the service is installed?
<gchristensen> turion: there is no concept of a service being installed
freeman42x[nix] has joined #nixos
<turion> gchristensen: How does systemd know what service to start after nixos-rebuild switch
<gchristensen> it compares the hashes of services before to the hashes of services now
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52243 → jackett: 0.10.471 -> 0.10.504 → https://git.io/fpNTO
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « jackett: 0.10.471 -> 0.10.504 »: https://git.io/fphTt
<gchristensen> so if gitlab changed in any way, it restarts it
<gchristensen> and if the new version needs to run some transition or has a bug to fix, it needs to re-run the pre-start -- but it turns out most pre starts are safer to just run every time
<turion> How does it know which pre-start to run then?
sbdchd has joined #nixos
<gchristensen> systemd runs prestarts before starting the service
<turion> Ah then I misunderstood you
robstr has quit [Ping timeout: 256 seconds]
jomik has joined #nixos
jomik has quit [Client Quit]
<gchristensen> if it is very slow to restart, that is a bug... if it breaks things on restart, that is a bug ... but otherwise, this is a fairly common idiom
<turion> gchristensen: For example, nextcloud creates a config.php upon the first installation
<turion> meaning that it doesn't recreate the file if it exists
<turion> Why don't we do that more?
<gchristensen> we do that a lot
<turion> Just `touch` a file that locks a directory to the pre-start service, possibly with the filename denoting the state version
<turion> Ah ok
<gchristensen> in fact, gitlab's prestart does a lot of that too
<gchristensen> there is no reason to make the prestart more complicated with versions and locks and what-not
<turion> Ah ok
<turion> So why don't we do that with the secret file as well?
<turion> We could create it randomly if it doesn't exist, and encrypt the database with it?
<gchristensen> sure, we could do that
<turion> No need to put it read-only in the store
asymmetric_ has quit [Ping timeout: 250 seconds]
<turion> I mean globally readable
<gchristensen> definitely shouldn't put it in the store, deary me :)
<turion> Yeah, but that's how it's done right now
<turion> ...right?
<gchristensen> I don't know, but if that is what we do, I'd consider it a bug
<turion> I agree wholeheartedly with you
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52024 → shotcut: 18.10.08 -> 18.11.18 → https://git.io/fpFaJ
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « shotcut: 18.10.08 -> 18.11.18 »: https://git.io/fphT5
<turion> gchristensen: https://nixos.org/nixos/options.html#gitlab.secrets.secret
<gchristensen> hrm. yeah, not nice
<gchristensen> buildkite's runner, for example, makes it very difficult or impossible to put the secrets in the store
<turion> The docs even advise to choose a long, random password :D just so the other users on your machine take longer to read it from the store XD
rawreraw has quit [Quit: WeeChat 2.3]
dermetfan has joined #nixos
<unacceptable> KRDC won't actually RDP to anything, it connects and then closes immediately
<{^_^}> [nixpkgs] @Mic92 merged pull request #51709 → vivid: init at 0.4.0 → https://git.io/fpSBc
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fphkZ
<unacceptable> Same box works with KRDC on gentoo
<unacceptable> What am I missing?
<turion> gchristensen: Yeah, that's a good inspiration, thanks!
<turion> unacceptable: Are the configs the same?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52215 → librelp: 1.2.18 -> 1.3.0 → https://git.io/fpbhm
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « librelp: 1.2.18 -> 1.3.0 »: https://git.io/fphkB
<turion> Or is that even a service?
<unacceptable> It's a client
<unacceptable> It won't RDP to _anything_, making me suspect shenanigans internally
iqubic has joined #nixos
<clefru> How do I compile a simple static binary under nix? echo "int main() { return 0; }" > foo.c; gcc --static foo.c -o foo; gives "ld: cannot find -lc"
<iqubic> Is it possible to install multiple DEs at the same time?
<niksnut> clefru: try running inside 'nix-shell -p'
<niksnut> oh, that doesn't work either
<ldlework> iqubic: why would you need to
<niksnut> 'nix-shell -p glibc.static' does work
<unacceptable> remmina works just fine, KRDC does not
<clefru> niksnut: wohoo, thank you!
<clefru> I am toying around with replacing ELF interpreters.
<clefru> ..that's why I need static binaries.
arjen-jonathan has joined #nixos
judson has quit [Remote host closed the connection]
<iqubic> ldlework: I want a second DE because I want to get steam working.
<gchristensen> ping me if you'd like a "nixos/user" IRC cloak
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.github.io]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « libcouchbase: 2.10.0 -> 2.10.2 »: https://git.io/fphIr
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52205 → libcouchbase: 2.10.0 -> 2.10.2 → https://git.io/fpbAP
<gchristensen> ,cloak = Ping graham if you'd like to get a nixos/user cloak.
<{^_^}> cloak defined
<iqubic> What is cloak?
<hyper_ch> iqubic: it's for hiding your ip/actual hostname on freenode
<iqubic> I want to install FVWM on Nixos, at the same time as i3. Is that possible?
<__monty__> Note that it's not strong protection, people can still find out your ip.
<gchristensen> mostly they're for fun
<__monty__> Yep.
<hyper_ch> __monty__: how?
<__monty__> And to identify bot owners : )
ntd has quit [Quit: ntd]
<__monty__> hyper_ch: Don't know any details, just telling you the freenode guidelines.
<hyper_ch> so you're not a l33t h4xx0R?
<worldofpeace> Lol I though gchristensen was providing literal cloaks :P
<iqubic> So can I install two WM alongside eachother on Nixos?
<hyper_ch> I take one elven cloak
<hyper_ch> like the ones in LotR
<worldofpeace> Yesss :D
<ldlework> :P
<ldlework> dude
<ldlework> NixOS cloaks with silver logo broaches
<ldlework> nerdiest thing I've envisaged in a while
<hyper_ch> hehehe :)
mr_noobs has joined #nixos
<pie____> ldlework, waitwhatdoethisexist
<iqubic> So can I. or can I not install 2 WM on Nixos? I'd only be running them one at a time.
<ldlework> iqubic: well at least the login managers support that kind of thing in letting you pick what DE/WM combo you want. But I have no idea if simply enabling multiple options in the NixOS modules will just work.
<ldlework> You can always just try it.
<ldlework> Not like you're gonna break your system.
* DigitalKiwi has multiple wms
<ldlework> there ya go
<iqubic> How would I switch WM without having to reboot?
<hyper_ch> logout to login maanger
<hyper_ch> select other wm
<hyper_ch> log back in?
<iqubic> I see.
<pie____> switch user also might work
<pie____> ?
crmlt has joined #nixos
<djahandarie> Is there some way to refer directly to a derivation by it's path in the nix store? Currently it seems like /nix/store/whatever result in a new derivation that has the output of the derivation referred to... or am I confused?
<pie____> djahandarie, you mean getting the derivation object via its path?
<djahandarie> Yeah, I think.
sbdchd has quit [Remote host closed the connection]
<pie____> hmm...first of all, i dont know. that might be kind of interesting
<djahandarie> Normally this wouldn't matter, but I'm doing distributed builds, and this is the difference between uploading a gig derivation that is actually already on the remote host if I can get rid of this extra layer of indirection
<shapr> How could I determine the linux kernel version in the graphical installer? does anyone happen to know?
<hyper_ch> ctrl-f2 -> uname -a
<shapr> hyper_ch: I can't boot the installer, and I think I need 4.19 or later
<djahandarie> I.e., I try to use the stuff at /nix/store/HASH1-thing, and it results in /nix/store/HASH2-thing (same contents) being uploaded to the remote host, even though the original path is already there
<pie____> djahandarie, how are you doing this? if hash1 thing isnt a runtime dependency i dont think it should be fetched?
<pie____> oh
<pie____> also if the contents really are the same hash2 shouldnt be different?
<shapr> I think pie needs more underscores.
<djahandarie> pie____, isn't the hash the hash of the input derivation, not the output?
<pie____> shapr :P i need a bouncer
<pie____> djahandarie, um good point probably
iqubic has quit [Ping timeout: 256 seconds]
<pie____> idk
drakonis has quit [Quit: WeeChat 2.3]
iqubic has joined #nixos
tzemanovic has joined #nixos
<iqubic> Does anyone know why certain steam games fail to work on Nixos?
<djahandarie> IIRC there is at least some command to get the derivation used to build a given store path, does anyone remember what that is?
<pie____> iqubic, probably a lot of reasons? :P usually something relating to not being able to find the libraries it wants
<iqubic> I see.
<iqubic> So should I continue trying to get this to work on linux, or should I switch to Windows to do gaming? I dual boot, so I can do either of those things.
<shapr> ubuntu plays steam games just fine
<shapr> I'd like to think nixos does too, but I can't get nixos installed :-(
<iqubic> Nixos doesn't do it well enough for me.
<shapr> iqubic: what games fail to run?
<djahandarie> (Found it, nix-store -q -d)
<iqubic> It's a game called "CrossCode"
<iqubic> Turns out this is indeed a missing library problem.
samueldr has quit [Changing host]
samueldr has joined #nixos
LnL has joined #nixos
LnL has quit [Changing host]
qyliss has quit [Changing host]
qyliss has joined #nixos
qyliss^work has quit [Changing host]
qyliss^work has joined #nixos
tilpner has quit [Changing host]
tilpner has joined #nixos
<clever> iqubic: i dont know how they did it, but crosscode works in the browser, and even supports gamepads, in javascript
niksnut has quit [Changing host]
niksnut has joined #nixos
gchristensen has quit [Changing host]
gchristensen has joined #nixos
{^_^} has joined #nixos
{^_^} has quit [Changing host]
<ben> I couldn't get eve online to work in nixos either but not spending time on eve online is probably just another upside of nixos
tzemanovic has quit [Remote host closed the connection]
<clever> ben: :D
ldlework has quit [Changing host]
ldlework has joined #nixos
<shapr> ha, good response
<__monty__> djahandarie: I remember something about working towards a content-addressable store, maybe from a nixcon talk?
aleph- has joined #nixos
<shapr> clever: do you happen to know what kernel version is in the graphical installer?
tzemanovic has joined #nixos
<iqubic> clever: CrossCode is appearently made in HTML 5 if you can believe it.
<clever> shapr: probably the default for nixos
<clever> iqubic: that would explain how well it works in the browser
<iqubic> How do I copy text from XTerm?
<rnhmjoj> do you know what's needed in order to get vulkan running on nixos? i have mesa 18.1.7 and running amdgpu. vulkaninfo fails with VK_ERROR_INCOMPATIBLE_DRIVER.
<clever> iqubic: the selection buffer, any text you select, in any app, is in the selection buffer
<clever> iqubic: middle click to paste it
<iqubic> Because that is the only terminal I have installed right now.
<iqubic> yea, but hitting ctrl-c just sends a literal control character to Xterm.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52228 → libcap: 2.25 -> 2.26 → https://git.io/fpNeP
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to staging « libcap: 2.25 -> 2.26 »: https://git.io/fphq4
<clever> iqubic: you dont have to ctrl+c, ever
<clever> just select text with the mouse, thats it
<iqubic> XTerm isn't working in that way.
<clever> how did you try to paste?
crmlt has quit [Ping timeout: 244 seconds]
<__monty__> Yeah, select by dragging, paste by middle click.
<turion> Can I somehow override how the secrets file in gitlab is recreated every time
<turion> ?
<{^_^}> [nixpkgs] @Mic92 merged pull request #40459 → pypy: 5.10.0 -> 6.0.0 → https://git.io/vp9aj
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fphqo
<__monty__> It's the primary selection instead of the clipboard.
tzemanovic has quit [Ping timeout: 252 seconds]
mr_noobs has quit [Ping timeout: 240 seconds]
<iqubic> Here are my steam issues. http://dpaste.com/0SRF17V
<shapr> oh right, steam ui is all 32-bit
<iqubic> Is that an issue?
<shapr> dunno where you get libgtk-3, but it should be available
<shapr> iqubic: yeah, you need the i386 version of some libs, I forget which
<shapr> iqubic: already seen https://nixos.wiki/wiki/Steam ?
puck has joined #nixos
mr_noobs has joined #nixos
__Sander__ has joined #nixos
<jboy> If I wanted to use this fix: https://github.com/NixOS/nixpkgs/issues/41129#issuecomment-394410565 -- where would I have to insert the configuration code? In the system configuration where I define environment.systemPackages?
<pie____> iqubic, omg crosscode! <3
<pie____> clever, crosscode is coded in javascript thats how they did it
<pie____> you can just extract the executable and run it, but its been a while since i tried running the latest version of the game
tzemanovic has joined #nixos
<pie____> it usually runs in electron or whatsit, ive run it in firefox
<iqubic> Weird. I'm not sure I feel comfortable doing that though.
<clever> pie____: i cant remember the link, but ive just opened it directly in chrome before, and the gamepad just worked
<clever> i had more gamepad problems in proper native games, lol
<iqubic> I haven't had any gamepad problems in the one game that I have gotten to launch natively. So that's good.
<clever> mostly, the game only checks for a gamepad at startup
<clever> so i must plug it in, before loading the game
<clever> but the html5 gamepad api doesnt care
<iqubic> Yes, that's my issue too.
<clever> and for extra fun, i'm using an xbox controller, with a usb<->rf adapter
<iqubic> Well, I'm going to reboot into the WM I feel more comfortable in. Be back in a few moments.
<clever> and the adapter dynamically creates/destroys usb devices, as they connect wirelessly
<clever> so even if i plug in the receiver, the usb gamepad doesnt exist, until i turn on the controller itself
<pie____> actually in the latest versions off crosscode you might not even need to extract it, the files are just there, but im not sure
<pie____> anyway i love that game :P
iqubic has left #nixos [#nixos]
<pie____> clever, ive never gotten the gamepad working in firefox :/
Thra11 has quit [Ping timeout: 272 seconds]
<pie____> though tbf crosscode kind of works better with kb and mouse imo
<clever> pie____: http://html5gamepad.com/
<pie____> i mean its not that it works better, i just think aiming is more accurate with mouse, but aaanyway, off topic :P
<pie____> clever, yeah... i dont actually have a gamepad to test with with me right now, that i can try again with
<ldlework> crosscode is fun
<ldlework> not many people seem to know about it
<pie____> so-so
<Izorkin> How to need to merge PR #44343 #51902 #52032 #52098
mr_noobs has quit [Ping timeout: 272 seconds]
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44343 (by Izorkin, 19 weeks ago, open): mariadb: 10.2.17 -> 10.3.10
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51902 (by Izorkin, 6 days ago, open): mariadb.galera: 25.3.24 -> 25.3.25
<{^_^}> https://github.com/NixOS/nixpkgs/pull/52032 (by Izorkin, 4 days ago, open): unit: update versions and modules config
mr_noobs has joined #nixos
ambro718 has joined #nixos
iqubic_ has joined #nixos
<iqubic_> So I'm back.
<iqubic_> Is there any way to fix my game issues, or should I run CrossCode through my browser?
<iqubic_> I feel like that missing library is going to be a bit of an issue for other games too.
crmlt has joined #nixos
<clever> i would just patch the steam expression to include gtk
<iqubic_> How do I do that?
<iqubic_> I'm not sure what that even means.
<__monty__> I'm getting some "Broken Pipe" errors with nix-shell. But df reports there's free GBs on my disk. Normally it's because the disk is full, what's going on here?
<pie____> Profpatsch, maybe to make a crosscode derivation? :P
<pie____> (see above)
iqubic_ is now known as iqubic
<iqubic> pie____: I don't see the above actually.
dgarzon has joined #nixos
<iqubic> I just checked the logs.
boredom101 has joined #nixos
<iqubic> If I were going to play this in the browser, where would I look to find the files to run?
<dgarzon> Is there any function on the `lib` that would allow me to retrieve all keys in a map? Similar to `attrVals` but for all attributes?
<pie____> iqubic, that was supposed to be a continuation of my revious mesage
<dgarzon> For example: `lib.attrVals tools` would result in `[tools.a tools.b]`
<pie____> iqubic, can you find the location where steam saves the game?
<gchristensen> ,cloak = Ping graham if you'd like to get a nixos/user cloak. Read https://nixos.wiki/wiki/IRC:Cloaks for instructions.
<{^_^}> cloak redefined, was defined as: Ping graham if you'd like to get a nixos/user cloak.
[Leary] has joined #nixos
<iqubic> ,cloak
<{^_^}> Ping graham if you'd like to get a nixos/user cloak. Read https://nixos.wiki/wiki/IRC:Cloaks for instructions.
<pie____> iqubic, i dont have a copy on hand so can you pastebin the list of files in the directory that the game exe is in? ideally the output of ls -alh or somesuch
<iqubic> Where is the game exe on Nixos?
arjen-jonathan has quit [Ping timeout: 250 seconds]
<pie____> iqubic, ok so you will need to find the steam game directory, can you look around in ~/.steam (i think)
<iqubic> I'll take a look.
<pie____> iqubic, or ~/.local/share/Steam actually
Lears has quit [Ping timeout: 246 seconds]
dbmikus has quit [Ping timeout: 250 seconds]
<pie____> iqubic, actually, you could just try running the following: find ~ -iname "*crosscode*"
boredom101 has quit [Quit: Konversation terminated!]
dbmikus has joined #nixos
<iqubic> I found the directory.
<iqubic> Alright. I just did a stupid thing.
<pie____> oops?:P
<iqubic> "tee ~/DIRECTORY/OF/CROSSCODE"
<iqubic> And that's going to take a while to complete.
<pie____> control c?
<pie____> or just close the window
<iqubic> Yeah, that does it.
<iqubic> So now that I have the directory, what do you want to see?
<iqubic> To help me with my CrossCode issues.
aminechikhaoui has quit [Changing host]
aminechikhaoui has joined #nixos
clever has quit [Changing host]
clever has joined #nixos
<pie____> iqubic, paste the output of ls -alh in the directory to bpaste.org and send me the result
civodul has joined #nixos
edef has quit [Changing host]
edef has joined #nixos
perique has quit [Quit: Textual IRC Client: www.textualapp.com]
<pie____> iqubic, sorry bpaste.net
hedning has joined #nixos
lejonet has quit [Changing host]
lejonet has joined #nixos
turion has quit [Ping timeout: 250 seconds]
<iqubic> pie____: ^^^
mr_noobs has quit [Ping timeout: 240 seconds]
<pie____> iqubic, check whats in the assets directory
betaboon has joined #nixos
hedning has quit [Client Quit]
betaboon has quit [Client Quit]
<pie____> iqubic, actually paste th output of ls -alhR , it looks like the layout changed sice i last did this
<iqubic> It looks like a bog standard JS project structure.
<djahandarie> Is there a way to load a derivation in a nix expression given a path to the drv file?
mr_noobs has joined #nixos
<pie____> iqubic, if you can find the main html file you should just be ablle to run it
<pie____> iqubic, you do web dev_
<pie____> ?
<iqubic> I understand a bit about web dev.
<iqubic> It looks like the game is using node.
<pie____> yes. node webkit
<pie____> iqubic, did you find the html file or can you paste the ls?
<iqubic> Much of that is not relavent here.
<pie____> iqubic, triedopening node-webkit.html?
<iqubic> Nope.
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<__monty__> Why would nix-shell do this? copying path '/nix/store/nb75skrg6n3c1z5dkrp7pc5yi4a6jqqq-nix-2.1.3-man' from ...
<pie____> iqubic, try it :P
<pie____> iqubic, tell me if it just stays a black screen
<iqubic> It does indeed do that.
<pie____> ok, try running doStartCrossCodePlz(); in the dev console
<iqubic> Is that actually what they named the function?!?!
<pie____> yep :D <3
<pie____> check the page source
<iqubic> Well, that worked.
<pie____> awesome
<pie____> hav fun!
<iqubic> Well, now it isn't recognizing my controller.
<pie____> oh poop. i dont know if thats actually supported like this.
<iqubic> pie____: Let me try one thing first.
<pie____> what browser? does http://html5gamepad.com/ work?
vk3wtf has quit [Ping timeout: 250 seconds]
<iqubic> Firefox. And yeah, that website works fine.
<pie____> :c
<iqubic> Wait... And now I can't see my cursor on the screen in game.
<pie____> i dont know how theycoded the controller stuff...it might just not be supported in browser mode.
<pie____> hmmmm
mr_noobs has quit [Ping timeout: 250 seconds]
<pie____> are you sure the controller doesnt work? :P does the mouse work if you dont use the controller? did you plug the controller before starting the game?
kvda has joined #nixos
<iqubic> I did plug in the controller before starting the game.
rfold has joined #nixos
<iqubic> And the gamepad tester website works fine too.
<pie____> clever, im not sure how to add stuff to the steam env because ive never used it so...i cant help iqubic if he decidesto go with that
agander_ is now known as agander
<pie____> iqubic, you could try chrome i guess but i doubt that will change anything
<iqubic> I'll try that.
<iqubic> Actually, I don't have Chrome installed.
jomik has joined #nixos
<jomik> Hey guys! I am now having an issue running the CSD binaries to allow me to use OpenConnect to connect to my VPN... It gives this error: "Failed to execute process './cstub'. Reason:
<jomik> The file './cstub' does not exist or could not be executed.
<jomik> which... Does not make sense. As that is the file I am executing. So it must be that it can not be executed. Why? It seemingly works fine on an OpenSUSE machine. But two NixOS machines are having issues with this file.
<pie____> iqubic, just nix-shell -p chrome --run chrome
<pie____> err
ottidmes has quit [Ping timeout: 246 seconds]
<iqubic> Yeah, chrome ain't defined.
<pie____> yeah wrong name one sec, im typing with one hand because of food :P
<iqubic> I see,
<iqubic> Totally fine.
worldofpeace has quit [Quit: worldofpeace]
<pie____> iqubic, its chromium not chrom, for both
<iqubic> Speaking of which, I need to go get some lunch from the kitchen. Be back in a few moments.
<iqubic> I don't think that will help me.
<iqubic> Steam was complaining about not having the right gtk libraries.
<pie____> iqubic, nix-shell -p chromium --run chromium
<clever> iqubic: try editing the nix file like in the above commit, to add gtk to steam
<clever> and then build and use the steam from that nixpkgs clone
<iqubic> I will.
<pie____> the question is, will gtk be enough xD
<unacceptable> I found steam didn't like me at all until I told nixos to do 32-bit graphics
<unacceptable> Now the client works, but the steam play stuff is much more hit and miss on Nixos than it was on Gentoo
orivej has joined #nixos
ntd has joined #nixos
<pie____> unacceptable, that is needs 32bit graphics is kind of understandable, but of course its still annoying
<iqubic> Well... Chromium is even worse.
<iqubic> Doesn't run the game at all.
<pie____> iqubic, did you run the init function?
<iqubic> even when asking it to via commands in the console.
<pie____> ah.
<iqubic> I did run the init.
<pie____> well :<
<pie____> i dont have a gamepad or a copy of CC with me to test with
<unacceptable> iqubic: What game?
<iqubic> CrossCode.
<pie____> iqubic, if you just want to play the game, firefox + mouse / keyboard should work fine
<unacceptable> NET_ERR_CACHE_MISS
<unacceptable> (no ref for CrossCode)
<pie____> iqubic, if you want the gamepad then i dont really know how to help
<iqubic> pie____: I know it should, but I'm using a laptop. So....
<pie____> ahhh zeah
<pie____> *yeah
<pie____> i understand
<pie____> you should get yourself a separate mouse regardless? :P of course that doesnt help right now if you dont have one
<iqubic> I know.
epicmetal has joined #nixos
clefru has quit [Quit: Leaving]
<{^_^}> [nixos-org-configurations] @grahamc pushed to master « Drop aarch64 t2a-1 (dead) and t2a-4 (spot), add bigmac (spot) »: https://git.io/fphZD
bbarker has quit [Remote host closed the connection]
<pie____> clever, hey what about , extraPkgs ? pkgs: [ ] # extra packages to add to targetPkgs
<clever> pie____: oh, then you could likely do it via .override
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pie____> clever, what is this, steam-run?
<clever> not sure
<pie____> clever, trying to figure out what to pass to nix-shell -p
<ldlework> just install every package
<pie____> i mean to be able to override this steam thing :P
<clever> nix-shell -p 'hello.override {}'
<pie____> <unacceptable> Now the client works, but the steam play stuff is much more hit and miss on Nixos than it was on Gentoo <ldlework> just install every package
<pie____> clever, no sorry, i mean i want to know what to have in placeof hello :P
<clever> yeah, thats the tricky part, the steam stuff is a bit of a maze
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #52499 → servant: Sphinx is a build-time dependency → https://git.io/fphnw
<dgarzon> Given I have two maps: `tools` and `packages` how can I merge them?
<jomik> tools // packages IIRC
<jomik> or it is \\
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #52500 → servant: Sphinx is a build-time dependency for 18.09 → https://git.io/fphno
crmlt has quit [Ping timeout: 250 seconds]
travelion has quit [Quit: ZNC - https://znc.in]
<pie____> clever, iqubic what steam was being run for crosscode?
<pie____> i mean what was the nix stuff
<iqubic> what do you mean?
<pie____> idk, how did you run steam
<__monty__> Hmm, I used an override to change a haskell package version with callHackage, I'm getting errors like this, what am I doing wrong? copying path '/nix/store/vwn9s1vcbzg343jrlrl6b4wjncnkxlyi-all-cabal-hashes-component-squeal-postgresql-0.4.0.0' from ...
<iqubic> I put steam into my system.environmentPackages in my configuration.nix, and installed that way.
<iqubic> And then I'm just running it from the terminal.
<pie____> ok
<pie____> clever, i think i found an example to use in top-level
<iqubic> which steam returns: /run/current-system/sw/bin/steam
<iqubic> That says it's deprecated.
hamishmack has joined #nixos
<pie____> iqubic, did you install steam or steam-run
<pie____> and yeah, idk what deprecated means ther
<iqubic> Steam.
<pie____> maybe the deprecated is just for the ava and primus stuff
<iqubic> I would installed steam-run, but that doesn't work for me.
<{^_^}> [nixpkgs] @LnL7 merged pull request #52349 → dashing: enable on darwin → https://git.io/fpN25
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fphcL
travelion has joined #nixos
agander has quit [Quit: Leaving]
kvda has joined #nixos
<pie____> fwiw i dont even know what steam-run does
jomik has quit [Quit: WeeChat 2.2]
<pie____> clever, uhhh.... error: The option `allowUnfree' defined in `/etc/nixos/configuration.nix' does not exist.
<clever> pie____: nixpkgs.allowUnfree
<pie____> ah ok
<pie____> the websites options search didnt list it
<clever> pie____: steam-run is to run steam like games, in the same sandbox, without the steam ui
fusion809 has quit [Remote host closed the connection]
<pie____> aha...
feep has joined #nixos
<clever> pie____: oops wait, its nixpkgs.config.allowUnfree
<clever> pie____: nixpkgs.config is just a free-form attrset, containing the same thing as the normal config.nix for nixpkgs
<clever> so the nixos options dont understand it
<pie____> ok
fusion809 has joined #nixos
<pie____> clever, i did a rebuild switch but im still getting: error: Package ‘steam’ in /nix/store/zbsk6f16ffadafs81lhwh0pbafz2ya4y-nixos-18.09.1446.db561c90ef3/nixos/pkgs/games/steam/steam.nix:31 has an unfree license (‘unfreeRedistributable’), refusing to evaluate.
<clever> pie____: nix-shell never uses configuration.nix
<clever> you must use config.nix for nix-shell
imdoor has quit [Quit: imdoor]
<pie____> clever, bleh.
<kandinski> any of yous who is able to load .ovpn files via network-manager and connect to VPNs normally, can you show me your global configuration.nix?
<kandinski> (I'm on 18.09, vanilla Gnome)
<kandinski> Thanks in advance
<{^_^}> [nixpkgs] @Ma27 merged pull request #52485 → nixos/oh-my-zsh: fix wrong manual information → https://git.io/fppuC
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fphC2
<clever> kandinski: i wasnt using network manager, but this is how i had previously done it: https://github.com/cleverca22/nixos-configs/blob/master/router.nat.nix#L153-L157
epicmetal has quit [Read error: Connection reset by peer]
vk3wtf has joined #nixos
<clever> kandinski: `optionalAttrs (builtins.pathExists ./clever_router.ovpn)` is optional, it just makes the rest of that code silently do nothing if the config is missing
<clever> which allows testing it without any secrets present
<kandinski> clever: thanks
<kandinski> clever: will this run the vpn automatically on startup?
tzemanovic has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 268 seconds]
<clever> yes
<{^_^}> [nixpkgs] @Ma27 pushed commit from @pablode to release-18.09 « nixos/oh-my-zsh: fix wrong manual information »: https://git.io/fphCp
orivej has joined #nixos
tzemanovic has joined #nixos
marusich has quit [Remote host closed the connection]
<pie____> iqubic, try this nix-shell -v -p "with import <nixpkgs> {}; steamPackages.steam-chrootenv.override { extraPkgs = [ gtk3 ]; }"
<pie____> ah wait sorry
<pie____> not done yet
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #52501 → mesa: 18.2.6 -> 18.3.1 → https://git.io/fphWT
<clever> pie____: shouldnt need the import at all
<pie____> clever, ah ok
<clever> nix-shell -p "steamPackages.steam-chrootenv.override { extraPkgs = [ gtk3 ]; }" for ex should work
<pie____> that seems to make it a lot faster too
<{^_^}> [nixpkgs] @markuskowa merged pull request #52156 → padthv1: 0.9.3 -> 0.9.4 → https://git.io/fpbSh
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fphWm
<pie____> yeah error: attempt to call something which is not a function but a list
epicmetal has joined #nixos
<pie____> messed up something else
<iqubic> error: Package ‘steam’ in /nix/store/adqrrrbipfbmqvkvyhvfcn7k89q5naqg-nixos-18.09.1676.7e88992a8c7/nixos/pkgs/games/steam/steam.nix:31 has an unfree license (‘unfreeRedistributable’), refusing to evaluate.
<pie____> oh it wants a function
<pie____> iqubic, nix-shell -v -p "steamPackages.steam-chrootenv.override { extraPkgs = (pkgs: [ gtk3 ]); }"
<clever> iqubic: config.nix still needs an allowUnfree = true;
<iqubic> I have that in my configuration.nix.
<clever> 2018-12-18 18:15:10 < clever> pie____: nix-shell never uses configuration.nix
<clever> 2018-12-18 18:15:14 < clever> you must use config.nix for nix-shell
<iqubic> I don't have a config.nix
<clever> then you need to make one
judson has joined #nixos
<clever> the error tells you where
<pie____> when you try to run the commandit will error and tell you what to do
<iqubic> I know.
<judson> So: two things. After restarting, still getting xterm launching. By now I'd've hoped X would be less of a rats nest.
<judson> Dimly related, is there a nix package for a standalone SNI watcher?
<clever> Judson: did you select a desktop manager at the login screen?
<{^_^}> [nixpkgs] @flokli opened pull request #52502 → brlaser: fix $out → https://git.io/fphWD
<pie____> Judson, i heard freedesktop stuff got kind of tangled into systemd so...
<clever> Judson: xterm can sometimes wind up being the default
<pie____> Judson, yeah ok then again thats not x
<judson> I did, "none+xmonad" but that gets ignored.
<pie____> clever, i think crosscode is basically going to try running node webkit in the steam environment stuff? idk why that ends up complaining about gtk but do you forsee any issues? ah but you said you got it working at some point?
<pie____> or was that on windows?
<pie____> ^dumb question
<judson> I've both explicitly set none in my configuration.nix (desktopManager.default = "none";) and that comes through in lightdm.conf as none+xmonad.
<judson> I chose the option as I logged in. There's still an xterm.
ambro718 has quit [Read error: Connection reset by peer]
<pie____> ugh the steam command faild on a ton of things for me
ntd has quit [Quit: ntd]
ambro718 has joined #nixos
<clever> pie____: ive only gotten it to work in chrome so far, havent tried under steam
<pie____> clever, ah, was that without gamepad stuff?
<iqubic> that nix shell think isn't working.
<clever> pie____: gamepad just worked with zero config in chrome
<pie____> clever, oh.
<dgarzon> Is there any way to tell `pkgs.writeText` to write the file to `$out/fileName.json`?
<pie____> clever, -p chromium?
<judson> But when .xprofile gets loaded, theres e.g. a DESKTOP_SESSION=xterm+xmonad that's set and I have no idea where that came from.
<iqubic> Well It isn't working for me.
<clever> pie____: probably, but i just have it installed noramlly
<clever> Judson: one sec
<pie____> oh. normally?
<iqubic> Trying to run steam in nix-shell with the above command is failing.
<dgarzon> Doing `pkgs.writeText "derivations.json" (builtins.toJSON {});` just creates a `result` pointing to the file, but I would like to have `result/derivations.json`. Is that possible?
<iqubic> nix-shell -v -p "steamPackages.steam-chrootenv.override { extraPkgs = (pkgs: [ gtk3 ]); }" is the command to get to the shell.
elgoosy has quit [Remote host closed the connection]
<iqubic> And that error is what I get.
<clever> Judson: that script is responsible for starting your session of choice, and dealing with .xinit and .xprofile
<clever> and .xsession
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fphlL
<{^_^}> [nixpkgs] @markuskowa merged pull request #52169 → osrm-backend: 5.19.0 -> 5.20.0 → https://git.io/fpbQM
<pie____> iqubic, try nix-shell -p google-chrome
<pie____> iqubic, and the usual crosscode running stuff
<clever> pie____: i'm using the open source chromium, not the google blob
<pie____> clever, ...oh come on xD
<iqubic> Well I tried that, and CrossCode didn't even run on Chromium for me.
<pie____> clever, yeah so we tried that earlier
<pie____> well, with -p
<clever> pie____: what was the URL?
<pie____> but ok, so what does installed normally mean?
<pie____> clever, which one
<clever> pie____: for the game
<{^_^}> [nixpkgs] @Ma27 merged pull request #52241 → jruby: 9.2.4.0 -> 9.2.5.0 → https://git.io/fpNU6
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fphlB
<clever> there was some demo url that let you just play it in a browser
<pie____> ah
<pie____> im not sure if thats still up..it should be, holdon
<clever> pie____: found it, http://cross-code.com/en/start
<pie____> yep
<clever> works perfectly
ensyde has joined #nixos
<clever> nix-store -r /nix/store/cjnkqww1pd5ak02369wqaqdr1s5i0jay-chromium-70.0.3538.77
<clever> to get the exact version of chrome i use
ambro718 has quit [Ping timeout: 246 seconds]
dgarzon has left #nixos [#nixos]
simukis has quit [Quit: simukis]
<__monty__> Just my luck that this is using cabal 2.1, anyone have an idea why though? http://ix.io/1wkT
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #52499 → servant: Sphinx is a build-time dependency → https://git.io/fphnw
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fph8I
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #52500 → servant: Sphinx is a build-time dependency for 18.09 → https://git.io/fphno
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.09: https://git.io/fph8t
<ldlework> At somepoint my internal mic dissapeared and i can't find it with any tools heh
<clever> ldlework: pavucontrol?
<ldlework> i haven't used it in a couple months so i have no idea
<ldlework> clever: yeah, nothing there
<ldlework> alsamixer, even like lspci and stuff
alex_giusi_tiri has joined #nixos
<clever> lspci wouldnt show a mic
<clever> ldlework: if you boot an older generation of nixos, does it come back?
dslegends has quit [Quit: dslegends]
<ldlework> i dunno, there's so many
<clever> pick a random one from a month or 2 ago
<tilpner> ldlework: Did you reboot yet? I discovered my laptop had a key combination that disabled the sound card in alsamixer
<{^_^}> [nixpkgs] @Ma27 pushed to master « nixos/test-driver: fix wording in error message about invalid node names »: https://git.io/fph8s
<ldlework> at some point i upgraded from 18.03 to 19.03 and a few tools config formats changed like my WM so I dunno if I wanna do that. But it might be worth it just to satisfy my curiosity.
<ldlework> tilpner: like a hardware key-combination?
<tilpner> I think so
<ldlework> i'm not sure what that would be for me. nothing on the keyboard makes it obvious.
jomik has joined #nixos
<tilpner> Oh, it's not obvious
<pie____> iqubic, any luck with the above chrome?
aleph- has quit [Ping timeout: 250 seconds]
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<tilpner> Link loads forever. Just reboot and see
<iqubic> haven't tried.
<ldlework> oh right i stopped nginx sorry
<iqubic> What exactly should I try?
<pie____> clever, ^
Boomerang has quit [Ping timeout: 240 seconds]
<ldlework> tilpner: refresh
<tilpner> I guess that looks okay
<clever> 2018-12-18 18:37:29 < clever> nix-store -r /nix/store/cjnkqww1pd5ak02369wqaqdr1s5i0jay-chromium-70.0.3538.77
<clever> iqubic: run this command to download the same chrome i have, then run the chrome binary in its /bin dir, to start it
cyounkins has quit [Ping timeout: 272 seconds]
rfold has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Ma27 merged pull request #52175 → neovim-qt: 0.2.10 -> 0.2.11 → https://git.io/fpb7a
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fph8S
<iqubic> So what do I do after running that command?
<clever> 2018-12-18 18:37:02 < pie____> https://www.cross-code.com/en/start
<clever> iqubic: try browsing this page
<jomik> Can someone help me with a file not being executable on NixOS? It worked fine on ArchLinux and OpenSUSE. It is the Cisco Desktop Trojan shit required for AnyConnect... I can not execute the cstub file. It has the bit set, but it gives an error, that the file doesn't exist or could not be executed.
<iqubic> clever: I don't know how to launch chromium.
<iqubic> Because I don't know how to find the executable that was just created.
<clever> iqubic: /nix/store/cjnkqww1pd5ak02369wqaqdr1s5i0jay-chromium-70.0.3538.77/libexec/chromium/chromium
<pie____> jomik, thats usually a problem with not having the correct executable interpreter set, along with related things, sorry im a bit distracted to try helping, but maybe someoen can elaborate
<clever> iqubic: nix-store -r /nix/store/foo will just download /nix/store/foo, and its deps
<clever> it will not be added to any profiles
<{^_^}> [nixpkgs] @rasendubi merged pull request #52476 → gotop: 1.5.0 -> 1.7.1 → https://git.io/fppGn
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/fph4v
<iqubic> Ah.
<jomik> pie____: Thanks. That gives me something I could google, I suppose - I need this to access my work's server. So it is a bit important. though, worst case I can just set up a docker container and route stuff through that. Lol...
jackdk has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<jomik> Would love if you could point me at something more specific tho :P
fresheyeball has joined #nixos
<fresheyeball> is there a way to upgrade my gnome version?
<iqubic> Well, I still don't know how to run it.
<iqubic> I can't get chromium to run for me.
<pie____> jomik, yeah...usually you need to mess with getting the correct dependencies set up as well. ldd and patchelf
<clever> iqubic: what happens when you run /nix/store/cjnkqww1pd5ak02369wqaqdr1s5i0jay-chromium-70.0.3538.77/libexec/chromium/chromium ?
<pie____> jomik, patchelf has --set-interpreter i think, but basically thats what you need to look into, have you checked if theres an anyconnect package? maybe look for github issues as well
<iqubic> WTF is life? Controller support now works.
<pie____> iqubic, woohoo! congrats have fun :)
ntd has joined #nixos
<pie____> probably something in the way cc "browser mode " (i mean yeah node-webkit is still a browser though...) stuff is coded or something with the apis
<__monty__> le sigh, how difficult can it be to get a ghc with squeal-postgresql 0.4?
<pie____> iqubic,re: i guess they might have specially enabled or fixed something for the web demo, does the web demo work with the controller in firefox as well?
<iqubic> nix-store -r /nix/store/cjnkqww1pd5ak02369wqaqdr1s5i0jay-chromium-70.0.3538.77
__Sander__ has quit [Quit: Konversation terminated!]
<iqubic> so... I'm using the same version of chromium as clever. Controller support works in the web demo.
<iqubic> I'm still finding myself unable to run the full version of CrossCode on Chromuim.
<iqubic> pie____: Nope. No controller support on the demo on firefox.
<pie____> hm
<clever> iqubic: did you try the html5 gamepad test in firefox and chrome?
<pie____> clever, yeah it worked in firefox iirc
<pie____> he also said the controller works in the web demo, just no tthe full game
<clever> 2018-12-18 19:07:31 < iqubic> pie____: Nope. No controller support on the demo on firefox.
<pie____> oh oops
<pie____> sorry
<iqubic> Clever: That html5 website works on both browsers.
<clever> ah, thats odd then
<iqubic> And I get the right output.
<iqubic> I am able to run the demo on Firefox and Chromium. I am only able to run the full version on Firefox.
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<iqubic> I have controller support only on the demo on chromium.
<samueldr> IIRC chromium now has "bad" (opinions may differ) defaults for local files when loaded in the browser
<samueldr> it may be related?
<iqubic> perhaps. I'm not sure.
<jomik> pie____: Ahh. This makes sense. Maybe.. I printed the interpreter of the program -> "/lib64/ld-linux-x86-64.so.2" and the rpath -> "$ORIGIN/../lib:/opt/cisco/hostscan/lib". Can you point at what I'd need to set them to?
<fresheyeball> no seriously is there a way to upgrade gnome?
<samueldr> iqubic: quit chromium completely, then start it with that parameter added: --allow-file-access-from-files
init_6 has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<iqubic> Well, that worked.
<iqubic> I am now able to play the full game with controller support.
tzemanovic has joined #nixos
<iqubic> Why the hell do I have to jump through so many hoops to make this work?
pie__ has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
pie___ has quit [Remote host closed the connection]
tzemanovic has quit [Remote host closed the connection]
<samueldr> hard to know without testing it myself, but chrome's reasoning behind the flag is to reduce the attack surface of the browser by making it a session parameter, don't really know from what it protects though
tzemanovic has joined #nixos
dbmikus has quit [Ping timeout: 250 seconds]
travelion has quit [Quit: ZNC - https://znc.in]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<iqubic> One question remains: Does the game save itself properly?
travelion has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<iqubic> also, is there a way to tell chromium to just open up the file for the game without me having to type it in?
hedning has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<clever> iqubic: run the chromium binary on the path to the file
tzemanovic has quit [Remote host closed the connection]
<iqubic> cool. Thanks.
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<iqubic> clever: Because I used the nix-store command, I fear that this binary will be deleted when I use nix-collect-garbage.
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
shabius has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<clever> iqubic: it will
<iqubic> Is that a valid concern? Is there anything I should do to prevent that?
<clever> iqubic: nix-store -r /nix/store/foo --add-root result --indirect
shabius has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<clever> the above command will create a result symlink that behaves exactly the same as the result nix-build makes
dermetfan has quit [Ping timeout: 240 seconds]
tzemanovic has joined #nixos
<pie____> iqubic, yay @ it works
<pie____> at least now i know how to use a controller too
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51753 → xl2tpd: 1.3.12 -> 1.3.13 → https://git.io/fpSpW
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fphBx
Ariakenom_ has joined #nixos
__monty__ has quit [Quit: leaving]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zimbatm pushed commit from @WilliButz to master « oxidized: 0.21.0 -> 0.25.0, drop obsolete patch (#52492) »: https://git.io/fphRv
<{^_^}> [nixpkgs] @zimbatm merged pull request #52492 → oxidized: 0.21.0 -> 0.25.0, drop obsolete patch → https://git.io/fpp5w
tzemanovic has joined #nixos
<pie____> jomik, well my horrible hacky solution is to use some random ld-linux in the nix store
<iqubic> clever: I now have a thing called result. What do I do with that?
tzemanovic has quit [Remote host closed the connection]
<jomik> pie____: I am all up for that - I may need to make a nix file to run this with down the line tho... But atm I just want it to work.
tzemanovic has joined #nixos
<pie____> jomik, youll also need to make the stuff ldd lists findable somehow, and hope it doesnt load anything dynamically or ifit does that you can figure out what it needs? xD
<jomik> I don't have anything called ld-linux in my store though.
tzemanovic has quit [Remote host closed the connection]
<jomik> the stuff in the rpath should be findable - at least I got that given.
Ariakenom has quit [Ping timeout: 250 seconds]
kingemp_ has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<pie____> jomik, find /nix/store/ -iname "*ld-linux*"
Ariakenom_ has quit [Client Quit]
<jomik> Oooh, right, it's in glibc
tzemanovic has quit [Remote host closed the connection]
travelion has quit [Quit: ZNC - https://znc.in]
travelion has joined #nixos
<jomik> pie____: that doesn't seem to handle CSD :)
<jomik> Actually, I think that package is part of network manager.
<pie____> *intense shrugging*
<pie____> whats csd
<jomik> CSD is a trojan thing that cisco made... Lol
<jomik> Dunno 100% what it is.
<jomik> But I found this wrapper script, that downloads the files from the vpn host, and then runs this cstub thingy.
<pie____> woohoo
<jomik> That, probably, compromises my entire machine.. Lol
<jomik> I am not happy with our hosting.
<jomik> This is ~TEMPORARY~...
erasmas has quit [Quit: leaving]
thc202 has quit [Ping timeout: 240 seconds]
fresheyeball has quit [Quit: WeeChat 2.2]
sbdchd has joined #nixos
<pie____> ive been meaning to look into the "how to handle binaries" tooling but havent really gotten around to it
<clever> one sec
<jomik> Lol, using steam-run XD
<jomik> That's not bad
<clever> jomik, pie: if you nix-build the file in that gist, it will generate a bash script
<clever> if you then run that bash script on a random ELF, it will patch it for you
<judson> clever, I feel like I worked through this before - the cfg.displayManager.session.script at the bottom there for lightdm assumes that it'll be passed an argument with the session.
<clever> the result symlink produced by nix-build, will also root all libraries, so a GC wont delete them on you
<pie____> clever, +
<pie____> * ++
<jomik> clever: Ooooh.
<judson> Without it, it's supposed to (as realized on my system) use the defaults: none/xmonad
<jomik> clever
<jomik> Your name suits you.
<clever> :D
<pie____> clever, thats a pretty typical reaction to clever :P both of those comments
<pie____> "ooh"
<jomik> :joy:
<pie____> :D
<jomik> Wait, how does this create a gc root?
<pie____> iqubic, so have you tested that saving works yet
<pie____> iqubic, dont wait too long :P
<jomik> What is ELF btw?
<clever> jomik: when you nix-build the nix file, it creates a gc root pointing to the built bash script
<clever> jomik: that bash script depends on zlib and glibc
<jomik> OH, right, you have the bash script in nix store.
<clever> and it will then embed that zlib and glibc path into the ELF you ran it on
<jomik> But, nothing depends on the bash script?
<jomik> Oh
<clever> the nix-build command always creates an indirect root in the current dir, called result, by default
<clever> and that stops the gc from eating the bash
<pie____> nomnom
<iqubic> I haven't starting the game yet.
<jomik> But if I delete result, then it dies with a garbage collect, correct?
sbdchd has quit [Ping timeout: 272 seconds]
<clever> jomik: yeah
<jomik> Ah, ty clever.. It is pretty hard to google "elf" :D
<iqubic> Procrastinating with YouTube
<clever> jomik: and nix isnt aware that the ELF file needs those libs, so it will fail too
<jomik> Yeah, that's what I figured.
<jomik> I'll try this. And maybe adapt it so that the wrapper uses it. I guess :o
shabius has quit [Remote host closed the connection]
<jomik> I worry that this stupid cisco shit will redownload the file because the checksum changed.
<jomik> Sorry for the language.
shabius has joined #nixos
<jomik> This CSD stuff has annoyed us for ~2 months now, in multiple ways :D
<clever> jomik: thats about the only good reason to use steam-run and/or the build fhsenv stuff
<clever> steam uses an fhsenv, because there are just too many things to patch, that update on their own, and may get upset if you try to patch them
<jomik> Yeah, makes sense.
<jomik> I hope our hosting team will just get their asses together and open up a ssh tunnel for us tho.
<pie____> jomik, why do you need this csd thing anyway
epicmetal has quit [Remote host closed the connection]
epicmetal has joined #nixos
<jomik> Because AnyConnect by Cisco requires it. Our hosting team decided it was great to incorporate it suddenly.
<jomik> clever: Lol, your nix expression forgot to depend on patchelf? :D
<pie____> oh ok
<pie____> jomik, so...the openconnect stuff doesnt work because the cisco version checks that this csd stuff is running?
<jomik> Wait, actually. Should I need to have patchelf as a buildInput too
<clever> jomik: oops!
<clever> jomik: i think patchelf was installed by default on nixos for ages
<clever> jomik: youll want ${patchelf}/bin/patchelf then
<jomik> pie____: OpenConnect does some handshake, then this csd stuff runs some checks on the machine, then the vpn server gets some stuff from it, and the handshake with openconnect finishes. Till then, OpenConnect just hangs.
<clever> thats also why i avoid installing any dev tools at all
<pie____> jomik, aha
kingemp has joined #nixos
<jomik> clever, pie____ : Thanks guys! Saved the day here :D
<pie____> jomik, w00t, did you actually get it to work?
<jomik> IT runs now. But there is probably some other bug still :D
<pie____> ok so half a win :p
<pie____> good luck
<jomik> Oh.
<jomik> There's two
<samueldr> two known
<jomik> shh!
<jomik> Missing this now \0/ libxml2.so.2 ...
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52077 → qtbitcointrader: 1.40.23 -> 1.40.30 → https://git.io/fpbJe
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « qtbitcointrader: 1.40.23 -> 1.40.30 »: https://git.io/fph0r
<pie____> welcome to dependency hell -ish
<clever> ,locate libxml2.so
<{^_^}> Found in packages: scilab-bin, python27Packages.libxml2, python37Packages.libxml2
<pie____> nix is probably the only dependency hell i would wish upon myself
<jomik> What.
<jomik> It's python?
<pie____> those results dont look like the real library for that
<jomik> xD
<pie____> clever, what does locate query btw
<clever> jomik: its a dep of python
<clever> pie____: nix-locate
<jomik> ah
<samueldr> yeah, looks like nix-locate might have the wrong info there
cyounkins has joined #nixos
<jomik> This would go in rpath tho, right?
<clever> jomik: try adding libxml2.out to the array where zlib is
<clever> yep
<pie____> https://nixos.org/nixos/packages.html#libxml returns some reasonable looking things
<jomik> .out?
<pie____> jomik, the .out of a derivation contains its directory path
<clever> split outputs, the default is .bin, which lacks libraries
<pie____> err what clever said
<jomik> Hmm, didn't complain.
<jomik> Nice
shabius has quit [Remote host closed the connection]
shabius has joined #nixos
<pie____> jomik, if you run nix repl '<nixpkgs>' , you will get a repl with the default stuf contained in your current environment
<judson> Does anyone use taffybar?
<pie____> and you can run for example libxml2.out and see what it gives you
<pie____> just a tip ^
<clever> $ nix-build '<nixpkgs>' -A libxml2.out --no-out-link
<clever> /nix/store/72mxkk74cv266snkjpz1kwl1i2rg8rpc-libxml2-2.9.8
<jomik> OH
<jomik> Nice to know!
<clever> pie____: i happened to use this, but nix repl is good to tab-complete things
<pie____> ah right i wanted to mention the tab completion and completely forgot
<jomik> well, it still hangs somewhere now. No clue where
<pie____> does it hang or crash :P
<jomik> The issue is... I can only see that OpenConnect is waiting for CSD to finish.
<jomik> Even if CSD has crashed or whatever.
<pie____> can you just run csd manually
<jomik> Yeah... Gives no output at all anymore :D
<pie____> you might be able to find the command openconnect runs it with using strace
<jomik> Oh, tru
<pie____> but idk what flags to pass
<pie____> i havent learned how to properly use strace
<jomik> I don't even touch OpenConnect, I use Network Manager, which talks to openconnect, which... :D
<clever> strace -ff -o logfiles foobar
<clever> pie____: thats generally where i start
<jomik> I could make the wrapper just dump the args to a file
<pie____> crashes are probably easier to debug than hangs :<
<jomik> Lol, hurray.
<jomik> I got the args that it passed.
<jomik> And ran it with those
<pie____> nice
<jomik> and NOTHING happened.
<pie____> did it immediately exit?
<pie____> i mean it probably expects to get some input over pipes or sockets or hell knows
<pie____> so it at least looks like its running properly?
<pie____> is there ay way to test that its running properly? xD
<jomik> I think it runs properly.
<jomik> I dunno.
<jomik> Maybe hosting can see if they are receiving the stuff they need?
<jomik> God. I am gonna go to bed.
<jomik> I'll just complain to them tomorrow.
<jomik> And make them open a port for me to ssh into directly.
<jomik> Lol
<pie____> lol sigh
<jomik> Terrible stuff.