<mucaho>
found it! it's located under "/nix/store/<hash>-linux-4.4.52-dev/lib/modules/4.4.52/build"
mkoenig has joined #nixos
<greoan>
I understand that many prefer keeping a .nix file in their $HOME rather than using the nix-env -i command. I'd like to try that out, but am failing to find any information on how to do so. If I write my file and call it `default.nix`, where should I put it in my home directory? What is the absolute minimum such file, say, to just install emacs or sl? When that file is in it's right position and name, what is the command to "bring it to
eacameron has quit [(Remote host closed the connection)]
<greoan>
mucaho: I mean a user profile for my user. I want to use nix instead of homebrew and ports (on darwin) for my day to day software installing. So I want to use it to install whatever programs I need to use. And I understand from speaking to folks that the preferred way is via a declaration of your dependencies somewhere in your $HOME. Just can't figure out where to put that .nix file then, and what is the bare minimum to get a working
<greoan>
installation from it
<greoan>
But thanks for the link - will def use that as well
<mucaho>
ah you mean like /etc/nixos/configuration.nix, but just for the current user, right?
<greoan>
I think that's what I mean, yeah
<greoan>
In the link you posted, it mentions "User Environment" which I suppose is what I'm looking to set up
ryanartecona has quit [(Quit: ryanartecona)]
<mucaho>
wow, I would like to know that as well now haha
<greoan>
Or how do you do, when you want to install something? Say you sit by your computer watching cat videos, and feel a pressing need to run the `sl` command. What are the steps to install it, given that you want to use a declarative .nix file that one can stuff in a git repo or whatever?
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vSk0a
<NixOS_GitHub>
nixpkgs/master 186cc51 Tuomas Tynkkynen: freicoin: Fix eval
jmiven has joined #nixos
<greoan>
Github user lethalman mentions "For the programs you can simply have a .nix file with a set, and nix-env -i
<greoan>
", which I suppose is the answer to my question
<mucaho>
yes, but I'm still figuring out the syntax
<justanotheruser>
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. This github issue (https://github.com/tensorflow/tensorflow/issues/5625) involves using a different version, but I'm not sure that applies to me given the current tensorflow version through nixos is 1.0.0. Any suggestions? This is
<erlandsona1>
Does anyone here know if nix packages has the alsa-tools-gui package? Or have any success running the hdajackretask program from alsaTools? I keep getting SEGFAULT whenever I try to run it and I think it's because alsa-tools-gui hasn't been packaged yet?
<taeradan>
I was not able to find where "imports" is defined
<joachifm>
taeradan: imports is not an option
<taeradan>
joachifm: so, what is it ?
joneshf-laptop has joined #nixos
<joachifm>
taeradan: a module has config, options, and imports. I think that if none of those are specified, config is assumed, for convenience
<joachifm>
taeradan: hence the error you got (I think).
<joachifm>
taeradan: so a conditional import would look like imports = ... ++ optional myBool ./fun-stuff.nix or something like that
ryanartecona has quit [(Quit: ryanartecona)]
<joachifm>
taeradan: does that make sense? not exactly sure I get what you're trying to accomplish :)
<taeradan>
I just want to import a file depending on a config option defined somewhere else
<taeradan>
more precisely, a potentially large set of files
klarso has joined #nixos
<klarso>
hello guys, i have openvpn.ovpn to conenct my ubuntu server. i can connect from windows but i couldnt make it in nixos. should i do something else to connect ?
<klarso>
i just do "sudo openvpn --config myconfig.ovpn"
<joachifm>
taeradan: have you tried something like { config, lib, ... }: { imports = lib.optionals config.fooEnabled [ ./a.nix ./b.nix ]; }
<taeradan>
I didn't know about "optionals", I was stuck with "if" and "mkIf"
eacameron has joined #nixos
<taeradan>
hurray ! optionals just saved my night
<joachifm>
:)
<taeradan>
it seems that mkIf was changing the type of what I defined, optional doesn't
<gchristensen>
ahh yeah that makes sense
eacameron has quit [(Ping timeout: 246 seconds)]
<taeradan>
arg, I was testing with "true", but with my actual variable, the infinite recursion is back
marsam has joined #nixos
<taeradan>
now I remenber why I was first using mkIf
eacameron has joined #nixos
klarso has quit [(Quit: WeeChat 1.7)]
marsam has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 258 seconds)]
dhess` has joined #nixos
seagreen has joined #nixos
tsmeets[m] has quit [(Remote host closed the connection)]
andreas303 has quit [(Ping timeout: 240 seconds)]
dhess` has quit [(Ping timeout: 258 seconds)]
ndowens08 has joined #nixos
<ndowens08>
heys
gbbrt_ has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [(Ping timeout: 264 seconds)]
mbrgm_ is now known as mbrgm
gbbrt has quit [(Ping timeout: 256 seconds)]
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
byteflame has joined #nixos
zeus_ has quit [(Ping timeout: 246 seconds)]
<fresheyeball>
hello out there
<fresheyeball>
how can I nix-env install from a .nix file?
symphorien has quit [(Quit: vacances)]
stepcut has quit [(Remote host closed the connection)]
<williamyaoh>
Does Nix automatically minimize symlink chains?
<disasm>
ooh... nixops rename... how is that command not in the docs :)
<williamyaoh>
For example, if I build a derivation with a symlink into /nix/store/...-foo/bar, and bar is just a symlink to /nix/store/...-baz/quux, will the symlink in my derivation automatically get rewritten to /nix/store/...-baz/quux?
<mounty>
Hello; I'm trying to install NixOS on a qemu-kvm instance running under OmniOS (OpenSolaris derivative). I passed -drive file=/dev/zvol/dsk/vault/vol/nixos_x64,cache=writeback,if=virtio,index=0 to the qemu-kvm command.
takle has quit [(Ping timeout: 256 seconds)]
<mounty>
It was necessary to add noapic to the NixOS CD boot command, to stop the kernel panicking.
<mounty>
Now it's booted to a command prompt, but I cannot see the virtual HD.
<mounty>
Oh wait sorry cancel all the above.
* mounty
slaps forehead
<mounty>
The HD is /dev/vda not /dev/sda.
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
[0x4A6F] has joined #nixos
<MichaelRaskin>
Funny. Before Fontconfig/Freetype update I had to take only the minimum subset from fonts/conf.d to get the specific rendering of DejaVu Sans Mono that I want, now minimal-config rendering is bad but taking the entire NixOS-generated config is fine. I am a bit scared of how anonying testing all this should be when Debian wants to update fc/ft
<gchristensen>
MichaelRaskin: extremely :p
<gchristensen>
I'm certain
<unlmtd[m]>
ahh I see the vim plugin stuff has changed, is there some documentation on the changes?
<MichaelRaskin>
Here it was at least cheap to try different wildcards for taking configs from the generated set
<MichaelRaskin>
(it would be harder even if I ran true NixOS, I guess)
takle has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm closed pull request #17694: curl: Add GnuTLS as an alternative to openSSL (master...curl) https://git.io/v60wC
takle has quit [(Ping timeout: 246 seconds)]
<avn>
MichaelRaskin: I hit similiar problem when build/update cairocffi. Finished with turn tests off (but well, I need off only one test really)
<avn>
may be will be good to have minimalConfiguredFontcoonfig, for build/test purposes, common for all packages?
<fpletz>
moin :)
simendsjo has quit [(Read error: Connection reset by peer)]
<MichaelRaskin>
My problem is that my test case is «I accept the rendering in my terminals as good enough»
takle has joined #nixos
<MichaelRaskin>
I can tell a package not to run its tests, I am not willing to turn off the test that is «I am comfortable using my tools»
<MichaelRaskin>
And this time _minimal_ config failed the test (but full NixOS config worked, unlike the previous time)
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vSk98
<NixOS_GitHub>
nixpkgs/master b9f35c1 Michael Raskin: Merge pull request #24312 from kamilchm/ponyc...
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vSk94
<NixOS_GitHub>
nixpkgs/master 101cb04 Joachim Fasting: surf-webkit2: 2017-03-06 -> 2017-03-22...
takle has quit [(Remote host closed the connection)]
edvorg has quit [(Remote host closed the connection)]
takle has joined #nixos
iyzsong has quit [(Quit: ZNC 1.6.4 - http://znc.in)]
YellowOnion has joined #nixos
<YellowOnion>
how do I rune wine64?
<YellowOnion>
actually nevermind, looks like you do it the same way you do it on any other linux OS
<gchristensen>
great to hear ;)
<avn>
you can switch your build to wine32/wine64 and wineWow (combined 32+64)
<avn>
Actually only 32bit well tested
carlosdagos has joined #nixos
rmrfroot has joined #nixos
<rmrfroot>
i'm trying to use nftables on nixos 17.03, but it can't be started since iptables need to be unloaded. however i can't unload iptables because it is in use? firewall is disabled, btw. this is after rebooting a couple of times too.
carlosdagos has quit [(Ping timeout: 260 seconds)]
<YellowOnion>
avn, how do you switch the builds?
<YellowOnion>
still getting use to nix
<gchristensen>
another embargoed Xen patch :( to be released 2017-04-04 12:00
hexagoxel has quit [(Ping timeout: 260 seconds)]
<avn>
wine.override { wineBuild = "wine64"; } # or wineWow for combined
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vSk9F
<NixOS_GitHub>
nixpkgs/master bb5d0f3 Robin Gloster: gdm: the patch is still necessary
hexagoxel has joined #nixos
<YellowOnion>
avn, thanks!
<avn>
by default `config.wine.build or "wine32"` is used, where config is nixpkgs.config branch of your configuration.nix
<mounty>
Now I have peoples attention, can I ask my question again:
<mounty>
If I have users.extraUsers.jackrose-ci.extraGroups = [ "wheel" ] shouldn't that put user jackrose-ci into group wheel so that s/he can sudo ?
<mounty>
... because it didn't.
<mounty>
And yes, I did nixos-rebuild switch.
<rmrfroot>
mounty: and `security.sudo.enable = true`?
frigate_freedom has left #nixos []
<gchristensen>
groups are inherited when the terminal is spawned, you may need to restart the service or the system or log out / log in, something like that
<mounty>
Oh sorry, I did nixos-rebuild switch BEFORE adding the configuration change.
* mounty
slaps forehead again.
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vSkHh
<NixOS_GitHub>
nixpkgs/master a381ee8 Nikolay Amiantov: zenity: fix for non-GNOME 3
<gchristensen>
hehe
<mounty>
It's working now. Thanks and sorry for the interruption.
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to release-17.03: https://git.io/vSkQe
<NixOS_GitHub>
nixpkgs/release-17.03 39326c6 Nikolay Amiantov: zenity: fix for non-GNOME 3...
<mounty>
Back to ultra-rightwing parliamentary grandstanding.
amir has quit [(Remote host closed the connection)]
<gchristensen>
mounty: also I look _way_ better in a suit than that george one
amir has joined #nixos
<mounty>
You could not look worse. The guy is a tool.
<gchristensen>
hehe
drasich has quit [(Ping timeout: 246 seconds)]
<MichaelRaskin>
gchristensen: looking good in a suite generally reduces your credibility among people who can write code…
<mounty>
There must be something wrong with the water up there for people to vote for him but this is the state that turned-down DST because the extra hour of sunlight would bleach their curtains.
<gchristensen>
MichaelRaskin: it is a burden I have to carry
<gchristensen>
mounty: that is very funny
<MichaelRaskin>
mounty: do you need a _reason_ to turn down DST?
<mounty>
It's also the state that voted-in Joh Bjelke-Petersen AFTER he was exposed as a gerrymandering crook.
<gchristensen>
mounty: I come from the USA, I can't talk.
<MichaelRaskin>
In the same state?
<mounty>
MichaelRaskin: some like it; some don't. Apparently some are trying to revive the issue although it was only 25 years since it was last turned down.
<MichaelRaskin>
I mean, he was voted in by the same people his gerrymandering favoured, right?
<mounty>
MichaelRaskin: that's right; the 'country' people.
<mounty>
Anyway, enough politix.
<mounty>
Thanks for the nixos help.
DutchWolfie has quit [(Quit: Konversation terminated!)]
xadi has joined #nixos
m0rphism2 has quit [(Ping timeout: 240 seconds)]
goibhniu has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vSkQ6
<NixOS_GitHub>
nixpkgs/master 4f9e590 Robin Gloster: gitkraken: clean-up
<NixOS_GitHub>
[nixpkgs] globin pushed 3 new commits to release-17.03: https://git.io/vSkQP
<NixOS_GitHub>
nixpkgs/release-17.03 68a0fa8 NWDD: gitkraken: init at 2.1.0...
tsmeets[m] has quit [(Remote host closed the connection)]
ambro718 has joined #nixos
dhess` has quit [(Ping timeout: 240 seconds)]
goibhniu has joined #nixos
RchrdB has joined #nixos
m0rphism2 has quit [(Ping timeout: 268 seconds)]
goibhniu has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub>
[nixpkgs] abbradar opened pull request #24317: phpfpm service: don't use private /tmp (master...phpfpm-tmp) https://git.io/vSkd0
spinus has joined #nixos
cfricke has joined #nixos
cfricke has quit [(Client Quit)]
<rmrfroot>
are there any scenarios where NixOS ignores `boot.blacklistedKernelModules` and loads modules anyway?
cfricke has joined #nixos
m0rphism2 has joined #nixos
rmrfroot has quit [(Remote host closed the connection)]
goibhniu has joined #nixos
carlosdagos has joined #nixos
civodul has joined #nixos
carlosdagos has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
goibhniu has quit [(Ping timeout: 258 seconds)]
reinzelmann has quit [(Quit: Leaving)]
JayVii has joined #nixos
<JayVii>
hey, i cannot quite find something on that on the options- or wikipages. is there a way to use override-options to change firefox' UI-language or do i have to rebuild firefox myself?
<MichaelRaskin>
I know firefox-bin (Mozilla-built and minimally patchelf'ed) should come with a lot of languages,
<MichaelRaskin>
Not sure how to change the set of languages during the source build… (should be easy to patch the package definition to add language support, though)
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/vSkbs
<NixOS_GitHub>
nixpkgs/release-17.03 082666f Nikolay Amiantov: phpfpm service: don't use private /tmp...
goibhniu has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
goibhniu has quit [(Ping timeout: 258 seconds)]
eacameron has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub>
[nixpkgs] veprbl opened pull request #24320: citrix-receiver: fix wrapper, direct dl url, /home/demo/nixpkgs needs… (master...cf) https://git.io/vSkNC
rmrfroot has joined #nixos
mucaho has joined #nixos
marsel has quit [(Ping timeout: 258 seconds)]
goibhniu has joined #nixos
<mucaho>
greetings! anyone tried developing a kernel module in nixos 16.09? followed suggested procedure (https://nixos.org/nixos/manual/index.html#idm140737315793904), but got "insmod: ERROR: could not insert module os/linux/mt7662u_sta.ko: Unknown symbol in module". anyone else had this problem? if so, how did you solve it?
<ndowens08>
yep thajt was the one i worked with last time i think
<gchristensen>
yep
<NixOS_GitHub>
[nixpkgs] globin pushed 2 new commits to release-17.03: https://git.io/vSkju
<NixOS_GitHub>
nixpkgs/release-17.03 6e6af33 Peter Hoeg: minikube: 0.16.0 -> 0.17.1...
<NixOS_GitHub>
nixpkgs/release-17.03 ea5800b Dan Peebles: minikube: switch to build from source & fix on Darwin...
mizu_no_oto has joined #nixos
takle has quit [(Remote host closed the connection)]
goibhniu has joined #nixos
<NixOS_GitHub>
[nixpkgs] cillianderoiste pushed 1 new commit to master: https://git.io/vSkj7
<NixOS_GitHub>
nixpkgs/master 65593e6 Cillian de Róiste: drumgizmo: 0.9.11 -> 0.9.12
stepcut has quit [(Remote host closed the connection)]
pxc has joined #nixos
<ndowens08>
gchristensen: so there is no new release to fix libpcre, would it be suitable to diff the file that is affected with the fixed file from svn
<joachifm>
ndowens08: have you asked upstream to make a new release?
<pxc>
:send-keys f12
<pxc>
lol whoops sorry guys
<ndowens08>
not yet, the security post says fixed in 8.41 (not released atm)
<pxc>
:send-keys f12
<pxc>
whyyyyyyyyyyy can't I type
ambro718 has quit [(Ping timeout: 246 seconds)]
<pxc>
hey Profpatsch, I just verified that the good behavior you liked from my patch for the programs/fish.nix module carries through to nix-shell invocations as well :-)
<pxc>
Profpatsch: if you want to start using it right away, you can just cherry pick the one patch from my PR (I don't think the fish-foreign-env update is strictly required for the other part to work)
<gchristensen>
ndowens08: probably not, leave a comment with that information and I'll check in to it later
<joachifm>
I wonder why they've not cut a new release. at least some of those issues are said to have been reported upstream quite some time ago.
<joachifm>
like 1 month ago
<ndowens08>
k
<ndowens08>
THought it would be better than what I tried to do last time, one file vs whole repo :)
<gchristensen>
joachifm: iirc pcre hasn't issued a release on 8.40 for like 15 years
goibhniu has quit [(Ping timeout: 258 seconds)]
<ndowens08>
gchristensen: 8.40 is out, but that is the one listed as affected, while we have 8.39
<gchristensen>
I see
<gchristensen>
I'll look in a bit, I have meat-space things to do :)
<joachifm>
gchristensen: ah, awesome. a c library that parses potentially untrusted inputs with no releases. how does that make sense
zeus_ has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
<globin>
ndowens08: it would only make sense to actually add patches from the specific svn revs that fixed the issue(s)
desktop has joined #nixos
desktop is now known as _deepfire
eacameron has quit [(Remote host closed the connection)]
<ndowens08>
globin: :) just a thought to make our own since there isnt any fixed version or patch listed
zeus_ has quit [(Remote host closed the connection)]
takle has joined #nixos
eacameron has joined #nixos
zeus_ has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
zeus__ has joined #nixos
<gchristensen>
ndowens08: fwiw making and applying that sort of diff is unlikely to ever be the best solution
<ndowens08>
gchristensen: :) k
zeus__ has quit [(Read error: Connection reset by peer)]
<MichaelRaskin>
Well, if fetch[VCS type] finds 50% of the time because the upstream VCS server is flaky, and patch is small enough…
zeus__ has joined #nixos
<MichaelRaskin>
(and if the VCS server is flaky, the patch is likely to be small because when people commit a lot they have an incentive to fix the VCS setup)
zeus_ has quit [(Ping timeout: 246 seconds)]
<dtz>
Haha
takle has quit [(Ping timeout: 258 seconds)]
goibhniu has joined #nixos
<ndowens08>
Not sure I am really helping at some of these lol. One just needs I THINK to push the version we have in master to 16.09
<MichaelRaskin>
Well, if you submit the reasons for your opinion, it will help the following people make up their mind
<ndowens08>
I posted version from master and 16.09 in the post and link showing version we have in master is fine, when looking at a certain post :)
<MichaelRaskin>
That may not be definitely, but definitely useful
<MichaelRaskin>
not be definitive, I meant
<MichaelRaskin>
With the split issues we have many UI questions, but noise inside issues is not one
Ivanych has joined #nixos
<ndowens08>
like the version RH pushed to their repo is 0.168, in which we have in master;
<MichaelRaskin>
Does the post say if they added any patches?
<ndowens08>
when affected is 0.166;
<ndowens08>
It stated that next release of software will contain fix
<ndowens08>
then following that, was the push to their repo
<MichaelRaskin>
I think there was a GCC version, technically not fully compatible with any other version (as usual), that existed _only_ as a RH-patched package (not upstream)
<MichaelRaskin>
Ah, that sounds good
<ndowens08>
Put link to the post to help others decide atleast
<MichaelRaskin>
Yes, that's OK
zeus__ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
zraexy has quit [(Quit: Leaving.)]
goibhniu has quit [(Ping timeout: 258 seconds)]
zraexy has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/vSIvr
<fresheyeball>
justanotheruser: I have muscle memory from stack. Not good for IRC.
<justanotheruser>
stack will autopastebin it?
<gchristensen>
you could use irccloud.com which will auto-pastebin stuff for you
<gchristensen>
justanotheruser: slack has multi-line messages
<justanotheruser>
oh
<ndowens08>
why does git always give me could not resolve github.com , sigh
<ndowens08>
in nixpkgs
<justanotheruser>
sounds like hsLib.cabal-helper has a misconfigured dependency
<justanotheruser>
dunno where it is defined though
dhess` has quit [(Ping timeout: 264 seconds)]
stepcut has joined #nixos
goibhniu has joined #nixos
<MichaelRaskin>
ndowens08: you mean inside a build?
<ndowens08>
through builder.sh because irssi has weird issues if it isnt done through git clone (new version) to fix a CVE
<MichaelRaskin>
Well, builds are sandboxed, they don't have /etc/resolv.conf, for example
<fresheyeball>
justanotheruser: what do I do though?
stepcut has quit [(Remote host closed the connection)]
<fresheyeball>
I want to be taught to fish, not given fish
<ndowens08>
ah that makes sense MichaelRaskin , so is there a way around it?
<justanotheruser>
fresheyeball: where is cabal-helper defined?
<justanotheruser>
it's not a nix package, is it?
rbl has joined #nixos
<MichaelRaskin>
Well, fetchgit/fetchFromGitHub, echo-ing stuff into files that would be generated using git, patching Makefiles, and we are drifting towards wider use of fake git
<fresheyeball>
justanotheruser: it is look at the .nix file. Its pkgs.haskell.packages.ghc802.cabal-helper
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
ertesx has joined #nixos
goibhniu has quit [(Ping timeout: 258 seconds)]
<ndowens08>
MichaelRaskin: never done that before; I learn by looking at examples, do you know of one that does that?
ertes has quit [(Ping timeout: 240 seconds)]
ertesx is now known as ertes
<MichaelRaskin>
Which one?
<ndowens08>
the method to use git to clone inside a builder.sh or so.
<ndowens08>
like 1.0.2 uses git to create docs/makefile.in and do other things
<MichaelRaskin>
There is no way to use git clone inside, but you can feed a ready clone using fetchgit
<MichaelRaskin>
Well, xen does use fake git inside the build
<ndowens08>
hmm will look at that one
<MichaelRaskin>
A lot of time you just echo "1.2.0.20170322" >> version.txt or something like that
<fresheyeball>
justanotheruser: I am a noob. What am I to make of that link?
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
goibhniu has joined #nixos
ryantrinkle has quit [(Ping timeout: 260 seconds)]
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
byteflame has joined #nixos
stepcut has joined #nixos
<NixOS_GitHub>
[nixpkgs] basvandijk opened pull request #24331: ssmtp: use the authPassFile option instead of authPass (master...ssmtp-AuthPassFile) https://git.io/vSIII
<NixOS_GitHub>
nixpkgs/master 7b70690 Michael Raskin: graphicsmagick: patch for CVE-2017-6335
<domenkozar>
bu47
slack1256 has joined #nixos
<domenkozar>
blah :)
<ndowens08>
fpletz: i was thinking no!!! I finally got it lol
pxc has quit [(Ping timeout: 240 seconds)]
ryantrinkle has joined #nixos
<ndowens08>
fpletz: you can close it, you pushed 1.0.2 :)
<ndowens08>
on irssi
<fpletz>
yeah, but graham stills needs to update his database ;)
<ndowens08>
ah ok :)
<fpletz>
clicked the wrong button :)
dhess` has joined #nixos
takle has joined #nixos
<MichaelRaskin>
I thought the DB update is a mass procedure that takes into account the closed-status of issues?
eacameron has joined #nixos
<fpletz>
could be, haven't looked at gchristensen's code yet
<MichaelRaskin>
Could be not yet complete, though
slyfox_ has joined #nixos
slyfox has quit [(Ping timeout: 246 seconds)]
<MichaelRaskin>
I know that constructing the CC list is not yet done
<ndowens08>
hmm this one says version x is affected, in which we have, but there is a newer version available; looking at the upstream commit history; no mention of fixing CVE
<MichaelRaskin>
(I guess my shell one-liner that was used for the current roundup won't get integrated as-is)
<MichaelRaskin>
Unfortunately, that's normal
<ndowens08>
Only thing i know is to update jasper to the lateast version, but IDK if it actually fixes the CVE
<ndowens08>
wait, hmm this is for a buffer-overflow
<ndowens08>
just found a commit saying Added some additional checking to prevent a potential integer overflow. So maybe?
<NixOS_GitHub>
[nixpkgs] edwtjo pushed 1 new commit to master: https://git.io/vSI33
<NixOS_GitHub>
nixpkgs/master dc514b2 Edward Tjörnhammar: i2pd: 2.11.0 -> 2.12.0
<MichaelRaskin>
Then stdenv.lib.overrideDerivation google-chrome (x: {src="/nix/store/j9gg9jq5kwkgf2iwxd43sg706kr619c2-google-chrome-stable_57.0.2987.110-1_amd64.deb";})
<MichaelRaskin>
(I hope I am not making a trivial typo somewhere)
<fresheyeball>
builder for ‘/nix/store/aq26cksnw1h5wd5r1aqw4pcd1hpwhccx-google-chrome-55.0.2883.87.drv’ failed with exit code 9
<fresheyeball>
unpacking sources
<fresheyeball>
ar: /nix/store/j9gg9jq5kwkgf2iwxd43sg706kr619c2-google-chrome-stable_57.0.2987.110-1_amd64.deb: No such file or directory
<MichaelRaskin>
Did you do nix-prefetch-url?
simendsjo has joined #nixos
<fresheyeball>
MichaelRaskin: no, what is that?
pxc has joined #nixos
<MichaelRaskin>
Could you just checkout the master from github and do nix-env -f /path/to/master/nixpkgs -A google-chrome -i?
<MichaelRaskin>
nix-prefetch-url downloads a remote file into /nix/store and prints the hash, I think it is described in NixPkgs manual
<simendsjo>
I'm having problems building a custom kernel module. How can I setup the environment so /lib/modules/kernelversion/build exists? I'm already using with import <nixpkgs> { }; at the top of my file, but `kernel` isn't imported.
justan0theruser has joined #nixos
athan has joined #nixos
noam has joined #nixos
m0rphism3 has joined #nixos
<clever-afk>
simendsjo: i saw something about that on an issue, one min
justanotheruser has quit [(Ping timeout: 240 seconds)]
<gchristensen>
fpletz: go ahead and close issuees :)
<gchristensen>
globin: ^
pxc has joined #nixos
<gchristensen>
I have a tool to reconcile my DB with closed issues
<MichaelRaskin>
I dunno, maybe I want to be able to close issues at some point
<MichaelRaskin>
Right now I am not doing much, though
<simendsjo>
clever-afk: I still have no idea how to get access to this kernel variable. Trying to search the nixpkg repo, but I'm searching pretty blind here - haven't read through too much nix/nixos yet.
dhess` has joined #nixos
carlosdagos has joined #nixos
Rotaerk has quit [(Quit: Leaving)]
<NixOS_GitHub>
[nixpkgs] sjmackenzie opened pull request #24338: current rustRegistry doesn't have the clap 2.22.1 (master...rustRegistry_bump) https://git.io/vSIGw
carlosdagos has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
nixpkgs/release-16.09 a8b75d7 Will Dietz: elfutils: security 0.165 -> 0.168...
eacameron has joined #nixos
rotaerk has quit [(Remote host closed the connection)]
eacameron has quit [(Remote host closed the connection)]
<mounty>
Can anyone suggest what's wrong with my hydra server? When I run hydra-server, it outputs:
<mounty>
[warn] Unicode::Encoding plugin is auto-applied, please remove this from your appclass and make sure to define "encoding" config
<mounty>
DEPRECATION WARNING: The Regex dispatch type is deprecated.
rotaerk has joined #nixos
<mounty>
It is recommended that you convert Regex and LocalRegex
<mounty>
methods to Chained methods. at /nix/store/8wgq8vy1lqf54ckirvcfzhjd8wbh3akn-hydra-perl-deps/lib/perl5/site_perl/5.22.2/Catalyst/DispatchType/Regex.pm line 210.
<mounty>
I can ssh to someuser@192.168.1.113 so I know the machine is accessible.
<mounty>
Sorry, when I say 'another browser' I mean a browser on another machine.
rotaerk has quit [(Client Quit)]
eacameron has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
eacameron has quit [(Remote host closed the connection)]
<mounty>
I'm not too worried about those warnings unless they're relevant but ISTM they are just about deprecated code.
xadi has joined #nixos
Itkovian has joined #nixos
Rotaerk has joined #nixos
eacameron has joined #nixos
<justan0theruser>
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. This github issue (https://github.com/tensorflow/tensorflow/issues/5625) involves using a different version, but I'm not sure that applies to me given the current tensorflow version through nixos is 1.0.0. Any suggestions? This is
<simendsjo>
I was able to build it manually using `nix-shell '<nixpkgs>' -A linuxPackages.kernel`, modifying `Makefile`, and patching up compile errors. Doing insmod, I get a message `rtusb init rt2870` and `usbcore: registered new interface driver rt2870`. I still cannot see the device though.. The ra0 link should have been created. And this is obviously a big hack anyway... :(
<Ralith>
mounty: if you're running a network service on machine A and machine B can't reach it, check your firewall
<slack1256>
on the haskell-modules, jailbreak means that a build will omit upper bound checking?
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
<Unode>
If I wanted to keep the packages required for using 'vmTools.runInLinuxVM' installed and prevent garbage collection from removing them, what packages should I keep on a profile?
byteflame has joined #nixos
Rotaerk has quit [(Quit: Leaving)]
eacameron has joined #nixos
hiratara has quit [(Ping timeout: 246 seconds)]
<mounty>
Ralith: my firewall is set up to allow all internal traffic and as I say, ssh is working. Also working are NFS, IMAP, Postgres etc.
<Ralith>
ssh auto-adds a firewall exception, mostly to make it very difficult to lock yourself out by accident
<Ralith>
I'm not sure what you mean by "internal," since I'm talking about the firewall on machine A
<mounty>
ssh can only do that to its local machine though. ssh is running on my (*Linux) workstation(s) but my firewall is on my (OmniOS) server.
hiratara has joined #nixos
byteflame has quit [(Ping timeout: 264 seconds)]
<mounty>
Ralith: thanks but I'm sure it cannot be that. In any case, I have httped from one machine to another, locally, just not to the new nixos machine, yet.
<mounty>
Maybe I should build my (web) application on nixos and run it, to demonstrate http connectivity to it.
<Ralith>
again, I'm talking about the firewall on the workstation
<mounty>
Yes; good plan.
<mounty>
I don't run firewalls on the workstations.
<MichaelRaskin>
Unode: what about defining a trivial test and using its output?
<mounty>
Does nixos run a firewall by default ?
<gchristensen>
yes
<mounty>
Ahh... gotcha.
<mounty>
OK, quick help then please ... open port 3000 ?
<Unode>
MichaelRaskin: I tried storing the result of nix-build hello using vmTools but the derivation doesn't seem to keep a dependency on vmTools itself so garbage collector still removed it.
eacameron has quit [(Remote host closed the connection)]
<MichaelRaskin>
gc-keep-derivations = true
<MichaelRaskin>
gc-keep-outputs = true
<MichaelRaskin>
Do you have this in nix.conf?
<Unode>
one of them I'm sure I do. Checking
<Unode>
he first I didn't
<Unode>
*the
reinzelmann has quit [(Quit: Leaving)]
<MichaelRaskin>
nix.extraOptions should be the place to add this option
pdobrogost has quit [(Quit: Connection closed for inactivity)]
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/vSInd
<NixOS_GitHub>
nixpkgs/release-17.03 0269456 Vladimír Čunát: texlive: fix CVE-2016-10243...
stepcut has quit [(Remote host closed the connection)]
eacameron has quit [(Remote host closed the connection)]
<Ralith>
mounty: for future reference, `sudo netstat -lntp` is a good way to debug whether/how something's actually listening, and then you can use `socat` from various places to determine low-level reachability empirically
<fresheyeball>
ok
<fresheyeball>
lets say I want to install a kde theme
<fresheyeball>
do I do that with nix?
simendsjo has quit [(Quit: ERC (IRC client for Emacs 24.5.2))]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/vSIcs
<NixOS_GitHub>
nixpkgs/release-16.09 98d8770 Vladimír Čunát: texlive: fix CVE-2016-10243...
stepcut has joined #nixos
dhess` has joined #nixos
<mounty>
Thanks Ralith; good tip.
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
drasich has joined #nixos
deepfire has joined #nixos
rotaerk has joined #nixos
dhess` has quit [(Ping timeout: 260 seconds)]
Acou_Bass has quit [(Ping timeout: 240 seconds)]
Piece_Maker has joined #nixos
Piece_Maker is now known as Acou_Bass
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
Jackneill has quit [(Remote host closed the connection)]
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
deepfire has quit [(Remote host closed the connection)]
thc202 has quit [(Ping timeout: 240 seconds)]
deepfire has joined #nixos
stepcut has quit [(Ping timeout: 240 seconds)]
Rotaerk_ has joined #nixos
jensens has quit [(Ping timeout: 240 seconds)]
Rotaerk_ has quit [(Client Quit)]
ryantrinkle has quit [(Ping timeout: 260 seconds)]
<ndowens08>
Anyone use mxt-app for atmel maxtouch devices, wondering if my update in a PR is fine
carlosdagos has joined #nixos
stepcut has joined #nixos
dhess` has joined #nixos
periklis has quit [(Ping timeout: 256 seconds)]
prim0 has joined #nixos
pxc has joined #nixos
Hoffman has joined #nixos
carlosdagos has quit [(Ping timeout: 246 seconds)]
erasmus has joined #nixos
prim0 has left #nixos ["Limnoria 2017.01.10"]
marsam has joined #nixos
<ndowens08>
Git gurus: tell me if I understand merge correctly; If I work on Branch A, and want to take the changes to master, git checkout master, git merge A would merge branch A into master?
systemfault has joined #nixos
<ndowens08>
Seems like it anyway, makes sense
<joachifm>
that's normally how it works
erasmus has left #nixos ["Jack's Back"]
Hoffman has left #nixos ["part"]
<ndowens08>
Thx joachifm , thought that was right :) Trying to understand git better
dhess` has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub>
[nixpkgs] periklis opened pull request #24340: [WIP] qt58: extend darwin compatibility (master...topic_qt58_modules) https://git.io/vSIlP
<joachifm>
ndowens08: have you looked at the git book?
<ndowens08>
hmm dont think so; I have been mostly catching on through bits and pieces here and there.
<ndowens08>
if it is phone friendly, that'd be nice :)
<mounty>
dmj`: Because I'm building a nixos/hydra-based CI server so have to start by building the application.
eacameron has joined #nixos
<gchristensen>
mounty: *perks up* oh?
<mounty>
Am I doing something wrong/stupid/unexpected ?
<gchristensen>
no a nixos/hydra-based CI server is intteresting to me. I'd like to know more.
<ndowens08>
I would say it is b/c travis is not reliable lol
<dmj`>
mounty: if it builds with stack it has a cabal file, so you can generate a nix expression from it, and build it that way
<mounty>
Well, er, that's it. I've installed nixos in a qemu-kvm VM, then installed hydra within that. Now I want to set up a full CI project.
<mounty>
I don't like travis because I want to keep the CI in-house.
<dmj`>
yea, I can’t imagine trying to use hydra w/o nixos
<mounty>
There are too many examples of companies like Amazon, Paypal etc. just deciding that you're violating their ToS and pulling your account.
<mounty>
I'm not doing anything dodgy but that doesn't stop them.
<gchristensen>
fair enough
<mounty>
They do the pulling really quickly then take ages to reinstate. Thanks, but I don't wish to participate.
<joepie91>
mounty: "Our investigation has showed that you have violated our Terms of Service. <end of message>"
<dmj`>
mounty: why don’t you just put nixos on a machine in your house then, access your hydra over the internet
<joepie91>
always fun when one of the Internet Companies refuses to tell you why you've been suspended...
<joepie91>
Big Internet Companies
<joepie91>
*
<mounty>
joepie91 exactly. But their investigation was a misunderstood troll message on some forum.
eacameron has quit [(Ping timeout: 264 seconds)]
<joepie91>
mounty: oh yes, but they'll never tell you that :)
<joepie91>
(I share your bitterness about suspension policies at big internet companies :P)
<joepie91>
I'm still kind of amazed that these companies are getting away with having absolutely no customer service at all *whatsoever*, but I shall end my rambling and ranting here in favour of more on-topic topics ;)
<MichaelRaskin>
I think you are assuming too much foundation in their suspension decisions. An entire troll post?
<MichaelRaskin>
Isn't a bad roll of RNG enough anymore?
<gchristensen>
go forth and start a better business, based on nixos, joepie91
<mounty>
OK, so having established the desirability of not depending on the benificence of 3rd party companies, I have a VM running nixos running hydra.
<mounty>
So I'm playing around making sure that hydra can do the second step; namely build the software.
<NixOS_GitHub>
[nixpkgs] abbradar pushed 2 new commits to master: https://git.io/vSI8l
<NixOS_GitHub>
nixpkgs/master 99434ab Nikolay Amiantov: ibus: wrap with GTK dependencies...
<NixOS_GitHub>
nixpkgs/master 66b05cd Nikolay Amiantov: ibus-engines: use wrapPythonPrograms...
<mounty>
(the first step being to clone the git suppository of course)
<mounty>
Running /home/jackrose-ci/.stack/programs/x86_64-linux/ghc-8.0.2.temp/ghc-8.0.2/configure --prefix=/home/jackrose-ci/.stack/programs/x86_64-linux/ghc-8.0.2/ in directory /home/jackrose-ci/.stack/programs/x86_64-linux/ghc-8.0.2.temp/ghc-8.0.2/ exited with ExitFailure 1
<mounty>
checking for path to top of build tree...
<mounty>
/home/jackrose-ci/.stack/programs/x86_64-linux/ghc-8.0.2.temp/ghc-8.0.2/configure: utils/ghc-pwd/dist-install/build/tmp/ghc-pwd-bindist: /bin/bash: bad interpreter: No such file or directory
<mounty>
configure: error: cannot determine current directory
<joepie91>
gchristensen: hehe. I don't do businesses, but I *do* have a project based on NixOS... :)
<NixOS_GitHub>
[nixpkgs] abbradar pushed 2 new commits to release-17.03: https://git.io/vSI84
<NixOS_GitHub>
nixpkgs/release-17.03 bb271fb Nikolay Amiantov: ibus: wrap with GTK dependencies...
<NixOS_GitHub>
nixpkgs/release-17.03 50cc86c Nikolay Amiantov: ibus-engines: use wrapPythonPrograms...