gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
<samueldr> srid: probably assumes an empty disk
<srid> hmm
<samueldr> from the manual, https://nixos.org/nixos/manual/#sec-uefi-installation (two more lines coming)
<samueldr> You will need to have a separate partition for /boot with partition code EF00, and it should be formatted as a vfat filesystem.
<samueldr> After having mounted your installation partition to /mnt, you must mount the boot partition to /mnt/boot.
<samueldr> the EF00 type is "EFI System" when listing with fdisk
ryanartecona has joined #nixos
<samueldr> NixOS assumes for UEFI that the ESP will be mounted as /boot, where it will add the EFI programs, configuration, and kernels
detran has quit [Ping timeout: 276 seconds]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srid> how can I tell if the live cd was booted in UEFI mode?
<samueldr> give me a sec
discontent[m] has joined #nixos
pkill9 has quit [Ping timeout: 255 seconds]
zzamboni has quit [Quit: Leaving.]
<samueldr> [ -d /sys/firmware/efi/efivars ] && echo "UEFI" || echo "Legacy"
<samueldr> or, if you remember the bootloader splash, on legacy, it has a purple background, on UEFI it has a black background
jmeredith has quit [Quit: Connection closed for inactivity]
hakujin has joined #nixos
<srid> cool, let me try those instructios above
detran has joined #nixos
<samueldr> if you're creating an additional ESP, know that results may vary, depending on the UEFI implementation, and with windows installation compatibility down the road https://superuser.com/a/688758
<samueldr> (on a single disk)
<srid> w00t! worked!
* srid set the root password
<samueldr> please share, so we can help ;)
<samueldr> (don't!)
<srid> hunter2
<srid> you see *** right? :P
<samueldr> :)
<srid> samueldr: thanks a bunch, appreciate the prompt help!
<samueldr> you're welcome
hakujin has quit [Ping timeout: 240 seconds]
<samueldr> I'm trying to prompt myself to review the installation notes for the partition schemes for nixos
<samueldr> as you're not the first one I see having similar issues
pmahoney has quit [Ping timeout: 248 seconds]
hakujin has joined #nixos
coot has joined #nixos
detran has quit [Ping timeout: 256 seconds]
SOO7 has quit [Ping timeout: 256 seconds]
dbmikus has quit [Ping timeout: 240 seconds]
detran has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
erasmas has quit [Quit: leaving]
kreetx has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 240 seconds]
schoppenhauer has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
SOO7 has joined #nixos
schoppenhauer has joined #nixos
detran has joined #nixos
fyuuri has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 256 seconds]
digitus has quit [Quit: digitus]
hakujin has quit [Ping timeout: 276 seconds]
detran has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
detran has quit [Ping timeout: 276 seconds]
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/vNAVN
<NixOS_GitHub> nixpkgs/staging 10c8e6d Tuomas Tynkkynen: Merge remote-tracking branch 'upstream/master' into staging
NixOS_GitHub has left #nixos [#nixos]
detran has quit [Ping timeout: 252 seconds]
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34544: pythonPackages.jinja2: 2.9.6 -> 2.10 (master...jinja2) https://git.io/vNAwi
NixOS_GitHub has left #nixos [#nixos]
ottidmes has quit [Ping timeout: 255 seconds]
detran has quit [Ping timeout: 240 seconds]
iyzsong has joined #nixos
<kini> so I attempted to convert my single-user nix installation to a multi-user one, following the instructions at https://gist.github.com/expipiplus1/e571ce88c608a1e83547c918591b149f , and now things *mostly* work again, but trying to install anything results in "download-from-binary-cache.pl: still waiting for ‘https://cache.nixos.org/<whatever>.narinfo’ after 5 seconds..."
<kini> any idea what I could have borked? I'm behind a proxy, fwiw.
<kini> $SSL_CERT_FILE, $https_proxy, $CURL_CA_BUNDLE are all set and exported
detran has joined #nixos
phdoerfler has quit [Quit: Leaving.]
<samueldr> that message is shown by nix when the process downloading is... still waiting
<samueldr> it sometimes happen here on a standard nixos install
<samueldr> afaik, it can be for any network-related reasons that it happens
detran has quit [Ping timeout: 248 seconds]
<samueldr> and until it fails, it's not an error
<kini> I'm fairly sure it's not a network issue, because if I curl that same URL at the terminal it returns instantly
hakujin has joined #nixos
<kini> I suspect that the download-from-binary-cache.pl script is not understanding that it needs to connect via a proxy, is all
<clever> kini: are $SSL_CERT_FILE, $https_proxy, $CURL_CA_BUNDLE are all set and exported in the context of the nix-daemon?
<kini> ah, maybe not? Hmm, what is the context of the nix-daemon...
<clever> whatever process started nix-daemon
<kini> systemd, since I followed the instructions in that gist
<kini> ah, I see
<kini> in the systemd service file I copied and pasted, there's a line saying "Environment=SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt"
<clever> [Service]
<clever> Environment="LD_LIBRARY_PATH=/nix/store/697dh7g650f1qd4aqpkn3zing0g1qgx7-libX11-1.6.5/lib:/nix/store/w7nbvpgaqfvdw3i1383agl5yw72fc8g1-libXext-1.3.3/lib:/run/opengl-driver/lib"
<kini> evidently I need to also include environment variables specifying my proxy
<clever> yeah
<kini> great, thanks clever :) I'll give this a try
<clever> nix-daemon is the one responsible for doing the downloads
<clever> so it ignores the vars set on nix-env
<kini> yeah, makes sense
<kini> lol, trying to use pretty much any network-connected software becomes a pain when I'm stuck behind this proxy... I wish it was a transparent proxy
detran has joined #nixos
<clever> captive portals are an equal pain in the ass
justanotheruser has quit [Quit: WeeChat 1.9.1]
<kini> (I suppose I could set up some kind of thing on my machine at a lower level which tunnels all traffic through the proxy, but I have to use machines I don't have root access to here as well, so it would be a pain to deal with different setups on different machines...)
<kini> (oh well)
hakujin has quit [Ping timeout: 256 seconds]
lord| has joined #nixos
<lord|> how nicely does the nix package manager cooperate with other distros
<lord|> well I guess it won't cooperate at all
<simpson> lord|: Single-user Nix is a thing, and it works on many distros.
<lord|> but are there any major problems with running the package manager on other distros
<simpson> You'll only have it installed for a single non-root user.
<clever> lord|: opengl and things needing kernel stuff are the only issues
<lord|> the script installed /nix and ~/.nix-profile for me
iyzsong has quit [Ping timeout: 256 seconds]
<clever> lord|: so you cant just install the nix variant of virtualbox
<clever> pretty much everything else should just work though
<lord|> simpson: is there a way to use the install script to install without any root access
<lord|> curious because I ended up with /nix and ~/.nix-profile
<lord|> could I just delete /nix or something
<clever> lord|: if you already have write access to /nix/, it wont ask for sudo
justanotheruser has joined #nixos
detran has quit [Ping timeout: 248 seconds]
<lord|> what if you wanted to install it elsewhere though
<clever> so root can just make you an empty /nix/ and chown it over, and then you can install without ever gaining root
<simpson> lord|: That is possible, but you will not be able to use most cached binaries.
<clever> lord|: there is also a script that uses mount namespaces to fake having /nix/
<lord|> simpson: ah so it will work with no problems if I choose to compile all the packages locally?
<kini> clever: excellent, adding $https_proxy to the systemd service worked
<kini> thanks again :)
<clever> yep
iyzsong has joined #nixos
<simpson> lord|: Maybe. I've never tried it; I don't have the patience. (I say this as a former Gentoo hacker; doing this is *very* time-consuming.)
<lord|> simpson: if only you could get 16 exact copies of your computer with the same CPU
<lord|> then you could run a distcc cluster
<lord|> and use gentoo 4 lyfe
<simpson> NixOS is better than Gentoo, in my opinion; I made the switch.
<lord|> but yeah gentoo is a pain in the ass unless you have a cluster building packages for you
detran has joined #nixos
<dhess> ahh the good ole' days when you could type "make world" from the top of your, say, NetBSD src tree and get a whole new system, compiled from scratch, in about 8 hours. On an i486.
<clever> i once ran linux from scratch on my router
<samueldr> is it still going?
<clever> it was an x86 machine with i think 128mb of ram
<dhess> hehehehe
<clever> i retired it when i upgraded to fiber
<clever> 600kbyte/sec would tax the cpu at about 70%
<kini> Hmm. Should I have both a "channels" and a "channels_root" symlink in my ~/.nix-defexpr ?
<dhess> oh I thought samueldr meant the compile :)
<clever> and it only had 100mbit cards
<samueldr> I did mean the compile :)
<clever> the new internet downloads at 300mbit
<dhess> samueldr: high five
<clever> the router would have become a bottleneck
<kini> `nix-channel --update` seems to have created the "channels" one, and now `nix-env -u` says "warning: name collision in input Nix expressions"
taktoa has quit [Remote host closed the connection]
<clever> samueldr: i have since put in a nixos router, with gigabit cards, and i idle in #nixos-on-your-router
Lisanna has quit [Quit: Lisanna]
<samueldr> fancy, I idle there too :)
detran has quit [Ping timeout: 268 seconds]
<dhess> clever: much traffic in there? That's something I would be interested in
<clever> dhess: https://groups.google.com/forum/#!topic/nix-devel/zDQH7Ulotoc was recently mentioned, nixwrt
<dhess> I can't really bear the thought of dumping OpenBSD for NixOS on my router until nftables is well-supported, though.
<samueldr> dhess: some backlog is available here https://logs.nix.samueldr.com/nixos-on-your-router/
<dhess> a "NixWRT" would be interesting for my travel router, though.
<iqubic> Is there a way to see all the possible fonts that I can chose from?
<iqubic> Trying to debug a stea-run issue.
<iqubic> (DROD_5_The_Second_Sky_v5.1.0.6513_Setup.run:21252): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
contrapumpkin is now known as BTC_Boar
BTC_Boar is now known as contrapumpkin
<dhess> cool, I'll keep an eye on that telent.net blog
detran has joined #nixos
<srid> > output path ‘/nix/store/x7jhzvcqwnmqwzwnd67xf87bmqvaarhp-nvidia-settings-381.22.tar.bz2’ has sha256 hash ‘1gls187zfd201b29qfvwvqvl5gvp5wl9lq966vd28crwqh174jrh’ when ‘0zyk1w4csq9nfhaakz8mivvml2vb5vd14c0dhj1z879inmg74fvf’ was expected
<srid> Is something broken on the server with the nvidiaBeta package?
<samueldr> maybe nvidia changed the archive after the fact?
<srid> I also see a bunch of .lock files under /nix/store. Not sure if that is relevant
hakujin has joined #nixos
detran has quit [Ping timeout: 256 seconds]
swayf_ has quit [Remote host closed the connection]
swayf has joined #nixos
swayf has quit [Remote host closed the connection]
alexteves has quit [Read error: Connection reset by peer]
swayf has joined #nixos
swayf has quit [Remote host closed the connection]
swayf has joined #nixos
swayf has quit [Remote host closed the connection]
swayf has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
swayf has quit [Remote host closed the connection]
swayf has joined #nixos
<lopsided98> How would I get a Nix shell with a cross compiler?
swayf has quit [Remote host closed the connection]
detran has joined #nixos
swayf has joined #nixos
<lopsided98> I tried: nix-shell '<nixpkgs>' --arg crossSystem '(import <nixpkgs/lib>).systems.examples.armv7l-hf-multiplatform' -A gcc
* elvishjerricco Hm. Will Hydra use an x86_64-linux build machine for i686-linux derivations?
<elvishjerricco> s|/me||
orivej has joined #nixos
<iqubic> so adding pango to my fonts list is not fixing my issue.
<lopsided98> That command kind of works, but gcc is not on the PATH, only a bunch of other gcc related commands
<iqubic> (DROD_5_The_Second_Sky_v5.1.0.6513_Setup.run:5414): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
leotaku has quit [Quit: WeeChat 2.0]
coot has quit [Quit: coot]
<dhess> elvishjerricco: yes, as long as you put i686-linux in the remote builder's `systems` attribute
<iqubic> That's an application I'm running via "steam-run"
<iqubic> And I can't get fonts to work.
<elvishjerricco> dhess: Ah, that must be what I'm missing
<elvishjerricco> thanks
<dhess> np.
swayf has quit [Ping timeout: 265 seconds]
<iqubic> I added pango to the list of fonts to install, and it still didn't work.
<elvishjerricco> dhess: I don't see that documented here: https://nixos.org/nixos/options.html#buildmachines
<elvishjerricco> Is it just a list where I put extra systems?
detran has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
<dhess> systems = [ "x86_64-linux" "i686-linux" ];
silver has quit [Read error: Connection reset by peer]
<elvishjerricco> dhess: Oh I use that *in place* of the non-plural `system` attribute?
<dhess> yeah
<elvishjerricco> Cool. Thanks
<iqubic> Anyone know how to address my font + steam run issues?
mmlb has quit [Read error: Connection reset by peer]
<dhess> after you rebuild, your /etc/nix/machines line for that host should have something like this in it: x86_64-linux,i686-linux
mmlb has joined #nixos
<elvishjerricco> dhess: Looks like Hydra sees the extra architecture there now. But the build is still "Scheduled" and not running
<elvishjerricco> Oh no there it goes. Just took a sec :)
dbmikus has joined #nixos
<dhess> yeah I have learned to be patient with Hydra and let it take its sweet old mystical time
hakujin has quit [Ping timeout: 276 seconds]
<dhess> occasionally I get a stuck binary cache download and then I have to kill the job and restart, but that's about it
detran has joined #nixos
detran has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vNA6q
<NixOS_GitHub> nixpkgs/master 27a4a55 Peter Hoeg: terraform: 0.11.1 -> 0.11.3
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 15d33a4 Peter Hoeg: terragrunt: 0.13.23 -> 0.14.0
detran has joined #nixos
markus1189 has joined #nixos
markus1199 has quit [Ping timeout: 248 seconds]
detran has quit [Ping timeout: 252 seconds]
<iqubic> I'd love help with my font issue. Why are people ignoring me?
mmlb has quit [Read error: Connection reset by peer]
leotaku has joined #nixos
Arcaelyx has joined #nixos
<dhess> iqubic: I only run Linux on headless servers so I can't help you, I'm afraid.
thc202 has quit [Ping timeout: 256 seconds]
detran has joined #nixos
<lejonet> iqubic: its kindof late in many parts too, and I just as dhess only run nixos on headless servers so I really don't know :/
<lejonet> fonts are always tricky
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] samdroid-apps opened pull request #34546: Add presentation app Spice Up (master...add-spice-up) https://git.io/vNA6X
NixOS_GitHub has left #nixos [#nixos]
<leotaku> could one of you please try opening gucharmap/gnome-character-map, then selecting "View/By Unicode Block" and report to me if it worked for them?
detran has quit [Ping timeout: 240 seconds]
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm has joined #nixos
detran has joined #nixos
d4g_ has joined #nixos
<kini> MichaelRaskin: ok, so switching to a multi-user sandboxed setup has just broken things even further, it seems
<kini> now when I run `quicklisp-to-nix .` in the lisp-modules directory, it immediately fails on the first package, 3bmd
<kini> when I run `quicklisp-to-nix-system-info 3bmd`, it crashes when trying to run `nix-prefetch-url --print-path file:///run/user/1001/tmp.SKwtdbORLf/dists/quicklisp/archives/3bmd-20161204-git.tgz`
<kini> and when I try to run THAT in the nix-shell, I get "error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied"
d4g has quit [Ping timeout: 240 seconds]
erlandsona has joined #nixos
detran has quit [Ping timeout: 248 seconds]
mastrofrancesco has joined #nixos
detran has joined #nixos
leotaku has left #nixos ["WeeChat 2.0"]
<erlandsona> Anyone here know where to add the thunderbolt package to setup support for thunderbolt devices on NixOS?
<bsima> Where is the best info on how to setup a binary cache? I'd like to set one up for some private haskell projects
<erlandsona> Do I just add it to environment.systemPackages?
<bsima> erlandsona: yeah, see a list of all packages here to find the one you want https://nixos.org/nixos/packages.html#
<lejonet> erlandsona: yeah, just add it to systempackages, that will install it so you can use it
coot has joined #nixos
detran has quit [Ping timeout: 256 seconds]
mastrofrancesco has quit [Read error: Connection reset by peer]
detran has joined #nixos
<clever> 2018-02-02 22:35:32 < kini> and when I try to run THAT in the nix-shell, I get "error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied"
<clever> kini: this error is caused by not setting `export NIX_REMOTE=daemon`
swayf has joined #nixos
<clever> kini: you have to tell nix that its in multi-user mode now, and how to contact something that does have write
detran has quit [Ping timeout: 264 seconds]
dbmikus has quit [Quit: WeeChat 1.9.1]
dbmikus has joined #nixos
Supersonic112 has quit [Disconnected by services]
swayf has quit [Ping timeout: 265 seconds]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
detran has joined #nixos
<kini> clever: I'll have to check again tomorrow morning when I go to work, but I think I already have that set. Maybe the issue is that the `nix-prefetch-url` program is "beyond" the point where the nix tool would normally delegate to the daemon? I.e. maybe I'm not supposed to be running that directly in a nix-shell as my own user?
<clever> kini: nix-prefetch-url just downloads it with curl, then calls nix-store, which needs $NIX_REMOTE set right
xcmw has joined #nixos
detran has quit [Ping timeout: 248 seconds]
kitemikaze has quit [Ping timeout: 252 seconds]
<kini> Ah, then maybe I really don't have $NIX_REMOTE set properly. Thanks for the tip, I will check it out.
<erlandsona> Awesome thanks bsima & lejonet
detran has joined #nixos
<clever> kini: yep
coot has quit [Quit: coot]
detran has quit [Ping timeout: 248 seconds]
Lisanna has joined #nixos
ryanartecona has joined #nixos
detran has joined #nixos
_6pedrosa9_ has joined #nixos
detran has quit [Ping timeout: 248 seconds]
mkoenig_ has quit [Remote host closed the connection]
hamishmack has quit [Remote host closed the connection]
_6pedrosa9_ has quit [Remote host closed the connection]
hamishmack has joined #nixos
detran has joined #nixos
_6pedrosa9_ has joined #nixos
mkoenig has joined #nixos
hamishmack has quit [Client Quit]
ryanartecona has quit [Quit: ryanartecona]
<lejonet> ls -lah
<lejonet> lol, wrong terminal -.-
detran has quit [Ping timeout: 268 seconds]
_6pedrosa9_ has quit [Remote host closed the connection]
_6pedrosa9_ has joined #nixos
_6pedrosa9_ has quit [Remote host closed the connection]
Ryvius has joined #nixos
<Ryvius> Hello, I'm trying to install but nixos-install stops with errors about wallpapers: https://paste.ubuntu.com/26504332
detran has joined #nixos
<samueldr> hmm, the error just happens to be with wallpapers, the error is `rsync: read errors mapping "...": Input/output error (5)
stephenjudkins has quit [Remote host closed the connection]
garbas has quit [Quit: WeeChat 1.9.1]
<fearlessKim[m]> once in a nix-shell is it possible to see the command that invoked the nix-shell ?
<samueldr> it is possible that the issue is from your hardware, from a quick google search
<fearlessKim[m]> (to see the packages made available by the nix-shell)
<samueldr> fearlessKim[m]: $buildInputs ?
<samueldr> not the command though
<Ryvius> samueldr: Anything I can do? It's always this same error that happens
detran has quit [Ping timeout: 248 seconds]
<samueldr> first, make sure anything important on that drive is backed up, then look at dmesg, maybe it has more information
<samueldr> it may also be a bug or something else, but a quick google search makes it look like a hardware issue
<fearlessKim[m]> samueldr: oh great ! thanks
detran has joined #nixos
mkaito has joined #nixos
ryanartecona has joined #nixos
swayf has joined #nixos
detran has quit [Ping timeout: 256 seconds]
_6pedrosa9_ has joined #nixos
<Kim> So I'm running into an issue where git seems to be installed and linked at `/home/root/.nix-profile/bin/git`, but a `nix-env -uA nixos.git` doesn't seem to remove it
detran has joined #nixos
_6pedrosa9_ has quit [Read error: Connection reset by peer]
swayf has quit [Ping timeout: 265 seconds]
<samueldr> -u is for updating, I believe you're looking for -e
<samueldr> Kim ^
<Kim> Oh...
detran has quit [Ping timeout: 264 seconds]
hakujin has joined #nixos
<Kim> Somehow I was jumping to the next line down when reading the help output ^^;
<Kim> Thanks!
<Kim> Aaand no build collisions
<samueldr> yay
_6pedrosa9_ has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
detran has joined #nixos
stepcut has quit [Remote host closed the connection]
ryanartecona has quit [Quit: ryanartecona]
<Ryvius> dmesg has a ton of squashfs errors
<samueldr> Ryvius: you may be in luck, the drive with errors may not be where it's installing to, but where it's installing from
<samueldr> try another USB drive, but before, verify the downloaded iso
<Ryvius> Okay, thanks
<Ryvius> Should have though about that myself, just funny it's only the wallpapers
detran has quit [Ping timeout: 276 seconds]
<iqubic> So why are fonts a pain in the butt?
<iqubic> I have been wrestling with fonts not working a few days.
<samueldr> looking at your error a bit, tried loading the demo, which has a .run installer too, it may be the compiled-in pango that looks for something that isn't there in the chroot environment created by steam-run, iqubic
<samueldr> though, I didn't know how to fix it or even start trying to fix it
hamishmack has joined #nixos
<samueldr> luckily, the demo for your game exhibits the same issue, if anybody else wants to take a look
<iqubic> This isn't a demo, it's an installer for the full game.
<samueldr> exactly, but the installer for the demo of that game exhibits the same issue
<iqubic> But it's the same difference.
<iqubic> Oh, I see.
<iqubic> Right. Well, I don't need to use steam-run, because the game is availible on steam too.
<iqubic> So I could just do that. But that seems too bloated for this purpose.
<iqubic> Is there a way to just see all the fonts availible in nixpkgs?
detran has joined #nixos
<samueldr> I would look at the package search page and search for the string `fonts`
<samueldr> though, it looks like the specific issue may not be fonts
<samueldr> here's the error message I'm getting https://gist.github.com/samueldr/03d5ffc892a8c15c61dcd473894691bf
<iqubic> Yeah, I added pango to the list of fonts I wanted nix to install in my configuration.nix
<samueldr> so, something with pango / pango modules isn't as expected even in the FHS chroot environment
<samueldr> as expected by the built-in pango for that .run file
<iqubic> Yes, that's the same as what I got.
<samueldr> pango isn't a font, it's a library that draws fonts (if I simplify)
<iqubic> Oh, somehow putting it into my fonts section worked.
<iqubic> And by worked I mean that I was able to run "nixos-rebuild" I was not able to get the fonts to work
<samueldr> for your particular .run installer, it looks like it's a mojosetup installer
<samueldr> it is generally possible to call `unzip` on them to extract the contents
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mateon3 has joined #nixos
<iqubic> Oh, really?
<samueldr> found that on google, just tried and it looks like it gives me the installer data
detran has quit [Ping timeout: 240 seconds]
<samueldr> in the data folder there's another archive (tar.xz) with what looks like would be the game
schoppenhauer has quit [Ping timeout: 240 seconds]
<iqubic> I see. I'll try that.
<samueldr> looks like it works
<iqubic> Oh, yeah, that looks good.
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
<iqubic> That is what the game is supposed to look.
<iqubic> However, unzip isn't working for me.
schoppenhauer has joined #nixos
<samueldr> I used `unzip the_right_filename.run` no additional options
ryanartecona has joined #nixos
<iqubic> Yeah, I just tried that.
<iqubic> Archive: DROD_5_The_Second_Sky_v5.1.0.6513_Setup.run
<iqubic> unzip: short read
<iqubic> That's the error I get.
<samueldr> hm, can't tell, maybe it's packaged in a different enough way, or your file is somehow corrupt
<samueldr> the way those installers work, generally, is it's a full linux program, to which an archive is appended
<samueldr> so the program may well start, but the archive be incomplete
<samueldr> (technicalities with how zip works makes it possible for this to work)
lopsided98 has quit [Remote host closed the connection]
detran has joined #nixos
lopsided98 has joined #nixos
<iqubic> The first thing I did when I downloaded this file was "chmod 755 the_file_name.run"
<iqubic> Maybe that's screwing things over.
tertleeltret has quit [Quit: Connection closed for inactivity]
<elvishjerricco> Is there an easy way to just start up a VM with a given nixos config?
xcmw has joined #nixos
detran has quit [Ping timeout: 256 seconds]
data has joined #nixos
data is now known as Guest15844
Guest15844 has quit [Client Quit]
<fearlessKim[m]> elvishjerricco: look at nixos-rebuild manpage, there are commands like build-vm IIRC
<elvishjerricco> fearlessKim[m]: Perfect! Thanks
detran has joined #nixos
<fearlessKim[m]> elvishjerricco: you will likely have problems to log in once in the VM if you don't add initialHashedPassword or initialPassword to your extraUsers attribute
<elvishjerricco> fearlessKim[m]: Gotcha. And am I right in guessing that the options declared here can be used in the config to config the VM? https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/qemu-vm.nix
<iqubic> samueldr: I can't even unzip the demo file, I get the same "unzip: short read" error.
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lopsided98 has quit [Remote host closed the connection]
xcmw has joined #nixos
lopsided98 has joined #nixos
<fearlessKim[m]> elvishjerricco: seems like it
<elvishjerricco> Cool. Thanks again
detran has quit [Ping timeout: 268 seconds]
<samueldr> iqubic: try it with the nix-shell command I used here https://gist.github.com/samueldr/0b8d7b8342ae16e1a7de1e566abaa27e
<samueldr> maybe you got an unzip from another package that can't handle the archive?
detran has joined #nixos
duckwho has joined #nixos
<samueldr> md5sum for demo setup I got is 6fb07749c9f1b8ec66791ecc0b4815c7
<iqubic> Not sure how to check my md5sum.
<samueldr> the command is md5sum
<samueldr> (with the file as a parameter)
<iqubic> But other than the zip package what else provides unzip?
<samueldr> looks like unzip, unzipNLS, plan9port and busybox all can provide unzip
<iqubic> What implementation did you use?
<iqubic> I get the same md5sum as you.
<samueldr> unzip, if you use the nix-shell command from my log in the gist, it should use the same unzip command, only difference is our nixos channels may differ
azertyieio has joined #nixos
detran has quit [Ping timeout: 264 seconds]
<samueldr> if it fails with that, *something else* is going on, and that's something that I won't be able to help you with as I'm soon going AFK to sleep...
<iqubic> I think I can take it from here.
erlandsona has quit [Quit: See y'all later]
swayf has joined #nixos
detran has joined #nixos
<iqubic> What did you do after unzippin the .run file?
endformationage has quit [Quit: WeeChat 1.9.1]
ryanartecona has quit [Quit: ryanartecona]
<samueldr> in the `data` folder, there's a .tar.xz file, I untarred it
detran has quit [Ping timeout: 248 seconds]
<samueldr> what's contained in there are the game files, I ran what looked like the main file using steam-run
<samueldr> anyway, I'm off, good luck
<iqubic> I don't know how to untar a file.
swayf has quit [Ping timeout: 265 seconds]
<iqubic> I have a file called data.tar.xz, and I have no idea how to untar it. Can I have some help?
_6pedrosa9_ has quit [Remote host closed the connection]
_6pedrosa9_ has joined #nixos
detran has joined #nixos
<elvishjerricco> fearlessKim[m]: Any idea how to connect to the VM? Say I want to point a browser at a server running in the VM
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fearlessKim[m]> elvishjerricco: nope but there may be some doc. For more elaborate setups, you might want to have a look at nixops
<elvishjerricco> fearlessKim[m]: This is nothing elaborate. Just figuring out how to test configs :)
<fearlessKim[m]> iqubic : tar xvf <file> ? ('x' as in 'eXtract')
<iqubic> what do the v and f do?
<fearlessKim[m]> v formats your disk and f sends your passwords to my server
<fearlessKim[m]> iqubic man tar
<fearlessKim[m]> v=> 'verbose' and 'f' I don't remember sry
detran has quit [Ping timeout: 256 seconds]
detran has joined #nixos
catch22 has quit [Ping timeout: 248 seconds]
Lisanna has quit [Remote host closed the connection]
stqism has quit [Quit: Like 3 fire emojis lit rn 🔥🔥🔥]
stqism has joined #nixos
detran has quit [Ping timeout: 276 seconds]
dbmikus has quit [Quit: WeeChat 1.9.1]
justanotheruser has quit [Ping timeout: 276 seconds]
detran has joined #nixos
detran has quit [Ping timeout: 248 seconds]
_6pedrosa9_ has quit [Remote host closed the connection]
_6pedrosa9_ has joined #nixos
detran has joined #nixos
detran has quit [Ping timeout: 240 seconds]
_6pedrosa9_ has quit [Remote host closed the connection]
freeman42x[NixOS has joined #nixos
_6pedrosa9_ has joined #nixos
detran has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
detran has quit [Ping timeout: 248 seconds]
<maurer> f is read from a file
<maurer> (legacy flag required due to its original purpose as a Tape ARchiver
detran has joined #nixos
swayf has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
detran has quit [Ping timeout: 256 seconds]
<freeman42x> is it ok to force rebuild of local fork with --check ? https://github.com/NixOS/nix/issues/493
swayf has quit [Ping timeout: 265 seconds]
<freeman42x> eg. nix-build -A anttweakbar --check
catch22 has joined #nixos
<freeman42x[NixOS> nope, it seems to not work correctly, I changed the src URL to something invalid and it still builds
<freeman42x[NixOS> maybe related to that non-atomicity
detran has joined #nixos
detran has quit [Ping timeout: 256 seconds]
<freeman42x[NixOS> I assume it is not ok to just rm -rf /nix/store/sfzwi15fsd9wf7qv2rvxwpwr8wk9nkka-AntTweakBar-1.16
<hyper_ch> freeman42x[NixOS: what you wanna do?
<freeman42x[NixOS> hyper_ch, I need to force rebuild of package including the src redownloading part
<freeman42x[NixOS> hyper_ch, nix-build -A anttweakbar does not fully repeat everything
<hyper_ch> I've had that problem once... but don't remember how I was told to solve it
<hyper_ch> freeman42x[NixOS: did it build incorrectly?
<freeman42x[NixOS> hyper_ch, this was all the output:
<freeman42x[NixOS> [neo@nixos:~/Forks/nixpkgs]$ nix-build -A anttweakbar
<freeman42x[NixOS> test
<hyper_ch> freeman42x[NixOS: I once had corrupted stuff in nix-store and repaired it with this nix-store --verify --check-contents --repair
<freeman42x[NixOS> /nix/store/sfzwi15fsd9wf7qv2rvxwpwr8wk9nkka-AntTweakBar-1.16
detran has joined #nixos
<hyper_ch> that would checksum check the stuff and if there's an issue repair it
<freeman42x[NixOS> I wouldn't want all the stuff rechecked though, it would take forever
<freeman42x[NixOS> just need to completely rebuild this 1 package
<hyper_ch> don't know then
<hyper_ch> can you just remove it and re-add it?
<freeman42x[NixOS> I tried
<freeman42x[NixOS> I think this might be my issue https://github.com/NixOS/nix/issues/969
<hyper_ch> you're not using nixos, right?
<freeman42x[NixOS> hah, gc, I was about to try that
<freeman42x[NixOS> I am using NixOS
<hyper_ch> why use nix-build?
<freeman42x[NixOS> hyper_ch, what do you mean?
<freeman42x[NixOS> nix-build is the recommended way to do when contributing nix expressions
detran has quit [Ping timeout: 268 seconds]
<hyper_ch> oh, you're trying to create an expression?
<freeman42x[NixOS> yeah
<freeman42x[NixOS> btw. streaming at https://www.twitch.tv/freeman42x
<hyper_ch> don't have time to watch streaming
<hyper_ch> am re-recreating all my backups due to zfs format change for native encrypted datasets
<hyper_ch> and then I hopefully will be able to make a PR :)
<freeman42x[NixOS> no problem, sent if anyone might be able to help
<freeman42x[NixOS> not even GC helps
<hyper_ch> freeman42x[NixOS: tried: nix-store ---delete /nix/store/sfzwi15fsd9wf7qv2rvxwpwr8wk9nkka-AntTweakBar-1.16
<hyper_ch> of course with "--" and not "---"
<freeman42x[NixOS> it just won't die haha
<freeman42x[NixOS> error: cannot delete path ‘/nix/store/sfzwi15fsd9wf7qv2rvxwpwr8wk9nkka-AntTweakBar-1.16’ since it is still alive
detran has joined #nixos
justanotheruser has joined #nixos
justanotheruser has quit [Client Quit]
justanotheruser has joined #nixos
<hyper_ch> freeman42x[NixOS: tried: nix-store --delete --ignore-liveness /nix/store/sfzwi15fsd9wf7qv2rvxwpwr8wk9nkka-AntTweakBar-1.16
<freeman42x[NixOS> error: you are not allowed to ignore liveness
* freeman42x[NixOS is crying. xD
detran has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] phunehehe opened pull request #34547: terraform: 0.11.1 -> 0.11.3 (master...terraform) https://git.io/vNAS5
NixOS_GitHub has left #nixos [#nixos]
<hyper_ch> freeman42x[NixOS: run as root?
<freeman42x[NixOS> not even this works: https://xkcd.com/149/
<freeman42x[NixOS> ^
_6pedrosa9_ has quit [Remote host closed the connection]
<iqubic> How the heck do symlinks work?
<hyper_ch> there's always an option to just rollback the zfs snapshot to before you tried to build it
<hyper_ch> iqubic: for real? :)
<iqubic> What do you mean?
_6pedrosa9_ has joined #nixos
<hyper_ch> [07:46] <iqubic> How the heck do symlinks work?
<hyper_ch> you need an explanation on symlinks? oO
<iqubic> I don't know what they are.
<iqubic> I'll look it up on my own.
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sorki opened pull request #34548: bundler app: add support for man pages (master...bundlerapp-manpages) https://git.io/vNA9k
NixOS_GitHub has left #nixos [#nixos]
detran has quit [Ping timeout: 256 seconds]
Ivanych has quit [Ping timeout: 256 seconds]
Ryvius has quit [Quit: Konversation terminated!]
detran has joined #nixos
Kingsquee has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
<freeman42x[NixOS> hyper_ch, what worked was to run
<freeman42x[NixOS> nix-store -q --roots /nix/store/sfzwi15fsd9wf7qv2rvxwpwr8wk9nkka-AntTweakBar-1.16
<freeman42x[NixOS> and then delete the results folder before running the build again
detran has quit [Ping timeout: 264 seconds]
detran has joined #nixos
swayf has joined #nixos
_6pedrosa9_ has quit [Remote host closed the connection]
_6pedrosa9_ has joined #nixos
detran has quit [Ping timeout: 240 seconds]
* dtz waves
_6pedrosa9_ has quit [Remote host closed the connection]
swayf has quit [Ping timeout: 265 seconds]
_6pedrosa9_ has joined #nixos
detran has joined #nixos
Havvy has quit [Remote host closed the connection]
Havvy has joined #nixos
detran has quit [Ping timeout: 256 seconds]
detran has joined #nixos
<freeman42x[NixOS> at this point I just have to wait for another code review? https://github.com/NixOS/nixpkgs/pull/34540
<freeman42x[NixOS> all I did was push to my fork and it seems to have updated
MP2E has quit [Remote host closed the connection]
detran has quit [Remote host closed the connection]
detran has joined #nixos
NightTrain has quit [Ping timeout: 240 seconds]
detran has quit [Ping timeout: 256 seconds]
nuncanada has quit [Read error: Connection reset by peer]
nuncanada has joined #nixos
<sphalerite> Dezgeg: gnutls isn't included in the closure that's built for your binary cache, right?
detran has joined #nixos
<freeman42x[NixOS> how/where do you set the SSH key for GitHub under NixOS?
<hyper_ch> ?
simukis has joined #nixos
leotaku has joined #nixos
detran has quit [Ping timeout: 248 seconds]
detran has joined #nixos
<leotaku> If I want to define arbitrary variables in configuration.nix, eg. for defining my custom Vim, how should I go about doing that? Should I use lib.option, {config pkgs lib ...}: at the top or something else entirely?
detran has quit [Ping timeout: 256 seconds]
<infinisil> leotaku: what do you mean by variables? you can just use `let x = pkgs.whatever; in ...` to define x
alex`` has joined #nixos
<leotaku> infinisil: i know, but that IMO leads to a expression structure that is hard to follow
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34528: pythonPackages.aiohttp: 2.3.9 -> 2.3.10 (master...aiohttp) https://git.io/vNNRZ
NixOS_GitHub has left #nixos [#nixos]
<infinisil> leotaku: use more newlines then
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34494: home-assistant: compute extraComponents from config (master...home-assistant) https://git.io/vNdx3
NixOS_GitHub has left #nixos [#nixos]
zarel has joined #nixos
_6pedrosa9_ has quit [Remote host closed the connection]
detran has quit [Ping timeout: 248 seconds]
_6pedrosa9_ has joined #nixos
Myrl-saki has joined #nixos
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34493: udocker: init at 1.1.1 (master...udocker) https://git.io/vNdAa
NixOS_GitHub has left #nixos [#nixos]
FRidh2 has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/27a4a5511dc (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #32769: pythonPackages: init camxes at 0.2 (master...jbobau) https://git.io/vb6tz
NixOS_GitHub has left #nixos [#nixos]
detran has quit [Ping timeout: 248 seconds]
detran has joined #nixos
swayf has joined #nixos
catch22 has quit [Ping timeout: 240 seconds]
JosW has joined #nixos
detran has quit [Ping timeout: 276 seconds]
<freeman42x[NixOS> I have anttweakbar in local nix store but getting error: undefined variable ‘anttweakbar’ at (string):1:184 when calling nix-shell -p mesa pkgconfig cmake freetype glew doxygen glfw3 fontconfig imagemagick anttweakbar
detran has joined #nixos
swayf has quit [Ping timeout: 265 seconds]
<freeman42x[NixOS> that lib is in store from a local nix-build, it is not in nixpkgs yet
zarel_ has joined #nixos
Svarog has joined #nixos
detran has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34542: bonfire: bump arrow dependency (fixes build) (master...fix/bonfire-deps) https://git.io/vNAuc
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
<sphalerite> freeman42x[NixOS: yeah, that won't work. nix-shell -p creates a derivation with the named stuff *from nixpkgs* as buildInputs
Ineff has joined #nixos
<freeman42x[NixOS> sphalerite, I understand, somehow I need it to use a locally built one
<sphalerite> best way is probably to just put it in nixpkgs
<sphalerite> using an overlay
<Ineff> Hi everyone, it is just me or are there some problems with binary caches for nixpkgs?
zarel has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vNAQh
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 54abfdc Frederik Rietdijk: python.pkgs.rdflib: move expression
spear2 has joined #nixos
<sphalerite> freeman42x[NixOS: or you could create the shell derivation yourself rather than using -p
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #32455: pythonPackages.rdflib: 4.1.2 -> 4.2.2 (master...rdflib) https://git.io/vb8XS
NixOS_GitHub has left #nixos [#nixos]
<sphalerite> ineff: could you be more specific?
<freeman42x[NixOS> sphalerite, <<create the shell derivation yourself>> I don't know what that means :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34547: terraform: 0.11.1 -> 0.11.3 (master...terraform) https://git.io/vNAS5
NixOS_GitHub has left #nixos [#nixos]
<sphalerite> freeman42x[NixOS: write a shell.nix containing a dummy derivation with everything you need and just run nix-shell without -p
detran has quit [Ping timeout: 240 seconds]
<freeman42x> Linus: do you have an example of how I could do that please?
<sphalerite> something like with import <nixpkgs> {}; runCommand "shell" {buildInputs = mesa pkgconfig cmake freetype glew doxygen glfw3 fontconfig imagemagick (callPackage ../anttweakbar {}) ];} ":"
detran has joined #nixos
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<freeman42x[NixOS> sphalerite, <<../anttweakbar>> needs to point to the folder where I have the derivation for insalling it?
<sphalerite> the expression, yes
<freeman42x[NixOS> eg. /home/neo/Forks/nixpkgs/pkgs/development/libraries/AntTweakBar/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vNA7l
<NixOS_GitHub> nixpkgs/master 213ee44 Robert Helgesson: perl-Cpanel-JSON-XS: 3.0237 -> 4.00
NixOS_GitHub has left #nixos [#nixos]
<sphalerite> yep
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vNA7B
<NixOS_GitHub> nixpkgs/master b99c86f Matthias Beyer: pythonPackages.vobject: 0.9.3 -> 0.9.5
NixOS_GitHub has left #nixos [#nixos]
<freeman42x[NixOS> sphalerite, getting an error https://paste2.org/4JA2K2Nz
<freeman42x[NixOS> sorry, I am not familiar with Nix yet, learning as I go along :/
ssmike has joined #nixos
fyuuri has joined #nixos
detran has quit [Ping timeout: 256 seconds]
<sphalerite> no worries. It's probably because of how you wrote the expression for anttweakbar
<dtz> (no worries, hang in there! :D)
<sphalerite> How do you build it?
<freeman42x[NixOS> which is the best Git GUI that is packaged on NixOS? :)
<sphalerite> when I use a GUI, it's gitg
<freeman42x[NixOS> sphalerite, does gitg have squash ability?
<freeman42x[NixOS> I couldn't find SmartGit packaged
<freeman42x[NixOS> and it seems to be one of the best
ma27 has joined #nixos
<freeman42x[NixOS> sphalerite, I build it using in nixpkgs root nix-build -A anttweakbar
<sphalerite> idk. I just use the command line really
detran has joined #nixos
fyuuri has quit [Client Quit]
<sphalerite> oh but you have it in your nixpkgs? I thought you said it wasn't in nixpkgs
<sphalerite> in that case just go back to the nix-shell -p command, but add `-I nixpkgs=/path/to/your/nixpkgs`
<freeman42x[NixOS> it isn't in nixpkgs, just in my locally forked nixpkgs
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/staging 55e0f12 Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vNA7X
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34544: pythonPackages.jinja2: 2.9.6 -> 2.10 (staging...jinja2) https://git.io/vNAwi
NixOS_GitHub has left #nixos [#nixos]
<freeman42x[NixOS> sphalerite, worked like a charm, thank you!
zarel has joined #nixos
detran has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 6f58503 Nadrieril: tokenserver: 1.2.11 -> 1.2.27
<NixOS_GitHub> [nixpkgs] FRidh pushed 6 new commits to master: https://git.io/vNA7S
<NixOS_GitHub> nixpkgs/master c8b6e1f Nadrieril: serversyncstorage: 1.5.13 -> 1.6.11
<NixOS_GitHub> nixpkgs/master 757ec05 Nadrieril: syncserver: 1.5.2 -> 1.6.0
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #30594: Update firefox.syncserver and its dependencies (master...update-ffsync) https://git.io/vddIh
NixOS_GitHub has left #nixos [#nixos]
duckwho has quit [Ping timeout: 276 seconds]
<sphalerite> That counts as a nixpkgs ;)
<genesis> to get libcapsule from https://github.com/dezgeg/nixpkgs/tree/libcapsule i'd to git clone 800Mo of data, is there something lighter in nix, as overlay for gentoo ? or the idea is smarter use of git branch ?
<Ineff> sphalerite when I give 'nix-env --query --available --attr haskellPackages' after a while I get the following:
zarel_ has quit [Ping timeout: 268 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah closed pull request #33044: way-cooler: 0.6.2 -> 0.7.0 (master...way-cooler) https://git.io/vb78d
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vNA7x
<NixOS_GitHub> nixpkgs/master 7ebb82e adisbladis: home-assistant: Fix incorrect xml closing tag
NixOS_GitHub has left #nixos [#nixos]
<sphalerite> ineff: that sounds completely unrelated to binary caches
<Ineff> 'download-from-binary-cache.pl: still waiting for ‘https://cache.nixos.org/path.nar' waiting 5 seconds
ma27 has quit [Ping timeout: 276 seconds]
<Ineff> sorry I had a connection problem
<Ineff> sphalerite: if I try _to curl_ the given nar files I get a 404 error message from the server
<sphalerite> Huh... Querying shouldn't involve the binary cache...
<sphalerite> Could you run nix-info? (See channel topic)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #34549: way-cooler: 0.6.2 -> 0.8.0 (master...way-cooler) https://git.io/vNA7h
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
<Ineff> sphalerite sure
<MichaelRaskin> freeman42x: I tried to look at the stream as you react to my PR comments, but apparently it doesn't work in Firefox.
<Ineff> system: "x86_64-linux", multi-user?: no, version: nix-env (Nix) 1.11.16, channels(_user_) : "nixos-17.09.2905.c1d9aff56e0, nixpkgs-18.03pre126798.42b9b8f7c86", nixpkgs: /home/__user__/nixpkgs-stable
<infinisil> MichaelRaskin: what doesn't work on firefox?
<MichaelRaskin> twitch.tv streams
<infinisil> it does for me?
<freeman42x> MichaelRaskin: what does not work in Firefox?
<infinisil> been watching twitch streams for as long as i have used firefox
<sphalerite> ineff: I'm not sure, querying shouldn't call the binary cache... And I need to go now, sorry
<freeman42x> infinisil: lol, asked same question
<MichaelRaskin> Hm
<sphalerite> +1 to twitch working for me in Firefox
<Ineff> sphalerite no problem, thanks for the help
<Ineff> :-)
<sphalerite> See you later!
<MichaelRaskin> Maybe some of my «don't do stupid stuff» settings (like strict-mode-by-default) break twitch streams.
detran has quit [Ping timeout: 260 seconds]
<MichaelRaskin> I guess now Nixpkgs is fully gamified: score — check (vanity.sh), badges — check, streams — check.
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #33992: buildbot: 0.9.11 -> 0.9.15.post1 (master...buildbot-update) https://git.io/vNRC5
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vNA5l
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 73d985f Frederik Rietdijk: buildbot: buildbot-pkg fix...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vNA5E
<NixOS_GitHub> nix/master 84722d6 Eelco Dolstra: Remove nix-build --hash...
NixOS_GitHub has left #nixos [#nixos]
ma27 has joined #nixos
detran has quit [Ping timeout: 256 seconds]
ixxie has joined #nixos
ma27 has quit [Ping timeout: 248 seconds]
fyuuri has joined #nixos
<freeman42x[NixOS> I just decided that IDEA is best Git GUI lol
detran has joined #nixos
ma27 has joined #nixos
swayf has joined #nixos
detran has quit [Ping timeout: 240 seconds]
<ixxie> adisbladis[m]: I tried the fetchFromGitHub thing but the tests still won't run :/
zarel has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master cb8eb4d Robert Schütz: pythonPackages.pytest-aiohttp: disable tests
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 360e019 Frederik Rietdijk: Merge pull request #34529 from dotlambda/pytest-aiohttp...
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vNAde
<ixxie> FRidh2: can you advise me on the testing issue? adisbladis suggested that it seems these packages don't ship tests to pypi so I tried fetchFromGitHub but the tests still don't run
zarel has joined #nixos
detran has joined #nixos
<FRidh2> ixxie: link?
zarel_ has joined #nixos
swayf has quit [Ping timeout: 265 seconds]
leotaku has quit [Quit: WeeChat 2.0]
zarel has quit [Ping timeout: 240 seconds]
<ixxie> FRidh2: the package in question is here https://github.com/jupyterhub/oauthenticator
zarel has joined #nixos
<ixxie> as you can see, there are test-requirements
<ixxie> I tried fetchPypi and fetchFromGitHub and somehow both fail to run tests, so I am baffled
detran has quit [Ping timeout: 256 seconds]
zarel_ has quit [Ping timeout: 256 seconds]
<Dezgeg> genesis: I haven't worked on libcapsule since the initial attempt - I plan to wait until we use libglvnd to and hope there'll be better luck with using libcapsule between the libglvnd <-> driver boundary
zarel_ has joined #nixos
<FRidh2> ixxie: typically just adding test dependencies to `checkInputs` is not sufficient. Often the `checkPhase` needs to be changed to invoke a test runner
<genesis> Dezgeg : thanks for reply.
zarel has quit [Ping timeout: 256 seconds]
<Dezgeg> and sadly I haven't seen any upstream commits either since then
<genesis> i should have a look , man ld.so has plenty of interesting stuff to find missing symbol, perharps the glu for gl in libcapsule is not a big mess.
<genesis> still investigate why the LD_LIBRARY_PATH hack doesn't work well
<genesis> LD_TRACE_LOADED_OBJECTS=1 LD_DEBUG=libs are good to know.
<ixxie> FRidh2: thanks, I will give that a shot
<Dezgeg> there's a small write-up in https://github.com/NixOS/nixpkgs/issues/31189
detran has joined #nixos
freeman42x[NixOS has quit [Ping timeout: 248 seconds]
<genesis> i should read that right now, thanks.
zarel_ has quit [Ping timeout: 252 seconds]
freeman42x[NixOS has joined #nixos
zarel has joined #nixos
orbekk has quit [Quit: WeeChat 1.9.1]
detran has quit [Ping timeout: 252 seconds]
chrios_ has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vNAdg
<NixOS_GitHub> nixpkgs/master e350907 Jörg Thalheim: gdbgui: 0.10.0.1 -> 0.11.0.0
NixOS_GitHub has left #nixos [#nixos]
kreetx has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 84fb5c6 Vladimír Čunát: nixos/availableKernelModules: add a keyboard module...
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vNAdw
NixOS_GitHub has left #nixos [#nixos]
hotfuzz has joined #nixos
detran has joined #nixos
Kingsquee has quit [Quit: https://i.imgur.com/qicT3GK.gif]
zarel_ has joined #nixos
vcunat has joined #nixos
hotfuzz_ has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #34256: curl: 7.57.0 -> 7.58.0 (staging...u/curl) https://git.io/vNiwu
NixOS_GitHub has left #nixos [#nixos]
zarel has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 256 seconds]
freeman42x[NixOS has quit [Ping timeout: 260 seconds]
FRidh2 has quit [Quit: Konversation terminated!]
FRidh2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from 323b48f to 75e1448: https://git.io/v5aIf
<NixOS_GitHub> nixpkgs/python-unstable c3aa405 Frederik Rietdijk: python: adal: 0.4.7 -> 0.5.0
<NixOS_GitHub> nixpkgs/python-unstable 95c9922 Frederik Rietdijk: python.pkgs.pyopenssl: move expression
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable 75f32b6 Frederik Rietdijk: python: agate-excel: 0.2.1 -> 0.2.2
zarel has joined #nixos
zarel_ has quit [Ping timeout: 248 seconds]
<vaibhavsagar> nix run doesn't seem to evaluate expressions like nix-shell
detran has joined #nixos
<vaibhavsagar> e.g. `nix run "nixpkgs.haskellPackages.ghcWithPackages (p: [ p.lens] )" -c "ghci"` doesn't work
<vaibhavsagar> is there a different thing that does or should I stick with nix-shell for now?
<Svarog> is there an example somewhere of how to build a package from source wrapped using buildFHSUserEnv?
zarel_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vNAdp
<NixOS_GitHub> nixpkgs/master dd57c63 Vladimír Čunát: Merge branch 'staging'...
NixOS_GitHub has left #nixos [#nixos]
<FRidh2> vaibhavsagar: open a issue on the Nixpkgs issue tracker. It's possible it currently uses a setupHook which `nix run` does not run.
<Svarog> trying to work around some nodejs packages that depend on bindings that have hardcoded paths in them that aren't easy to override
zarel has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #33084: libvirt: Avoid patchShebangs in the darwin build (master...libvirt-darwin) https://git.io/vb56w
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34516: tiled: 1.1.1 -> 1.1.2 (master...tiled) https://git.io/vNbNd
NixOS_GitHub has left #nixos [#nixos]
<Svarog> i managed to manually set up an environment to build in, and got an app that works, i am just confused about how to combine all the bits and pieces such as fetch from github, write a build script, execute the build script using buildFHSUserEnv
<ixxie> FRidh2: I assumed checkPhase is invoked by doCheck = true; if this is so, the tests still refuse to run, both with github and pypi fetches
ottidmes has joined #nixos
zarel_ has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat reopened pull request #33084: libvirt: Avoid patchShebangs in the darwin build (master...libvirt-darwin) https://git.io/vb56w
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jensbin opened pull request #34550: kitty: 0.6.0 -> 0.7.1 (master...kitty_0.7.1) https://git.io/vNAFg
NixOS_GitHub has left #nixos [#nixos]
hakujin has joined #nixos
viric has joined #nixos
detran has joined #nixos
<ixxie> thanks FRidh2, on it :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 a7f36ff Lukas Werling: vivaldi: 1.11.917.39-1 -> 1.12.955.36-1...
<NixOS_GitHub> [nixpkgs] bjornfor pushed 4 new commits to release-17.09: https://git.io/vNAFo
<NixOS_GitHub> nixpkgs/release-17.09 fb3ec8a Peter Hoeg: vivaldi: do not build broken proprietary codecs by default...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 207dc01 Peter Hoeg: vivaldi: 1.12.995.36 -> 1.12.995.38...
hakujin has quit [Ping timeout: 276 seconds]
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vNAF9
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/staging b13230c Bjørn Forsman: wildmidi: 0.3.9 -> 0.4.2...
<NixOS_GitHub> nixpkgs/staging e2a0965 Vladimír Čunát: Merge #33891: wildmidi: 0.3.9 -> 0.4.2...
detran has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 3ad34f9 Jens Binkert: kitty: 0.6.0 -> 0.7.1
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNAFQ
<NixOS_GitHub> nixpkgs/master e493bf6 Jörg Thalheim: Merge pull request #34550 from jensbin/kitty_0.7.1...
NixOS_GitHub has left #nixos [#nixos]
<fearlessKim[m]> how can I print the name of a variable in nix as a string. Like I have the variable `expat` I want to print `expat`. If I use builtins.toString expat, it returns the outPath :s
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to python-unstable: https://git.io/vNAFh
<NixOS_GitHub> nixpkgs/python-unstable fd6cdce Frederik Rietdijk: awscli: 1.4.29 -> 1.4.32
NixOS_GitHub has left #nixos [#nixos]
_6pedrosa9_ has quit [Remote host closed the connection]
_6pedrosa9_ has joined #nixos
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNAbI
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master d834ae3 Kristoffer Søholm: pythonPackages.pwntools: fix build...
<NixOS_GitHub> nixpkgs/master 4f2ba13 Jörg Thalheim: Merge pull request #34537 from kristoff3r/fix-pwntools...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to python-unstable: https://git.io/vNAbL
<NixOS_GitHub> nixpkgs/python-unstable d5eb130 Frederik Rietdijk: spyder: 3.2.4 -> 3.2.6
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable 8c04894 Frederik Rietdijk: python.pkgs.pyqt5: 5.9.2 -> 5.10
swayf has joined #nixos
detran has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33980: cargo-vendor: Build from source using carnix (master...cargo-vendor-carnix) https://git.io/vNBkH
NixOS_GitHub has left #nixos [#nixos]
swayf has quit [Remote host closed the connection]
swayf has joined #nixos
detran has joined #nixos
zarel has joined #nixos
detran has quit [Ping timeout: 264 seconds]
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 4 new commits to python-unstable: https://git.io/vNANv
<NixOS_GitHub> nixpkgs/python-unstable 39e461f Frederik Rietdijk: python.pkgs.cryptography_vectors: move expression
<NixOS_GitHub> nixpkgs/python-unstable 35bb869 Frederik Rietdijk: python.pkgs.cryptography: move expression
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable 6319a80 Frederik Rietdijk: python: cryptography: 2.0.3 -> 2.1.4
_6pedrosa9_ has quit [Remote host closed the connection]
<infinisil> fearlessKim[m]: nix doesn't have reflection, so this doesn't work
ma27 has quit [Ping timeout: 256 seconds]
justanotheruser has quit [Ping timeout: 276 seconds]
_6pedrosa9_ has joined #nixos
detran has quit [Ping timeout: 240 seconds]
<fearlessKim[m]> infinisil: that's what I feared but it's ok, I write lua code generating nix code so I will just save the package name as a string too
<infinisil> fearlessKim[m]: that is, `let expat = ...; in ???` doesn't work, but `let a = { expat = ...; }; in builtins.head (builtins.attrNames a)` works
<infinisil> fearlessKim[m]: if you could explain your usecase i might be able to help you with an alternative
<infinisil> it usually makes more sense to generate an attrset instead of variable assignments
detran has joined #nixos
<fearlessKim[m]> I've modified luarocks to convert lua packages (.rockspec) to .nix derivations. but I need to write a file that tells luarocks where to find the dependencies, aka from a package derivation with `buildInputs = [ expat ]`, I need nix to generate a file with content `{ expat= /nix/store/ae3321321xx-expat-1.5.0/ }`
<fearlessKim[m]> infinisil: ^
<infinisil> fearlessKim[m]: ah, if it's done with a list of arguments at the top like `{ stdenv, expat, whatever }: stdenv.mkDerivation { ... }` then you can get the names of the arguments with `builtins.functionArgs`
<infinisil> which is also what callPackage does to find out what it needs to put in these arguments
azertyieio has quit [Ping timeout: 252 seconds]
<fearlessKim[m]> I don't use callPackage so the derivations names are in a list, but I guess I can generate a temporary set from the list and use the builtins.attrNames on it
detran has quit [Ping timeout: 268 seconds]
zarel has quit [Read error: Connection reset by peer]
zarel_ has joined #nixos
<infinisil> fearlessKim[m]: can you show an example of an input file and the result you want generated from it?
_6pedrosa9_ has quit [Remote host closed the connection]
_6pedrosa9_ has joined #nixos
Ineff has quit [Quit: Page closed]
detran has joined #nixos
<epta> >> nix-env -f "<nixpkgs>" --set-flag priority 10 haskellPackages.cabal2nix
<epta> error: selector ‘haskellPackages.cabal2nix’ matches no derivations
<infinisil> generally it doesn't make much sense to want an attribute name from a derivation
<epta> How to match it?
lord| has quit [Ping timeout: 240 seconds]
<infinisil> epta: remove haskellPackages.
Eisfreak7 has quit [Quit: WeeChat 2.0.1]
<infinisil> it takes a derivation name, not an attribute
detran has quit [Ping timeout: 248 seconds]
<epta> infinisil: same
<infinisil> `nix-env -f '<nixpkgs>' --set-flag priority 10 cabal2nix` works for me
<epta> infinisil: does it matter whether cabal2nix already installed or not?
<epta> it seems so
detran has joined #nixos
freeman42x[NixOS has joined #nixos
_6pedrosa9_ has quit [Remote host closed the connection]
<infinisil> oh yeah that might be it
<infinisil> i had it installed
zarel_ has quit [Ping timeout: 276 seconds]
_6pedrosa9_ has joined #nixos
detran has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from 68bb574 to 6b68730: https://git.io/v5aIf
<NixOS_GitHub> nixpkgs/python-unstable 719e1b3 Frederik Rietdijk: python: limits: 1.2.1 -> 1.3
<NixOS_GitHub> nixpkgs/python-unstable 840a301 Frederik Rietdijk: python: keyring: 10.6.0 -> 11.0.0
<NixOS_GitHub> nixpkgs/python-unstable 16b98d5 Frederik Rietdijk: fixup jupyter_client
NixOS_GitHub has left #nixos [#nixos]
fyuuri has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34551: pythonPackages.pyyaml: move derivation (master...pyyaml) https://git.io/vNAAH
NixOS_GitHub has left #nixos [#nixos]
lord| has joined #nixos
detran has joined #nixos
zarel[m] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/python-unstable ca50da0 Frederik Rietdijk: python: limits: 1.2.1 -> 1.3
<NixOS_GitHub> nixpkgs/python-unstable 433e985 Frederik Rietdijk: python: jupyter_client: 5.2.1 -> 5.2.2
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from 6b68730 to 3ccbd79: https://git.io/v5aIf
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable b010110 Frederik Rietdijk: python: keyring: 10.6.0 -> 11.0.0
orivej has quit [Ping timeout: 240 seconds]
zarel[m] has quit [Ping timeout: 276 seconds]
detran has quit [Ping timeout: 248 seconds]
ssmike has quit [Ping timeout: 268 seconds]
zarel[m] has joined #nixos
_6pedrosa9_1 has joined #nixos
detran has joined #nixos
_6pedrosa9_1 has quit [Read error: Connection reset by peer]
zarel[m] has quit [Ping timeout: 256 seconds]
_6pedrosa9_ has quit [Ping timeout: 256 seconds]
zarel[m] has joined #nixos
_6pedrosa9_1 has joined #nixos
detran has quit [Ping timeout: 240 seconds]
silver has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] etu opened pull request #34552: [WIP] qcachegrind: fix build (master...qcachegrind-build-fix) https://git.io/vNAxl
NixOS_GitHub has left #nixos [#nixos]
zarel[m] has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #34553: Python package updates (master...python-unstable) https://git.io/vNAxE
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #34540: AntTweakBar: init at 1.16 (master...master) https://git.io/vNA0t
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
<freeman42x[NixOS> streaming more Haskell Lamdu IDE packaging (could use help) https://www.twitch.tv/freeman42x
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to python-unstable: https://git.io/vNAxg
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable 9820c89 Robert Schütz: pythonPackages.pyyaml: move derivation
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34551: pythonPackages.pyyaml: move derivation (master...pyyaml) https://git.io/vNAAH
NixOS_GitHub has left #nixos [#nixos]
zarel[m] has joined #nixos
jensens has joined #nixos
detran has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vNAxy
<NixOS_GitHub> nixpkgs/master 3effd5b Tuomas Tynkkynen: cargo: Should be supported on all Linux platforms now
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/python-unstable b3bd3fa Robert Schütz: python: pytz: 2017.2 -> 2017.3
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to python-unstable: https://git.io/vNAx5
NixOS_GitHub has left #nixos [#nixos]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3e844ee98b0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
fyuuri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from b3bd3fa to cf3fc6c: https://git.io/v5aIf
<NixOS_GitHub> nixpkgs/python-unstable 036ee91 Frederik Rietdijk: python: pytest: 3.3.2 -> 3.4.0
<NixOS_GitHub> nixpkgs/python-unstable 9c8dce4 Frederik Rietdijk: python: pytzdata: 2017.3.1 -> 2018.3
<NixOS_GitHub> nixpkgs/python-unstable aec2e0d Frederik Rietdijk: python: requestsexceptions: 1.3.0 -> 1.4.0
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
alex`` has quit [Quit: WeeChat 2.0.1]
hellrazor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vNApe
<NixOS_GitHub> nixpkgs/master 58ef595 Tuomas Tynkkynen: rust binary build: call patchShebangs on install.sh...
NixOS_GitHub has left #nixos [#nixos]
_6pedrosa9_1 has quit [Remote host closed the connection]
detran has quit [Ping timeout: 248 seconds]
_6pedrosa9_ has joined #nixos
zarel[m] is now known as zarel___
zarel___ is now known as zarel__
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master a67f475 Matan Shenhav: pythonPackages.globus-sdk: init at 1.4.1
<NixOS_GitHub> [nixpkgs] FRidh pushed 5 new commits to master: https://git.io/vNAps
<NixOS_GitHub> nixpkgs/master e4718a8 Matan Shenhav: pythonPackages.oauthenticator: init at 0.7.2
<NixOS_GitHub> nixpkgs/master e2487ba Matan Shenhav: pythonPackages.mwoauth: init at 0.3.2
thc202 has joined #nixos
detran has joined #nixos
_6pedrosa9_ has quit [Remote host closed the connection]
jensens has quit [Ping timeout: 256 seconds]
_6pedrosa9_ has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dd57c637933 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
_6pedrosa9_ has quit [Remote host closed the connection]
detran has quit [Ping timeout: 256 seconds]
<freeman42x[NixOS> what do I do if I can't find a package version in its source, am I forced to specify one?
_6pedrosa9_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] womfoo opened pull request #34555: bump {fnotify,fork,power,smem}stat to latest upstream (master...bump/fnotify-fork-power-smem-stat) https://git.io/vNApy
NixOS_GitHub has left #nixos [#nixos]
Neo-- has joined #nixos
_6pedrosa9_ has quit [Remote host closed the connection]
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34555: bump {fnotify,fork,power,smem}stat to latest upstream (master...bump/fnotify-fork-power-smem-stat) https://git.io/vNApy
NixOS_GitHub has left #nixos [#nixos]
<etu> freeman42x[NixOS: Pick a commit and set a date as version or something I think
<freeman42x[NixOS> etu, with rev set it tries to get a tar based on that rev eg. https://github.com/lamdu/freetype-gl/archive/1.0.0.tar.gz
<freeman42x[NixOS> etu, do you know where I can find what options are possible under fetchFromGitHub ?
<freeman42x[NixOS> would expect to be possible to just pick a git sha
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 0380728 Will Dietz: retdec: homepage fixup
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vNAhq
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 401fd19 Jörg Thalheim: Merge pull request #34539 from dtzWill/feature/retdec-smaller...
<NixOS_GitHub> nixpkgs/master 5a08309 Will Dietz: retdec: separate "support", greatuly reduce size by default...
<rnhmjoj[m]> i've submitted a PR to enable ipv6 privacy extensions. anyone interested in reviewing it? https://github.com/NixOS/nixpkgs/pull/34492
detran has quit [Ping timeout: 252 seconds]
<LnL> it's just a wrapper around fetchzip, you can pick any git commit or tag as the revision
<freeman42x[NixOS> LnL, cheers, just noticed that also :)
<LnL> and for the derivation name the convention is to use the date of the commit, but that's not strictly requiredd
<freeman42x[NixOS> LnL, you mean here? name = "FreetypeGL";
<LnL> yeah
<freeman42x[NixOS> name = "FreetypeGL-2017-08-10"; or what format?
<LnL> yes, like that
<LnL> that way nix-env -u will work properly
<freeman42x[NixOS> LnL, cool, cheers
detran has joined #nixos
detran has quit [Ping timeout: 240 seconds]
<freeman42x[NixOS> what happens when the license is custom?
<pie_> how do i drop into a build shell for a script again?
<freeman42x[NixOS> pie_, nix-shell ?
* pie_ scratches head
<pie_> i want to be able to poke around in the build environment of this: nix-shell -v -p 'libsForQt5.callPackage ./default.nix {openjpeg = openjpeg_1;}' --cores 4
<pie_> i want to call configurePhase and such manually
detran has joined #nixos
<LnL> you'll want nix-shell -A then, but that doesn't take arbitrary expressions like -p
<pie_> ooh wait i think i got it \o/ nix-shell -v -E 'with import <nixos> {}; libsForQt5.callPackage ./default.nix {openjpeg = openjpeg_1;}' --cores 4
magnetophon has joined #nixos
<LnL> yeah, that should work
<LnL> freeman42x[NixOS: isn't that bsd2?
<freeman42x[NixOS> LnL, yes, apparently it is so
fyuuri has quit [Ping timeout: 264 seconds]
detran has quit [Ping timeout: 256 seconds]
ssmike has joined #nixos
ma27 has joined #nixos
detran has joined #nixos
ixxie has quit [Ping timeout: 256 seconds]
<freeman42x[NixOS> is it ok to assume this is the only build output? libfreetype-gl.a
<freeman42x[NixOS> actually, I will see later :DD
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vNAjs
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 e140d71 Eelco Dolstra: Merge #34294: gcc: 7.2.0 -> 7.3.0...
Neo-- has quit [Ping timeout: 252 seconds]
detran has quit [Ping timeout: 260 seconds]
alex`` has joined #nixos
alex`` is now known as alexherbo2
detran has joined #nixos
alexherbo2 is now known as alex``
ssmike has quit [Ping timeout: 265 seconds]
abcrawf has quit [Remote host closed the connection]
detran has quit [Ping timeout: 256 seconds]
<hyper_ch> what rss reader is everony using?
<etu> Moved off ttrss to https://freshrss.org/ recently. It was a big upgrade :)
abcrawf has joined #nixos
pSub has quit [Remote host closed the connection]
aarvar has quit [Ping timeout: 248 seconds]
pSub has joined #nixos
pSub has joined #nixos
yann-kaelig has joined #nixos
detran has joined #nixos
<fearlessKim[m]> hyper_ch: newsboat
<fearlessKim[m]> it's a bit dry though :(
zarel__ has quit [Ping timeout: 240 seconds]
<freeman42x[NixOS> feedly was a pretty good rss reader
<freeman42x[NixOS> haven't used it for a long time though
<freeman42x[NixOS> for commit messages based on missing version, only SHA... what do I put in the commit message? the SHA? or the date of the commit?
ixxie has joined #nixos
zarel__ has joined #nixos
detran has quit [Ping timeout: 240 seconds]
<sphalerite> freeman42x[NixOS: you mean updating a package which doesn't have version numbers?
<freeman42x[NixOS> sphalerite, yes
<ixxie> is there a way I can keep progress of when my merged PR will enter unstable?
<sphalerite> freeman42x[NixOS: I think the general convention for those is to use dates of retreival
<freeman42x[NixOS> sphalerite, I named it: `Freetype GL: init at 0pz7zbfxn227zp2zgw4f97fin2iamabkdbkpyapp32nbmpw4` <- commit message
<freeman42x[NixOS> oh ok, I will use the date then
<freeman42x[NixOS> dates of retreival? date of the commit right?
<sphalerite> I think so yeah
<srhb> ixxie: Is it merged into master? Then the next succesful build and evaluation of the test set.
<ixxie> yeah its merged
<ixxie> since two weeks
<srhb> ixxie: The jupyterhub one?
<ixxie> yeah
<ixxie> should be in there by now no?
<srhb> ixxie: That's already been in unstable.
<Yaniel> I'm currently using weemustfeed for rss (a weechat script)
<Yaniel> very barebones but does what I need it to for now
<ixxie> srhb: so its just package search is not upto date yet
detran has joined #nixos
<srhb> ixxie: What package search? The homepage only tracks nixos-17.09 I believe
<MichaelRaskin> RSS doesn't have enough backlog, so I just scrape…
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] razvan-panda opened pull request #34556: Freetype GL: init at 2017-08-10 (master...master) https://git.io/vNxe6
NixOS_GitHub has left #nixos [#nixos]
zarel[m] has joined #nixos
<srhb> ixxie: Looks like that page is well out of date, january 1st.
detran has quit [Remote host closed the connection]
detran has joined #nixos
MarcWeber has quit [Quit: Lost terminal]
<infinisil> freeman42x[NixOS: date of commit, not retrieval
<seccus> Hey there! I'm experiencing the same issue as described here: https://github.com/NixOS/nixpkgs/issues/33362 during a rebuild. I did a `nix-channel --update` and `nixos-rebuild switch`, but can't rebuild because of odfpy failing tests? My configuration.nix and nix-info are here: https://gist.github.com/anonymous/11eaa512e97ffcc48470b80ec11847a5 Looking at the issue mentioned on github it seems that there shou
<seccus> ld be a fix for 17.09. Shouldn't a `nix-channel --update` followed by a rebuild apply that fix?
<freeman42x[NixOS> infinisil, ok, cheers
<seccus> Long message, sorry :)
zarel__ has quit [Ping timeout: 240 seconds]
<ixxie> srhb: yeah, I see its in nix-env -qa now ^^
<srhb> ixxie: :)
detran has quit [Ping timeout: 252 seconds]
zarel has joined #nixos
<srhb> seccus: Builds for me on nixos-17.09, so yeah, if that's your nixos channel.
<srhb> seccus: But the discussion seems to imply that some people are experiencing issues still when building it.
<seccus> Yeah, I'm on 17.09
acarrico has quit [Ping timeout: 240 seconds]
<seccus> 9
<seccus> Haha
<srhb> seccus: Can you run nix-info please?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/python-unstable 9dd9309 Frederik Rietdijk: python.pkgs.sympy: move expression
<NixOS_GitHub> [nixpkgs] FRidh pushed 4 new commits to python-unstable: https://git.io/vNxvs
<NixOS_GitHub> nixpkgs/python-unstable 49a223b Frederik Rietdijk: python.pkgs.sympy: 1.0 -> 1.1.1
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable cc144c5 Frederik Rietdijk: python.pkgs.packet-python: move expression
<seccus> Oh I added it to the gist, but here it is:
<seccus> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.16, channels(username): "", channels(root): "nixpkgs-unstable-18.03pre126798.42b9b8f7c86, nixos-17.09.2905.c1d9aff56e0", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<srhb> Sorry, I missed that.
<seccus> No problem, ofcourse :)
detran has joined #nixos
<srhb> seccus: Yes, that commit looks like it contains the fix. You should probably poke the issue.
<seccus> Hmm, alright. Will do that. Thanks. :)
Neo-- has joined #nixos
<srhb> seccus: If you're sure that's the issue at least :)
<srhb> You didn't gist the actual error, right?
zarel[m] has quit [Remote host closed the connection]
zarel[m] has joined #nixos
<seccus> Oh, no. Let me do that
<srhb> Huh, okay, something else is fishy on 17.09
detran has quit [Ping timeout: 248 seconds]
<seccus> Here's the `nixos-rebuild` log:
<srhb> Oh, that's just dependencies. Nevermind.
<srhb> Peculiar. I can't reproduce that.
<seccus> Yeah. As far as I know, I'm not doing anything special.
va1entin has joined #nixos
detran has joined #nixos
<freeman42x[NixOS> when building imagemagick-0.0.4.2.drv it errors with Setup: Encountered missing dependencies: vector >=0.9 && <0.12 . I think this happens because current vector version is "0.12.0.1"
<freeman42x[NixOS> any suggestions?
<srid> what is the recommended way configure external monitor in nixos? it just duplicates the two screens. i seem to be able to do this in nvidia-settings, but this is not declarative and the settings are not persisted across reboots.
ssmike has joined #nixos
<srhb> freeman42x[NixOS: Ask the imagemagick maintainer to update the package on Hackage (or PR it yourself)
<fearlessKim[m]> srid: I use Xrandr though I wouldn't mind a fancy gui. Getting the right xrandr command during meetings can be a tad stressful
<srhb> I, too, pray to the xrandr gods.
<joepie91> fearlessKim[m]: arandr?
<srhb> There's services.xserver.xrandrHeads for static configurations
<srhb> I don't know of a decent solution declarative autorandr approach
<srid_irccloud> (This is me, srid) I have a 5k monitor, that should work with at least 4k resolution. https://www.irccloud.com/pastebin/bhOP4MWy/
<joepie91> ah well, arandr isn't declarative
<joepie91> but it's graphical :P
<joepie91> and at least it has an option to save your config as a shell script
<srhb> Yeah..
<joepie91> that execs xrandr with the right commands
<MichaelRaskin> I have a single script that generally autodetects xrandr correctly
<srhb> You could also throw them into the necessary udev rules
<srhb> (I think)
<joepie91> I actually wonder how difficult it would be to make arandr generate NixOS rules
<joepie91> it's a fairly tiny application I think
<fearlessKim[m]> I need to retest arandr, a few years back, it didn't do much
<infinisil> Actually there is `unxrandr` (comes with xrandr) that outputs an xrandr command to get the current config
<joepie91> odd, it's always worked great for me
<joepie91> fearlessKim[m]: anyway, it's in nixpkgs, so :)
<srid_irccloud> arandr treats my external monitor as two DP displays. it doesn't provide a way to treat them as one :-S
detran has quit [Ping timeout: 268 seconds]
* srid_irccloud is using xmonad on right half of the 27" 4k display. left half is blank
<joepie91> srid_irccloud: iirc arandr just passes through whatever X reports
<joepie91> maybe your display reports itself to X as two displays?
<joepie91> idk
<joepie91> it vaguely reminds me of the 10 port USB hubs that report themselves as three different hubs
<srid_irccloud> I use a thunderbolt 3 connection. I believe this 5k monitor uses two DP connection underneath (in the same TP3 cable)
<joepie91> 3 x 4 port hubs
<joepie91> (I have one of those hubs actually)
<joepie91> (though it's on its deathbed)
<MichaelRaskin> Actually, due to quirks of the standards, there are cases where a single monitor does report itself as two, because otherwise it doesn't get enough pixel rate for 60Hz
detran has joined #nixos
Turion has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 4e6 opened pull request #34557: Make haskell-modules backward compatible (master...haskell-modules-compatibility) https://git.io/vNxfR
NixOS_GitHub has left #nixos [#nixos]
ssmike1 has joined #nixos
Rusty1_ has joined #nixos
zarel has quit [Quit: Leaving]
<srid> two ways to go about it it seems: have X think that these two 'virtual displays' (DP-3 and DP-5 from https://www.irccloud.com/pastebin/bhOP4MWy/ ) are actually one display (which is indeed the case). Or, have xmonad treat the two 'monitors' as one
<srid> but yes, being able to do this declaratively would be so nice
ssmike has quit [Ping timeout: 256 seconds]
ssmike1 is now known as ssmike
<gchristensen> srid: is this foro a desktop?
<gchristensen> srid: if this is for a desktop and the screens don't change, https://nixos.org/nixos/options.html#xrandr
<srid> I have a Thinkpad P71 (with nvidia P3000 quadro) connected to the LG UltraFine 5k monitor
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master b994a6e Jan Tojnar: phpPackages.php-cs-fixer: 2.10.0 → 2.10.2
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vNxfr
Neo-- has quit [Ping timeout: 276 seconds]
<srid> the laptop is so huge I might as well use it like a desktop. thickness itself is probably 3 times that of macbook pro
detran has quit [Ping timeout: 240 seconds]
<srid> when travelling maybe ssh to it from the lightweight macbook pro :P
<srid> gchristensen: ah, cool. so you can already declaratively configure xrandr stuff? i'll play with arandr and then try to do this with finalized settings
<gchristensen> well if you really never don't use the external display, then that link can help. otherwise, I used arandr to setup my displays then autorandr to save the configs and switch between them
<gchristensen> never don't -> always
<srid> in practice, i probably would use the external display about 80% of the time
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master a25e6e1 Tuomas Tynkkynen: go_1_8: Scale up test timeouts...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vNxf1
<srid> (10% = weightlift the beast to coffee shops)
<gchristensen> I think you'd be happier with autorandr instead of the declarative config
<ixxie> hmm nix-env -qa runs out of memory
vcunat has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 97be994 adisbladis: qcachegrind: Fix build with Qt 5.10
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vNxfN
vcunat has joined #nixos
detran has joined #nixos
<infinisil> Hey, I've had this problem for a while: My external display only works when it's connected when booting
<infinisil> It's an apple thunderbolt display connected through MiniDisplayPort to my macbook air
<srid_irccloud> nixos on macbook air?
<infinisil> yup
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34552: [WIP] qcachegrind: fix build (master...qcachegrind-build-fix) https://git.io/vNAxl
NixOS_GitHub has left #nixos [#nixos]
<ixxie> is there a way to make nix-env -qa use less memory?
<gchristensen> infinisil: hmm I had that problem too at some point... I don't remember if I managed to fix it ...
<infinisil> I just found this, gonna read through it: https://github.com/NixOS/nixpkgs/pull/18041
<srid_irccloud> ixxie: fwiw, i believe nix 2.0 will have a `nix search` command that runs instantaneously.
<ixxie> srid_irccloud: neat; I heard its coming to unstable soon no?
orivej has joined #nixos
<srhb> My goodness, I can't wait. :3
detran has quit [Ping timeout: 276 seconds]
<fearlessKim[m]> I have in my derivations an attribute which is a set. It's apparently a problem since nix wants to convert it to a string to export it in the env when building the derivation. How can I tell nix to ignore this attribute ?
pkill9 has joined #nixos
detran has joined #nixos
<vcunat> Just don't pass it into mkDerivation ;-)
<infinisil> Yeah this displaylink thing did nothing
Turion has quit [Remote host closed the connection]
<infinisil> Since rebooting everytime i want to use the display is really annoying, I haven't really used this display very much
detran has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/python-unstable 82f1b00 Frederik Rietdijk: python.pkgs.webcolors: 1.4 -> 1.7
<NixOS_GitHub> [nixpkgs] FRidh pushed 4 new commits to python-unstable: https://git.io/vNxJz
<NixOS_GitHub> nixpkgs/python-unstable 56fccb5 Frederik Rietdijk: python.pkgs.ovh: 0.4.5 -> 0.4.8
<NixOS_GitHub> nixpkgs/python-unstable dda4b02 Frederik Rietdijk: python.pkgs.dicttoxml: 1.6.4 -> 1.7.4
NixOS_GitHub has left #nixos [#nixos]
ixxie has quit [Quit: Lost terminal]
<hyper_ch> everyone's at FOSDEM it seems
<fearlessKim[m]> vcunat shit I misread the luarocks config spec, I can indeed do without the set :'(
<hyper_ch> infinisil: you also use zfs irght?
aanderse_ has joined #nixos
aanderse has quit [Read error: Connection reset by peer]
detran has joined #nixos
hakujin has joined #nixos
stepcut has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to python-unstable: https://git.io/vNxJh
<NixOS_GitHub> nixpkgs/python-unstable e43f3be Frederik Rietdijk: python.pkgs.quantities: 0.10.1 -> 0.12.1
<NixOS_GitHub> nixpkgs/python-unstable 880dbc2 Frederik Rietdijk: python.pkgs.pygments_2_0: remove unused expression
NixOS_GitHub has left #nixos [#nixos]
<infinisil> hyper_ch: ye
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to python-unstable: https://git.io/vNxUv
<NixOS_GitHub> nixpkgs/python-unstable f065779 Robert Schütz: python: typing: 3.5.3.0 -> 3.6.4
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 4 new commits to master: https://git.io/vNxUJ
<NixOS_GitHub> nixpkgs/master 52f68fe Elis Hirwing: phpPackages.xdebug: 2.6.0beta1 -> 2.6.0, 2.5.0 -> 2.6.0
<NixOS_GitHub> nixpkgs/master 6010266 Elis Hirwing: php72: 7.2.1 -> 7.2.2
<NixOS_GitHub> nixpkgs/master 7951e62 Elis Hirwing: php71: 7.1.13 -> 7.1.14
NixOS_GitHub has left #nixos [#nixos]
ma27 has quit [Ping timeout: 276 seconds]
<chreekat[m]> Is it possible to refer to a particular stackage lts all at once? "let stackage = ... in [ stackage.containers stackage.text ]" <-- that's really how I'd like to refer to packages from a particular lts
<infinisil> chreekat[m]: with stackage; [ containers text ]
detran has joined #nixos
<hyper_ch> infinisil: you're not using native encryption right?
<chreekat[m]> Ha
<elvishjerricco> chreekat[m]: Take a look at stackage2nix, particularly their `nixpkgs-stackage` overlay
<srhb> elvishjerricco: Is there a cache to go with that?
<elvishjerricco> srhb: Nope
<srhb> Darn...
<infinisil> hyper_ch: i am not
<elvishjerricco> That's just hard to accomplish since you'd have to cache <number of nixpkgs checkouts> * <number of lts'es>
<infinisil> (because of the znapzend not working thing)
<elvishjerricco> and the number of nixpkgs checkouts is huge :P
<elvishjerricco> is it sane to use `default = config.<something>` in an option definition to set the default to, say, `nix.maxJobs`? Or is having `options` depend on `config` considered bad practice?
<srhb> elvishjerricco: I imagined a pinned ghc with some sets, but yeah.
<chreekat[m]> Ok I assume I can specify an lts independently. I was concerned that the only way I'd seen people pin Haskell versions was by pinning all of nixpkgs or pinning individual packages. Both groan inducing
<hyper_ch> infinisil: I wrote my own backup script... it just uses auto-snapshot :)
jtojnar has quit [Remote host closed the connection]
<srhb> elvishjerricco: I think that's fine and sane.
<infinisil> hyper_ch: yeah i know, you've told me like 4 times now haha
<hyper_ch> that was an old one :)
<elvishjerricco> chreekat[m]: Pinning nixpkgs shouldn't be groan inducing, that should be encouraged. But I agree, it should be easy to pin haskell package sets separately
<infinisil> hmm
<elvishjerricco> I think it'd be nice if we had a separate server where you could grab each LTS from, and each of these would be cached with the latest NixOS release of nixpkgs from the time the LTS was released, and came with that nixpkgs auto-configured (but overridable of course)
<hyper_ch> but still trying to add a third option for zfs.... zfs, unstable and master.... master would use latest zfs git with the stability patches
<gchristensen> FRidh2: available to take a look at https://github.com/NixOS/ofborg/issues/56 ?
<hyper_ch> but still fail to get that properly included in nixos
stepcut has quit [Remote host closed the connection]
detran has quit [Ping timeout: 260 seconds]
<chreekat[m]> elvishjerricco: don't worry, we're exactly on the same page re pinning nixpkgs :)
<chreekat[m]> Thanks for the pointers. I'll look at some of those things more closely
acarrico has joined #nixos
<samueldr> hmm, looks like I'll need to add automation to the packages page I host if people are using it
ma27 has joined #nixos
detran has joined #nixos
ssmike1 has joined #nixos
hakujin1 has joined #nixos
ssmike has quit [Read error: Connection reset by peer]
ssmike1 is now known as ssmike
<infinisil> hyper_ch: link to your attempt?
ma27 has quit [Ping timeout: 276 seconds]
<hyper_ch> infinisil: setting it up a new in a new vm
<hyper_ch> since I don't wanna fiddle with homeserver anymore becuase I already upgraded it
<infinisil> that is a good idea
ijsicle has joined #nixos
hakujin1 has quit [Ping timeout: 240 seconds]
detran has quit [Ping timeout: 256 seconds]
<ijsicle> Hiw do I rebuild switch from usb boot? I fails in the chroot.
<hyper_ch> ijsicle: what do you mean?
<ijsicle> nixos-install tries to redownload everything, but nixos-install --chroot + sudo -i + nixos-rebuild switch fails.
<hyper_ch> never tried that
<hyper_ch> mayday
bpa has joined #nixos
<infinisil> ijsicle: what are you trying to do?
<hyper_ch> are you in the live iso?
<ijsicle> I'm trying to redo grub. Live iso - yes.
detran has joined #nixos
<hyper_ch> why not just mount everything under /mnt/
<hyper_ch> ?
<ijsicle> Why did you assume that is not the case?
<pie_> ....looks like running a nix script and the build fails but doing unpackPhase, cmakeConfigurePhase, buildPhase manually works.....wth
<hyper_ch> ijsicle: becuase that works :)
detran has quit [Ping timeout: 256 seconds]
<infinisil> ijsicle: "redo grub"? This seems like an XY problem
<ijsicle> What? My computer doesn't boot. Shouldn't I be rebuilding nixos?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 8a1069b Will Dietz: fastjet: Fix build w/clang5...
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vNxTs
<NixOS_GitHub> nixpkgs/master dbd9e7f Graham Christensen: Merge pull request #34534 from dtzWill/fix/fastjet-clang5...
NixOS_GitHub has left #nixos [#nixos]
zarel[m] has quit [Ping timeout: 276 seconds]
<infinisil> ijsicle: so, you're trying to install nixos, did the stuff to build it the first time, ran nixos-install, then tried to reboot and it didn't work?
<ijsicle> Something like that, sure.
<infinisil> ijsicle: what didn't work, did you get an error?
<ijsicle> Sure, but a rebuild should fix that.
<gchristensen> ofborg now schedules builds of the package identified as changed in the commit messages: https://github.com/NixOS/ofborg/tree/next#automatic-building, example: https://github.com/NixOS/nixpkgs/pull/34541#issuecomment-362816933
<infinisil> ijsicle: you can just run nixos-install again
<ijsicle> I don't want to wait for it to redownload everything for the store.
<infinisil> ijsicle: it won't
<ijsicle> How come?
detran has joined #nixos
<ijsicle> It does that.
<infinisil> ijsicle: redownloads everything?
<samueldr> ijsicle: are you fixing an existing install that you customized much or a clean new install?
<ijsicle> Existing, correct
<infinisil> if you kept the previous install attempt intact on /mnt, then it shouldn't redownload everything
<samueldr> ah, so if ijsicle updated the channels, the ones on the installation media won't match and yes it will download updates
<samueldr> not updates, packages**
<samueldr> ijsicle: feel like trying to run the command nixos-install runs, manually?
<ijsicle> I was about to type but I'm on mobile, so it's slow and annoying.
chrios has joined #nixos
revtintin has joined #nixos
<ijsicle> Oh no, io errors. But yeah, that works alright, samueldr!
<samueldr> cheers, this may be an easier recommendation than running nixos-install when *only* the bootloader automation is needed
detran has quit [Ping timeout: 248 seconds]
<samueldr> ijsicle: I have a question, if you want to re-connect using your computer, tell me
<samueldr> why did you need to re-do the bootloader install?
<ijsicle> Corrupted /boot.
<samueldr> (I'm gathering data about common pitfalls relating to the boot process)
<samueldr> ah, good
<ijsicle> Might be bad blocks, because I'm getting i/o errors in a different file after redoing the partition.
<ijsicle> "Good" hehe.
<samueldr> yeah, if you have SMART, you may want to check the state of the drive
<ijsicle> I know what you mean though.
<samueldr> and also... make sure you have backups
<ijsicle> I do. :)
<samueldr> ah, then "good" as in "good" :)
bpa2 has joined #nixos
vidbina has joined #nixos
detran has joined #nixos
bpa has quit [Ping timeout: 256 seconds]
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<ijsicle> How wierd that I can rewrite everything on sda1. No counts look bad in s.m.a.r.t. and partition reads and gives back data on all blocks (tested via dd).
Izorkin has joined #nixos
fyuuri has joined #nixos
detran has quit [Ping timeout: 256 seconds]
FRidh2 is now known as FRidh
<FRidh> Can you build the following: nix-build https://github.com/NixOS/nixpkgs/archive/0186286433cccbf6faf288c22df03e63e46dd94d.tar.gz -A python2.pkgs.odfpy
bpa2 has quit [Read error: Connection reset by peer]
bpa has joined #nixos
detran has joined #nixos
<infinisil> FRidh: Test fails
<FRidh> infinisil: thanks.
<FRidh> others reported the same but I can't reproduce it https://github.com/NixOS/nixpkgs/issues/33362#issuecomment-362811791
bpa has quit [Remote host closed the connection]
bpa has joined #nixos
<infinisil> huh
<infinisil> FRidh: do you have something special in nix.conf?
knupfer has joined #nixos
<FRidh> nope
leo3 has joined #nixos
<FRidh> also interesting issue regarding non-determinism: https://github.com/NixOS/nixpkgs/issues/34387
detran has quit [Ping timeout: 240 seconds]
leo3 is now known as leotaku
<FRidh> guess something with 1.12pre
<FRidh> although there the discussion is about the file system
ma27 has joined #nixos
<FRidh> on another machine, also running 17.09 with nixUnstable, it builds fine as well
<infinisil> FRidh: This should prevent such problems in the future: https://github.com/NixOS/nix/commit/d4dcffd64349bb52ad5f1b184bee5cc7c2be73b4
<infinisil> maybe
<FRidh> yea that's interesting
<FRidh> I was planning on upgrading my nixUnstable so might as well checkout nix master
<leotaku> if I want to "add" custom packages without having to clone and edit the nixpkgs repo, overlays are what I should use, correct?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lukeadams opened pull request #34558: Doxygen Docs for Nixpkgs Internals (master...doxygen-nixpkgs) https://git.io/vNxqL
NixOS_GitHub has left #nixos [#nixos]
<FRidh> Yes, that is a common and recommended solution.
<infinisil> leotaku: an overlay isn't even needed though, you can define it inline
detran has joined #nixos
<infinisil> e.g. with configuration.nix something like `let myPkg = pkgs.stdenv.mkDerivation { ... }; in { environment.systemPackages = [ myPkg ]; }`
<infinisil> or myPkg = import file/to/build/mypkg.nix { inherit pkgs; }
<leotaku> infinisil: but if I want to add multiple packages/keep them for longer I should probably use overlays for better readability, right?
<infinisil> leotaku: yea
<leotaku> FRidh: infinisil: Ok, thank you for helping!
<infinisil> I usually use `let in` to define packages if they're really tiny, like scripts or so
<leotaku> infinisil: that sounds like it makes sense
<the_real_plumps> @FRidh Hi let's have this discussion here, where it might be easier to discuss :-) (odfpy)
orivej has quit [Ping timeout: 240 seconds]
<the_real_plumps> I am really confused by your last statement, that it worked on both of your laptops using nixUnstable
<the_real_plumps> what's the relation to nixUnstable
detran has quit [Ping timeout: 268 seconds]
<infinisil> Ah, I'm not running nixUnstable btw, maybe that's the reason it built for me
<infinisil> i mean didn't
<FRidh> the_real_plumps: I'm trying to find different that can have an affect. Both Hydra and my systems build in a sandbox. I think you said you also used the sandbox. I don't get the error, regardless of the sandbox. Now I'm looking at whether the Nix version matters.
<FRidh> *differences that can have an effect
Adev[m] has joined #nixos
<Adev[m]> Plop folks
endformationage has joined #nixos
<Adev[m]> Any Nix / NixOS users at Fosdem this year ?
<MichaelRaskin> I think #nixos-fosdem is a better place to ask
detran has joined #nixos
<MichaelRaskin> Although its _existence_ is an answer to your question.
<Adev[m]> Ahah Indeed
<gchristensen> I think Eelco is there?
<FRidh> the_real_plumps: changed one machine so the nix-daemon would use nix stable, and it still builds fine
leotaku has quit [Ping timeout: 248 seconds]
<infinisil> FRidh: you did delete the old build, right?
<FRidh> infinisil: did a --check
detran has quit [Ping timeout: 240 seconds]
<infinisil> hmm
<infinisil> My next idea would be to try a fresh VM
acarrico has quit [Ping timeout: 240 seconds]
yorick has joined #nixos
acarrico has joined #nixos
leotaku has joined #nixos
detran has joined #nixos
<FRidh> grahamc: you did something similar before with docs, right? https://github.com/NixOS/nixpkgs/pull/34558
<gchristensen> FRidh: yeah, but this is nicer...
<tobiasBora> infinisil: Hum then I'm not sure to understand why it's not listed her ^
<tobiasBora> here*
<tobiasBora> and why I get no answer when I run "nix-env -qa geckodriver"
<the_real_plumps> @FRidh really strange
<the_real_plumps> @FRidh well for me it all depends on whether the patch disables the tests on python2
<infinisil> tobiasBora: you're probably on the 17.09 channel, which is also what nixos.org/nixos/packages lists
<tobiasBora> infinisil: oh I see... Thanks
<FRidh> gchristensen: the annotation is similar as for Sphinx / restructuredtext
<the_real_plumps> @FRidh you said reverting it, doesn't make a difference for you, which seems to be unlikely to me
<gchristensen> FRidh: mine used weird Nix functions to do it
<FRidh> the_real_plumps: that patch disables tests for Python 2. Reverting it causes the tests to run...and they run fine for me.
detran has quit [Ping timeout: 260 seconds]
b has joined #nixos
alunduil has quit [Ping timeout: 256 seconds]
<the_real_plumps> FRidh: hmm, strange, what else could be different
<the_real_plumps> @FRidh why doesn't your system need the patch
<FRidh> ...
<the_real_plumps> do you have the same path for odfpy as I do?
detran has joined #nixos
<the_real_plumps> /nix/store/pbdag7v39nh7q10pjwdvx1f840ymqbb9-python2.7-odfpy-1.3.6
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master cff5eec Robert Helgesson: perl-CryptX: 0.055 -> 0.057
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vNxY3
NixOS_GitHub has left #nixos [#nixos]
<chreekat[m]> When download-from-binary-cache.pl says "NAR info file '...' is signed by unknown key '...', ignoring, does it mean it's ignoring the NAR info file, or is it ignoring the unknown key warning?
<the_real_plumps> @FRidh I have the same issue on my other 17.09. systems
<FRidh> the_real_plumps: yes, that store path
nix-gsc-io`bot has joined #nixos
<the_real_plumps> @FRidh now I don't know what else could be different
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e140d71d633 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
<infinisil> Use VMs
<the_real_plumps> @FRidh I am in favour to rebase the patch to 17.09 and call it a day
<the_real_plumps> what do you think?
detran has quit [Ping timeout: 248 seconds]
duckwho has joined #nixos
amir is now known as RHEA2013
<vidbina> does anyone run into LUKS freezing after asking for a passphrase?!? I have btrfs partitions that a LUKS encrypted and occasionally this happens to me but I'm not sure how to go about debugging this issue.
detran has joined #nixos
<vidbina> It happens in NixOS stage 1, after loading modules btrfs, crc32c and dm_mod, and running udev... the prompts appear and sometimes... one of the bellies up.
<vidbina> s/one of the/one of them/
jtojnar has joined #nixos
<chreekat[m]> vidbina: actually yes. I don't use btrfs. I have the whole disk encrypted. I have to hard restart my laptop to continue
<vidbina> chreekat[m]: so it's probably not btrfs then... do you have any idea how to figure out what is actually failing?!?
<chreekat[m]> I have no idea how to start debugging it :(
<hyper_ch> infinisil: ok, it seems I managed to add a new option
<hyper_ch> infinisil: but what should I call it?
detran has quit [Ping timeout: 240 seconds]
<vidbina> chreekat[m]: I'm currently looking at my journalctl and if you search for stage-1-init perhaps we can find some clues
__Sander__ has joined #nixos
<ottidmes> vidbina: I have never had this happen, but I am not using the initrd.luks options, I just call cryptsetup in preLVMCommands myself
ma27 has quit [Ping timeout: 256 seconds]
<chreekat[m]> vidbina: good luck!
leotaku has quit [Ping timeout: 248 seconds]
ssmike1 has joined #nixos
<vidbina> chreekat[m]: thanks ottidmes: perhaps, I'll just try that instead. Thank for helping me to new ideas.
ssmike has quit [Ping timeout: 256 seconds]
ssmike1 is now known as ssmike
detran has joined #nixos
RHEA2013 is now known as amir
leotaku has joined #nixos
ma27 has joined #nixos
<ottidmes> vidbina: all you need is extraUtilsCommands = "copy_bin_and_libs ${pkgs.cryptsetup}/bin/cryptsetup"; and availableKernelModules = ["aes" "aes_generic" "aes_x86_64" "blowfish" "cbc" "cryptd" "dm_crypt" "dm_mod" "ecb" "lrw" "serpent" "sha1" "sha256" "sha512" "twofish" "xts" ];
<ottidmes> My list of availableKernelModules is probably overkill, I just added all potential ones
ssmike1 has joined #nixos
detran has quit [Remote host closed the connection]
ssmike has quit [Ping timeout: 256 seconds]
<vidbina> ottidmes: thanks for that. I'll give it a shot in a bit. Was wondering if you know when the system starts persisting logs to the journal?!? I've been sifting through my logs and only manage to find sessions where I managed to get into stage-2, but I remember within the last few boots having to restart because of a frozen prompt problem :-/. Slightly confusing and I'm starting to think that those cases
<vidbina> aren't at all logged to my journal.
detran has joined #nixos
<hyper_ch> clever: online?
hotfuzz has quit [Ping timeout: 256 seconds]
ssmike1 has quit [Read error: Connection reset by peer]
acarrico has quit [Ping timeout: 268 seconds]
<symphorien> vidbina: the logs can't be persisted before root fs is mounted
<FRidh> the_real_plumps: we could, but this issue bothers me
<ij> Should I be able to run nixos-rebuild from a chroot?
detran has quit [Ping timeout: 276 seconds]
<ottidmes> vidbina: As far as I know stage 1 are not logged, but if your system has a serial tty connection, you should be able to log those messages
michaelpj_ has joined #nixos
detran has joined #nixos
<vidbina> symphorien: aha... that's why I can't find anything of use in the logs :P. Is there something I can do when the system freezes to get more intel. ottimdes: what do you mean with a serial tty conn?!? I'm booting my laptop and I have no clue what a serial tty connection to my laptop would look like, even less how to get access to it.
<hyper_ch> FRidh: do you also use zfs?
<the_real_plumps> @FRidh yeah, me too. Did you really get odfpy as a substitute on your machine? Because have a look at https://hydra.nixos.org/build/67761002
<symphorien> vidbina: there are alternatives (I have never used them): pass an appropriate netconsole argument to the kernel so that it is debuggable from the network, or if your problem is a kernel panic, or there is boot.crashDump.enable but I think the mechanism is set up at stage 2 so, no luck here
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vNx3K
<NixOS_GitHub> nixpkgs/staging fac78c8 Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos [#nixos]
<FRidh> the_real_plumps: no, it was a local build
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from f065779 to 66dc266: https://git.io/v5aIf
<NixOS_GitHub> nixpkgs/python-unstable 16754b1 Frederik Rietdijk: python: adal: 0.4.7 -> 0.5.0
<NixOS_GitHub> nixpkgs/python-unstable 154db19 Frederik Rietdijk: python: agate-excel: 0.2.1 -> 0.2.2
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable ef93322 Frederik Rietdijk: python.pkgs.pyopenssl: move expression
detran has quit [Ping timeout: 240 seconds]
__Sander__ has quit [Ping timeout: 240 seconds]
<ottidmes> vidbina: A serial console is a old hardware feature that some systems still have and can be useful in these kind of situation, but I have not actually used them, I just learned about them myself. Here is some useful info: https://wiki.archlinux.org/index.php/working_with_the_serial_console
<ottidmes> vidbina: But I would definitely first try the netconsole kernel parameter, since you probably will not have a serial console on your laptop: https://wiki.archlinux.org/index.php/Netconsole
griff_ has joined #nixos
<vidbina> ottidmes: yeah... will try that. Sounds like a lot of fun. I'll need to find another computer though to be able to use the netconsole :P *Dusting off the Macbook, I have neglected for weeks*
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sjau opened pull request #34559: zfs: refactor - adding new option for support of new native encryption format (master...master) https://git.io/vNx3h
NixOS_GitHub has left #nixos [#nixos]
ssmike has joined #nixos
detran has quit [Ping timeout: 240 seconds]
ma27 has quit [Ping timeout: 276 seconds]
duckwho has quit [Quit: WeeChat 2.0.1]
<chreekat[m]> I have a suspicion that my Haskell deps aren't being built sufficiently parallel, but I'm not even sure how to check. I suppose there's also two levels that are competing: nix build jobs and ghc build jobs. Any pointers?
stphrolland has joined #nixos
ssmike has quit [Quit: ssmike]
<stphrolland> Hi! I cannot find the acpid.log file on my system. I thought it was there by defualt to record acpi messages in my system. Do I have to do something explicetly in nixos so as to have it ?
va1entin has quit [Quit: WeeChat 1.9.1]
detran has joined #nixos
sggg has joined #nixos
duckwho has joined #nixos
detran has quit [Read error: Connection reset by peer]
detran has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
<andi-> stphrolland: isn't acpid also logging to the systemd journal?
<stphrolland> I don't know. I'm gonna check.
Arcaelyx has joined #nixos
detran has quit [Ping timeout: 256 seconds]
<stphrolland> there are obviously some acpi messages :-) thx
<genesis> i try to setup my nix.nixPath = [ "/home/genesis/devel/nixpkgs" ]; in ~/.config/config.nix
<genesis> but nix doesn't find any package from my git clone
<genesis> any idea, i searsh the right syntax since a bit ...
knupfer has joined #nixos
<srhb> genesis: It's ~/.config/nixpkgs/config.nix
<srhb> But I'm not sure if that affects nix?
<srhb> I mean, it affects nixpkgs obviously.
<genesis> yes i mean ~/.config/nixpkgs/config.nix
<srhb> I think that's a NixOS option.
<genesis> hum i should set NIX_PATH instead ?
<srhb> That should work.
<stphrolland> andi-: I found what I needed, thanks for the indication
<andi-> ok
detran has joined #nixos
<infinisil> hyper_ch: maybe the option name should signify that it's only there temporary
<hyper_ch> infinisil: I'm open to suggestions... btw, you think the description is too long for the options?
<hyper_ch> also I think maybe my custom nixos patch for zfs should be somewhere also put
knupfer has quit [Ping timeout: 265 seconds]
<infinisil> hyper_ch: long options are nice, but you should format it properly with this xml stuff, otherwise I'm pretty sure it looks garbage when rendered
detran has quit [Ping timeout: 248 seconds]
<hyper_ch> infinisil: the rest is also just text... not sure how to do that differently
detran has joined #nixos
<infinisil> Why the hell is there no xml nixpkgs syntax reference anywhere
<infinisil> Would help writing this awful format a lot
<gchristensen> it is standard docbook
<gchristensen> maybe http://tdg.docbook.org/tdg/5.2/para.html would help?
<infinisil> gchristensen: <option> is standard too?
<gchristensen> infinisil: http://tdg.docbook.org/tdg/5.2/option.html yep
<infinisil> I would prefer a tight overview of the thing you usually need in nixpkgs
<infinisil> things*
<gchristensen> ok, well here is a thorough overview of everything you can use :)
ssmike has joined #nixos
leotaku has quit [Quit: WeeChat 2.0]
detran has quit [Ping timeout: 240 seconds]
<infinisil> Ugh
<infinisil> Well hyper_ch is the guy who needs to write xml right now :P
<gchristensen> I'm here to help!
ckauhaus has joined #nixos
raynold has joined #nixos
hakujin1 has joined #nixos
iyzsong has quit [Ping timeout: 260 seconds]
swayf has quit [Remote host closed the connection]
ent has quit [Remote host closed the connection]
swayf has joined #nixos
Dezgeg has quit [Quit: WeeChat 1.0.1]
datakurre has quit [Remote host closed the connection]
sggg has quit [Ping timeout: 260 seconds]
detran has joined #nixos
stphrolland has quit [Ping timeout: 252 seconds]
hakujin1 has quit [Ping timeout: 256 seconds]
swayf has quit [Ping timeout: 265 seconds]
leotaku has joined #nixos
detran has quit [Ping timeout: 256 seconds]
<genesis> still don't find how to set nix local repo ... :/
revtintin has quit [Ping timeout: 260 seconds]
datakurre has joined #nixos
<infinisil> genesis: put `export NIX_PATH="nixpkgs=path/to/your/local/nixpkgs:$NIX_PATH"` in a file that your shell sources (.bashrc if bash)
<infinisil> or .zshrc if zsh
<ckauhaus> or add `-I /path/to/your/nixpks` to your nix-* commands
<genesis> ok, i wonder why i can't do that in a nix way.
detran has joined #nixos
<genesis> i see nothing more with nix-env -qa
<infinisil> genesis: NIX_PATH is like the gateway to nixpkgs, it's like the bootstrap phase, it needs to start somewhere
<genesis> i mean on a non-nixos machine
<genesis> i try to avoid nix-channel and use my local repository
jtojnar_ has joined #nixos
detran has quit [Ping timeout: 260 seconds]
michaelpj_ has quit [Ping timeout: 256 seconds]
<jtojnar_> hedning[m]: how did you find out about XDG_SESSION_TYPE=wayland?
<genesis> indefini : so i've same pb as the author, and try to find a viable solution
jtojnar has quit [Ping timeout: 256 seconds]
<infinisil> genesis: you mean the nix-env -qaP not working thing? Yeah that would be solved by setting a nixpkgs entry in NIX_PATH
JosW has quit [Quit: Konversation terminated!]
<infinisil> and who is this guy indefini anyways, occasionally stealing my mentions
detran has joined #nixos
JosW has joined #nixos
swayf has joined #nixos
alexteves has joined #nixos
Dezgeg has joined #nixos
<bsima> so I did nix-copy-closure, and the artifact is in /nix/store, but it's not showing up in $PATH or nix-env -q
detran has quit [Ping timeout: 256 seconds]
azertyieio has joined #nixos
<infinisil> bsima: Just putting something in the store doesn't install it
<bsima> okay, how do I install it?
<infinisil> bsima: i think you should be able to do `nix-env -i /nix/store/foobar` to install it
<bsima> ok
<bsima> yep, it's showing up in `nix-env -q` but it seems i didn't package it correctly because the executable isn't here :(
<bsima> guess i'll start over
hellrazor has quit [Ping timeout: 256 seconds]
<bsima> thanks infinisil
detran has joined #nixos
<infinisil> bsima: the executable needs to be in the $out/bin path
hellrazor has joined #nixos
orivej has joined #nixos
<hyper_ch> infinisil: I think maybe it's better to put migration strategies into the wiki and reference the wiki article in the options
<hyper_ch> what do you think gchristensen?
<gchristensen> that seems like e a good idea
bpa has quit [Read error: Connection reset by peer]
detran has quit [Ping timeout: 256 seconds]
bpa has joined #nixos
<hyper_ch> https://github.com/NixOS/nixpkgs/pull/34559 gchristensen also if you have a better name for this additional option, feel free to give input
<infinisil> i personally like when i don't need to click a link to get relevant information
<infinisil> i never minded having big option descriptions, but get annoyed over too short ones a lot
<hyper_ch> it's the zfs format change for encrypted dataset... I think it's better to first give the option to migrate for some time and after a while removing it and just offer unstable one once more
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<gchristensen> infinisil: how (In what manner or way; by what means) do (To fulfill the requirements of) you (Used to refer to the one or ones being addressed) propose (To put forward for consideration, discussion, or adoption) we (Used to refer to people in general, including the speaker or writer) show (To display for sale) complex (Involved or intricate, as in structure) details (Particulars considered individually and in
Izorkin has joined #nixos
<gchristensen> relation to a whole: careful attention to detail) otherwise (In another way; differently)?
<samueldr> I'm confused, what does infinisil mean, gchristensen?
<samueldr> ;)
* infinisil starts his advanced language parser
detran has joined #nixos
<infinisil> gchristensen: heh, well wiki is fine for really big things sure, but a decently sized option desciption isn't bad imo
<samueldr> hmmmm, while I'm playing with my PR for bootloader refresh, I had an idea...
Izorkin has quit [Client Quit]
<hyper_ch> hwo do you access the nixos options from the cli?
<samueldr> how about adding a HiDPI boot option to reduce the need for squinting on the installer image?
<samueldr> (this would be done by loading a bigger console font ASAP)
Izorkin has joined #nixos
<infinisil> hyper_ch: man configuration.nix
jtojnar_ has quit [Quit: jtojnar_]
jtojnar has joined #nixos
<MichaelRaskin> On a true HiDPI the maximal size (32) is still not enough, or so I have been told.
<infinisil> samueldr: ++ to that
<MichaelRaskin> (Although of course it is still better than 16)
<gchristensen> sudoreboot[m]: _please_
<gchristensen> d'oh, samueldr ^
<samueldr> :D
<hyper_ch> how was first day of FOSDEM?
<genesis> infinisil nix-env -I /home/genesis/devel/nixpkgs/ -qa still gave me nothing :/
detran has quit [Ping timeout: 256 seconds]
<infinisil> genesis: nix-env -I nixpkgs=/home/...
<genesis> nix-env -I nixpkgs=/home/genesis/devel/nixpkgs -qa -> nothing
detran has joined #nixos
<mpickering> anyone fancy merging #30068 ?
detran has quit [Ping timeout: 240 seconds]
<gchristensen> wow, 4,000 PRs ago. mpickering can you rebase it against master?
<mpickering> I hope so
brodavi has joined #nixos
<sphalerite> genesis: nix-env -f ~/devel/nixpkgs -qa
dan_b has joined #nixos
<sphalerite> or if you want to use -I (which applies to nix-build et al as well), nix-env -I nixpkgs=/home/genesis/devel/nixpkgs/ -f '<nixpkgs>' -qa
<sphalerite> I have nix-env aliased to nix-env -f '<nixpkgs>' because it's basically always what I want, not the silly ~/.nix-defexpr behaviour which is inconsistent with all the other nix tools
stphrolland has joined #nixos
detran has joined #nixos
ssmike has quit [Ping timeout: 264 seconds]
<ckauhaus> good idea
<brodavi> hi folks! just started experimenting with containers... I've got one set up and running, but when I try to do nixos-container login mycontainer, I get the login prompt for the container, but my user's login doesn't seem to work. root-login works fine though. Any quick solution?
<brodavi> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.16, channels(root): "nixos-18.03pre126709.71631a922b4", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<samueldr> brodavi: the container won't use the users from your system
<samueldr> so unless you configured one, it won't work, and if you configured one, it won't have a password set
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e140d71d633 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
<brodavi> aaahhhh right! thanks samueldr ! I forgot about that
<mpickering> gchristensen: Should be rebased now
detran has quit [Ping timeout: 248 seconds]
dan_b has quit [Ping timeout: 240 seconds]
<infinisil> sphalerite: ah right
detran has joined #nixos
<genesis> oki sphalerite i should do that too.
<sphalerite> genesis: note that if you do that, you'll have to use nix-env -iA foo instead of nix-env -iA nixos.foo
<genesis> yeap, but i'm not on nixos ;)
<infinisil> sphalerite: I think maybe it's possible to do the same by writing a ~/.nix-defexpr/default.nix or smth like that
<infinisil> i don't like aliases very much
<sphalerite> genesis: right so instead of nix-env -iA nixpkgs.foo
<genesis> me too but i've some stuff to do, learning is doing stuff, not being stucking and nervous :)
<sphalerite> infinisil: I don't like .nix-defexpr more than I don't like aliases :D
bpa has quit [Read error: Connection reset by peer]
<infinisil> valid point
bpa has joined #nixos
detran has quit [Ping timeout: 256 seconds]
<hyper_ch> gchristensen: shortened description now
detran has joined #nixos
periklis has joined #nixos
18WAAEGPU has joined #nixos
<18WAAEGPU> [nixpkgs] grahamc pushed 5 new commits to master: https://git.io/vNxC1
<18WAAEGPU> nixpkgs/master 8b36295 Matthew Pickering: libroxml: init at 2.3.0
<18WAAEGPU> nixpkgs/master 5dbaf18 Matthew Pickering: Add mpickering to maintainers list
<18WAAEGPU> nixpkgs/master 9c7c640 Matthew Pickering: osm2xmap: init at 2.0
18WAAEGPU has left #nixos [#nixos]
7GHAB1G3I has joined #nixos
<7GHAB1G3I> [nixpkgs] grahamc closed pull request #30068: libroxml: init at 2.3.0 and osm2xmap: init at 2.0 c1f7b68 (master...osm2xmap) https://git.io/vdlwX
7GHAB1G3I has left #nixos [#nixos]
<leotaku> is it possible to only fetch a specific directory with fetchFromGitHub?
<mpickering> You can fetch it and then ${..}/dir if that works for you?
detran has quit [Ping timeout: 248 seconds]
<simpson> I think that you can also mess with sourceRoot in your derivation, depending on what you're doing.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 c6c57ef Gabriel Ebner: python2Packages.odfpy: disable tests...
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to release-17.09: https://git.io/vNxCb
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vNxCp
<NixOS_GitHub> nixpkgs/master 3d74ccf Venkateswara Rao Mandela: doxygen: 1.8.11 -> 1.8.14
NixOS_GitHub has left #nixos [#nixos]
<sphalerite> leotaku: to actually avoid downloading the rest, I don't think so
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #34517: doxygen: 1.8.11 -> 1.8.14 (master...doxygen) https://git.io/vNbNF
NixOS_GitHub has left #nixos [#nixos]
<leotaku> Ok, so moving and removing folders is probably what I want to do.
detran has joined #nixos
<mpickering> thanks gchristensen
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to staging: https://git.io/vNxWt
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/staging 24dff4b adisbladis: libuv: 1.18.0 -> 1.19.1
<NixOS_GitHub> nixpkgs/staging 1177bb7 adisbladis: nodejs: 9.4.0 -> 9.5.0
Xorkle has quit [Quit: ZNC 1.6.5 - http://znc.in]
detran has quit [Ping timeout: 248 seconds]
hellrazor has quit [Ping timeout: 240 seconds]
eceuv has joined #nixos
reinzelmann has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #34500: libuv: 1.18.0 -> 1.19.1 (staging...libuv-1.19.1) https://git.io/vNFyb
NixOS_GitHub has left #nixos [#nixos]
fyuuri has quit [Ping timeout: 276 seconds]
<hyper_ch> so, also added info to the wiki
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNxWz
<NixOS_GitHub> nixpkgs/master 93be6c4 adisbladis: firefox-devedition-bin: 59.0b5 -> 59.0b6
<NixOS_GitHub> nixpkgs/master d750b1a adisbladis: firefox-beta-bin: 59.0b5 -> 59.0b6
NixOS_GitHub has left #nixos [#nixos]
<eceuv> I'm writing a derivation that depends on one file (foo.txt), but I'd like that file to show up in the nix store in a directory (/nix/store/hash-name/foo.txt) and retain its original name rather than as a top-level file (/nix/store/hash-foo.txt). What's the best way to achieve this?
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] griff opened pull request #34562: nixos/rspamd: worker configuration, socket activation and tests (master...rspamd-workers) https://git.io/vNxWr
NixOS_GitHub has left #nixos [#nixos]
detran has quit [Read error: Connection reset by peer]
detran has joined #nixos
leotaku has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 264 seconds]
dbe_ has joined #nixos
xcmw has joined #nixos
xcmw has quit [Client Quit]
cnidario has joined #nixos
detran has joined #nixos
<dbe_> A package (st) this in it's derivation file: 'configFile = optionalString (conf != null) (writeText "config.def.h" conf)'. How do I pass in a 'conf' to this package?
<ottidmes> dbe_: You would call a package with conf set, nixpkgs/pkgs/top-level/all-packages.nix has ton of examples of this. Or did you mean something else?
<bsima> infinisil: turns out the executable was there, I was just looking at the wrong path in /nix/store :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 3 new commits to staging: https://git.io/vNxlE
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/staging 231eb68 adisbladis: librsvg: 2.40.18 -> 2.42.0
<NixOS_GitHub> nixpkgs/staging 7e5cf3b Vladimír Čunát: Merge #34083: librsvg: 2.40.18 -> 2.42.2
<NixOS_GitHub> nixpkgs/staging 9c8b87e Vladimír Čunát: librsvg: 2.42.0 -> 2.42.2 (maintenance)
<infinisil> eceuv: writeTextDir
detran has quit [Ping timeout: 240 seconds]
<infinisil> eceuv: example: pkgs.writeTextDir "foo" "Hi there!" -> /nix/store/hash-name/foo
<infinisil> hyper_ch: nice!
xcmw has joined #nixos
<hyper_ch> infinisil: what long options?
<infinisil> hyper_ch: Consider joining #nixos-wiki :)
<hyper_ch> ups, didn't scroll back
<hyper_ch> infinisil: nah, am in too many channels already
<infinisil> hyper_ch: You using a bouncer?
<hyper_ch> yes
<infinisil> znc?
<hyper_ch> feel free to correct spelling errors and fine tune the language :)
Arcaelyx has joined #nixos
<hyper_ch> are there other bncs?
<infinisil> no idea haha
<hyper_ch> :)
<hyper_ch> there probably are
<hyper_ch> but I only know znc
<hyper_ch> still need to see if I can get it to run on nixos
<infinisil> but with znc you can have detached channels, which you are joined, but don't show up in the client
<hyper_ch> then I can replace another box
<hyper_ch> what good are they for?
<dbe_> ottidmes: So... one way to install this package with my conf is to do some nix-instantiate --expr... uh... "nixos.stdenv.callPackage nixos.st { stuff }". wait, no, what's not right, because nixos.st is the fixpoint package? hrm, I guess there is too much I don't really understand
<hyper_ch> btw, the wiki was mean to me... wanted to know what the nixos package manager is called
<infinisil> hyper_ch: you can join many channels, but they won't clutter your client. I only keep the ones I'm most interested non-detached
<infinisil> Also it's possible to automatically un-detach them when you get highlighted in a detached channel
<hyper_ch> so why join the others?
<hyper_ch> still don't see the point :)
<infinisil> i have questions for other channels sometimes, or just want to check out what's happening there
<infinisil> keeps me updated if i want it
<hyper_ch> I don't :)
<hyper_ch> but didn't know about the detached option in znc
<infinisil> znc has many things you can do
detran has joined #nixos
<hyper_ch> except fixed channel order
<dbe_> ottidmes: thanks
<infinisil> hyper_ch: that's a client thing
<ottidmes> dbe_: And I guess the proper way to do it nowadays is to use your own overlay: https://nixos.org/nixpkgs/manual/#chap-overlays
<hyper_ch> infinisil: no, znc sometimes messes up the order
<infinisil> hyper_ch: i just think this should be handled by the client, it's a visual thing
<infinisil> znc doesn't need to have an ordering
<hyper_ch> well, once in a while order gets messed up
<hyper_ch> then I have to leave channels, kill znc, restart znc and reconnect channel
<hyper_ch> reconnect client to zns
detran has quit [Ping timeout: 256 seconds]
jgeerds has quit [Ping timeout: 248 seconds]
Xorkle has joined #nixos
detran has joined #nixos
jtojnar_ has joined #nixos
<Myrl-saki> How do I run the phases in nix-shell?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor opened pull request #34563: astyle: 2.05.1 -> 3.1 (master...astyle) https://git.io/vNx82
NixOS_GitHub has left #nixos [#nixos]
vidbina has quit [Quit: leaving]
<infinisil> Myrl-saki: genericBuild would do exactly what is done in a normal nix-build
<Myrl-saki> genericBuild seems to do too muc
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar_ is now known as jtojnar
<Myrl-saki> mkdir: cannot create directory ‘/nix/store/gza7233asmyn6269jlax0sm3fwh3rnxl-InsertTitle-0.1.0.0-doc’: Read-only file system
<hyper_ch> so, I think I've created enough PRs today for the next few months :)
jgeerds has joined #nixos
<mpickering> Can someone try running "nix-build /path/to/nixpkgs --attr idrisPackages.lightyear" and see if it succeeds?
<infinisil> Myrl-saki: Yeah, I haven't tried this, but it might work by just setting $out to some local directory instead
<symphorien> Myrl-saki: are you building a derivation which is already built, i.e. in the store ?
<Myrl-saki> symphorien: Yeah.
<mpickering> (on master if possible)
<symphorien> then $out is not writable
<symphorien> the installPhase is bound to fail
<Myrl-saki> Yes, I don't want to do installPhase either.
detran has quit [Ping timeout: 256 seconds]
<infinisil> mpickering: Ah, the idris thing, have been keeping up to date with the PR, will try out as I'm interested in idris working again :D
<Myrl-saki> nix-build builds too slow for me.
<infinisil> Myrl-saki: you should just do the phases you need then
<mpickering> I can't reproduce it on my branch or on master
<Myrl-saki> infinisil: That's the problem. It doesn't work.
<infinisil> symphorien: installing to the nix/store can't be done in a nix-shell in all cases anyways
<mpickering> I am at commit 360e01955003333f7d545eedf8b773311a2b7646
<symphorien> true
<Myrl-saki> Wait
<infinisil> mpickering: attribute 'platforms' missing still
<Myrl-saki> [nix-shell:~/Development/ASCIIVN/InsertTitle]$ configurePhase
<hyper_ch> infinisil: what's idris?
<Myrl-saki> no configure script, doing nothing
<symphorien> I thinks that `eval "$buildPhase$`
<mpickering> What commit is your nixpkgs at
<infinisil> hyper_ch: a reaaaaaally nice language, check it out: idris-lang.org/
<Myrl-saki> Thanks, that seems to work
<infinisil> mpickering: latest master
<hyper_ch> infinisil: no thx.... I have my hands full with bash and php
<infinisil> hyper_ch: idris is like one of the most beautiful languages, miles, thousands of miles ahead of php/bash
<infinisil> i am not even kidding
<hyper_ch> it has to be functional for me... not looking pretty
<infinisil> hyper_ch: oh idris is purely functional ;)
<Myrl-saki> Wtf
<Myrl-saki> Oh wait
<dhess> Dezgeg: looks like gmp is failing on armv7l, are you seeing that?
<infinisil> hyper_ch: i can really recommend idris, but if you want to learn more about it, I'll be in #idris, bit too offtopic for here
<hyper_ch> infinisil: no thx, I have plenty enough things on my plate
periklis has quit [Ping timeout: 252 seconds]
szpght has left #nixos ["WeeChat 1.6"]
detran has joined #nixos
<infinisil> aight :)
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<hyper_ch> it's not like I earn a dime developing stuff on the puters.... :)
<Myrl-saki> setupCompilerEnvironmentPhase: command not found
Izorkin has joined #nixos
<Myrl-saki> I'm so lost.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vNx4m
<NixOS_GitHub> nixpkgs/master 0ef512f John Wiegley: ditaa: 0.9 -> 0.11 (adds --svg support)
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #34411: ditaa: 0.9 -> 0.11 (adds --svg support) (master...ditaa-0.11) https://git.io/vN9i5
NixOS_GitHub has left #nixos [#nixos]
<infinisil> mpickering: I'm confused by your latest message in the PR
<mpickering> Which one
<infinisil> mpickering: Ah, got it, you didn't reply to me, but mentioned my name (https://github.com/NixOS/nixpkgs/pull/33069#issuecomment-362849695)
FRidh has quit [Quit: Konversation terminated!]
<mpickering> yes
<mpickering> perhaps there is something in your configuration forcing the platforms attribute which isn't in mine
detran has quit [Ping timeout: 248 seconds]
<mpickering> I only have "allowBroken = true" and "allowUnfree = true" in my .nixpkgs/config.nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah closed pull request #34282: mesa_drivers_glvnd: init (master...mesa-glvnd) https://git.io/vNPxX
NixOS_GitHub has left #nixos [#nixos]
<infinisil> mpickering: ah, hmm
<infinisil> Just earlier FRidh had a similar problem of not being able to reproduce an error, i wonder if that's related
MP2E has joined #nixos
magnetophon has quit [Ping timeout: 256 seconds]
detran has joined #nixos
<infinisil> mpickering: i only have allowUnfree = true in my config
<infinisil> stable nix version
<mpickering> I removed them and it made no difference
<infinisil> mpickering: alright try this: nix-build https://github.com/NixOS/nixpkgs/archive/0ef512fe7a24d12af7312b4877c5730ff89f2e2f.tar.gz -A idrisPackages.lightyear
ambro718 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vNx4Q
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 6b83438 Bjørn Forsman: bitscope: create derivations with version info...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #33889: bitscope: create derivations with version info (master...bitscope-version) https://git.io/vNCev
NixOS_GitHub has left #nixos [#nixos]
<infinisil> mpickering: this gives me the error
<mpickering> ok, trying now
<mpickering> thanks
<mpickering> didn't know you could pass a url to nix-build
<ambro718> it looks to me like octave is completely broken on nixos-unstable channel. Gives "error: 'x' undefined" for any variable used in a function.
<infinisil> yeah, really useful
<ambro718> (or I am going crazy?)
<infinisil> ambro718: like a nix error?
<mpickering> Can anyone trigger Grahamcofborg builds?
detran has quit [Ping timeout: 240 seconds]
<mpickering> infinisil: works fine for me
<hyper_ch> isn't it triggered automagically?
<Myrl-saki> [nix-shell:~/Development/ASCIIVN/InsertTitle]$ runHook "$prePhases" && runHook "$preConfigurePhases" && eval "$configurePhase" && eval "$buildPhase"
<Myrl-saki> This seems to work
<infinisil> mpickering: huuuuuuuuuuh whaaaat
<Myrl-saki> But I have no idea why~
<mpickering> Seems like I have the hardiest nixos install
<mpickering> I'm running as root, could that make a difference
<MichaelRaskin> hyper_ch: only today _some_ magic has been added
<infinisil> mpickering: i mean it's a nix error, so it should really be something wrong with the nixpkgs files
<hyper_ch> hi MichaelRaskin
<ambro718> infinisil: never mind, I just wasn't aware of some weirdness regaring meaning of file names...
<hyper_ch> I haven't bugged you with my problems for a long time
<MichaelRaskin> In general, instantiation runs are launched automatically, but _builds_ require an ack from someone with access
<mpickering> so does anyone here have access?
* hyper_ch eyes gchristensen
<MichaelRaskin> OK, OK
<MichaelRaskin> What do you want triggered?
reinzelmann has quit [Quit: Leaving]
<MichaelRaskin> In reality, a recent change gave partial access (-darwin) to all Nixpkgs committers.
<mpickering> I think that's not what we really want triggered though, rather on HEAD or https://github.com/NixOS/nixpkgs/pull/31327
detran has joined #nixos
<infinisil> yeah, just realized too
<infinisil> not sure if the bot can do that thouh
<mpickering> doing it on #31327 should be fine
<MichaelRaskin> Hmmmm
<genesis> is there some make wrapper to avoid setting CXX=g++ and so ? (makeFlags seems to work when we don't call make manualy ?)
<MichaelRaskin> Looks non-scary to me, and apparently shlevy wasn't too critical
<MichaelRaskin> idrisPackages.lightyear?
<MichaelRaskin> mpickering: Or a couple more?
detran has quit [Ping timeout: 248 seconds]
<infinisil> mpickering: Try running `nix-instantiate --eval -A idrisPackages.lightyear.meta.platforms` This fails for me
<infinisil> (on latest master)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] StijnDW opened pull request #34564: Add new package "ncpamixer" (master...master) https://git.io/vNxBV
NixOS_GitHub has left #nixos [#nixos]
spear2 has quit [Remote host closed the connection]
<MichaelRaskin> 31327 without 33069 is unbuildable
<MichaelRaskin> (because meta.platforms)
aborsu has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] P-E-Meunier opened pull request #34565: Carnix: 0.6.4 -> 0.6.5 (master...carnix-0.6.5) https://git.io/vNxBd
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vNxBb
<NixOS_GitHub> nixpkgs/master be40296 Bjørn Forsman: qmmp: 1.1.10 -> 1.2.0...
vcunat has quit [Quit: Leaving.]
detran has joined #nixos
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
nix-gsc-io`bot has joined #nixos
<ottidmes> Any factorio players here on the channel? I have the problem that the game cannot convert games to newer versions of the game because it gives a permission denied due it wanting to change something in the read only nix store.
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c6c57ef24a4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
Izorkin has joined #nixos
detran has quit [Ping timeout: 240 seconds]
<hyper_ch> §0
detran has joined #nixos
acarrico has joined #nixos
<LnL> genesis: now we already set the environment variables but a lot of builds just override it
<LnL> no*
<LnL> you should use cc or c++ tho, not the gcc specific name
ssmike has joined #nixos
bpa has quit [Read error: Connection reset by peer]
<mpickering> infinisil: I think it's because I have "allowBroken"
<genesis> my package has C++=clang++ in his makefile, i wonder if there something like in gentoo that override such mistake
<infinisil> mpickering: oh, does removing that make it work?
bpa has joined #nixos
<mpickering> If you look at "checkValidity"
<mpickering> line 192
<mpickering> stdenv/generic/check-meta.nix
<genesis> LnL : ithink i don't should call make but a wrapper, but i don't find.
<infinisil> mpickering: yeah makes sense
detran has quit [Ping timeout: 240 seconds]
<genesis> (on gentoo i'd use emake)
<infinisil> genesis: i think this can be overridden with the flags to make
<Ralith> genesis: hardcoding a specific compiler is a bug in your package's build system, and should be fixed upstream
<srid_irccloud> w00t! 5k monitor works on nixos \o/
<srid_irccloud> `(II) NVIDIA(0): Virtual screen size determined to be 5120 x 2880`
<Czen> awesome
knupfer has joined #nixos
<genesis> oki thanks
<mpickering> How can I check if "allowBroken" is set?
MP2E has quit [Remote host closed the connection]
detran has joined #nixos
MP2E has joined #nixos
<elvishjerricco> So, the VM I get from `nixos-rebuild build-vm` is stupidly slow. Any tips on speeding it up?
magnetophon has joined #nixos
srid_irccloud is now known as srid`
detran has quit [Ping timeout: 276 seconds]
<dhess> Any Hydra-savvy folks around?
detran has joined #nixos
detran has quit [Ping timeout: 240 seconds]
<ertes> i'm trying to upgrade slade (the doom editor) to 3.1.2, but i get this from cmake: 'Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES) (Required is at least version "3.0")'
acarrico has quit [Ping timeout: 256 seconds]
<ertes> does this ring a bell to anyone? i verified that in all-packages.nix the expression indeed receives wxGTK30
<ertes> slade 3.1.1.5, the current version, builds fine with otherwise exactly the same expression
detran has joined #nixos
<ertes> (trying to upgrade to git tab 3.1.2_b5 to be exact)
<ertes> s/tab/tag/
<mpickering> where could I possibly set allowBroken = true? I have unset it from configuration.nix and ~/.nixpkgs/config.nix
acarrico has joined #nixos
<MichaelRaskin> NIXPKGS_ALLOW_UNFREE in environment?
<elvishjerricco> mpickering: I think in configuration.nix, you have to use `nixpkgs.config.allowBroken = true;`
<mpickering> yes, I just commented out that line
<mpickering> MichaelRaskin: Not set
<mpickering> I just manually set "config = { allowBroken = false }" in mkDerivation and I can reproduce that problem now thank god
detran has quit [Ping timeout: 268 seconds]
ssmike has quit [Quit: ssmike]
<mpickering> found it
<mpickering> ~/.config/nixpkgs/config.nix
ssmike has joined #nixos
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
detran has joined #nixos
<elvishjerricco> Hm. Looks like the vm from `nixos-rebuild build-vm` doesn't automatically use KVM. But adding `-enable-kvm` still leaves it insanely slow
<pikajude> lol, hang on
<pikajude> does the doBenchmark option really not do anything
<pikajude> for haskell packages
<pikajude> i don't think it does
hakujin1 has joined #nixos
gilligan_ has joined #nixos
<mpickering> well it does add the benchmark dependencies at least
<mpickering> I don't think nixpkgs usually runs benchmarks?
alex`` has quit [Ping timeout: 276 seconds]
JosW has quit [Quit: Konversation terminated!]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c6c57ef24a4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
detran has quit [Ping timeout: 256 seconds]
hakujin1 has quit [Ping timeout: 252 seconds]
leotaku has joined #nixos
jgeerds has quit [Quit: Leaving]
alex`` has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34566: qmediathekview: init at 2017-04-16 (master...qmediathekview) https://git.io/vNxE9
NixOS_GitHub has left #nixos [#nixos]
<pikajude> well
<pikajude> yeah it adds the dependencies
<pikajude> but i'd expect the doBenchmark option to build the benchmark suite as well
niklob has joined #nixos
<pikajude> doCheck builds the testsuite after all
detran has joined #nixos
spear2 has joined #nixos
<ertes> i think i figured it out
<mpickering> MichaelRaskin: Can you click the merge button the that issue please? Thanks for your help, sorry for dragging you into this.
<bgamari> Is there any way to convince the new `nix build` to show output from builds?
<MichaelRaskin> mpickering: could you answer something to my question about setting a narrower meta.platforms first?
<mpickering> I answered
detran has quit [Ping timeout: 256 seconds]
<mpickering> Narrowing the platform here is the wrong thing to do surely if it's the dependencies which are broken
<ertes> how do i set cmake flags in an stdenv derivation?
<MichaelRaskin> Ah, convenient GitHub is convenient.
<MichaelRaskin> I see now
<MichaelRaskin> (the email notification arrived)
<ertes> (adding -DX=Y command line options)
<MichaelRaskin> Ah OK.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #33069: idris: fix modules (master...fix-idris-modules) https://git.io/vb5t3
NixOS_GitHub has left #nixos [#nixos]
<MichaelRaskin> I didn't look closely where the failure actually is.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vNxuz
<NixOS_GitHub> nixpkgs/master e193d86 Bjørn Forsman: astyle: 2.05.1 -> 3.1
NixOS_GitHub has left #nixos [#nixos]
<ertes> nevermind, figured it out (cmakeFlags)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #34563: astyle: 2.05.1 -> 3.1 (master...astyle) https://git.io/vNx82
NixOS_GitHub has left #nixos [#nixos]
<infinisil> ertes: yeah just was about to say
lambdafan has quit [Quit: leaving]
<ertes> infinisil: thanks… i just grepped nixpkgs for "cmakeflags" and was lucky =)
tertleeltret has joined #nixos
dan_b has joined #nixos
hiratara has quit [Ping timeout: 276 seconds]
detran has joined #nixos
hiratara has joined #nixos
<ertes> this project of "make NixOS great for doom editing" is sending me through all kinds of portals to hell =)
<infinisil> ertes: doom editing?
<MichaelRaskin> Hm, will you be able to notice success then?
<ertes> infinisil: building maps for the original doom (or rather its more modern source ports)
<infinisil> ertes: haha i see
<MP2E> neat to see another Doomer here, though I honestly haven't played much in quite a while.
<ertes> MichaelRaskin: well, i think my last hurdle is one particularly annoying bug in slade
<ertes> which is why i'm trying to upgrade
<ertes> and it looks like the build went through
ambro718 has quit [Quit: Konversation terminated!]
<MichaelRaskin> But even success will only give you more portals to hell…
Guanin has joined #nixos
<MP2E> i haven't tried it since last year but https://github.com/MP2E/nix-projects/blob/master/slade/default.nix
<MP2E> here's a slade expression I wrote that might work
<ertes> but at least those will be of my own creation in slade =P
<ertes> MP2E: i used the one from nixpkgs… the problem was that somewhere between 3.1.1.5 and 3.1.2_b1 the option to use wxwidgets webviews for the start page became the default, and nixpkgs doesn't seem to have wxwebview yet
detran has quit [Ping timeout: 240 seconds]
<ertes> i figured that out by git-bisecting the slade repo, because cmake's error message wasn't very helpful
<ertes> now that i disabled it again, slade builds, and it seems to run fine =)
<MP2E> ah nice, that's good
<ertes> but it didn't fix the bug =/
<MP2E> haha I checked my config and apparently I overwrite the wxGTK30 attribute to enable webkit for webviews https://github.com/MP2E/nix-projects/blob/master/nixpkgs-config/config.nix#L63
<MP2E> forgot about that
<MP2E> disabling the cmake flag is probably easier though
<MP2E> then you don't have to rebuild all of wxGTK :v
<ertes> i'm not using the start page anyway, so i didn't bother
<ertes> MP2E: do you use ACS scripting?
<MP2E> I've read other people's ACS but haven't written it
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gilligan opened pull request #34567: grobi: init at 0.3.0 (master...add-grobi) https://git.io/vNxzO
NixOS_GitHub has left #nixos [#nixos]
<ertes> ok, i guess i'll just report a bug upstream
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vNxz8
<NixOS_GitHub> nixpkgs/master d7bdfe4 Michael Weiss: nvme-cli: 1.4 -> 1.5
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos force-pushed master from d7bdfe4 to 88c16a6: https://git.io/a2S4Ow
<NixOS_GitHub> nixpkgs/master 88c16a6 Michael Weiss: nvme-cli: 1.4 -> 1.5
NixOS_GitHub has left #nixos [#nixos]
detran has quit [Ping timeout: 256 seconds]
detran has joined #nixos
viric has quit [Quit: moc]
<primeos[m]> "primeos force-pushed master from d7bdfe4 to 88c16a6" - Is the master branch intentionally not "protected" (GH setting) (just tried to overwrite my own commit out of curiosity)? IIRC the stable branches are protected. (@fpletz @grahamc or someone else)
detran has quit [Ping timeout: 276 seconds]
<MichaelRaskin> Erm. master branch isn't protected? niksnut ikwildrpepper domenkozar?
<MichaelRaskin> stable branches are protected, yes
<MichaelRaskin> Even staging is protected
aarvar has joined #nixos
<primeos[m]> Hm, strange...
chreekat has joined #nixos
coot has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #34568: carnix: 0.6.0 -> 0.6.5 (master...carnix-0.6.5) https://git.io/vNxgl
NixOS_GitHub has left #nixos [#nixos]
acarrico has quit [Ping timeout: 256 seconds]
ckauhaus has quit [Quit: Leaving.]
detran has joined #nixos
<fpletz> what the.. it should be protected and definiyely was at some point
<MichaelRaskin> Was there some convenient improvement to GitHub UI that unprotected master?
freeman42x[NixOS has quit [Ping timeout: 256 seconds]
hiratara has quit [Quit: ZNC - http://znc.in]
detran has quit [Ping timeout: 264 seconds]
hiratara has joined #nixos
MP2E has quit [Remote host closed the connection]
primeos has joined #nixos
chreekat has quit [Quit: quitting]
<srid`> I'm looking to get a gtk+ patch in nixpkgs master (cf. https://github.com/NixOS/nixpkgs/pull/25892/files#diff-9be1673bb42206c648aec0c894c231de) - but is not present in gtk+/3.x.nix of my machine. What's the recommended way to customize it? Directly edit the file (under /nix/var/...), which is probably bad, or ...?
chreekat has joined #nixos
detran has joined #nixos
detran has quit [Ping timeout: 256 seconds]
Svarog has quit [Quit: Ex-Chat]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34565: Carnix: 0.6.4 -> 0.6.5 (master...carnix-0.6.5) https://git.io/vNxBd
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34363: Carnix: 0.6.1 -> 0.6.4 (master...carnix-0.6.4) https://git.io/vNDb3
NixOS_GitHub has left #nixos [#nixos]
detran has joined #nixos
coot has quit [Ping timeout: 256 seconds]
MP2E has joined #nixos
griff_ has quit [Quit: griff_]
detran has quit [Ping timeout: 240 seconds]
<ertes> what's the date format again when using git revisions instead of releases? "20180129"? "2018.01.29"? "2018-01-29"?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #34570: nixos/emacs: set VISUAL along with EDITOR (master...emacs) https://git.io/vNx21
NixOS_GitHub has left #nixos [#nixos]
<srid`> "Warning: It is generally safe to switch back and forth between channels. The only exception is that a newer NixOS may also have a newer Nix version, which may involve an upgrade of Nix’s database schema. This cannot be undone easily, so in that case you will not be able to go back to your original channel."
<srid`> Is this applicable when upgrading to Nix 2.0 and nixos 18.03?
<infinisil> srid`: I heard from someone recently that this was the case like a year ago, but doesn't apply anymore
* srid` fearlessly proceeds with the upgrade
<infinisil> ertes: the last one
<ertes> thanks
pkill9 has quit [Ping timeout: 240 seconds]
<infinisil> ertes: https://xkcd.com/1179
detran has joined #nixos
leotaku has quit [Ping timeout: 256 seconds]
coot has joined #nixos
chreekat has quit [Ping timeout: 260 seconds]
leotaku has joined #nixos
* srid` finished upgrading and rebooted into X
<srid`> dpi issues fixed!
<ertes> haha
<MichaelRaskin> infinisil: But with dots it looks better if you suffix it after a version number
<srid`> chrome inherited the dpi, though emacs didn't (but i'll just increase its font size)
<ertes> infinisil: i was asking, because this is about version numbers, where i would think that dots are nicer
<ertes> "slade-git-2018.01.29" vs. "slade-git-2018-01-29"
johnw has quit [Quit: ZNC - http://znc.in]
stphrolland has quit [Ping timeout: 240 seconds]
<MichaelRaskin> Have there ever been an actual release?
<ertes> MichaelRaskin: of slade?
<MichaelRaskin> Yes
<ertes> yeah, nixpkgs master currently has the latest release 3.1.1.5, and 3.1.2 is currently beta
detran has quit [Ping timeout: 248 seconds]
nix-gsc-io`bot has joined #nixos
griff_ has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/cff5eec3825 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34568: carnix: 0.6.0 -> 0.6.5 (master...carnix-0.6.5) https://git.io/vNxgl
NixOS_GitHub has left #nixos [#nixos]
<MichaelRaskin> I would actually postfix the version like 3.1.1.5.2018.01.29
<ertes> ok
<MichaelRaskin> I am not saying I am right in this…
<ertes> my intuition tells me that since i'm making a separate "-git" package, it doesn't really have to contain a release version number… what do you think?
stepcut has joined #nixos
<ertes> there is "slade-3.1.1.5", and if my PR gets merged there would be "slade-git-2018.01.29"
stepcut has quit [Remote host closed the connection]
<MichaelRaskin> Then 3.2 gets released, then git package is not needed but has a different build process so it is not deleted, then someone looks at 3.2.5 and git-2018.02.07 and wonders.
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<ertes> makes sense… i'll include the version number =)
stepcut has joined #nixos
detran has joined #nixos
gilligan_ has quit [Quit: Leaving]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] esoeylemez opened pull request #34571: slade-git: init at 2018.01.29 (master...ertes-slade) https://git.io/vNxar
NixOS_GitHub has left #nixos [#nixos]
stphrolland has joined #nixos
stepcut has quit [Ping timeout: 256 seconds]
<infinisil> ertes: versions be versions, dates be dates
<infinisil> i think the dashes are used all over nixpkgs so I'd stick with that
aarvar has quit [Ping timeout: 248 seconds]
<infinisil> sometimes it's better to have a standard and stick to it, even though it might not be perfect (which is subjective anyways)
detran has quit [Ping timeout: 248 seconds]
<MichaelRaskin> Well, comparability of related packages is more important than uniformity of versioning across unrelated pacakges.
<leotaku> is it possible to specify a runtime dependency for a vim plugin?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] esoeylemez opened pull request #34572: doom-bcc-git: init at 2018.01.04 (master...ertes-bcc) https://git.io/vNxax
NixOS_GitHub has left #nixos [#nixos]
<leotaku> *custom vim plugin
<ertes> infinisil: too late… i'll just let the reviewer decide
<ertes> i don't have any strong opinions on this myself
<ertes> personally i'm more interested in getting the tools into nixpkgs =P
detran has joined #nixos
<infinisil> well yeah, it's a minor thing of course
<infinisil> just for reference though: there's 15 times more instances of YYYY-MM-DD than YYYY.MM.DD
<infinisil> in nixpkgs
<ertes> and i guess i can close the PR for ACC… the licensing issue is really annoying, and i didn't know about BCC when i issued it
<ertes> infinisil: if this really bothers you, i don't mind changing the format
brodavi has quit [Quit: Page closed]
<infinisil> nah it's fine :P
niklob has quit [Quit: Leaving]
<infinisil> just felt like testing my command line skills to count those numbers heh
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] esoeylemez closed pull request #34372: acc: init at 1.56 (master...ertes-acc) https://git.io/vNyZE
NixOS_GitHub has left #nixos [#nixos]
aborsu has quit [Quit: aborsu]
aarvar has joined #nixos
<ertes> ok =)
detran has quit [Ping timeout: 268 seconds]
knupfer has quit [Ping timeout: 276 seconds]
detran has joined #nixos
<leotaku> does anyone here know if it is possible to add runtime dependencies to Vim packages installed through nixpkgs+vam
pkill9 has joined #nixos
simukis has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 256 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yegortimoshenko has quit [Ping timeout: 255 seconds]
xcmw has joined #nixos
yegortimoshenko has joined #nixos
chreekat has joined #nixos
detran has joined #nixos
magnetop` has joined #nixos
magnetophon has quit [Ping timeout: 256 seconds]
cnidario has quit [Remote host closed the connection]
detran has quit [Ping timeout: 256 seconds]
ssmike1 has joined #nixos
m0rphism has quit [Quit: WeeChat 2.0]
detran has joined #nixos
ssmike has quit [Ping timeout: 256 seconds]
ssmike1 is now known as ssmike
m0rphism has joined #nixos
bpa has quit [Remote host closed the connection]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
detran has quit [Ping timeout: 240 seconds]
stphrolland has quit [Ping timeout: 268 seconds]
oida has joined #nixos
LnL has quit [Quit: exit 1]
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34536: qgit: 2.6 -> 2.7 (master...update/qgit-2.7) https://git.io/vNN5M
NixOS_GitHub has left #nixos [#nixos]