<rotaerk>
hmm what's the appropriate way to cleanup the old grub entries? garbage-collection alone didn't seem to do it
<gchristensen>
collect garbage then nixos-rebuild boot
<rotaerk>
thanks; worked
keith_analog has joined #nixos
<keith_analog>
Hi, I would like to install enpass, but can't seem to find the package location. It's not listed in the official nixos package web page, but I find a build script here https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/security/enpass/default.nix. Anyone know how I can get this package into my .nix configuration? thanks
<ndowens08>
environment.systemPackages = with pkgs [ pkg1 pkg2 etc ];
marsam has quit [(Ping timeout: 240 seconds)]
dhess` has joined #nixos
eacameron has joined #nixos
dhess` has quit [(Ping timeout: 246 seconds)]
<mounty>
Thanks all for your assistance; my web server is up and running on my nixos VM and I'm connecting to it from a browser on another machine on the network. Smoke test complete.
<mounty>
Next step is to commit the bits needed for building under nixos.
<keith_analog>
ndowens08: super, it worked! thanks
keith_analog has quit [(Quit: leaving)]
<ndowens08>
well couldnt even say your welcome lol
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
markus1189 has joined #nixos
markus1199 has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
markus1219 has quit [(Ping timeout: 240 seconds)]
deepfire has quit [(Ping timeout: 256 seconds)]
markus1209 has quit [(Ping timeout: 240 seconds)]
Kingsquee has joined #nixos
stepcut has quit [(Remote host closed the connection)]
<rotaerk>
when I try to run gpg, it says I can install it with nix-env -iA nixos.gnupg1orig
<rotaerk>
why's it recommending that and not gnupg or gnupg21
ixxie has quit [(Read error: Connection reset by peer)]
<c74d>
one of those is `services.openssh.extraConfig`, which takes a string that will be inserted into the normal SSHd config file
hexagoxel has joined #nixos
<c74d>
so in that option one can use any option listed in `man sshd_config`
<YellowOnion>
Nix has serious SEO issues, everytime I search for help, I get github packages.
<ndowens08>
most of the activity is on github lol, but for SEO, out of my area :\
dhess` has quit [(Ping timeout: 240 seconds)]
stepcut has joined #nixos
<YellowOnion>
I'm starting to think there's something unique to the declarative brain, Haskell community has a unique way of handling documentation that I still have trouble navigating.
<spacekitteh[m]>
"shit" is the word you're looking for
Piece_Maker has joined #nixos
ozer has joined #nixos
<ozer>
\]
Acou_Bass has quit [(Ping timeout: 240 seconds)]
Piece_Maker is now known as Acou_Bass
<ozer>
I'm trying to create a package that contains both global targets (binaries, systemd service) as well as development targets (development headers, shared library). It doesn't seem like I could specify such a package in either one of configuration.nix or a shell.nix?
ndowens08 has quit [(Ping timeout: 264 seconds)]
* jack[m]
ponders the dearth of north american NixOS meetups/release parties.
<YellowOnion>
spacekitteh[m], it's more that documentation, even when it is good, is structured differently, the nix-os manual is very detailed, but It's very top heavy.
<spacekitteh[m]>
yeah
<jack[m]>
YellowOnion: I think a nix cookbook would be handy.
<YellowOnion>
jack[m], I assume there's good documentation somewhere, just google is not helping me lol.
andymandias has joined #nixos
<jack[m]>
YellowOnion: Well, the nix manual describes things like a LRM does, but it doesn't really show you when and how to use things like fold and map.
<YellowOnion>
"You can select specific packages by name:" <- this should use the word "search" or "find".
<ozer>
can I use the same package in my configuration.nix as in shell.nix?
<MichaelRaskin>
Yes
<YellowOnion>
Also does nix-env -i <package> create a .nix file somewhere?
<MichaelRaskin>
It is supposed to install a package from existing expression
<MichaelRaskin>
I don't remember if the list of installed packages in the environment is technically a valid Nix file
<YellowOnion>
I was thinking if nix is all about reproducibility, using -i, should create something I can replicate somewhere else.
mguentner2 has quit [(Quit: WeeChat 1.7)]
<MichaelRaskin>
-i can create a hard-to-replicate environment, actually
<YellowOnion>
oh, so I should avoid using it then.
<MichaelRaskin>
Reproducible environments are more of nix-shell thing
<MichaelRaskin>
If you nix-env -i and rarely update, you can end up with a mix of versions from different revisions of NixPkgs
<spacekitteh[m]>
hmm... cp: cannot stat '/home/spacekitteh/code/copperhead/automation/unrequired.xml': No such file or directory
<spacekitteh[m]>
but
<spacekitteh[m]>
the file is there
<spacekitteh[m]>
o.O
<MichaelRaskin>
Is it from inside build?
<MichaelRaskin>
Sandboxing magic!
<spacekitteh[m]>
ya
<spacekitteh[m]>
how to fix?
<YellowOnion>
So I'm trying to get a server to listen on a port, I've disabled the nix firewall, but I still can't see the port open.
<MichaelRaskin>
YellowOnion: on NixOS you can just add things to systemPackages; you also can use nix-build + buildEnv anywhere
<MichaelRaskin>
Is there a process actually waiting for a connection?
mguentner has joined #nixos
<MichaelRaskin>
spacekitteh[m]: maybe you have put the path in quotes?
<spacekitteh[m]>
nope
<YellowOnion>
MichaelRaskin, I'm not sure ha, trying to run a windows exe based server in wine.
<MichaelRaskin>
Try "" + /path/to/file maybe?
<MichaelRaskin>
Hm
<YellowOnion>
it's open, but netstat -l is not showing anything
<MichaelRaskin>
Maybe you need to press something for it to start actually listening?
drasich has quit [(Ping timeout: 246 seconds)]
<YellowOnion>
log file says it's listening on 0.0.0.0:7777
<MichaelRaskin>
MAybe try nc -v 127.0.0.1 7777
ebzzry has joined #nixos
<YellowOnion>
connection refused
<YellowOnion>
maybe I haven't actually turned off the firewall?
<YellowOnion>
nixos-rebuild switch --upgrade is the correct command right?
<spacekitteh[m]>
yes
<MichaelRaskin>
I am not even sure local-to-local connections are firewalled by default
carlosdagos has joined #nixos
alx741 has quit [(Quit: alx741)]
carlosdagos has quit [(Ping timeout: 240 seconds)]
<YellowOnion>
does my user need permission to create listen ports? :\
takle has quit [(Remote host closed the connection)]
<MichaelRaskin>
Not 7777…
<MichaelRaskin>
Below 1024 permissions are needed
<YellowOnion>
ohh wait it's udp.
<YellowOnion>
alright, so I can connect via udp
<YellowOnion>
and netstat shows the listen if I force udp mode.
dhess` has joined #nixos
eacamero_ has quit [(Remote host closed the connection)]
eacameron has joined #nixos
dhess` has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has joined #nixos
mizu_no_oto has quit [(Client Quit)]
takle has joined #nixos
ozer has quit [(Quit: Page closed)]
pxc has quit [(Ping timeout: 240 seconds)]
<YellowOnion>
woo!, looks like atleast some of the server is working
takle has quit [(Ping timeout: 256 seconds)]
mguentner2 has joined #nixos
mguentner has quit [(Ping timeout: 258 seconds)]
proteusguy has quit [(Remote host closed the connection)]
mizu_no_oto has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
systemfault has quit [(Quit: Bye!)]
mounty has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] MP2E pushed 1 new commit to master: https://git.io/vSIaI
<NixOS_GitHub>
nixpkgs/master 7bd73bd Cray Elliott: obs-studio: use upstream crash fixes, drop patch
ebzzry has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
systemfault has joined #nixos
systemfault has quit [(Max SendQ exceeded)]
systemfault has joined #nixos
takle has joined #nixos
eacameron has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 240 seconds)]
dhess` has joined #nixos
drasich has joined #nixos
dhess` has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
<calvertvl>
found a couple of already resolved issues; who should get mentioned to close them?
<unlmtd[m]>
is there an 'unstable' manual ?
eacameron has quit [(Ping timeout: 240 seconds)]
<jack[m]>
spacekitteh; also restricted evaluation
<spacekitteh[m]>
jack ?
<jack[m]>
spacekitteh: (reading up) if you start nix in 'restricted eval' mode, there are restrictions on which paths it will pull.
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<jack[m]>
Ah. 'restrict-eval'
<spacekitteh[m]>
can you elaborate?
Rizy has quit [(Quit: Rizy)]
Rizy has joined #nixos
<jack[m]>
Oh. I'm working up to understanding the error message you posted.
* spacekitteh[m]
nodnods
<jack[m]>
As MichaelRaskin alluded to, if you reference the bare file a nix expression, nix copies the file into the store and use that value. If you got the original path, then something prevented that?
<spacekitteh[m]>
hmm, true
rizary has joined #nixos
takle has joined #nixos
<jack[m]>
trace may help: src = builtins.trace "${builtins.toString ./.}" ./.;
<jack[m]>
Hrm. That didn't do what I expected.
takle has quit [(Ping timeout: 260 seconds)]
zraexy has joined #nixos
deepfire has joined #nixos
carlosdagos has joined #nixos
mk-fg has quit [(Quit: o//)]
carlosdagos has quit [(Ping timeout: 240 seconds)]
<mounty>
Mar 26 19:38:37 nixos systemd[1]: Started hydra-server.service.
<mounty>
Mar 26 19:38:40 nixos hydra-server[905]: [warn] Unicode::Encoding plugin is auto-applied, please remove this from your appclass and make sure to define "enco
<mounty>
Mar 26 19:38:47 nixos hydra-server[905]: DEPRECATION WARNING: The Regex dispatch type is deprecated.
<mounty>
Mar 26 19:38:47 nixos hydra-server[905]: It is recommended that you convert Regex and LocalRegex
<mounty>
Mar 26 19:38:47 nixos hydra-server[905]: methods to Chained methods. at /nix/store/8wgq8vy1lqf54ckirvcfzhjd8wbh3akn-hydra-perl-deps/lib/perl5/site_perl/5.2
<simendsjo>
I have a derivation for the mt7610u driver. Now I need to add this from my configuration.nix. I've used `with import <nixpkgs> {};` at the top of my file in order to build it, but I guess I should change this to `{ stdenv, fetchurl, kernel }`. Not sure how I can inject this into my configuration file though. Any tips?
<dmj`>
simendsjo: inside of configuration.nix you can specify an overrides section, nixpkgs.config = { packageOverrides = pkgs: { .. here .. } };
<dmj`>
note, nixpkgs becomes pkgs
<dmj`>
so if you override it in nixpkgs, you can use it in pkgs.foo
<arianvp2>
hmm...
<arianvp2>
pdflatex still not in scope
<arianvp2>
odd
<arianvp2>
so. pdflatex is inside scheme-small
<arianvp2>
but if I put it in my nix-shell it is not in scope
<arianvp2>
what am I doing wrong?
<simendsjo>
dmj`: Still not sure how I should do it. How can I import my file there? I have derivation with the name `mt7610u_3002-4.4.25` defined inside, but I don't know a lot of nix, so I'm blank on how to actually get it into configuration and my kernel.
<dmj`>
arianvp2: pdflatex is in tetex
<dmj`>
nix-shell -p tetex
<arianvp2>
it is also in scheme-small.
<arianvp2>
but I'm probably using the pkgs.texlive.combine functionality incorrectly
<simendsjo>
dmj`: Thanks. Now my configuration.nix builds. I cannot add it to `environment.systemPackages` though (undefined variable). Is it enough to add it in the override thing?
<dmj`>
arianvp2: oh wow, never would have guessed it worked that way, don’t mind if I fork that
<dmj`>
simendsjo: strange, another thing you could try, is to just import it inside environment.systemPackages
<ndowens08>
simendsjo: do environment.systemPackages = with pkgs; [ pkg names here]; and put pkgs tag in function at too
<ndowens08>
Top
<clever-afk>
simendsjo: you still need to access it within the pkgs argument passed to configuration.nix on line 1
<dmj`>
simendsjo: what clever-afk says, are you using pkg.<name> when referencing it?
<arianvp2>
dmj`: lemme make a nice template for you :)
<arianvp2>
with a default.nix for builds
<arianvp2>
sec
clever-afk is now known as clever
<dmj`>
arianvp2: aw, you don't have to, but ok :)
<mounty>
I've discovered the problem with hydra-server. It uses Perl.
<ndowens08>
Or you can do as dmj and clever says. I have mine the way I told ya can do it
<arianvp2>
I have to build it anyway, so I can build my thesis :P
<mounty>
Maybe I should be using Jenkins.
<clever>
mounty: there is a project underway to redo hydra in haskell
<dmj`>
mounty: perl > java
<mounty>
I think hydra-server is already in Haskell; its logging is in exactly the format produced by Yesod.
<dmj`>
mounty: it’s all perl
<dmj`>
mounty: I’m using two hydras from 16.09 and they work fine
<dmj`>
mounty: can you show your configuration.nix
<arianvp2>
you never want jenkins
<arianvp2>
oh god it caused so much trouble for me in the past
<arianvp2>
there is a guy rewriting hydra into haskell and elm iirc
<simendsjo>
dmj`: Now `mt7610u` in `systemPackages` become `undefined` rather than `missing` and `pkgs.mt7610u` is still `missing.
eacameron has quit [(Ping timeout: 256 seconds)]
<dmj`>
simendsjo: are you just using a nix channel, or are you also using your own checkout of nixpkgs
<dmj`>
can you echo $NIX_PATH for me
<simendsjo>
No, nothing special there. I've just installed nixos on my desktop. nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<simendsjo>
<arianvp2>
woohoo \o/
<simendsjo>
I have system.stateVersion = "16.09"; in my configuration.nix too
<dmj`>
arianvp2: first hydra, then hackage, and then….. the world
<arianvp2>
that moment you need to write a report but strugle 2 hours with your OS to build LaTeX files cleanly
<arianvp2>
:D
<arianvp2>
but the end result is clean
<dmj`>
must be some thesis to need a build system ;)
<arianvp2>
every thesis needs a build system
<arianvp2>
especially theses about build systems
<YellowOnion>
argh, ok this is the 2nd time my server has died, for no reason.
<dmj`>
forall thesis, there exists a thesis about build systems that needs a build system
rizary is now known as Rizy
<rmrfroot>
arianvp2: let me know when your thesis about build systems is done so I can write a thesis about my build system that builds your thesis about build systems.
carlosdagos has joined #nixos
Rizy is now known as rizary
<YellowOnion>
how dead does a server have to be for novnc to not work?
<mounty>
the problems keep shifting each time I try it; I just rebooted and this time hydra-server starts up, prints "2017/03/26-20:45:35 Unresolveable host [result]:5000 via IPv4 gethostbyname" and exits.
<mounty>
... that's the first time that's happened, as far as I am aware.
<dmj`>
arianvp2: maybe in the nixpkgs manual ,there is a haskell section in there, maybe could make a TeX section
<arianvp2>
alright i'll put it on the TODO list
arianvp2 has quit [(Quit: Page closed)]
<rmrfroot>
arianvp2: are you using `texlive.combine`? would be awesome with docs for TeX, last time I looked at it there were different packages and outdated docs.
<YellowOnion>
gchristensen, yeah maybe, I'll email them, I wonder if I could find a log someone to help with the issue though.
<manveru>
what's the way to set tarball-ttl if you're not using nix-daemon?
simendsjo has quit [(Quit: ERC (IRC client for Emacs 24.5.2))]
<rmrfroot>
YellowOnion: what provider are you using?
<YellowOnion>
rmrfroot, vultr
<rmrfroot>
YellowOnion: interesting, not familiar at all with them
<NixOS_GitHub>
[nixpkgs] ljli opened pull request #24350: libguestfs: add qemu to wrapped PATH (master...libguestfs-qemu-dep) https://git.io/vSIMj
<dmj`>
nixpkgs does need better docs
<dmj`>
it’s like a swarming beehive
simendsjo has joined #nixos
<YellowOnion>
rmrfroot, one of the few cheap providers with custom ISO support, and a VPS in Oceania
<rmrfroot>
YellowOnion: alright, cool! where are they based initially?
xadi has quit [(Quit: Leaving.)]
Jackneill has joined #nixos
<YellowOnion>
rmrfroot, Florida I think atleast that is where they do all their legal proceedings.
ebzzry has quit [(Ping timeout: 256 seconds)]
<rmrfroot>
YellowOnion: ah ok!
<YellowOnion>
rmrfroot, looks like their office is in New York.
<YellowOnion>
so where do I find error logs in nix?
<rmrfroot>
YellowOnion: error logs of what?
<YellowOnion>
rmrfroot, system, dmesg, systemd, anything that might hint to why my VPS is dying.
<rmrfroot>
are you using NixOS? or some other distribution that uses nix as the package manager?
<clever>
YellowOnion: all logs are in the journal, so you need journalctl to read them
<rmrfroot>
clever: do you happen to know if the journal is persistent in NixOS by default?
<clever>
rmrfroot: it is, ive seen it grow to 4gig
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<clever>
rmrfroot: on my laptop, it goes back to dec 24th
<rmrfroot>
clever: alright, thanks for clarifying
m0rphism4 has joined #nixos
m0rphism3 has quit [(Ping timeout: 240 seconds)]
<clever>
rmrfroot: heh,and this system was installed on the 24th
<rmrfroot>
clever: christmas gift to yourself? ;D
<clever>
switched the hdd from gentoo to nixos
<rmrfroot>
just checked my install "Logs begin at Tue 2016-06-07 22:22:02", no wonder journal is a bit slow when you want to scroll to the end :P
<clever>
yeah, -b 0 can speed it up a lot
<clever>
that limits the log to the current boot
<YellowOnion>
the log has zero information in it pertaining to why the system was not responsive :\
dhess` has joined #nixos
<rmrfroot>
clever: ah, nice tip!
<clever>
rmrfroot: you can also -b -1 to view the previous boot only
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/vSID5
<NixOS_GitHub>
nixpkgs/release-17.03 eacd671 Edward Tjörnhammar: nixos, openafs-client: correct serviceConfig...
d762b440__ has joined #nixos
<rmrfroot>
clever: cool, thanks :) that's very useful
<rmrfroot>
YellowOnion: what problems were you facing? no being able to reach the system at all?
<rmrfroot>
anyone seen that SELinux coloring book? I wonder what a NixOS coloring book would look like :D
<YellowOnion>
rmrfroot, yeah can't reach the system at all, even their Virtualised terminal, is not working.
<clever>
YellowOnion: how about forcibly restarting it?
<simendsjo>
I'm really on deep water here. I've tried a lot of different combinations of packageOverride, naming, prefixing stuff etc, but I'm not able to add my package to configuration.nix (not able to find the mt7610u package I'm defining).
<YellowOnion>
clever, I don't really want to have to restart a VPS ever time it stops responding.
<clever>
YellowOnion: how much of a gap is there in the journal, between the last message and it booting back up?
<YellowOnion>
2hrs
<joepie91>
rmrfroot: the book would have to be regenerated for every new drawing, and any colouring outside the lines would disappear on the next nix-colouring-book rebuild :D
<clever>
YellowOnion: sounds like it froze and was unable to log things
<clever>
YellowOnion: what FS?
dhess` has quit [(Ping timeout: 240 seconds)]
<YellowOnion>
clever, file system? ext4
<clever>
YellowOnion: what type of VPS?
<rmrfroot>
joepie91: haha
<clever>
YellowOnion: any swap?
hashhar has left #nixos ["hashhar has gone back to real life for the moment."]
<YellowOnion>
clever, vultr (HVM I think), 1GB of swap.
<joepie91>
Vultr is KVM
<joepie91>
well
<joepie91>
QEMU/KVM
<clever>
ah
<clever>
YellowOnion: what channel are your running?
<YellowOnion>
what ever the default is.
<simendsjo>
I found the error! I was using `packagesOverrides` rather than `packageOverrides`.
<roundhouse>
hi, I get an error about a missing libcurl-gnutls.so.4 when trying to start "don't starve" in the nix-shell environment recommended on the wiki. I tried adding curlFull to the packages, did not help. Any ideas?
<NixOS_GitHub>
[nixpkgs] grahamc pushed 1 new commit to release-17.03: https://git.io/vSISq
<YellowOnion>
clever, still trying to get my head around the scripting language, I put this in to configure.nix, but get mingetty not defined.
<clever>
oh right, it has to go within services = { ... };
<clever>
or prefix it with services.
<YellowOnion>
ahh.
<clever>
services = { mingetty.helpLine = "..."; }; reduces the duplication, no need to say services. 20 times in a file
<clever>
but some context is lost if you copy/paste a line from the middle
<YellowOnion>
would I need to restart for these settings to apply?
suvash_away has quit [(Ping timeout: 240 seconds)]
alanz has quit [(Ping timeout: 240 seconds)]
<clever>
YellowOnion: maybe, you can also echo that control string to /dev/console and /dev/tty1
simendsjo has quit [(Quit: ERC (IRC client for Emacs 24.5.2))]
m0rphism has joined #nixos
suvash_away has joined #nixos
m0rphism4 has quit [(Ping timeout: 260 seconds)]
<Mic92>
gchristensen: I was not familiar with this sports jargon.
<gchristensen>
Mic92: ohh fair :) it is common a common phrase outside of sports in the USA
<YellowOnion>
clever, it's strange, both time these errors have happened, they happened within like 2 hrs of me idling the putty session.
mizu_no_oto has joined #nixos
<Unode>
hi all, is the nix-shell from nix-1.11.7 broken in some way? I'm running "nix-shell custom.drv --run 'python3 script.py'" but nothing happens and it all ends successfully.
<Mic92>
gchristensen: I will soon relocate to UK to so my language skills will improve...
<Unode>
Also what's the correct encoding for the weird character that is now shown to delimit paths on nix messages. On cronjobs I now get: "path âÂÂ/share/nix ..."
<Unode>
with regards to nix-shell, the same command worked fine with nix-shell 1.11.6
<gchristensen>
Mic92: your language skills are very good
<Mic92>
gchristensen: good be better for paper writeups
<clever>
YellowOnion: did it not respond after trying to reconnect?
<clever>
YellowOnion: a lot of routers dont like it when you idle in putty
<Mic92>
*could be better
<Unode>
this is the nix recipe http://dpaste.com/03HCYKP used to create the 'custom.drv' mentioned above.
<YellowOnion>
clever, that's when it stops responding, I left it building wine64 last time, and it failed half way through because I didn't need to be there.
<clever>
YellowOnion: could be that it just ran out of swap&ram
<Unode>
<- has had that. Check 'dmesg'
<YellowOnion>
it worked the 2nd time.
<Unode>
I've had things failing due to max-jobs = 2 running 2 large ones simultaneously.
<clever>
Unode: harder to check dmesg if its entirely unresponsive
<Unode>
oh sorry, I missed the beginning of the conversation
<YellowOnion>
Unode, that's IRC for you :P
<YellowOnion>
thinking I might just run journalctl -f and see if it prints anything to me before it dies again.
<Unode>
dtzWill: about those test-lock hangs. Rebuilt the tree on a different /share . They are gone. gnutls still got stuck though on this fastconnect test. Blaming it on selinux for now. All else is now much saner.
goibhniu has joined #nixos
<Unode>
dtzWill: and speaking of warming it up. spidermonkey is likely a winner. The testsuite took ages to finish.
<Unode>
I think someone was asking this the other day but I didn't follow the answer, does nix store build/test times somewhere?
<YellowOnion>
clever, anyway, thanks for the help, I'm heading to bed, it's almost 2am, and I got a lunch date tomorrow.
<Unode>
YellowOnion: :) best of luck
<Unode>
Is there any way to force 'nix' to only output ASCII in its verbose messages?
griff_ has joined #nixos
Tahr64-user has joined #nixos
<Unode>
seems like no...
dhess` has joined #nixos
<Tahr64-user>
this is my first time on this channel.. is it an active one? I see a lot of users
<Unode>
Tahr64-user: if you have any questions go ahead and ask, if someone knows they'll help
alanz has joined #nixos
<Tahr64-user>
Oh no, I don't have any yet. Was just curious is all. I'm sure I'll have plenty of questions in the future.
<Tahr64-user>
Thank you though
<Yaniel>
it is a rather active channel, yes
cfricke has joined #nixos
<gchristensen>
_most_ active in the CET timezone's daylight hours, but there are many people from around the world
dhess` has quit [(Ping timeout: 240 seconds)]
hexanode has joined #nixos
reinzelmann has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
carlosdagos has joined #nixos
eacameron has quit [(Ping timeout: 264 seconds)]
m0rphism1 has joined #nixos
carlosdagos has quit [(Ping timeout: 264 seconds)]
m0rphism has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
takle has quit [(Remote host closed the connection)]
reinzelmann has joined #nixos
eacameron has quit [(Ping timeout: 264 seconds)]
takle has joined #nixos
rnhmjoj has joined #nixos
eacameron has joined #nixos
<joepie91>
it doesn't quite beat DataHoarder but this channel is pretty active, yeah :P
<NixOS_GitHub>
[nixpkgs] obadz pushed 1 new commit to master: https://git.io/vSIQI
uwap has quit [(Read error: Connection reset by peer)]
uwap has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
uwap has quit [(Client Quit)]
roundhouse has left #nixos []
uwap has joined #nixos
<rnhmjoj>
i'm packaging a Qt program: i added qt5.qtbase to the inputs but the executable still can't find libQt5{Core,Gui,Widgets,...}.so.5. what am i missing?
<joepie91>
rnhmjoj: hold on...
<joepie91>
rnhmjoj: are you using pkgs.qt5.callPackage ?
<joepie91>
it appears to be necessary
<joepie91>
(instead of regular callPackage)
<rnhmjoj>
joepie91: that must be it. i'm using mkDerivation
<joepie91>
rnhmjoj: right, but generally you use mkDerivation in the expression itself
<joepie91>
rnhmjoj: and then you callPackage from some other file, eg. all-packages.nix in nixpkgs
<joepie91>
that feeds in the dependencies
<joepie91>
that's where you'd need to use pkgs.qt5.callPackage instead of normal callPackage
<joepie91>
don't ask me why though
<joepie91>
but I ran into this problem before
<joepie91>
:P
<joepie91>
(the mkDerivation can remain unchanged I think)
<rnhmjoj>
joepie91: actually i haven't yet moved it to nixpkgs. i was just trying a standalone nix expression and building it with nix-build
<joepie91>
ah, no clue then
eacameron has joined #nixos
goibhniu has quit [(Ping timeout: 268 seconds)]
eacameron has quit [(Ping timeout: 268 seconds)]
<bennofs>
rnhmjoj: can you paste the expresson you have right now somewhere?
cfricke has quit [(Quit: WeeChat 1.7)]
marsel has joined #nixos
cfricke has joined #nixos
cfricke has quit [(Client Quit)]
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vSI73
<NixOS_GitHub>
nixpkgs/master 422a8b9 Tim Steinbach: linux: 4.9.17 -> 4.9.18
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.03: https://git.io/vSI7s
<NixOS_GitHub>
nixpkgs/release-17.03 0d0f427 Tim Steinbach: linux: 4.9.17 -> 4.9.18...
eacameron has joined #nixos
dhess` has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vSI74
<NixOS_GitHub>
nixpkgs/master c0411ea Tim Steinbach: linux: 4.10.5 -> 4.10.6
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.03: https://git.io/vSI7R
<NixOS_GitHub>
nixpkgs/release-17.03 244c9a9 Tim Steinbach: linux: 4.10.5 -> 4.10.6...
<rnhmjoj>
bennofs joepie91: i moved it into nixpkgs and used qt5.callPackage. it works now
<globin>
rmrfroot: services never automatically open ports (except for ssh) but cann have an `openFirewall` boolean option to make it easier for the user
<rmrfroot>
globin: ah, that makes sense! was looking at ssh specifically, actually :)
<globin>
rmrfroot: that is a mixture of legacy reasons and helping you not lock yourself out of your machine :)
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 1 new commit to master: https://git.io/vSIdz
<NixOS_GitHub>
nixpkgs/master 4169928 Thomas Tuegel: vogl: pin to Qt 5.6
cfricke has quit [(Quit: WeeChat 1.7)]
<rmrfroot>
globin: been there, done that ^^
simendsjo has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-16.09: https://git.io/vSIdP
<pie_>
hey guys whats the best way to virtualize windows on nixos?
<gchristensen>
probably virtualbox
<pie_>
do i need to do anything special or just install the virtualbox package?
<Yaniel>
how hard would it be to get pcie passthrough to work on nixos?
<fpletz>
pie_: if you don't want to taint your kernel with crappy oracle code, use libvirt with qemu/kvm instead… there's a virtualisation.libvirtd module you can use, you also need to install the virtmanager package :)
<gchristensen>
pie_: fpletz isn't wrong
<gchristensen>
but if you _did_ want to use vbox, ` Group -> "release-16.09:Lifecycle";
<pie_>
Installing Windows 7 with IDE drivers require about 12 hours (qemu-kvm 0.12.5)
<pie_>
im somewhat familiar with virtualbox and vmware
<fpletz>
lol, nope :)
<fpletz>
Yaniel: into what exactly do you want to pass pcie?
<Yaniel>
a windows vm
<fpletz>
I mean what hypervisor
m0rphism2 has joined #nixos
<Yaniel>
I don't particularly care, so probably qemu/kvm
m0rphism1 has quit [(Ping timeout: 260 seconds)]
<pie_>
so ive never done anything with gpt and this machine has gpt, i get stuff about embedding not being possible when trying to install grub (in the nixos livecd tty)
<pie_>
what do i do_
<fpletz>
and it doesn't work? it should out of the box (if you have permission)
cptchaos has quit [(Remote host closed the connection)]
<fpletz>
pie_: depends on if you're using bios boot or efi
<pie_>
the former i thiiiink?
<pie_>
i have legacy compatibility on
<fpletz>
so you have to decide which one you want to use, if you're using bios (legacy) you will need a special unformatted bios boot partition (type 4) with a size of a few MB (I use 4MB)
<fpletz>
if you want to use efi, you need an efi system partition (type 1) that is formatted with vfat and mounted under /boot
takle has joined #nixos
<fpletz>
it should be a few hundred MB big because the kernels and initrds will be copied on there
<fpletz>
if you use efi, you have to either use systemd-boot or grub with efiSupport = true as bootloader
byteflame has quit [(Ping timeout: 246 seconds)]
<jluttine>
has anyones used uwsgi with php plugin in nixos? i'm getting build errors for uwsgi if i enable the php plugin.. with up-to-date unstable channel
takle has quit [(Ping timeout: 240 seconds)]
JayVii has joined #nixos
Tahr64-user has quit [(Ping timeout: 246 seconds)]
keith_analog has quit [(Quit: leaving)]
takle has joined #nixos
<pie_>
uh, how do refresh the in memory list of partitions
<pie_>
i made some changes and they dont seem to have shown up
justanotheruser has quit [(Ping timeout: 246 seconds)]
JayVii has joined #nixos
calvertvl has joined #nixos
<pie_>
ohhh "kde4.networkmanagement' is replaced by `kde4.plasma-nm',"
ndowens08 has joined #nixos
xadi has quit [(Ping timeout: 240 seconds)]
marsam has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vSIhJ
<NixOS_GitHub>
nixpkgs/master aa0fb8f Robin Gloster: idea.idea-ultimate: 2016.3.4 -> 2017.1
<pie_>
fpletz, so i made an unformatted 4mb partition but now i get unable to identify filesystem, safety check cant be performed
<pie_>
installation of gru on ... failed
<fpletz>
pie_: you have to set the whole disk as device for grub, not the partition
<pie_>
oh
<pie_>
ok that didnt really make sense to me but ok
<pie_>
well, neither of the cases did xD
griff_ has joined #nixos
<ndowens08>
4mb isn't much room for boot
<fpletz>
ndowens08: that's not where kernels and initrds reside
<ndowens08>
Ah was think if it was, yea :)
<fpletz>
ndowens08: context: bios boot partition for gpt disklabels
<ndowens08>
Gotcha
<ndowens08>
I didn't even use grub for my gpt system. Used the systemd or whatever
eacameron has joined #nixos
<pie_>
well im sorta dualbooting windows so i figure this would work
<pie_>
uhhhh it booted straight into windows
<ndowens08>
I do as well but use rEFInd
<ndowens08>
Which is why I don't use grub
<pie_>
oh wow windows boot manager is a boot menu item
<pie_>
i dont like how deep microsoft is burrowed into this uefi stuff
<ndowens08>
I like uefi but same time I don't
<pie_>
yay grub \o/
<pie_>
aint nothin like a working grub menu in the morning
<pie_>
except its 7pm, but whatever
<ndowens08>
12p here
mkoenig has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin>
I actually like the no-Secure-Boot version of UEFI just fine. With GRUB2. Gummiboot was fine, but I have a bad feeling about the systemd takeover
<Yaniel>
well windows boot manager is a efi application like any other
<Yaniel>
the annoying part is that it sets itself as the default boot entry every time it starts
<ndowens08>
Idk I just find systemd + rEFInd fairly easy and simple
<pie_>
wait seriously?
<pie_>
Yaniel, i moved it down the boot order, youre saying if i boot it itll go back up?
<ndowens08>
Windows is suppose be all you use, ya know ;)
<Yaniel>
yeah if you boot windows it'll rewrite the boot order
<pie_>
the fuck...
<pie_>
even if i boot it from grub yeah?
<ndowens08>
Look at rEFInd. You can set default boot during boot menu
<pie_>
is there a registry setting to disable that lol
<ndowens08>
And windows can't mess with it
<Yaniel>
yup
eacameron has quit [(Remote host closed the connection)]
<Yaniel>
ndowens08: windows messes with the NVRAM or so
<Yaniel>
rEFInd has no say in it
<ndowens08>
Windows never changed mine when I was using it
<ndowens08>
I booted to windows and Linux and Linux stayed the default
mojjo has joined #nixos
reinzelmann has joined #nixos
<MichaelRaskin>
I dunno, maybe having _two_ EFI partitions (Windows and Linux separated) helped me make sure Windows is not overwriting the order between partitions…
<ndowens08>
Yep that was how mine is
<pie_>
how is kde5?
<pie_>
apparently i can get "HiDPI" stuff with that and this screen wont make me go blind lol
<ndowens08>
I did have 3 efi partitions as I like the idea that something weird didn't happen and affect my kernels
<justan0theruser>
Does anyone have cuda installed successfully? I installed tensorflowWithCuda and when I attempt to "import tensorflow" in python3, I get ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory. When I attempt to install libgpuarray-cuda I get warning: cannot resolve item 'libOpenCL.so.1'
<ndowens08>
gchristensen: you ok. Seem stressed lately :/
<pie_>
i have whatever the base installation of kde4
jsgrant- has joined #nixos
<pie_>
* "kde4" gives, and i dont see a scaling option anywhere'
dhess` has joined #nixos
<ndowens08>
I don't like anything qt personally
<pie_>
id be using openbox a la crunchbang but i havent gotten around to setting it up
takle has quit [(Remote host closed the connection)]
<ndowens08>
Yea use to use that one
carlosdagos has joined #nixos
<pie_>
whoa why is my touchpad using absolute positioning
snaut has joined #nixos
<gchristensen>
sometimes that is desirable with things which report as a touch-pad
<pie_>
makes sense
<gchristensen>
(like touch screens)
<ndowens08>
Could get ya a BT mouse. I disabled mine cause I would touch it by accident typing got annoying to me
<snaut>
hi, how to i convert a closed source binary package, which expects a certain distro (eg. https://www.bitwig.com/en/download.html for ubuntu) into a nix package?
carlosdagos has quit [(Ping timeout: 260 seconds)]
mkoenig has joined #nixos
<pie_>
ndowens08, yeah i just switched to that
<MichaelRaskin>
In general, patchelf (add the paths to load the libraries, see google-chrome package) first, ask questions second
dhess` has quit [(Ping timeout: 240 seconds)]
<pie_>
has anyone made some kind of automatic recursive patchelf yet? or does patchelf do that already
<ndowens08>
Not that I know of
<MichaelRaskin>
What is recursive in the context?
<pie_>
MichaelRaskin, something like "hey patchelf, fix this whole directory"
<ndowens08>
I assume finds what needs to be patched on its own
<MichaelRaskin>
You have to specify buildInputs manually at the Nix level, and when you have the list, iteration is not the hard part
jeaye has quit [(Quit: jeaye)]
<bennofs>
Someone on the mailing list also suggested using steam-run for "ubuntu-like environment"
<pie_>
well if you write a package sure. not that writing a package is that hard.
<ndowens08>
It's not too bad when you can use makeLibraryPath and such
<MichaelRaskin>
Well, in any case you need to tell which packages you want to use as library source
<pie_>
is there a firefox package i can install that will keep y firefox updated?
<MichaelRaskin>
What do you mean install?
<NixOS_GitHub>
[nixpkgs] rnhmjoj opened pull request #24359: radeon-profile: init at 20161221 (master...radeon-profile) https://git.io/vSLeY
<pie_>
add to systempackages?
<NixOS_GitHub>
[nixpkgs] clefru opened pull request #24360: Shrink GCE bootstrap image to minimum size, and auto-expand it to actual size on first boot. (master...gce-image-shrink-on-master) https://git.io/vSLe3
<MichaelRaskin>
This will update Firefox on nixos-rebuild
<pie_>
thats fine, but whats the package name? firefox?
<gchristensen>
firefox
<pie_>
ok thanks
systemfault has joined #nixos
marsel has joined #nixos
cfricke has joined #nixos
alibabzo has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
<cfricke>
Howdy. Is anyone having troubles with physlock not working due to "tty7 missing from /var/run/utmp"?
<cfricke>
Seems to be unrelated to any of the recent fixes with respect to this service. Started for me with the physlock version bump in January, though.
marsel has quit [(Client Quit)]
marsel has joined #nixos
marsel has quit [(Client Quit)]
<pikajude>
has anyone got gcdemu working
<pikajude>
or cdemu at all
marsel has joined #nixos
<MichaelRaskin>
isn't utmp problem because of systemd changes?
marsel has quit [(Client Quit)]
<cfricke>
Might be, I am unaware of it, though. Any specific pointers?
contrapumpkin has quit [(Ping timeout: 260 seconds)]
carlosdagos has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] romildo opened pull request #24362: lxqt-panel: fix for `explicit` (a C++11 keyword) being used as variable (master...fix.lxqt) https://git.io/vSLkh
odi_ has joined #nixos
hexanode has quit [(Ping timeout: 260 seconds)]
endformationage has joined #nixos
dhess` has joined #nixos
odi_ has quit [(Ping timeout: 240 seconds)]
RchrdB has joined #nixos
JayVii has quit [(Remote host closed the connection)]
stepcut has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vSLI2
<NixOS_GitHub>
nixpkgs/master 5fe81c1 Joachim Fasting: grsecurity: 4.9.17-201703221829 -> 4.9.18-201703261106
JayVii has joined #nixos
JayVii has quit [(Remote host closed the connection)]
dhess` has quit [(Ping timeout: 260 seconds)]
civodul has joined #nixos
JayVii has joined #nixos
JayVii has quit [(Remote host closed the connection)]
ryanartecona has quit [(Quit: ryanartecona)]
JayVii has joined #nixos
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
c0ff33 has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
<c0ff33>
Hi guys, I have a strange issue. I created pypy virtualenv for some project from github to check it out. It depends on cryptography but for some reason it fails to find my openssl installation.
<c0ff33>
Someone was there?
<gchristensen>
you may need openssl.dev
<c0ff33>
Will check
<c0ff33>
Thanks
<c0ff33>
Still looks like 'cc' is lacking openssl/opensslv.h
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
simendsjo has quit [(Quit: ERC (IRC client for Emacs 24.5.2))]
ambro718 has joined #nixos
<alphor>
if you mess around with routes with nixos, it's not likely you'll be able to switch into a new configuration without some sort of RTNETLINK error. booting is fine.
<alphor>
am I doing it wrong? should I deactivate the routes before switching to a slightly different configuration?
takle has quit [(Ping timeout: 260 seconds)]
calvertvl has quit [(Ping timeout: 260 seconds)]
dhess` has joined #nixos
<gchristensen>
is there a secret document containing secret nix builtins?
arianvp2 has joined #nixos
<Dezgeg>
it's called 'builtins.cc'
<arianvp2>
ugh
<arianvp2>
I broke the nixos acme client again
<arianvp2>
thing is so unstable
<gchristensen>
Dezgeg: aww :(
<arianvp2>
:(
<arianvp2>
I changed a virtual host name in nginx to point to different domain
<Dezgeg>
or primops.cc it seems
<arianvp2>
but that doesnt trigger a new cert request, leaving the whole installation in a broken state
<gchristensen>
Dezgeg: seems grepping that for unsafe is exactly what I want
<gchristensen>
thank you!
<arianvp2>
hmm somehow nixops deploy always hangs on starting nginx.service
eacameron has quit [(Remote host closed the connection)]
<arianvp2>
arianvp.me> starting the following units: nginx.service
<arianvp2>
has been saying that for 10 minutes...
thip has quit [(Ping timeout: 240 seconds)]
dhess` has quit [(Ping timeout: 240 seconds)]
<gchristensen>
:o I just realized why mkDerivation frequently says problems are on the line of name = "..."
<justan0theruser>
Does anyone have cuda installed successfully? I installed tensorflowWithCuda and when I attempt to "import tensorflow" in python3, I get ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory. When I attempt to install libgpuarray-cuda I get warning: cannot resolve item 'libOpenCL.so.1'
ndowens08 has joined #nixos
<ndowens08>
hey :)
takle has joined #nixos
<ndowens08>
Wonder if I can get my IP masked saying nixos now :)
<gchristensen>
does anyone?
<gchristensen>
never seen that before, it would be cool
<ndowens08>
maybe i can, gonna ask in freenode, since now I am part of NixOs, organization sorta :)
<MichaelRaskin>
Is #nixos «Registered group»?
<ndowens08>
hmm no idea
<MichaelRaskin>
And who are the group contacts?
takle has quit [(Ping timeout: 246 seconds)]
<ndowens08>
hmm well crap, wonder if i need that or show my github account with the logo?
<MichaelRaskin>
The list of cloaks is managed by the group contact
carlosdagos has joined #nixos
<MichaelRaskin>
Not sure how
<ndowens08>
ah, well darn, i just know you get cloaks from freenode channel, gonna ask how that is done for "affilated"
<MichaelRaskin>
I guess the primary contact is niksnut (Eelco Dolstra, edolstra)
<ndowens08>
ah, thought it was only #freenode that could do it
<MichaelRaskin>
I think they explicitly do not do it, to preserve sanity
<mounty>
clever: you mentioned that there is a project underway to redo hydra in haskell; do you know what it's called?
<gchristensen>
hercules
<MichaelRaskin>
Hm. Humble…
<ndowens08>
They said someone would have to contact the staff there to do so
<MichaelRaskin>
I hope the takeover won't go like in the myth, with the Hydra heads slowly failing one-by-one and burned down
c0ff33 has quit [(Quit: Lost terminal)]
carlosdagos has quit [(Ping timeout: 246 seconds)]
eacameron has joined #nixos
periklis has quit [(Ping timeout: 258 seconds)]
<mounty>
Anything that removes Perl code is worthy and good IMnsHO. I wonder now should I just hang in there with Hydra, with the hope that I can just drop in Hercules as a replacement in due course, or should I just use Jenkins for now.
<mounty>
I'm doing a fresh installation of nixos with my saved configuration.nix to try to fix the problems I reported about 14 hours ago.
systemfault has quit [(Quit: Bye!)]
<dmj`>
mounty: hydra works fine on 16.09
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/vSLOP
<mounty>
Yeah; I suppose I don't really want to get 'into' NixOS at this stage; I just want to set up a CI server. However, I do like fiddling with 'new stuff' which is why I'm doing it with NixOS rather than Gentoo. A contradiction there.
<gchristensen>
dmj`: it is extremely misleading that hydra is a module, it is very hard to set up.
<dmj`>
gchristensen: manually, yes.
<gchristensen>
mounty: I'm sorry anyone suggested you should/could run hydra, the only people I've known to successfully run hydra have well over a year of experience and deep knowledge of NixOS, Nixpkgs, Nix, and a have a general willingness to read _lots_ of code and get their hands messy.
<gchristensen>
I'm not sure how you got turned towards hydra as a build server for yourself
takle has quit [(Ping timeout: 258 seconds)]
ryanartecona has joined #nixos
sigmundv_ has joined #nixos
<mounty>
gchristensen: oh!?
<gchristensen>
it is not "released software", it exists only to serve nixpkgs / nixos and can be very frustrating to run
<mounty>
I just investigated CI systems for myself and found it. As Hydra != Jenkins, I thought I'd give it a go.
<alphor>
eh I figured it out, although the solution isn't satisfying. if rebuilding with some stateful networking.localCommands, wrap them with a lockdir to ensure they are only run once.
<alphor>
(sorry to interrupt, for the logs)
<gchristensen>
mounty: how did you get to it?
<gchristensen>
I'm impressed you found it!
marusich has joined #nixos
<mounty>
gchristensen: I can't remember specifically but it would have been a search for 'continuous integration' or similar.
dhess` has quit [(Ping timeout: 264 seconds)]
<gchristensen>
I'm sorry I didn't tell you sooner, it didn't register in my brain that you were both a fairly recent member and asking about hydra
hiratara has quit [(Ping timeout: 246 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
<mounty>
gchristensen: never mind; it's all a good learning experience. I'll revert to Jenkins for now but look at Hercules when it reaches usabiliity.
<dmj`>
mounty: did you try those options?
<gchristensen>
mounty: I like Go.CD a lot
<dmj`>
mounty: I have 2 hydras setup w/ 16.09 using a config as simple as that
<mounty>
dmj`: did you mean to replace my entire services.hydra block with { enable = true; package = pkgs.hydra; } ?
<gchristensen>
16.09's hydra is broken on new setups
<mounty>
I didn't because that won't work for me; I'm using a non-local PG server.
<mounty>
16.09's hydra is broken on new setups. That's. Useful. To. Know.
<dmj`>
mounty: why not just try a local one then
hiratara has joined #nixos
<mounty>
dmj`: because I already have a PG server running and doing it all locally will be slower since my VM has only one core.
<dmj`>
mounty: speed is the least of your concerns at this point, getting it working is more important
<gchristensen>
hydra.nixos.org carries additional patches not available upstream
takle has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
<mounty>
OK gchristensen and dmj`: it does now appear to be running inasmuch as I can connect to the hydra server via browser (at least, while my browser doesn't crash).
<dmj`>
gchristensen: those patches might not be bug fixes, but enhancements, config related
spluko has joined #nixos
<dmj`>
mounty: type ‘hydra-‘ tab and it should auto-complete a bunch of hydra command line tools
takle has quit [(Ping timeout: 240 seconds)]
<dmj`>
you’ll want to run hydra-create-user
<dmj`>
hydra-init should have already run at this point
<mounty>
dmj`: since its backend is SQLite3, should I shut hydra down first?
<dmj`>
mounty: who’s backend? hydra should use pg
<dmj`>
you can add users while the web server runs
sigmundv_ has quit [(Ping timeout: 264 seconds)]
thc202 has quit [(Ping timeout: 240 seconds)]
<mounty>
Well it WAS storing user data in /var/lib/hydra/hydra.sqlite but that's absent now, since the reinstallation.
takle has joined #nixos
<mounty>
Storing in PG now because it kept the accounts from before the reinstallation.
<mounty>
It's certainly all-change round here.
<spluko>
Hi, I'm having a terrible time trying to get NixOS running on a Lenovo Yoga 710. Summary: Live CD works perfectly - desktop, wifi, touch screen, WebGL... but when installing I can't even get to a console prompt - general protection faults, stack dumps, all sorts.
<mounty>
spluko: did you try [Tab] at the boot-CD prompt, then add ' noapic' to the boot command?
Kingsquee has joined #nixos
Jackneill has quit [(Remote host closed the connection)]
<mounty>
spluko: I had to do that for the boot from CD but the installed OS didn't need that.
<spluko>
mounty: This is a UEFI boot, can I still get to that?
<mounty>
spluko: ah sorry, dunno about UEFI.
<spluko>
IFAIU, the USB boot is UEFI too and that works fine
<ndowens08>
I created another github account and forked a test repo; for git practice; looking at nixos, how do committers get the merge to output "Merge pull request #..." without changing merge message? Mine tends to say merge from branch blah
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<gchristensen>
make a pull request
<ndowens08>
I did that :)
<justan0theruser>
Does anyone have cuda installed successfully? I installed tensorflowWithCuda and when I attempt to "import tensorflow" in python3, I get ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory. When I attempt to install libgpuarray-cuda I get warning: cannot resolve item 'libOpenCL.so.1'
<ndowens08>
like I do that, pull PR from other repo into another branch and then checkout master git merge branch
<spluko>
Are all the messages scrolling past on a boot logged somewhere?
<gchristensen>
ndowens08: the message comes from pressing the merge button in the github UI
<ndowens08>
spluko: dmesg
ambro718 has quit [(Ping timeout: 260 seconds)]
<ndowens08>
ah :) figured it was from possibly through git cli
drasich has joined #nixos
endformationage has quit [(Quit: WeeChat 1.6)]
<gchristensen>
and journalctl -b0
<ndowens08>
also last question, what is nixos
<gchristensen>
spluko: ^
<gchristensen>
O.o
hamishmack has quit [(Read error: Connection reset by peer)]
<ndowens08>
nixos' stance on fast-forward vs no-ff for commits(not doing it, just needing to know )
<NixOS_GitHub>
[nixpkgs] rvl opened pull request #24366: longview service: don't write passwords to nix store (master...longview-password-file) https://git.io/vSLs6
hamishmack has joined #nixos
<gchristensen>
I don't know that we have one
<ndowens08>
^ that is scary if passwords do get put in /nix/store
<ndowens08>
ah ok; just been researching and some places want FF and some dont;
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vSLs1
<NixOS_GitHub>
nixpkgs/master 167aba0 Dan Peebles: capnproto: fix on clang 4...
<ndowens08>
Is there anyone on that can test mxt-app? It is for Atmel maxtouch devices, in which I don't have to see if it works fine
<spluko>
gchristensen: as I never get to a console, I can't do that from within the system. From a live cd I tried journalctl -D /mnt/var/log/journal, but very few of the messages are there.
<MichaelRaskin>
I guess at some point we just merge it to find out if there are any users
pie_ has joined #nixos
<ndowens08>
yeah it has been 3 days and no reviews, so guess it is safe maybe
<dmj`>
mounty: does it work now
<ndowens08>
gonna recheck nox-review and make last check, before I merge
<MichaelRaskin>
Then there are things that get users from time to time, but have zero users at some points
<mounty>
dmj`: I think so, yes, thanks.
<pikajude>
where's libstdc++.so.6?
<ndowens08>
heh yep; not many people probably uses it, but it was on of the out of date pkgs I found
eacameron has quit [(Remote host closed the connection)]
<dmj`>
mounty: cool
<mounty>
dmj`: I mean that the browser UI seems to be OK; I can browse users, the one project I've set up etc.
<mounty>
Now all I have to do is write some tests. :-(
<NixOS_GitHub>
nixpkgs/master 9aff998 ndowens: Merge pull request #24265 from ndowens/mxt-app...
<mounty>
When you read about all these fantastic test frameworks, you'd think they did the work for you but 98% of any testing framework is the application-specific tests and you just have to do that yourself.
<mounty>
Thanks again to dmj` and gchristensen. I'll start to run with hydra I think, for the time being.
<gchristensen>
I'm glad it is working for you :)
<dmj`>
use haskell, types are tests
<gchristensen>
sounds like I was wrong, dmj`
<mounty>
dmj`: my project is Haskell.
<dmj`>
gchristensen: it’s a lesser known fact that hydra does, in extremely rare cases, work :)
<mounty>
It's interesting that since the reinstallation, /var/lib/hydra/hydra.sqlite no longer exists.
stepcut has joined #nixos
<dmj`>
gchristensen: for what it’s worth hydra w/ 17.03 did not work for me iirc
<pikajude>
can I patch a library that requires CXXABI_1.3.8
<pikajude>
since we have CXXABI_1.3.9
<gchristensen>
dmj`: last I checked, with hydra on 16.09, it was impossible to configure inputs.
<dmj`>
gchristensen: hmm, strange
<mounty>
gchristensen: configure inputs? I haven't got that far yet. Is that something to do with project configuration?