<MichaelRaskin>
Hm. Jitsi 2.8 worked OK with a server with self-signed sertificate, Jitsi 2.10 says there is an error without offering to accept the certificate. I wonder if the just updating the source archive breaks something
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vysVd
<NixOS_GitHub>
nixpkgs/master 0d936b0 Peter Hoeg: Merge pull request #23312 from ndowens/discount...
markus1219 has quit [(Ping timeout: 268 seconds)]
markus1209 has quit [(Ping timeout: 264 seconds)]
ibrahims has joined #nixos
johbo has quit [(Ping timeout: 240 seconds)]
kosmikus has quit [(Ping timeout: 240 seconds)]
kosmikus has joined #nixos
johbo has joined #nixos
<Kendos-Kenlen>
Euh, can someone telle me why slack as a cron for ubuntu ? O_o I can't see why some apt stuff to enable the slack repo can be necessary ...
<ndowens08>
getting network is unreachable when trying to push to my git repo, ugh
ambro718 has quit [(Ping timeout: 260 seconds)]
erasmas has quit [(Quit: leaving)]
<ndowens08>
anyone having github issue? I am using ssh to push with
<nh2>
fpletz: "then we should rather increase test coverage and just don't do releases anymore because master would always be stable and tested" - I'm not sure if you were serious or not, but I'll just dump my opinion anyway: For many people a key benefit of having releases is so that security updates and feature / API changes are decoupled. With rolling-release only, I have to continuously adjust my software to APIs and behaviour changing under my f
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vysry
<NixOS_GitHub>
nixpkgs/master 256e764 Tuomas Tynkkynen: radeontools: Mark as broken...
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to release-17.03: https://git.io/vysrS
<NixOS_GitHub>
nixpkgs/release-17.03 5a2b3c3 Tuomas Tynkkynen: radeontools: Mark as broken...
mguentner2 is now known as mguentner
<fpletz>
nh2: well, it wasn't meant really serious, but longterm it would be nice to have behavioural tests because we also want to catch such regressions between releases to mention them in the release notes
<NixOS_GitHub>
[nixpkgs] bcdarwin opened pull request #23376: ANTs: init at 2.1.0 (0gyys1lf) and update ITK accordingly (master...ants) https://git.io/vysDD
eacameron has quit [(Remote host closed the connection)]
seagreen has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
<Kendos-Kenlen>
D: why python2.7 is the version installed by nixos.python ? :'(
<Kendos-Kenlen>
That's sad !
ericsagnes has joined #nixos
<gchristensen>
IIRC that is being changed in 17.03
<Kendos-Kenlen>
it's not on unstable :|
<gchristensen>
but the answer was for backwardss compatability, you can get a newer one with python3
<Kendos-Kenlen>
I feel bad now you know :'(
<gchristensen>
why?
<Kendos-Kenlen>
I'm the kind of guy to set python3 as default everywhere on source based distrib (cc #exherbo) and to only set python2.7 for applications that really need it
<gchristensen>
ok
<Kendos-Kenlen>
I militate for the death of python2
<joepie91>
I'm more thinking of something greenkeeper-style
<ndowens08>
I have been adding the packages i added myself as maintainer to release-monitoring.org from fedora
RchrdB has joined #nixos
<ndowens08>
that way I will get emails when upstream updates
<joepie91>
gchristensen: ah, right, that assumes a package has an update script
indi_ has quit [(Remote host closed the connection)]
<gchristensen>
it doese
<joepie91>
gchristensen: I was more thinking of something that checks out nixpkgs, replaces a version number in a .nix file, tries to build, and checks whether it builds and the resulting binaries don't break when started
<joepie91>
since there's already a sort-of-convention for version numbers
<joepie91>
(and if it doesn't break, it could open a PR)
<gchristensen>
worth a shot
<joepie91>
would have to enumerate "missing dependency" failure modes for that though
thc202 has quit [(Ping timeout: 240 seconds)]
seagreen has joined #nixos
eacameron has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
<gchristensen>
not sure why you would, joepie91
<joepie91>
gchristensen: well, the most likely thing to break between version upgrades of expressions is "oh there's a new dependency required now", as far as I know... so ideally you'd want a testing process that catches such cases with reasonable certainty
ibrahims has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
<gchristensen>
seems like an edge case you can ignore :)
<peterhoeg>
those work for the general use case without having to specify for an updatescript for each package
<joepie91>
peterhoeg: will have a look at that when I have more braincycles, thanks
MarcelineVQ has quit [(Ping timeout: 240 seconds)]
hamishmack has quit [(Read error: Connection reset by peer)]
hamishmack has joined #nixos
mguentner has quit [(Quit: WeeChat 1.7)]
ibrahims has joined #nixos
<smw_>
Anyone know what would this?: cause The option value `fileSystems.unnamed-1.1.options' in `/etc/nixos/configuration.nix' is not a list of string (with check: non-empty)s.
<smw_>
nix-build nixos -I nixos-config=nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix -A config.system.build.sdImage gives me a message that it can't find sdImage
<clever>
smw_: you to use nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage -I nixos-config=./configuration.nix
<smw_>
anyways, I am running a nixos-install now. Chances are it won't be writing the raspberry pi firmware to /boot so I will need to figure it out later.
<clever>
and configuration.nix must contain imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix> ];
<smw_>
I see
<smw_>
so in theory sd image handles the raspberry pi firmware, should I cancel my current build and try to use that?
<clever>
yeah
<smw_>
The prebuild sd card didn't work. But I have a feeling that is because it was old.
<smw_>
Or at least, that was part of it.
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<smw_>
clever: nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage -I nixos-config=./configuration.nix
<smw_>
error: attribute ‘sdImage’ in selection path ‘config.system.build.sdImage’ not found
<clever>
and configuration.nix must contain imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix> ];
<clever>
nix-instantiate ~/apps/nixpkgs/nixos/ -A config.system.build.sdImage -I nixos-config=/home/clever/apps/nixpkgs/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix --argstr system armv7l-linux
<clever>
eacameron: ive got a dedicated box at soyoustart, and the control panel is good
<eacameron>
clever: No way! It looks like a crazy good deal
<clever>
eacameron: from the web ui, you can change the boot order between a rescue netboot, and the hdd, and on bootup, it will email you the root pw
slack1256 has quit [(Remote host closed the connection)]
kthnnlg has joined #nixos
Ivanych has quit [(Ping timeout: 260 seconds)]
Ivanych has joined #nixos
<LnL>
I know right
takle has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
ibrahims has joined #nixos
alibabzo has quit [(Ping timeout: 240 seconds)]
derjohn_mob has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
ibrahims has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #23306: kytea: 0.4.6 -> 0.4.7; source was still pointing to version 0.4.6 (master...kytea) https://git.io/vyYrU
reinzelmann has joined #nixos
takle has joined #nixos
smw_ has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
smw_ has quit [(Ping timeout: 258 seconds)]
glines has quit [(Ping timeout: 258 seconds)]
catch22 has joined #nixos
glines has joined #nixos
<reinzelmann>
Morning! libasyncns-python fails to build for me on nixos-unstable with
<reinzelmann>
libasyncns.c:137:13: error: 'ns_t_zxfr' undeclared (first use in this function)
<reinzelmann>
ADDNSCONST(ns_t_zxfr);
<reinzelmann>
Anyone know what that's about?
hotfuzz has joined #nixos
phreedom has joined #nixos
systemfault has quit [(Quit: Bye!)]
hotfuzz_ has quit [(Ping timeout: 240 seconds)]
<phreedom>
joepie91: missing new dependency is something you can catch if the thing doesn't compile and if not, i tried highlighting the relevant lines for the human reviewer
mogria has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 5 new commits to master: https://git.io/vyGUQ
<NixOS_GitHub>
nixpkgs/master 86c51da Peter Simons: LTS Haskell 8.3
<NixOS_GitHub>
nixpkgs/master eabf47b Peter Simons: hackage2nix: disable builds that depend on broken webkitgtk-2.4.11
<NixOS_GitHub>
nixpkgs/master 53d55cb Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<phreedom>
joepie91: diffing the build log helps and grepping for missing,not found, this kind of words
xadi has joined #nixos
alibabzo has joined #nixos
jgertm has joined #nixos
<NixOS_GitHub>
[nixpkgs] izuk opened pull request #23385: bazel: add gcc to PATH and simplify patch (master...bazel) https://git.io/vyGTc
<Mic92>
reinzelmann: this is fixed in master
<reinzelmann>
cool, thx Mic92
edvorg has joined #nixos
takle has joined #nixos
derjohn_mob has quit [(Ping timeout: 258 seconds)]
takle has quit [(Remote host closed the connection)]
Kendos-Kenlen has joined #nixos
<ZoomZoomZoom>
globin, thanks
DutchWolfie has quit [(Quit: Konversation terminated!)]
nschoe has quit [(Read error: Connection reset by peer)]
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
nschoe has joined #nixos
DutchWolfie has quit [(Client Quit)]
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
takle has joined #nixos
fxp has joined #nixos
<fxp>
hello, is it possible to specify which file to use as a configuration file - let's say for vim for example - instead of writing it's content manually in vimrcConfig.customRC ?
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vyGac
<NixOS_GitHub>
nixpkgs/staging b588ed9 Frederik Rietdijk: Python 3.4: fixup expat and libffi, fixes #23325
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vyGai
<NixOS_GitHub>
nixpkgs/master 306eb6d Robin Gloster: d4x: remove...
<NixOS_GitHub>
[nixpkgs] globin pushed 3 new commits to release-17.03: https://git.io/vyGaX
<NixOS_GitHub>
nixpkgs/release-17.03 042b815 Robin Gloster: cuter: fix indentation...
<NixOS_GitHub>
nixpkgs/release-17.03 8b64630 Robin Gloster: cuter: fix build...
<NixOS_GitHub>
nixpkgs/release-17.03 1b9e238 Robin Gloster: d4x: remove...
<clever>
mogria: one option is to just clone all of nixpkgs, edit the file in the nix expression, and then use nix-build on that new nixpkgs tree as normal
<mogria>
@fxp: you could use builtins.readFile but i don't know if it's a good solution
<fxp>
well, i used `vimrcConfig.customRC = builtins.readFile ./vimrc;` but not sure it's the smartest way to do it
<clever>
fxp: if you can find vim's version of include, you can do vimrcConfig.customRC = '' include ${./vimrc} '';
<mogria>
@clever: With --run-env i can step through the build phases in a nix-shell, can I do that with nix-build as well for this derivation in the "let"-statement?
<clever>
mogria: nix-build will just do everything at once, i generaly just add debug code directly to the nix expression and re-run nix-build
<clever>
as long as it builds fast, that isnt an issue
seppellll has joined #nixos
<gchristensen>
globin: 17.03 has a channel now btw :)
<LnL>
sweet!
* gchristensen
switches
<globin>
gchristensen: I know :) going to write to the list soon
<gchristensen>
great
<globin>
gchristensen: currently you probably need to reboot to fix security wrapper stuff..
<gchristensen>
ok
<clever>
i did help somebody a few days ago that had sudo up and vanish
<clever>
gchristensen: if you know your going to reboot anyways, its usualy safer/faster to use "nixos-rebuild boot", that wont activate until after the reboot
<gchristensen>
:)
<clever>
and also, this new install of hydra i have, doesnt seem capable of using the binary cache directly
<clever>
its making the build slave do every single binary cache fetch
ibrahims has quit [(Ping timeout: 264 seconds)]
ibrahims has joined #nixos
<gchristensen>
you have to enable substitutions in the evaluator
<clever>
ah, hydra.useSubstitutes
<gchristensen>
ok rebooting to 17.03
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vyGw7
<NixOS_GitHub>
nixpkgs/master 095cf1b Anders Papitto: Revert "buildRustPackage: fix deprecated use of registry.index config key"...
yegods has joined #nixos
<gchristensen>
LGTM ship it
ilyaigpetrov has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/vyGwF
<NixOS_GitHub>
nixpkgs/release-17.03 ac396e9 Anders Papitto: Revert "buildRustPackage: fix deprecated use of registry.index config key"...
cronject has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vyGwA
<NixOS_GitHub>
nixpkgs/master 3deb85b Gregor Kleen: locate: fix security.wrappers
yegods has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/vyGrc
<NixOS_GitHub>
nixpkgs/release-17.03 bd265c5 Gregor Kleen: locate: fix security.wrappers...
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vyGoP
<NixOS_GitHub>
nixpkgs/master 085502d Katona László: cytoscape: fixed issue with startup script
<clever>
mguentner: i cant remember if the /tmp/hax path was impacted by sandboxes or not
<clever>
mguentner: i also recently found a trick that works for cases where you control hydra
Kendos-Kenlen has quit [(Ping timeout: 260 seconds)]
<clever>
mguentner: if you just "sudo -u hydra -i" and "ssh-keygen", then the hydra-evaluator will have a keypair, and it can checkout git projects over ssh
<clever>
in my latest case, the source is in the same repo as the release.nix, so that 1 fetch by hydra is all that needs a key, and the actual build can be done without fetchgitprivate
jcbrand has joined #nixos
ryanartecona has joined #nixos
Wizek has joined #nixos
Wizek_ has joined #nixos
<mguentner>
clever: nice! thank you so much
jgjl has joined #nixos
<mguentner>
avn: ^
<clever>
the reason i needed to add socat into the mix, is because the ssh-agent can detect when the "wrong" user is connecting to the unix socket
<clever>
so even if you try to authorize it by using chmod on the unix socket, the agent rejects it hard
<clever>
the socat is running as root, so it gets an exception, and it acts as a proxy, stripping that user info from the session
<clever>
but as others mentioned in the issue, it would greatly simplify things if nix-build and nix-daemon did that agent proxy
<clever>
it could potentialy even allow it to work with remote build slaves
mudri has joined #nixos
bennofs has joined #nixos
<avn>
clever: good note. But I think, I use fetchgitPrivate as example to write `ssh -i ${./identity}` to script ;)
ertes has quit [(Ping timeout: 260 seconds)]
<clever>
avn: and now your private key is in the store, and depending on what else you have configured (hydra, nix-serve) available for the world to download
<clever>
avn: and even if those arent enabled, any user on the machine can read it via ls -l /nix/store/*identity
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vyZf2
<NixOS_GitHub>
nixpkgs/master 9852386 Jörg Thalheim: highlight: disable darwin build...
stepcut has joined #nixos
<avn>
clever: I see, we have nix-serve, but in trusted network
k0001 has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 258 seconds)]
ZoomZoomZoom has quit [(Quit: Leaving)]
hopio3151 has joined #nixos
<avn>
clever: may be worth to post issue to nix about proxying ssh agent?
<clever>
yeah
<gchristensen>
it would be super super nice if there was a way to run one of our VMs and be dropped in to a shell
<gchristensen>
a bash shell
reinzelmann has quit [(Quit: Leaving)]
<clever>
gchristensen: i might have something for that, i'll look at it after i finish this issue
peterhoeg has quit [(Remote host closed the connection)]
<gchristensen>
really? I've found: `QEMU_NET_OPTS="hostfwd=tcp::2223-:22" tests='startAll; joinAll;' ./result/bin/nixos-run-vms` then ssh to port 2223, but it is a bit messy
<LnL>
clever: do you know if it's possible to disable downloads from hydra?
peterhoeg has joined #nixos
<clever>
LnL: what kind of downloads?
<clever>
gchristensen: with -serial stdio or -serial mon:stdio, you get a serial port on stdin/stdout
<clever>
gchristensen: and nixos can run a shell on that
<LnL>
of store paths
<clever>
LnL: from the binary cache?, that appears to be off by default in the newer versions of hydra
Kendos-Kenlen has joined #nixos
peterhoeg has quit [(Remote host closed the connection)]
<LnL>
oh
peterhoeg has joined #nixos
<LnL>
so people can't use it as a cache but they can download a closure of a job?
<clever>
LnL: oh, downloading from hydra, not hydra itself downloading
<gchristensen>
clever: what do I pass that to?
<clever>
LnL: the only method i can see is to block /*.narinfo and /nar/* in the http server that protects hydra, but that stops all cache access
<clever>
gchristensen: qemu, let me double-check the source
<LnL>
hmm, that could also work
<Unode>
hi guys, there was some conversation going on some time ago about adding overlays to nixpkgs so people could easily extend them without having to keep a tree manually syncronized with the official nixpkgs. Has this seen any recent progress?
<gchristensen>
Unode: it is merged and will be in 17.03
<clever>
gchristensen: QEMU_OPTS is an env variable that result/bin/nixos-run-vm will obey, and virtualisation.qemu.options would let you embed it in from the configuration.nix
<Unode>
gchristensen: is there documentation for it? I'd like to try it for some software I've been keeping in parallel.
peterhoeg has quit [(Remote host closed the connection)]
<clever>
gchristensen: i forgot that the nixos module already gives a login prompt on stdio when you turn graphics off, so it just needs some auto-login in mingetty
<clever>
just nix-build && ./result/bin/run-nixos-vm
ronny has joined #nixos
<gchristensen>
clever: with QEMU_OPTS="-serial stdio"?
<clever>
the -nographic from virtualisation.graphics = false; already routes the serial port to stdio
<clever>
so that isnt needed
<gchristensen>
clever: ack, so, I thought it was the same -- maybe it isn't the same -- is I'm trying to do this with a nixos test's vm
<clever>
oh, the test vm's
<clever>
let me check their source
<gchristensen>
sorry for not specifying earlier
mg has joined #nixos
<clever>
gchristensen: ah, those do have a side-channel that includes a root shell, let me find it
<clever>
when the perl script starts a vm, uts using the qemu options on line 145
<clever>
gchristensen: oh, then your previous question may work then, try QEMU_OPTS="-serial stdio" ./result/bin/run-nixos-vms
<gchristensen>
unfortunately not, because I'm attached to the test driver's perl script
<gchristensen>
maybe what I should do is use (import <nixpkgs/nixos> { inherit configuration; }).vm when I want to interact with it, and pass configuration to the test env when I want to test it.
yegods has joined #nixos
<gchristensen>
instead of trying to patch in this interactivity support to the test infra
bruce_jhonny has joined #nixos
<bruce_jhonny>
hello
<clever>
gchristensen: i did see a comment about interactive debuging if it fails with -K
<gchristensen>
oh?
<gchristensen>
there is a lot of hidden secrets in this test code :)
<clever>
i dont know if the test framework goes thru that route or not, and some tests may involve rebooting and wouldnt be happy with this kind of change
<gchristensen>
yeah
<gchristensen>
ok
<gchristensen>
so I'm thinking I'll go the route of swapping out between the test infra and the (import <nixpkgs/nixos> { inherit configuration; }).vm approach
<avn>
fpletz: btw, do you know if it possible to defer swap-on-zfs out of stage1 phase of boot?
yegods has quit [(Ping timeout: 264 seconds)]
<clever>
gchristensen: the shutdown on line 31 gets in the way when i'm trying to do manual testing, but any change to that config eats another gig of disk space
<fpletz>
avn: what do you mean? iirc swap on zfs is not possible, right?
<gchristensen>
haha nice
<avn>
fpletz: it works, on zvol
<fpletz>
hrm, interesting %)
bruce_jhonny has quit [(Quit: Page closed)]
<avn>
so it `wait while /dev/zvol/tank/swap` appears around 10-20 sec right after importing pool
<gchristensen>
wow you are using swap AND zfs?
<clever>
avn: ive heard of issues with swap on zvol, so my laptop has swap on lvm, and zfs on lvm
<avn>
actually 64m of swap used now ;)
<clever>
and then the whole lvm is on luks!
<avn>
but I have problems, because I turn dedup on (hardlinking of /nix/store is safer than zfs dedup, proved)
<clever>
avn: what kind of problems?, one of my zfs machines has very weird issues
<clever>
avn: the really really weird part of my problem, is that when zfs decides to stop disk io, it tends to spinlock whatever core it was on
stites has joined #nixos
<avn>
some old guides suggests 4k block for bittorrend dataset. I found 64k works better
<the-kenny>
pierron: maybe!
<clever>
avn: and often, it can spinlock all 8 cores, and now the machine is just locked up solid
<clever>
avn: but, if i replug any usb device, it resumes all disk io like nothing was ever wrong
<the-kenny>
pierron: time sounds right, this project is almost two years old now :)
danharaj has quit [(Ping timeout: 258 seconds)]
stites has quit [(Client Quit)]
<avn>
clever: I see, but I can't prove that all cores spinlocked. And show it to zfs folks
ibrahims has joined #nixos
<clever>
avn: i have talked to the zfs channels a few times
<clever>
avn: biggest problem debuging it, is that when all core spinlock, i have no way to control it to get a backtrace, i need to look into getting either a pcie serial card, or usb debugging
amosbird has joined #nixos
<amosbird>
hi
<amosbird>
how is nix compared to snap?
stites has joined #nixos
stites has quit [(Client Quit)]
<gchristensen>
amosbird: how does it work that you can nix-build test.nix or nix-build test.nix -A driver?
<LnL>
nix is just a regular package manager like apt
<clever>
gchristensen: every attribute you pass to a derivation, can still be read from the resulting derivation, and you can // more attributes ontop of it
stites has quit [(Client Quit)]
<gchristensen>
I've been reading that trying to figure out it can work like that :P
<gchristensen>
didn't realize you could drv // attrset
<clever>
nix-repl> (builtins.derivation { name = "foo"; system = builtins.currentSystem; builder = "/bin/sh"; }).name
<clever>
"foo"
<LnL>
gchristensen: type { type = "derivation"; } in nix-repl :)
<clever>
nix-repl> ( (builtins.derivation { name = "foo"; system = builtins.currentSystem; builder = "/bin/sh"; }) // { bar = "baz"; }).bar
stepcut has quit [(Remote host closed the connection)]
<gchristensen>
unfortunately it is a bit too far to travel
<amosbird>
hmm
<amosbird>
I just installed nix
<amosbird>
error: getting status of ‘/home/amos/default.nix’: No such file or directory
<johnw>
command?
estewei has joined #nixos
ibrahims has joined #nixos
<amosbird>
nix-shell
<the-kenny>
well just `nix-shell` checks for default.nix in the current directory and gives you a shell with the environment to build the derivation in there
<the-kenny>
try `nix-shell -p zsh`
<amosbird>
ah
<amosbird>
thanks
jgjl has joined #nixos
ibrahims has quit [(Ping timeout: 256 seconds)]
<greymalkin>
Is there an expression that I can investigate (with nix-repl) that shows nix services -- even if I don't have nixos, but rather just nix on arch?
<clever>
and also gives virtenv style effects on all languages
<amosbird>
how does it manage user local packages?
<clever>
so i can just "nix-shell -p nmap" any time i want to do a quick port scan, and once i exit the shell, nmap is gone
__Sander__ has quit [(Quit: Konversation terminated!)]
<clever>
amosbird: i generaly define those in ~/.nixpkgs/config.nix as proper nix packages, then all of the nix tools will know how to build them
digitus has joined #nixos
<amosbird>
um
<amosbird>
I meant packages with rapidly development
<amosbird>
I develop a bunch of projects and I need to make install them quite often. How can this fit in nixos?
<clever>
make a default.nix for that project and run nix-build or nix-shell against it
<gchristensen>
clever: this has been the biggest yak shave today :P
<simpson>
amosbird: I have default.nix and some Nix support expressions defined; to test my project, I run something like $(nix-build -A monte) and it builds everything for me.
<amosbird>
ok, i see
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<LnL>
amosbird: you can also use nix-shell to get a shell with the build environment of a package
<amosbird>
does nix have a default shell?
<amosbird>
default.nix ?
fresheyeball has quit [(Ping timeout: 246 seconds)]
fresheyeball has joined #nixos
<LnL>
then you get an interactive nix-build session that you can use for incremental builds
fresheyeball has quit [(Remote host closed the connection)]
fresheyeball has joined #nixos
<simpson>
amosbird: There's no "default" nix-shell. default.nix is just the default filename to load if you point Nix at a folder instead of a file.
jgjl has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
<LnL>
maybe nix-shell -p stdenv?
cpennington has joined #nixos
jcbrand has quit [(Ping timeout: 258 seconds)]
<hyper_ch>
where's my vcunat?
<gchristensen>
hyper_ch: vcunat doesn't use IRC
<hyper_ch>
oh noes
<hyper_ch>
I'm sure he did use to
<gchristensen>
used to
<hyper_ch>
why doesn't he anymore?
<gchristensen>
dunno
jgertm has joined #nixos
<hyper_ch>
:(
<gchristensen>
hasn't in like a year or more
<MichaelRaskin>
Well, #nixos is getting busier and busier over time
roconnor has joined #nixos
ambro718 has joined #nixos
<hyper_ch>
gchristensen: [18:31] [Notice] -NickServ- Last seen : Feb 04 21:34:10 2017 (3w 4d 19h ago)
<hyper_ch>
that's not quite a year
<gchristensen>
yeah but logging in for a second vs _using_ it
<hyper_ch>
:(
<clever>
2017-02-04 17:17:00< vcunat> I haven't noticed any slowness (vim + C), but I haven't used it on any really big project either
<clever>
2017-02-04 17:17:20< vcunat> (and the machine is rather fast :-)
<clever>
2017-02-04 17:34:10-!- vcunat [~admin@nat-34.starnet.cz] has quit [Quit: Leaving.]
<hyper_ch>
he did reply to my bug report attachement :(
<clever>
and he was online for ~1.5 hours, a month ago
<hyper_ch>
hi clever, long time not seen
<LnL>
I remember that message :)
<clever>
2017-01-04 04:39:31-!- vcunat [~admin@nat-34.starnet.cz] has joined #nixos
<clever>
2017-01-04 04:40:08-!- vcunat [~admin@nat-34.starnet.cz] has quit [Client Quit]
<clever>
he seems to connect on the 4th of every month? heh
<gchristensen>
[0__0]: seen kmicu
<[0__0]>
Yes, I saw kmicu 1 month ago.
<[0__0]>
kmicu said: "gchristensen: ah, that chapter is not updated since 1.6 with ‘Nix now has proper integer arithmetic operators. For instance, you can write x + y instead of builtins.add x y, or x < y instead of builtins.lessThan x y. The comparison operators also work on strings.’."
endformationage has joined #nixos
<clever>
2016-12-04 16:44:33-!- vcunat [~admin@nat-34.starnet.cz] has quit [Quit: Leaving.]
<clever>
what the...., 4th of dec as well!
<LnL>
somebody said that kmicu was back this week
<clever>
hyper_ch: if this pattern holds, he is due back in 2 days :P
<gchristensen>
LnL: what? really? I had a dream he was back. heh.
<hyper_ch>
:)
<LnL>
well I'm not sure why they said it, I have not seen him either
<gchristensen>
LnL: looking at my history, all mentions of them are me asking [0__0] when it lost saw them
stepcut has joined #nixos
mogria has joined #nixos
<LnL>
oh really?
paperd has joined #nixos
<gchristensen>
for 2 months now, yeah
wrl has joined #nixos
kthnnlg has joined #nixos
danharaj has joined #nixos
<LnL>
Strange. I'll grep through my logs when I'm at my computer,
stepcut has quit [(Remote host closed the connection)]
<paperd>
Anyone at SCaLE?
stepcut has joined #nixos
mg has quit [(Ping timeout: 260 seconds)]
roconnor has quit [(Ping timeout: 240 seconds)]
roberth has quit [(Ping timeout: 246 seconds)]
mogria has quit [(Ping timeout: 258 seconds)]
roconnor has joined #nixos
Kendos-Kenlen_ has quit [(Ping timeout: 246 seconds)]
nschoe has quit [(Quit: Program. Terminated.)]
mg has joined #nixos
griff_ has quit [(Quit: griff_)]
jgertm has quit [(Ping timeout: 240 seconds)]
ibrahims has joined #nixos
ibrahims has quit [(Ping timeout: 256 seconds)]
<gchristensen>
clever: so I've got a login screen... how do I kill it?? :o
roconnor has quit [(Ping timeout: 256 seconds)]
<LnL>
gchristensen: the vm? poweroff
cpennington has quit [(Ping timeout: 240 seconds)]
<gchristensen>
d'oh
<NixOS_GitHub>
[nixpkgs] peti pushed 3 new commits to master: https://git.io/vyZan
<NixOS_GitHub>
nixpkgs/master b59fd85 Leon Isenberg: haskell: ghc710x packages: fix gtk2hs-buildtools
<NixOS_GitHub>
nixpkgs/master 1a4ec41 Leon Isenberg: haskell: ghc710x packages: fix megaparsec
<NixOS_GitHub>
nixpkgs/master 027ffb6 Peter Simons: Merge pull request #23252 from ljli/ghc7103-pkgs-fixes...
<NixOS_GitHub>
[nixpkgs] knedlsepp opened pull request #23400: docopt.cpp: init at 0.6.2 (master...add_docopt_cpp) https://git.io/vyZaB
ryanartecona has quit [(Quit: ryanartecona)]
jgertm has joined #nixos
Sonarpulse has joined #nixos
ibrahims has joined #nixos
<LnL>
gchristensen: I was thinking of 2017-02-28 [17:49:43] <jophish_> is kmicu back?!
teknico has left #nixos []
derjohn_mob has joined #nixos
<gchristensen>
ah
cpennington has joined #nixos
ibrahims has quit [(Ping timeout: 260 seconds)]
<dtzWill>
yay 17.03 channel \o/
hotfuzz has quit [(Quit: WeeChat 1.7)]
chattered has joined #nixos
<NixOS_GitHub>
[nixpkgs] c0bw3b opened pull request #23401: httping 2.5: fetch over HTTPS + license info (master...pkg/httping) https://git.io/vyZrE
elon_ has joined #nixos
<Ralith>
gchristensen: how's the gpu support on your 9560, btw?
yegods has joined #nixos
<gchristensen>
Ralith: it renders my text terminal and gui emacs just fine
<Ralith>
haven't mucked about with the nvidia stuff yet?
<gchristensen>
no
<Ralith>
I'm pretty sketched out by the whole gpu switching stack
<gchristensen>
and unfortunately I've discovered I'm bitten by a fairly nasty problem of key-repeat, it makes my typo-count skyrocket
kampfschlaefer has joined #nixos
<Ralith>
would be happier if I could just buy one with no discrete gpu at all
<gchristensen>
same
<gchristensen>
but still lots of ram and a good CPU :)
<Ralith>
yeah
<Ralith>
is key repeat fixable in software?
<NixOS_GitHub>
[nixpkgs] nckx pushed 2 new commits to master: https://git.io/vyZrh
<LnL>
the second command is to replace capslog with ctrl
<Ralith>
LnL: not sure why you're linking me this, I was commenting on gchristensen's issue
<Nafai>
Ralith: I have a Thinkpad with one of the Nvidia Optimus cards (with the discrete GPU). I have not been able to get it to drive an external monitor, quite frustrating.
ibrahims has joined #nixos
<LnL>
Ralith: err, didn't read everything :p
<Ralith>
Nafai: mucked about with xrandr's provider/source/sink stuff?
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vyZoQ
<NixOS_GitHub>
nixpkgs/master 53b059a Jörg Thalheim: miniupnpc: switch to old version by default...
<Ralith>
LnL: personally I like using xserver.xkbOptions for the layout tweaking though
<Nafai>
Yeah, I think so. I kind of gave up on it after a week of messing around when I got the machine about a year ago. Can't remember all I tried.
<Ralith>
that way it applies on startup, not after login
<LnL>
right, I don't remember why I did this
mudri has quit [(Ping timeout: 268 seconds)]
ibrahims has quit [(Ping timeout: 260 seconds)]
<gchristensen>
Ralith: some of the discussions on the Arch message board talk about the GPU settings fixing key repeat (?)
<Ralith>
o_O
<Ralith>
wacky
<gchristensen>
very wacky, and a bit distressing
<pikajude>
wot
k0001 has joined #nixos
<dtzWill>
o_O re:key-repat. gchristensen did you try the kernel patch thing? I've used that and haven't seen any keyboard strangeness (although I'm still getting used to it)
hotfuzz has joined #nixos
<dtzWill>
I'm using an overlay for that, something like: http://ix.io/nTi fwiw
<dtzWill>
but I also disable the nvidia gpu while on linux for now O:). So maybe that's related.
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vyZiV
<NixOS_GitHub>
nixpkgs/master 86a0a1e Nikolay Amiantov: haskellPackages.lambdabot-haskell-plugins: remove overrides
yegods has joined #nixos
<gchristensen>
dtzWill: the kernel patch seems to just be forcing the acpi rev, which I've done via kernel parameters
<gchristensen>
<details>
<gchristensen>
<summary>**CLICK TO EXPAND**</summary>
<gchristensen>
</details>
<gchristensen>
oops..
<dtzWill>
oh, it was my understanding (via the arch thread) that doing it via the patch resulted in a state unobtainable w/the kernel params, somehow. Hmm, I might've been wrong.
<gchristensen>
I might be wrong, too :)
ibrahims has joined #nixos
obadz has quit [(Ping timeout: 252 seconds)]
obadz has joined #nixos
<MichaelRaskin>
I dunno re: discrete GPU, not having one at all would make sense, but Asus designs switching well enough that it is a useful addition, not an annoying problem. ThnikPad's are done badly, but still fixable
<LnL>
why was I even worried about upgrading
<simpson>
LnL: Training?
<gchristensen>
LnL: are you on 17.03?
<dtzWill>
oh I see re:the kernel bug, the acpi_rev might indeed be the same (just following-up b/c while I'm happy to admit I'm wrong I'd rather sort out what the right answer is if I can hehe)
<LnL>
gchristensen: yep, I even ran nixos-version to make *really* sure it actually happend :D
<dtzWill>
I'd love to get the switching working, just wanted something low-power and stable until I can tackle making all that work....
<MichaelRaskin>
Does you card work with nouveau?
<dtzWill>
it sure seemed to? :)
<gchristensen>
how do I setup switching? I'd be happy to try it
<Ralith>
MichaelRaskin: asus? the 9560 is a dell product
<MichaelRaskin>
Well, I cannot speak for Dell
<Ralith>
do they manufacture parts, or something?
<MichaelRaskin>
Asus and Lenovo I have tried
<MichaelRaskin>
Optimus is almost the same everywhere, but there are details
ibrahims has quit [(Ping timeout: 260 seconds)]
<Nafai>
I'd like to figure out the Optimus on my Thinkpad. I'd like to use an external monitor with it.
<MichaelRaskin>
gchristensen: first you switch on Optimus in BIOS and force-set nouveau and modesetting as the only drivers in X.org
<MichaelRaskin>
Nafai: that's what Asus gets right — in the Optimus mode Intel vard drives all the outputs
Kendos-Kenlen_ has joined #nixos
<dtzWill>
interesting. btw y'all getting crazy tearing w/intel (even modesetting)? >.< had to force to DRI 2
<MichaelRaskin>
I have used the dirtiest hacks out there (no really), but now this works for me
<MichaelRaskin>
To good to be true is when you use DRI3 and it happens to work — then it sets up offloading automatically
<MichaelRaskin>
I have DRI2 and I could try to check for tearing if anyoune told me how
<dtzWill>
MichaelRaskin: not that our hardware is necessarily comparable, but just curious: in your various experiences w/intel<-->* switching/etc have you had any tearing probelms?
<dtzWill>
oh hehe
<dtzWill>
honestly just scrolling a textual thread in chromium and you can see it D:
<dtzWill>
video often too but I'm more.. tolerant of that? it's scrolling text and seeing it tear that makes me super-sad lol
<dtzWill>
apparently for some compton with some vsync args fixes it, but not for me AFAICT--had to force DRI2 instead
<MichaelRaskin>
I use DRI2 now
<dtzWill>
oh, okay, yeah that fixes the issue for me. Why'd you set DRI2 if not for the tearing? other issues/reasons?
paperd has quit [(Ping timeout: 256 seconds)]
<pikajude>
ooh, I just found out about callHackage
<pikajude>
it's great
<MichaelRaskin>
For me scrolling blurs but not tears
<dtzWill>
now if I could find a reasonable way to bind something like shift+arrows to pageup/pagedown... lol
<MichaelRaskin>
WM should be able to, but Shift-Arrow is useful for selection
<dtzWill>
yeah it seems to kinda blur for me too haha I thought maybe that was the normal behavior? idk
<pikajude>
scrolling blurs for me too
<pikajude>
it used to do both
<MichaelRaskin>
I have set AIGLX to true long long ago, and I do not explicitly set DRI level and I get DRI2
<pikajude>
there was some xorg config line I found online that helped with the tearing
<pikajude>
but the blurring gets less bad
<MichaelRaskin>
I can tell some stories of how things failed with ThinkPad's weird GPU layout, these stories would explain why as soon as I got what I wanted working, I stopped tuning
ibrahims has joined #nixos
ambro718 has quit [(Ping timeout: 240 seconds)]
<dtzWill>
welp i'll try the kernel param instead of patch, let's see how this goes... :)
hotfuzz_ has joined #nixos
<MichaelRaskin>
I guess when my update finishes, I can try to launch a second X with explicit DRI3…
hotfuzz has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin>
Although maybe I can do it without waiting for a rebuild
ibrahims has quit [(Ping timeout: 258 seconds)]
katyucha is now known as Guest27344
Guest27344 has quit [(Killed (moon.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
katyucha_ has joined #nixos
<dtzWill>
http://ix.io/nTl looks like nouveau doesn't like the gtx 1050 after all? (cc gchristensen)
<gchristensen>
huh
<dtzWill>
or am I misunderstanding "unknown chipset?" lol. Sorry don't mean to spread misinformation :)
<MichaelRaskin>
Well, I guess the Recent Incident may have had a role
<gchristensen>
I'm not too surprised, Kaby Lake is super new
<gchristensen>
derp those are unrelated
<gchristensen>
anyway. the computer is very new :)
<dtzWill>
yeah, no worries at all
<dtzWill>
in fact I'm excited, I was kinda disappointed when most everything kinda jsut worked haha
<gchristensen>
do you _not_ get key repeat?
<gchristensen>
because that is a big thing I'd like to not be broken :)
ibrahims has joined #nixos
<gchristensen>
dtzWill: I bet we could create our own patches to apply to the kernel to get a newer novueau.
mkoenig has joined #nixos
<Heffalump>
is there an easy way to install nix from git using nixpkgs? I see there's a fromGit parameter in the derivation, but I'm not sure how to pass that from the command-line.
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vyZys
<NixOS_GitHub>
nixpkgs/master 82d3f92 Dmitry Kalinkin: fakeroot: add darwin support...
<dtzWill>
gchristensen: I switched to the kernel param method since \o/ no patching, but I do seem to be making more typos than normal. Didn't think it was a key-repeat/key-bounce issue but I'll try to be wary...
ibrahims has quit [(Ping timeout: 240 seconds)]
<gchristensen>
dtzWill: try typing asdf over and over and also using the track pad
<dtzWill>
oh I /do/ have disableWhileTyping set on libinput? but okay
<gchristensen>
oh I may try that
<gchristensen>
but try it anyway -- just draw a circle the whole time you're doing asdf
<dtzWill>
just saw it and was like hey that sounds useful xD
<NixOS_GitHub>
[nixpkgs] clemensmanert opened pull request #23403: Feat termdown at 1.11.0 (master...feat-termdown-at-1.11.0) https://git.io/vyZyN
<gchristensen>
lol into a scratch tab :P
<dtzWill>
(lol probably shouldn't have sent that sorry folks :D) Few double-f's in there
<dtzWill>
dishonor upon me, dishonor upon my family D:
<dtzWill>
MichaelRaskin: if "xrandr --listproviders" only shows 'intel'... I'm doing something wrong, right? haha O:)
<LnL>
rofl
paperd has joined #nixos
<MichaelRaskin>
dtzWill: are you the same person who pasted a refusal by nouveau to fina a card because the chipset is too new?
<dtzWill>
uhh I don't think so. I could be? but not that I'm aware of...
<dtzWill>
oh you mean the log message? yes lol O:)
<MichaelRaskin>
<dtzWill> http://ix.io/nTl looks like nouveau doesn't like the gtx 1050
<MichaelRaskin>
I have previously seen instances where non-working device drivers have impeded device usage.
<dtzWill>
amusingly I actually didn't have 'nouveau' in my xorg drivers list on that boot, added it and now I can't find that message. I know, that sounds silly for a few reasons, but... lol
<MichaelRaskin>
lsmod | grep nouveau
<dtzWill>
lmao, indeed they might be related!
<dtzWill>
yeah it's loaded
<dtzWill>
maybe the phoronix thing was just lack of accel support, which I'd guess means it doesn't support offloading until then either
<dtzWill>
I just wanted confirmation the provider should be listed always, isn't like lazily activated or something
<MichaelRaskin>
And what does dmesg say about nouveau?
<MichaelRaskin>
Should always be listed, yes
<dtzWill>
okay. I'm doing too many things at once, blargh, sorry. It's in the dmesg this time, probably was before and I typo'd nouveau or something? idk O:).
<MichaelRaskin>
Listing providers powers on the nvidia card on my notebook
<dtzWill>
neat, ty
<dtzWill>
but yeah as far as explanations go, nouveau complaining unknown chipset sure seems like the likely cause xD :).
ibrahims has joined #nixos
<MichaelRaskin>
Maybe glamor enforces DRI3 for me
ibrahims has quit [(Ping timeout: 258 seconds)]
mudri has joined #nixos
yegods has quit [(Remote host closed the connection)]
MichaelRaskin has quit [(Ping timeout: 240 seconds)]
MichaelRaskin has joined #nixos
<MichaelRaskin>
I mean, enforces DRI2
<MichaelRaskin>
Which I don't enable, though, but it still gets loaded
ibrahims has joined #nixos
yegods has joined #nixos
Kendos-Kenlen has joined #nixos
Kendos-Kenlen_ has quit [(Ping timeout: 256 seconds)]
bennofs has quit [(Ping timeout: 258 seconds)]
yegods has quit [(Remote host closed the connection)]
ibrahims_ has joined #nixos
ibrahims has quit [(Ping timeout: 260 seconds)]
c0bw3b has quit [(K-Lined)]
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vyZ7U
<gchristensen>
yeah, I changed hardware.bumblebee.enable = true and optirun glxgears gets me like 4x the framerate and /proc/acpi/bbswitch reports on, MichaelRaskin / dtzWill
<MichaelRaskin>
But you have an actually supported card?
<gchristensen>
this is with the nvidia driver and linux 4.9
<dtzWill>
interesting! Does nouveau not complain for you? Or did you use the nvidia driver patched?
<MichaelRaskin>
Or do you use bumblebee with nvidia drivers?
<dtzWill>
or 4.9 :) xD
<gchristensen>
nvidia + 4.9
<MichaelRaskin>
Oh
<MichaelRaskin>
(before my current setup I ran bumblebee-on-nouveau)
<gchristensen>
the bumblebee docs say to not use nouveau(sp?)
<MichaelRaskin>
Well, for cards that are well supported by mouveau, the situation is not that clear
hotfuzz_ is now known as hotfuzz
<gchristensen>
I can suspend/resume still, and if I run optirun glxgears and then suspend it has a Graphics Exception and glxgears has to be shut down and started again, but does so fine
ryanartecona has joined #nixos
<MichaelRaskin>
Hm, good question
<MichaelRaskin>
How do you run glxgears without vsync?
<gchristensen>
I don't know what that means (embarrassed)
<MichaelRaskin>
Well, by default it simply has 60 FPS for me, because it redraws on the monitor refresh
<gchristensen>
ah
<gchristensen>
when I run it without optirun, it says it is sync'd to the vertical refresh rate, and is showing 60FPS.
<gchristensen>
`optirun glxgears` doesn't have that notice about the vertical refresh, and says 180FPS
jgertm has quit [(Ping timeout: 258 seconds)]
<MichaelRaskin>
This is called not passing vsync data, not improving performance
<gchristensen>
ah, hehe
* gchristensen
has no idea what he's doing
elon_ has joined #nixos
<gchristensen>
my biggest interest is in my keyboard not doing invalid key-repeats, I hear turning on the second GPU fixes it. battery life is also quite important to me, so I'd prefer it off for this.
<MichaelRaskin>
I wonder if unwanted keyboard events are the special curse of Dell
<gchristensen>
is it?
<MichaelRaskin>
I had an Inspiron keyboard replaced under warranty because the original keyboard was sure that every time I press s I _also_ want d
<gchristensen>
I mean, did you not?
<MichaelRaskin>
Sometimes not immediately
hopio3151 has quit [(Ping timeout: 260 seconds)]
<gchristensen>
I would have sduggesdted jusdt amending all your wordsd to have a d after each sd.
Entroacceptor has quit [(Remote host closed the connection)]
<MichaelRaskin>
But the keyboard wasn't thrilled by the idea of letting me fit other keypresses between w and e (it was a busted linie)
<gchristensen>
oy
<gchristensen>
so I just typed "-sn" and got out "-sns"
<MichaelRaskin>
gchristensen: I would consider your proposal if you took it seriously enough to change the nick for this message
<gchristensen>
hah
<gchristensen>
I forgot about the `s` in my nick :(
<MichaelRaskin>
Well, you will need a second s eventually, now you just need to practice fitting all the extra keypresses you want between the repeats!
<MichaelRaskin>
Well, better than physically replacing the keyboard…
Kendos-Kenlen has quit [(Ping timeout: 240 seconds)]
yenzenz has joined #nixos
<gchristensen>
"I feel terrible that this otherwise fine laptop has such an irritating issue - combined with the fact that I can't get Dell to actually fix it."
<dtzWill>
fwiw if I have the issue it seems much less.. pronounced? Just curious, have you grabbed the feb BIOS update?
<dtzWill>
doesn't mention anything about this issue, but.. O:)
<clever>
gchristensen: this reminds me of a key-repeat issue i had years ago, caused by cpufreq scalling
<clever>
gchristensen: in my case, i believe the kernel was trying to calibrate the bogomips thing every time the freq changed, causing a 0.5 second lockup
<clever>
and suddenly, a press + release turns into a press by itself, and key-repeat kicks in!
<gchristensen>
dtzWill: I was just looking for this.
<dtzWill>
it's like 1 week old lol
paperd has quit [(Ping timeout: 240 seconds)]
<gchristensen>
oh man, not sure I can install it
mudri has quit [(Ping timeout: 240 seconds)]
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
DutchWolfie has quit [(Quit: Konversation terminated!)]
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
<gchristensen>
dtzWill: yeah I don't have a windows machine to use that EXE :P
<MichaelRaskin>
It cannot run under freedos?
<gchristensen>
ooh!
* gchristensen
would be lost without y'all
<clever>
some of the more powerful firmwares, are capable of connecting to the internet and downloading their own updates
<clever>
i found that on one of my EFI motherboards
apriori has joined #nixos
<apriori>
hello
<apriori>
does anyone know how to install qt sdk on nixos?
<apriori>
so I can use it from qtcreator?
<clever>
apriori: i was only able to get it to work by running qtcreator under a nix-shell that had included QT, and i had to point qtcreator to the path of qmake that nix-shell had setup (which qmake)
stepcut has quit [(Ping timeout: 240 seconds)]
* gchristensen
is out of USB drives
jgertm has joined #nixos
<johnw>
MOAR USB DRIVES!!!!
<apriori>
clever, hm, would you mind pointing to an example command line?
indi_ has joined #nixos
<clever>
apriori: nix-shell -p qt5.qtbase, then run "which qmake", make note of its path, and run "qtcreator", and configure a kit based on qmake's path
<clever>
apriori: sadly, that path will change every time you reboot
<apriori>
ouch.
<apriori>
okay, thank you.
<clever>
yeah
<greymalkin>
re nixops: Other than the /etc/hosts file that's generated, is there a way to get the IP of one of the generated hosts as part of the config?
smw_ has joined #nixos
<apriori>
ty again, clever and bb ;)
<smw_>
Anyone know why this command would fail?
<smw_>
# nix-build /root/nixpkgs/nixos/ -I nixos-config=/root/nixpkgs/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix -A config.system.build.sdImage
<smw_>
error: attribute ‘sdImage’ in selection path ‘config.system.build.sdImage’ not found
apriori has quit [(Quit: Leaving)]
<clever>
greymalkin: its part of an attributeset that nixops passes to your configuration
<clever>
smw_: what if you run this: nix-repl /root/nixpkgs/nixos/ -I nixos-config=/root/nixpkgs/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix
indi_ has quit [(Ping timeout: 264 seconds)]
<clever>
smw_: and then try to eval config.system.build in the REPL
<smw_>
clever: nix-repl: command not found
<smw_>
...
AllanEspinosa has quit [(Ping timeout: 256 seconds)]
<clever>
smw_: you need to install it first, nix-env -iA nixpkgs.nix-repl
<smw_>
error: getting information about ‘/root/.nix-defexpr’: No such file or directory
<smw_>
I am starting to think there is something very wrong with my setup :-)
<Kendos-Kenlen>
Do you plan to update the nixos iso image and switch to an more recent version of KDE?
<clever>
and if you dont have any channel, nix-env -f /root/nixpkgs/ -iA nix-repl
<clever>
smw_: .nix-defexpr is setup by nix-channel, but since you cloned nixpkgs, you skipped that step
<smw_>
error: attribute ‘platforms’ missing, at /root/.nixpkgs/config.nix:3:14 where config.nix contains pkgs: {platform = pkgs.platforms.raspberrypi2;}
<smw_>
clever: this is getting fun :-P
sellout- has quit [(Read error: Connection reset by peer)]
<smw_>
should I just delete my config?
<MichaelRaskin>
lib.platforms I guess
sellout- has joined #nixos
<clever>
smw_: i believe the platform is mainly for kernel stuff, so it shouldnt impact nix-repl, you can just rename config.nix temporarily
<smw_>
running install
Jackneill_ has joined #nixos
catch22 has quit [(Remote host closed the connection)]
Jackneill_ has quit [(Max SendQ exceeded)]
<clever>
heading off to bed
Jackneill_ has joined #nixos
romildo has joined #nixos
<romildo>
How to easily find the packages that depend on given package in NixOS?
v0|d has joined #nixos
<v0|d>
hello, looking for a way to make xen work w/ efi.
<romildo>
Mic92, nixos-rebuild reports that ‘webkitgtk-2.4.11’ is marked as insecure. How can I find which packages depends on it? Notice that I do not have a binary, but the package name.
ndowens08 has joined #nixos
<clever>
romildo: --show-trace maybe?, *runs off to bed*
<ndowens08>
Travis CI seems so unreliable
<smw_>
clever: so, I am building perl right now...
<smw_>
clever: this can definitely wear on you.
<ndowens08>
looks like he/she went to bed
jgertm has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] peti pushed 3 new commits to master: https://git.io/vynvZ
<NixOS_GitHub>
nixpkgs/master 197236a Peter Simons: hackage2nix: disable broken builds
<NixOS_GitHub>
nixpkgs/master 090921f Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub>
nixpkgs/master b923fd5 Peter Simons: git-annex 6.20170301.1 tarballs are no longer available anywhere; now we must use fetchgit
justbeingglad has joined #nixos
<LnL>
ndowens08: don't worry about the travis builds, it's not a requirement to get things merged
<ndowens08>
LnL: ik, just would be helpful to see the log, i have one or two that is failing in darwin
<LnL>
ping me, I'll test them
<ndowens08>
so far seems b/c it is missing gcc but trying to write: if system == x86_64-darwin native..... but build is saying unexpected IF
<LnL>
the darwin stdenv uses clang, some packages have gcc hardcoded
mudri has joined #nixos
<LnL>
I wonder if we should just add a gcc and g++ symlink to the stdenv
<dgonyeo>
I installed the `exfat` package but can't mount an exfat sd card with the error "mount: unknown filesystem type 'exfat'", anyone know what I'm missing?
mudri has quit [(Ping timeout: 260 seconds)]
AllanEspinosa has joined #nixos
<LnL>
dgonyeo: use boot.supportedFilesystems
<dgonyeo>
LnL: awesome, thanks!
<dgonyeo>
will that take a reboot to take effect?
<LnL>
don't think so
v0|d has quit [(Remote host closed the connection)]
romildo has quit [(Quit: Leaving)]
justbeingglad has left #nixos []
mudri has joined #nixos
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vynUV
<NixOS_GitHub>
nixpkgs/master cb13a8c Nikolay Amiantov: openspades: 0.0.12 -> 0.1.1b...
roconnor has quit [(Ping timeout: 268 seconds)]
cpennington has quit [(Ping timeout: 264 seconds)]
<ndowens08>
LnL: I did nativeBuildInputs = [] ++ stdenv.isDarwin [ gcc ]; do you think that will be fine, there is no other buildinputs, hense why []
dbmikus has joined #nixos
<gchristensen>
MichaelRaskin: do you reckon wine would work? I'm not too thrilled to install freedos anywhere.
<MichaelRaskin>
The whole point of booting freedos off a usb drive is that it gives enough hardware access
<gchristensen>
hrm... I was reading the docs and it was focusing on installing to the drive.
<MichaelRaskin>
I think
<MichaelRaskin>
you can get usb boot docs if you ask for them
ertes has joined #nixos
hiratara has quit [(Ping timeout: 246 seconds)]
hiratara has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to release-17.03: https://git.io/vynIs
echo_oddly has quit [(Quit: No Ping reply in 180 seconds.)]
k0001 has quit [(Ping timeout: 260 seconds)]
roconnor has joined #nixos
echo_oddly has joined #nixos
_habnabit has quit [(Ping timeout: 240 seconds)]
dtulig has quit [(Ping timeout: 258 seconds)]
pmade has quit [(Ping timeout: 268 seconds)]
jcbrand has joined #nixos
pingveno has quit [(Ping timeout: 240 seconds)]
_habnabit has joined #nixos
jgertm has joined #nixos
pingveno has joined #nixos
pmade has joined #nixos
ertes has quit [(Quit: Bye!)]
yegods has quit [(Remote host closed the connection)]
<mudri>
How worried should I be about libplist-1.12 being marked as insecure in nixos-unstable?
<mudri>
It seems to be an Apple thing, but I don't have any Apple things.
<NixOS_GitHub>
[nixpkgs] peti pushed 1 new commit to release-17.03: https://git.io/vynL6
<NixOS_GitHub>
nixpkgs/release-17.03 aa4a99c Peter Simons: Synchronize Haskell infrastructure with 'master' at b923fd5253d797b95b2ce617217954416d827d66.
bennofs has joined #nixos
yegods has joined #nixos
stepcut has joined #nixos
dtulig has joined #nixos
yegods has quit [(Client Quit)]
<gchristensen>
MichaelRaskin: yeah all the links I'm finding are dead links
<devoid>
hi all, I seem to be constantly having problems with my X11 configuration… whenever I change my monitor cabling I have to reconfigure things. For example, right now I'm getting two blank screens on my displayport monitors…
<NixOS_GitHub>
[nixpkgs] ndowens opened pull request #23407: highlight: Add support for darwin, suspecting needs gcc (master...highlight) https://git.io/vynYH
ppppp5_ has quit [(Ping timeout: 260 seconds)]
<devoid>
it's super annoying because under Windows I never have any problems with this monitor setup
paperd has joined #nixos
<LnL>
ndowens08: forgot about your message, that should work :)
<ndowens08>
gchristensen: Hey on logcheck, you said hyphen is important, well I tried to put hyphen back in, well it can't find the source b/c it isn't name-version, it is name_version.tar.gz
<ndowens08>
LnL: I submitted the change, but I dont have darwin to see if it will build or not
<devoid>
But linux is so terrible at dealing with it. Like why does it take 10s to register that I disconnected or plugged in a display? Why do the displays then go into power-saving mode?
<devoid>
Is there a way to see what xrandr sees remotely, e.g. over ssh?
<mudri>
Oh yeah, it is a bit confusing.
<devoid>
I tried doing X11 forwarding but couldn't figure it out
<devoid>
I get "X11 forwarding request failed on channel 0" when I connect from my OS X machine
ibrahims_ has quit [(Read error: Connection reset by peer)]
<devoid>
This is with "programs.ssh.forwardX11 = true;" and "programs.ssh.setXAuthLocation = true;"
<LnL>
ndowens08: did you pull/rebase master? you'll have to add darwin to the platforms again
<ndowens08>
LnL: I rebased it to squish commits
<ndowens08>
that is weird, showing changes when I looked at the changes tab
<LnL>
you change is based on the version before platforms was changed from unix -> linux as far as I can tell
<ndowens08>
LnL: huh, not understanding what ya mean exactly
<LnL>
it's one of the more confusing things with git
<LnL>
if you pull and rebase against master you the platforms should change to linux, then you can enable darwin again in you pr
zraexy has quit [(Ping timeout: 268 seconds)]
stepcut has quit [(Remote host closed the connection)]
ibrahims has joined #nixos
<devoid>
Does anyone have any suggestions for fixing / getting more information about my X11 issue?
devoid1 has joined #nixos
<LnL>
since when are "py" outputs a thing?
devoid has quit [(Ping timeout: 246 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
<ndowens08>
hmm why is it i am following examples with wrapProgram and they use --prefix but if I try to do it like the examples I get --prefix command not found
<wak-work>
probably missing trailing \
<wak-work>
on the first line
<ndowens08>
did that too
<7ITAANA2T>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vynZS
<nh2>
when I nix-build my executable on Ubuntu, nix seems to replace the libssl.so link in ldd by the one in /lib/x86_64-linux-gnu instead of using a /nix/store/.../libssl.so, why is that / which part of nix-build does that?
fhoffmeyer has joined #nixos
<Mic92>
mudri: it's used in libgpod, usually you don't have to worry about.
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to release-17.03: https://git.io/vynnu
<ndowens08>
ok i dont know how to fix this issue LnL: a binary can not find libcrypto, openssl is in buildinputs, I used wrapProgram to --prefix LD_LIBRARY_PATH and well still same result and I did tell it to use makeLibraryPath [ openssl]
<Mic92>
devoid1: maybe autorandr is faster
<Mic92>
ndowens08: you can also expand the rpath of an executable with patchelf
<Mic92>
meaning adding openssl to its path
<NixOS_GitHub>
[nixpkgs] joachifm pushed 3 new commits to release-17.03: https://git.io/vyncT
<NixOS_GitHub>
nixpkgs/release-17.03 60a64b2 Joachim Fasting: tor: split out geoip data...
<NixOS_GitHub>
nixpkgs/release-17.03 637337f Joachim Fasting: cryptodev: mark as broken for kernels >4.4...
<NixOS_GitHub>
nixpkgs/release-17.03 0efeb76 Joachim Fasting: nvidiabl: mark as broken on kernels >4.4...
<nh2>
ndowens08: I think I just hit exactly the same problem you describe
<ndowens08>
Mic92: sorry, but how do i do that?
zraexy has joined #nixos
<steveeJ>
can someone explain this line from nix-shell to me? $ENV{$_} = $drv->{env}->{$_} foreach keys %{$drv->{env}};
<LnL>
ndowens08: you might need to use patchelf or install_name_tool
<steveeJ>
I'm no good at perl and I wanna understand how nix-shell populates the environment
<Mic92>
ndowens08: you can find examples in nixpkgs
<nh2>
patchelf --print-rpath contains all nix paths for me except the ones to libcrypto and libssl
<ndowens08>
Mic92: k :)
<LnL>
steveeJ: each attribute of a drv is exposed as an environment variable
<nh2>
Mic92: somehow patchelf doesn't seem to be called appropriately for libcrypto and libssl in my case, all other nix deps are in the rpath
<nh2>
and that is despite openssl being listed in nix-store --query --requisites of my package built with nix-build
<steveeJ>
LnL: can you name some keywords for me to lookup in the perl docs? what's the _ pattern called? and the % at the end?
<Mic92>
steveeJ: $_ is an implicit variable
<Mic92>
its the loop variable in this case
<steveeJ>
how can an implicit loop value be in the lvalue :-D
<steveeJ>
s/value/variable
Kingsquee has joined #nixos
<Dezgeg>
that is basically equivalent to foreach keys %{$drv->{env}} { $ENV{$_} = $drv->{env}->{$_} }
<LnL>
I htink it's kind of like $@ in bash
<Dezgeg>
that is, the loop keyword can be placed at the end of a statement
<Mic92>
steveeJ: it is semantically something like this: foreach $a keys %{$drv->{env}} { $ENV{$a} = $drv->{env}->{$a} }
<NixOS_GitHub>
[nixpkgs] florianjacob opened pull request #23409: avahi-daemon service: Add option to enable point-to-point interfaces. (master...avahi-point-to-point-interfaces) https://git.io/vyncp
<LnL>
each attribute of the drv get's added as an environment variable
<LnL>
ndowens08: that one of the reasons why we ask people to use their github handle for maintainers entries
roconnor has quit [(Ping timeout: 260 seconds)]
<ndowens08>
LnL: ah well "ak" didnt match anything
<ndowens08>
so just sent an email
<Mic92>
ndowens08: or git blame
<Mic92>
nh2: usually the build system sets wrong linker flags
<Mic92>
nh2: was not properly replaced by libcrypto
<Mic92>
reference
<nh2>
Mic92: so in my case, I'm building a Haskell executable; all .so files point to something in /nix/store correctly, just libssl.so and libcrypto.so don't, and I don't understand why