mjhoy has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
fadenb has joined #nixos
digitus has quit [(Quit: digitus)]
markus1209 has joined #nixos
markus1219 has joined #nixos
markus1189 has quit [(Ping timeout: 240 seconds)]
markus1199 has quit [(Ping timeout: 240 seconds)]
sellout- has joined #nixos
hopio3151 has quit [(Remote host closed the connection)]
mudri has quit [(Ping timeout: 255 seconds)]
erasmas has quit [(Quit: leaving)]
mudri has joined #nixos
<shlevy>
How do I get pdflatex with scheme-full?
roconnor has quit [(Quit: Konversation terminated!)]
roconnor has joined #nixos
<shlevy>
Oh
<shlevy>
I need combined.scheme-full I guess?
<shlevy>
Yep, that was it
<Unode>
gchristensen: skimming through it seems like a really nice piece of work. And familiarity hit me when reading the expressions section. Reminded me I need to get more Haskell going :)
roconnor has quit [(Client Quit)]
echo-area has joined #nixos
<justanotheruser>
gchristensen: sorry, I think my project too specific to be this broad, I actually meant to ask this in python :p
<echo-area>
Hi, I was about to upgrade my system, but I was too late to download flash_player_ppapi_linux.x86_64.tar.gz at the moment. They are providing version 24.0.0.221 now but nix tried to download version 24.0.0.194. And I couldn't find it anywhere else. How to solve this problem?
<avn>
btw, are original flash tarballs redistributable or not?
<sziszi>
guys, i need an advice or just show me some direction in nixos package managemen: How do you do it? what kind of packages do you install system wide and which ones per profile?
RchrdB has quit [(Ping timeout: 240 seconds)]
<avn>
sziszi: I prefer to install all system-wide, using myEnvFun (even if it deprecated) to split/group functionalities
<avn>
sziszi: mainly because I like idea of all-at-once building
isHavvyGhosting is now known as Havvy
<sziszi>
that is my problem :)
ibrahims has joined #nixos
<sziszi>
I dont really like that
<sziszi>
I'd have a systemwide profile with the most general apps
<echo-area>
sziszi: I personally only add packages that I need in a every new system to system-wide packages. For other packages, I use nix-shell
<sziszi>
I read about nix-shell
<sziszi>
but it's persistent?
<sziszi>
I mean
AllanEspinosa has joined #nixos
<sziszi>
is there an option like that?
<echo-area>
Unless the downloaded packages are garbage collected, they are persistent
ibrahims has quit [(Ping timeout: 240 seconds)]
<sziszi>
so they are not persistent :/
<echo-area>
Oh, I see what you meant
<echo-area>
Yes they are not
<sziszi>
I'd like to set up an env for developing in one language/ and another for AVR related stuff and so on
<gchristensen>
Unode: yeah, it is a super great website :)
<gchristensen>
justanotheruser: it did seem slightly awkward of a question for #nixos :D
<sziszi>
as I read about this topic I didnt't saw someone who do it like this
<ndowens08>
got a new keyboard, it is quiet, was using a gaming keyboard, but makes me feel like i am slower at typing
<echo-area>
I solved my flash-player problem with Nix expressions checked out to release-16.09 from a local git repo
<gchristensen>
ndowens08: what kindL
<gchristensen>
?
<ndowens08>
use to do 40-60wpm
<ndowens08>
it is a logitech, not sure the model, but solar-powered wireless
<gchristensen>
sziszi: I use nix shells, and they do get garbage collected, but not so often, and it doesn't impact my work much.
<gchristensen>
sziszi: "not persistent" means it may just need to download some packages to recreate it, which is the same as if you used the same nix shell and updated the channels and new packages were available.
<c74d>
sziszi: I pin the packages I want to be available for nix-shell so that they won't be garbage-collected, by listing them in `system.extraDependencies`
<ndowens08>
wife got tired of hearing the tapping noise of my gaming keyboard lol
<echo-area>
c74d: Good to know it, thanks
<gchristensen>
ndowens08: I use a kinesis advantage exclusively, wife is either ok with it, or I have to stop typing, or I have to leave the room :)
<ndowens08>
ah, well this is a custom built desktop so i cant carry it :)
<ndowens08>
built this for gaming so yea
Rotaerk has joined #nixos
<sziszi>
ndowens08: silence it then
<ndowens08>
sziszi: how can you silence a keyboard that naturally clicks, and plus i type fairly fast
<sziszi>
dont know what keyboard did you have but you can silence the mechanical ones
<ndowens08>
it was a razr gaming keyboard, lights up green
<sziszi>
so you got blues
<sziszi>
razer... i hope it's not with razer switches
<sziszi>
they're amongst the worst switches out htere
<gchristensen>
I have a zillion keyswitches. I might could justify this...
<ndowens08>
ok gonna try out my module, i believe this is what i used last time, but it isnt finding nixos dir: NIXOS_CONFIG=/home/ndowens/configuration.nix NIX_PATH=/home/ndowens/nixpkgs build-vm but it says nixpkgs/nixos was not found in the nix search path
<gchristensen>
sziszi: what have you done to me >.>
<sziszi>
gchristensen: sorry
<ndowens08>
getting somewhere :)
<gchristensen>
sziszi: I book marked that one for another day.
<ndowens08>
you know, you would think that if something is in '' '' it wouldn't worry if it is a variable or not :\
<gchristensen>
sorry?
<ndowens08>
created variables and such that is suppose to be options ppl use to choose from and change and it later writes it out and now it wants to say www-root is undefined variable
<gchristensen>
pikajude: you could try setting networking.firewall.logRefusedPackets to true, and networking.firewall.logRefusedUnicastsOnly to false, and seeing if you get rejected packets in your journalctl
takle has quit [(Remote host closed the connection)]
derjohn_mob has joined #nixos
roconnor has joined #nixos
<ndowens08>
gchristensen: so can't push writeText to the pkg's directory, since this module is for hiawatha?
<pikajude>
gchristensen: yeah, there are rejected multicasts
<pikajude>
what do I do about that
<gchristensen>
I'm not sure yet :) I've never used it.
<pikajude>
ok
<gchristensen>
networking.firewall.extraCommands = "iptables -A nixos-fw -d 224.0.0.0/4 -j nixos-fw-accept"
s33se has joined #nixos
lambdamu has joined #nixos
ibrahims has joined #nixos
griff_ has joined #nixos
<pikajude>
that worked, thanks
mkoenig has quit [(Quit: Lost terminal)]
<pikajude>
continuing the honored linux tradition of blindly copying and pasting text into my system configuration
<gchristensen>
lol
<gchristensen>
pikajude: can you remove that from your config, rebuild, and test to see if the config persisted?
s33se_ has quit [(Ping timeout: 240 seconds)]
<pikajude>
gchristensen: looks like it did
<pikajude>
oh wait, sorry
<pikajude>
i removed the wrong thing :|
<ndowens08>
eh couldnt make a complicated module for hiawatha but atleast i can do one that starts it when Nix comes up
<gchristensen>
:)
roconnor has quit [(Ping timeout: 240 seconds)]
ibrahims has quit [(Ping timeout: 240 seconds)]
<pikajude>
it persisted
<gchristensen>
pikajude: so you deleted the iptables line, rebuilt , switched, and you can still accept multicast?
<pikajude>
yes
<gchristensen>
awkward :D
thc202 has quit [(Ping timeout: 240 seconds)]
<gchristensen>
thank you
mbrgm has quit [(Ping timeout: 268 seconds)]
<justanotheruser>
benley: I have postfix enabled
<justanotheruser>
it seems like I'm missing a package, just not sure what it is
tm_ has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
acowley is now known as acowley_away
<gchristensen>
" All but eight of the 100 formats Netpbm knows are seen only in museums today."
<gchristensen>
globin: ping? do you have a preference for which "Channel" of netpbm we follow? Super Stable, Stable, Advanced?
<gchristensen>
Fedora packages Advanced
<ndowens08>
gchristensen: ok, may not can do this module at all, b/c can't modify the config file while it is in the nixstore; and cant install the config in the user/root home, so dik
<gchristensen>
ndowens08: can the program be passed a config file in its argumenst?
<ndowens08>
yup but i wanted to create a module so it can auto start
<gchristensen>
the module can pass the config argument
<ndowens08>
hmm true :)
<gchristensen>
that is how most nixos modules work
ibrahims has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
<echo-area>
Has anyone successfully built NVIDIA driver for Linux 4.9?
<srhb>
echo-area: Yep.
<srhb>
echo-area: Stuck on some kernel module?
ibrahims has quit [(Ping timeout: 240 seconds)]
<copumpkin>
is there a command equivalent to exportReferencesGraph?
<echo-area>
srhb: I can build it for Linux 4.8 though. I suppose I would have to use Linux 4.8 for a little while. Thanks for the info :)
<copumpkin>
clever: you might know? :)
<srhb>
echo-area: Maybe I'm mistaken after all. I might have built it under 4.8 as well. I'm wondering how I ended up with the current driver on 4.9.9 then. though
<gchristensen>
echo-area: it doesn't build on 4.9 yet
<echo-area>
gchristensen: Oh, okay.
excelangue has quit [(Ping timeout: 260 seconds)]
tm_ has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] grahamc pushed 1 new commit to release-16.09: https://git.io/vD7qY
<NixOS_GitHub>
nixpkgs/release-16.09 381c2bd Graham Christensen: netpbm: 10.70.00 -> 10.77.02 for numerous fixes...
<NixOS_GitHub>
[nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vD7qs
<NixOS_GitHub>
nixpkgs/master f308722 Graham Christensen: netpbm: 10.70.00 -> 10.77.02 for numerous fixes...
hexagoxel has joined #nixos
<ndowens08>
gchristensen: in a module in preStart can bash be used or only nix? I know how to use bash to check if a dir exists and if it doesn't then can create it
Drakonis has quit [(Quit: Leaving)]
<gchristensen>
preStart is bash :)
<ndowens08>
yay :)
excelangue has joined #nixos
<ndowens08>
i can do small small things in bash
<benley>
echo-area: I ended up on linux 4.8 for the same reason, I guess we just need to wait
<echo-area>
I see
<NixOS_GitHub>
[nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vD7qu
<NixOS_GitHub>
nixpkgs/master 6fc3840 Graham Christensen: tomcat6: drop, no longer supported.
<NixOS_GitHub>
[nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vD7qa
<NixOS_GitHub>
nixpkgs/master c4bbadf Graham Christensen: tomcat6: more thoroughly remove tomcat6
fiddlerwoaroof has quit [(Quit: Gone.)]
erlandsona has joined #nixos
roconnor has joined #nixos
<erlandsona>
Hey all! Anyone here right now?
<ndowens08>
ugh! i have in my configuration config = "/home/bob.hiawatha" and in modules config = { default = "${pkgs.hiawatha}/etc/hiawatha/hiawatha.conf"; and it gives value is a string while a set was expected :(
<NixOS_GitHub>
[nixpkgs] grahamc pushed 4 new commits to master: https://git.io/vD7qD
<NixOS_GitHub>
nixpkgs/master 7b17c5b Graham Christensen: tomcat7: 7.0.73 -> 7.0.75
<NixOS_GitHub>
nixpkgs/master f246ea0 Graham Christensen: tomcat8: 8.0.39 -> 8.0.41
<NixOS_GitHub>
nixpkgs/master ae3820b Graham Christensen: tomcat85: 8.5.9 -> 8.5.11
<erlandsona>
ndowens08: I feel your pain.
ibrahims has joined #nixos
<ndowens08>
but yea some of us is here :)
roconnor has quit [(Ping timeout: 240 seconds)]
<erlandsona>
Do you know how to make caps lock the alt key with xkb?
ibrahims has quit [(Ping timeout: 268 seconds)]
<ndowens08>
ah nope :\ if it was which mod key is the windows key i could tell ya or alt
<ndowens08>
what it refers to in awesome/i3 wm
<NixOS_GitHub>
[nixpkgs] grahamc pushed 4 new commits to release-16.09: https://git.io/vD7mO
<NixOS_GitHub>
nixpkgs/release-16.09 1cc9887 Vladimír Čunát: libxml2: bugfix updates from git upstream...
<NixOS_GitHub>
nixpkgs/release-16.09 ce3ffe7 Joachim Fasting: linux_4_9: patch for CVE-2017-5986...
<erlandsona>
:/
peterhoeg has joined #nixos
<gchristensen>
hi peterhoeg
<justanotheruser>
what packages do I need to run 'mail'
<erlandsona>
I just don't know how to make xkb swap them... I've looked up examples but they're not super obvious? Add the nix layer on that and it just gets a bit daunting. gchristensen good to see your here again. Any ideas?
<justanotheruser>
I'm just jumping on the bandwage
<justanotheruser>
bandwagon
<erlandsona>
Just seems like the friendly thing to do.
<peterhoeg>
In that case, I don't want to leave you out: hi justanotheruser
athan has quit [(Remote host closed the connection)]
<peterhoeg>
And it's mid day here, but I'll let you know if I do become popular tonight.
echo-area has quit [(Remote host closed the connection)]
<justanotheruser>
your name sounds very swedish
<ndowens08>
ok how do i solve "value is a string while a set was expected" when the data the user will put in is a dir?
<justanotheruser>
hmm, but its 6AM in sweden, nvm
<erlandsona>
ndowens08: have you had any version of your code working? Rather can you link to a snippet?
<ndowens08>
well i have to set a config dir location, which the user needs to
<peterhoeg>
Actually it's 5am in Sweden, but no, I'm Danish and living in Singapore
<erlandsona>
ndowens08: I mean I'm noticing "home/bob.hiawatha" is different from pkgs.hiawatha? Not sure it's relevant. Is the error giving you a line/column for the error. Sometimes that can help keep my eyes on code I know needs to be a different type.
<ndowens08>
but like the default config dir would be in the pkgs......
<ndowens08>
even leaving it blank on default gives same error
<erlandsona>
ndowens08: what's the root goal? Rather what are you trying to accomplish?
<ndowens08>
enable hiawatha and let the user select the config dir since nixstore is read only, they won't be able to set up the server, so they need to be able to select a writeable dir
<erlandsona>
Hmm... that's similar to something I'm trying to figure out too... I don't really understand how to write derivations / configurations to modify nix's readonly directories?
<erlandsona>
gchristensen: any thoughts? You seem to know more than me about this stuff in general?
<benley>
wheeeeee python package updates and the tangle of infinite version pinning
<benley>
nathan7: what's wrong with grub?
<sziszi>
04:57 < gchristensen> like super unstable / not the channel?
<nathan7>
benley: it's a large, complex piece of software
<sziszi>
is there a super unstable?
<nathan7>
sziszi: git checkout of master
<sziszi>
oh gawd
<benley>
nathan7: so is everything else I run :-P
<nathan7>
benley: I suppose
<sziszi>
i'm on stable and I really want to live on the edge
<benley>
grub is trivial compared to, like, Chrome :P
<nathan7>
benley: it's part of the root of trust for my boot
<nathan7>
err, chain of trust*
<benley>
anyway I don't mean to start a debate, I'm just curious what you think of it
<nathan7>
if my bootloader can be tricked into executing arbitrary code, my boot chain is toast
indi_ has quit [(Client Quit)]
<nathan7>
gummiboot is small enough that I've read the source code in its entirety
<benley>
oh I'd totally be using gummiboot if I were on an EFI system
<benley>
however, this device is Coreboot
<nathan7>
oh, neat
<benley>
which is its own special world of weird stuff
<benley>
but grub works at least
<nathan7>
yeah
<nathan7>
my regular X240 is currently dead (screen dead, fan issues)
<nathan7>
so that SSD is in my X201, running effectively headless, and I did GRUB there
<nathan7>
and I'm running off this 2013 macbook instead, which is mostly empty (because I needed a machine to bring along to Russia)
<nathan7>
I don't think this machine even does MBR boot at all?
<copumpkin>
I don't think I've ever tried, but I doubt it
<benley>
I think you can convince 2013 macs to do MBR boot if you need to; there is a flag to the osx `bless` command (possibly undocumented?) to do it
<benley>
yknow I still really wish that OpenFirmware had become the new thing instead of UEFI. But oh well.
erlandsona has quit [(Ping timeout: 240 seconds)]
mguentner has quit [(Read error: Connection reset by peer)]
takle has quit [(Ping timeout: 260 seconds)]
ertes has joined #nixos
mguentner has joined #nixos
ibrahims has joined #nixos
<ndowens08>
gchristensen: error: value is a string while a set was expected, at /home/ndowens/nixpkgs/lib/modules.nix:219:62
<ndowens08>
after i set my configDir as type = types.str
Shou has quit [(Ping timeout: 255 seconds)]
ibrahims has quit [(Ping timeout: 240 seconds)]
<ndowens08>
wonder if that file is corrupted ?
<ndowens08>
nope copied from nixos/nixpkgs and same error
erlandsona has joined #nixos
<erlandsona>
nathan7: benley: do either of you know how to remap capslock to alt with xkb on Nix? I feel like it should be one of the default options but no such luck far as I can tell.
<benley>
I think I've got that in my configs somewhere, I'll try to dig it up
<erlandsona>
I've remapped all my tmux bindings to use the -T option to eliminate the need for a prefix binding in tmux so I can use alt instead. Then on my mbp I just remap capslock to alt and OSX doesn't use alt for really much of anything so it works out?
athan has joined #nixos
<erlandsona>
benley: thanks for digging that up but I'm not sure that works for alt?
<benley>
oh _alt_
* benley
digs
<erlandsona>
:)
<benley>
take a look in /etc/X11/xkb/rules/base.lst
<benley>
I don't understand why xkb options is such a twisty maze of strange intersections of options, but there are a lot of possibilities in there
<erlandsona>
I don't either but I haven't found anything like xkbOptions = "winalt=nocaps";?
<erlandsona>
Or jsut "alt:nocaps"; for that matter?
<erlandsona>
Yeah and I don't really feel like specifying an entire keymap... :( Hmm...
<ndowens08>
yay got it!
<erlandsona>
ndowens08: Yay!
<erlandsona>
benley: I guess a better conversation might be... My justification for using alt on OSX was because it was a relatively unused key and I could map it to caps lock. That said, seemingly everything on Linux is mapped to alt, or ctrl-shift something. I guess instead of figuring out how to map alt and then figuring how to map windows/command key to handle application windows/tabs etc... just use the default alt
<erlandsona>
shift my keys around to trick my brain and then just map all my tmux bindings to windows?
<benley>
whoa cool there is a chromebook keyboard layout in xkb
<erlandsona>
What's mapped to the windows/command key on linux?
<benley>
normally that's "super" I think
<benley>
and the windows "menu" key is either compose or hyper, or "5th level toggle" or ... who the hell knows what obtuse 1980s-era thing
<ndowens08>
erlandsona: i left out the mkOption part lol
Shou has joined #nixos
ibrahims has joined #nixos
athan has quit [(Read error: Connection reset by peer)]
athan has joined #nixos
erlandsona has quit [(Ping timeout: 260 seconds)]
<ndowens08>
spent idk how long figuring out what was wrong and all it was is that i left out mkOption in configDir = :\
erlandsona has joined #nixos
<nathan7>
benley: OpenFirmware surviving would've been _so dope_
ibrahims has quit [(Ping timeout: 260 seconds)]
stauvit has quit [()]
<erlandsona>
benley: I guess rather my question is what programs use "super" and for what purposes?
<benley>
it often ends up being used like a windows key would, like in KDE by default hitting super brings up the app launcher menu, and in Unity it brings up the unity uh ... lens thing
ndowens08 has quit [(Ping timeout: 240 seconds)]
<erlandsona>
Hm... so if I'm using XMonad the windows key is sort of free game then eh? So remapping all my tmux bindings to the windows key and then having XMonad use alt would make it all as close to my OSX setup as possible.
<erlandsona>
I think.
<benley>
yeah, I think you could do that.
<benley>
I use super/win as the modifier key to get i3wm's attention
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
systemfault has quit [(Quit: Bye!)]
<erlandsona>
Well that's how I have it setup now... but I was thinking about using alt for my WM and then mapping windows key for tmux? Rather I just wish I could setup OSX bindings on Linux? Oh well...
<erlandsona>
So what does the "Compose" key do?
<benley>
that one's for entering extended characters, comparable to how you would do it with the option key in macos
erlandsona has quit [(Quit: WeeChat 1.5)]
erlandsona has joined #nixos
<benley>
erlandsona: you probably missed my last line about the compose key: "that one's for entering extended characters, comparable to how you would do it with the option key in macos"
<erlandsona>
Ahh... that makes sense! Cool Thanks so much for all your time benley. It's getting late here in Nash TN. So I'm probably gonna pack up for the night.
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vD7c7
<NixOS_GitHub>
nixpkgs/master 43dbd91 Peter Hoeg: calibre: 2.76.0 -> 2.79.1
<NixOS_GitHub>
nixpkgs/master a3410e2 Peter Hoeg: Merge pull request #22933 from peterhoeg/u/cal...
excelangue has quit [(Ping timeout: 260 seconds)]
kampfschlaefer has joined #nixos
Rizy has quit [(Quit: Rizy)]
Rizy has joined #nixos
excelangue has joined #nixos
Rizy has quit [(Client Quit)]
Gohla has quit [(Read error: Connection reset by peer)]
ixxie has quit [(Ping timeout: 260 seconds)]
<peti>
spacekitteh: Why not use /etc/profile? "if [ -n "$IN_NIX_SHELL" ]; then .... fi".
<spacekitteh>
peti: how would that work?
<peti>
spacekitteh: I haven't tested it, but I think that should work.
<peti>
spacekitteh: What do you mean?
<spacekitteh>
like, how would it pull in specific packages etc?
<peti>
spacekitteh: I don't understand what you mean. I thought you wanted to define environment variables to be set inside of nix-shell?
<spacekitteh>
peti: no
<peti>
Oh, okay. Then I misunderstood.
<spacekitteh>
peti: i mean the entire contents of shell.nix's
<peti>
spacekitteh: Why do you think that's useful to have in configuration.nix?
<spacekitteh>
that way i only have one file/logical set of files to copy (/etc/nixos/) instead of having random shell.nix's scattered around everywhere
<peti>
Nobody stops you from putting all your shell.nix files into one place.
sibi has quit [(Quit: Connection closed for inactivity)]
<spacekitteh>
and manually simlinking?
<spacekitteh>
that's icky and not very declarative
<peti>
It's not more or less declarative then putting them into configuration.nix.
<spacekitteh>
it is, because instead of having a single nix expression describing the entire machine, you now have multiple nix expressions
<peti>
spacekitteh: Nobody stops you from referring to those nix-shell config files from configuration.nix.
panostimos has joined #nixos
<spacekitteh>
sure, nobody stops me, but it's still pretty ugly
<peti>
I guess I cannot see what special support for shell.nix in configuration.nix could possibly accomplish that you can't do already.
pi3r has joined #nixos
Gohla has joined #nixos
<spacekitteh>
well for starters, instead of having to refer to a specific file in a specific directory, you could just `nix-shell my-shell` in an arbitrary directory - referencing it by a logical name instead of a physical file path
<spacekitteh>
but the main thing would be an improvement of usability, just like how nixos containers could be done pre-nixos containers
<peti>
spacekitteh: The syntax "nix-shell my-logical-name" is already taken.
<peti>
spacekitteh: I suppose one could introduce a new command line flag for that purpose.
<spacekitteh>
sure, it's taken by specification of the path, but it's easy enough to add a check to see if it's a logical shell identifier
<peti>
spacekitteh: Anyway, I see now what you mean.
<simpson>
Maybe a `nixos-shell` instead?
Gohla has quit [(Ping timeout: 240 seconds)]
<spacekitteh>
simpson: aye
mkoenig has joined #nixos
<mbrgm>
is there something like linux-tools-generic for nixos?
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vD7Cj
<NixOS_GitHub>
nixpkgs/master facb2c0 Peter Hoeg: bundler: 1.14.3 -> 1.14.4
<NixOS_GitHub>
nixpkgs/master 3729441 Peter Hoeg: Merge branch 'u/bundler' into real_master
<peterhoeg>
I just did a minor update to bundler. Is that OK to merge the local branch directly into master?
<peterhoeg>
mbrgm: what exactly are you looking for?
<Heffalump>
is there a way to get nix-shell to build several attributes at once (preferably direct from the command-line)?
<Heffalump>
I'm still a bit confused about what exactly nix-shell does, so I may be missing something obvious
<peterhoeg>
Heffalump: nix-shell doesn't build - it gives you a shell.
<Heffalump>
true - but it builds dependencies along the way
<peterhoeg>
nix-build buils, and yes, it can indeed build multiple: nix-build -A one_thing -A another_thing
Gohla has joined #nixos
<Heffalump>
oh :-)
<peterhoeg>
nix-shell builds whatever depedencies are needed to give you the shell
<mbrgm>
peterhoeg: looking for 'ipusb'
<mbrgm>
errr
<mbrgm>
usbip
<mbrgm>
the kernel module seems to be included with the default nixos kernel, but the userspace tools is missing
<Heffalump>
ok, so I think I want a way to build all dependencies needed to give me several shells - to save time later when I actually want the shells. I'd rather do it in one nix command so it only tries to build each shared dependency once.
<Heffalump>
nix-build isn't working on the attributes directly because they are designed for shells, not building, and don't have a $src variable (I think)
<MichaelRaskin>
I still feel stupid. a couple of weeks after a kernel upgrade has made my bumblebee+intel-virtual-output setup less stable in some situations, I finally tried the modesetting + PRIME setup that previously had the same problems as bumblebee after the update. Turns out, Prime now works even without the dirty hacks I previously used…
<MichaelRaskin>
(it depends on specific GPU pair, of course, in my case it is ThinkPad W530 Ivybridge Mobile + NVE7)
Ivanych has quit [(Quit: Leaving.)]
jgertm has joined #nixos
johann__ has quit [(Quit: Leaving.)]
Ivanych has joined #nixos
peterhoeg has quit [(Remote host closed the connection)]
peterhoeg has quit [(Remote host closed the connection)]
johann__ has joined #nixos
peterhoeg has joined #nixos
mkoenig has joined #nixos
ilyaigpetrov has joined #nixos
johann__1 has quit [(Ping timeout: 240 seconds)]
<viric>
what's up with gunzip and symlinks? Mh "gunzip -k this.gz" (it's a symlink)
<viric>
gzip: this.gz: Too many levels of symbolic links
<ilyaigpetrov>
to build custom iso I have to clone nixos/nixpkgs, don't I?
<ilyaigpetrov>
I'm just think cloning such a big repo should be done with one level of depth
jgertm has quit [(Ping timeout: 240 seconds)]
<ktosiek>
git does support shallow clones
<avn>
also you can use fetchzip
<avn>
it not so big w/o history
<ktosiek>
or rather fetchgithub, github zips don't have stable checksums
isidore has joined #nixos
<MichaelRaskin>
viric: maybe gunzip doesn't want to touch a symlink because it is not sure whether to create the unpacked file near the symlink or near the symlink target?
<viric>
MichaelRaskin: sounds more like a bug
<MichaelRaskin>
viric: gunzip < this.gz > this should still work anyway
<viric>
MichaelRaskin: of course :)
<MichaelRaskin>
viric: it is not a bug, it is explicitly written in documentation
<MichaelRaskin>
Gzip will only attempt to compress regular files. In particular, it will ignore symbolic links.
<viric>
auhm
<viric>
it's gunzip
<viric>
and it's with -k
<viric>
should be harmless
johann__ has quit [(Quit: Leaving.)]
pi3r has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
<viric>
I don't like that gzip decision about -k :)
peterhoeg has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vD7Bl
<NixOS_GitHub>
nixpkgs/master 69ea45d Vladimír Čunát: lxqt.screengrab: fixup build after KDE updates...
<bennofs>
Can I start a server that listens on localhost in a nix builder?
griff_ has joined #nixos
<simpson>
bennofs: Interesting. For testing purposes, I presume
<simpson>
?
<bennofs>
simpson: yes
Gohla has quit [(Quit: Bye.)]
GiGa|Laptop has quit [(Quit: Leaving)]
ebzzry has quit [(Quit: leaving)]
pi3r has quit [(Ping timeout: 268 seconds)]
<viric>
the chromium expression is frigtening
<viric>
frightening
takle has joined #nixos
<fpletz>
viric: I also tried packaging iridium a few months ago and came to the same conclusion :)
<fpletz>
viric: I read some of commit they've done… their changes look useful to me in general
<fpletz>
*the commits
<viric>
fpletz: we may have to ask chaoflow
<viric>
the maintainer
<fpletz>
Profpatsch: you broke bonding btw
<fpletz>
Profpatsch: are you around to fix it? otherwise I would revert your commits
joelmo has joined #nixos
<globin>
viric: i thought aszlig is doing the chromium stuff mostly?
<fpletz>
Profpatsch: you've deprecated the bonding driver options but they just don't work anymore, a warning is not useful in this case… I've deployed a machine and didn't notice the warnings, it had no networking after that :/
takle has quit [(Ping timeout: 240 seconds)]
<viric>
globin: ah ok. I saw chaoflow as the maintainer
<MichaelRaskin>
Some people ask why I don't believe we are ready to move to maintainership-based procedures across NixPkgs and should experiment with some areas where the existing maintainers would be willing to draft some local change procedure rules…
<MichaelRaskin>
Chromium seems to be an illustration…
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] ikervagyok opened pull request #22938: btrfs-dedupe: add new package at the latest git revision. (master...btrfs-dedupe) https://git.io/vD70Y
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vD703
<Profpatsch>
I didn’t write test cases, just checked if the generated stuff was the same.
Asymmetric_ has joined #nixos
<Profpatsch>
It’s non-trivial code for sure.
<fpletz>
Profpatsch: so the machine did have networkd before because bonding was broken before https://github.com/NixOS/nixpkgs/pull/22727 but IIRC we switched to scripted before merge the upstream master with your changes
<fpletz>
Profpatsch: we've always explicitely set all bonding options available, including miimon
<Profpatsch>
scripted as in: non-networkd?
<fpletz>
yup
<Profpatsch>
Because in that case the translation code should not matter.
<Profpatsch>
*cannot matter
<fpletz>
Profpatsch: ah, it does not work for networkd
<fpletz>
sorry, then we still had networkd on that machine
<Profpatsch>
Ah!
<Profpatsch>
Can you check if the generated unit file is correct?
<asymmetric>
hey, was anyone at today's berlin meetup?
<fpletz>
asymmetric: yes
<asymmetric>
fpletz: is it over already?
<Profpatsch>
Because I suspect it just doesn’t work correctly because networkd is still buggy as hell in my experience.
<asymmetric>
i went there 10 minutes ago but found noone
pi3r has joined #nixos
<fpletz>
asymmetric: oh, did you ring the bell and nobody opened?
<asymmetric>
well, there wasn't any bell with the name "schnee von morgen"
<fpletz>
Profpatsch: +1 on networkd breakage :/
<asymmetric>
but i rang them all, yes
Asymmetric_ has quit [(Ping timeout: 260 seconds)]
<fpletz>
asymmetric: did you see the paper with the nixos logo? it's in the backyard
<asymmetric>
no i didn't
<Profpatsch>
It should translate all settings from bond.driverOptions to valid networkd settings, according to the networkd bonding man page.
<asymmetric>
it's kiefholzstr. 1 right?
<ibrahims>
i guess it's about the latest update where some haskell packages got broken
<ibrahims>
is there a way to change the default ghc to ghc 7.10.2 ?
<fpletz>
Profpatsch: the filterSystemdOptions function seems to be wrong, but I haven't fully understood what's going on there %)
jgertm has quit [(Ping timeout: 260 seconds)]
Jackneill_ has joined #nixos
<fpletz>
Profpatsch: should we maybe just remove the old options instead of deprecating and merging them? the evaluation would at least fail then, which is perfectly fine imho
<Profpatsch>
fpletz: I’d rather fix the merging
<Profpatsch>
I think it makes sense to have an automatic translation to the networkd options.
<hodapp>
I try to install something, nix-env tells me of a conflict between two files, says "use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages"
<hodapp>
I run "nix-env --set-flag priority 5 pdfjam", get "error: selector ‘pdfjam’ matches no derivations"
<Profpatsch>
hodapp: Do you need to use nix-env?
<Profpatsch>
Maybe it’s easier with a nix-shell.
<hodapp>
Profpatsch: then why is the error suggesting nix-env?
<fpletz>
Profpatsch: driverOptions works for networkd (after the typo fix above), but the deprecated options don't
<Profpatsch>
hodapp: The error stems from nix-env, right
jgertm has joined #nixos
<Profpatsch>
fpletz: Ah! I see.
<Profpatsch>
fpletz: Yes, of course, I see now.
<hodapp>
Profpatsch: so my question is why the basic command it suggests, as well as something nearly identical taken from the man page (i.e. "nix-env --set-flag priority 5 binutils") should be failing.
<Profpatsch>
Quite blatantly obvious in hindsight.
<Profpatsch>
hodapp: Not sure how much love nix-env receives.
<Profpatsch>
I don’t use it at all for example, since it introduces state into the system.
<hodapp>
so, docs are probably just wrong?
<bennofs>
hodapp: i believe you can only set flags on installed packages
<hodapp>
bennofs: oh, that's helpful to know
jgertm has quit [(Ping timeout: 260 seconds)]
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
phreedom has joined #nixos
<NixOS_GitHub>
[nixpkgs] Profpatsch closed pull request #22855: mpd avahi support & slight refactoring of module (master...mpd) https://git.io/vDDuy
<Baughn>
Profpatsch: What do you do to install per-user packages?
<Profpatsch>
Baughn: Hm, I don’t have the problem of a multi-user system.
<Profpatsch>
But normally I just use nix-shell -p
deepfire has quit [(Ping timeout: 255 seconds)]
<Profpatsch>
Depends on the use-case.
<Baughn>
Hm~
<Baughn>
My own preference is to have a single bundle-package in .nixpkgs/config, and install *that*. Still technically state, but not so bad; it goes in git.
jluttine has quit [(Ping timeout: 240 seconds)]
<Profpatsch>
Yeah, that sounds reasonable.
<Baughn>
But I could imagine putting nix-shell wrappers in ~/bin, and I've done that in a few cases. The downside is that they get GC'd.
<Baughn>
(I'd like the GC not to GC anything used recently..)
<Profpatsch>
aszlig even went so far as to have packages installed that just install a wrapper which will realize the packages when the binary is first called.
<Baughn>
I mean, that's what nix-shell does..
erlandsona has joined #nixos
<Profpatsch>
Nah, that way it gets built by hydra.
<erlandsona>
Alright I'm rested! Hey y'all!
<Profpatsch>
It’s a rather special kind of setup. :)
<Profpatsch>
fpletz: Hm, I wonder how we can propagate the merge of deprecated options to the networkd translation.
<Profpatsch>
afaik it’s not possible to have options depend on config values.
<Profpatsch>
Somehow it has to be accessile from the networkd config.
<Profpatsch>
Otherwise the deprecation implementation would be doubled.
<Profpatsch>
Is there a space in config reserved for passthroughs like those?
erlandsona has quit [(Quit: WeeChat 1.5)]
jgertm has quit [(Ping timeout: 268 seconds)]
ixxie has quit [(Ping timeout: 255 seconds)]
cfricke has joined #nixos
cfricke has quit [(Client Quit)]
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
astsmtl has quit [(Ping timeout: 252 seconds)]
jluttine has joined #nixos
derjohn_mob has joined #nixos
<NixOS_GitHub>
[nixpkgs] rnhmjoj opened pull request #22943: vapoursynth: disable OCR by default (master...vapour-ocr) https://git.io/vD7ri
<gchristensen>
Profpatsch: it sounds like you're working really really hard to make this work, when it may be better for long-term maintainability to accept the breakage
<NixOS_GitHub>
[nixpkgs] johbo opened pull request #22944: trytond: init at 4.2.1 (master...add-trytond) https://git.io/vD7rP
<ilyaigpetrov>
How does `inherit` work? Seems not in the docs -- where to find it?
<Profpatsch>
ilyaigpetrov: Inherit: if something with the name is in the scope, use it as foo = foo
<Profpatsch>
{ inherit foo; } == { foo = foo; }
<ilyaigpetrov>
Profpatsch: can it take many arguments?
<Profpatsch>
yes
<ilyaigpetrov>
ok, thanks
<Profpatsch>
Also, there’s a special form:
<Profpatsch>
let foo = { bar = 5; }; in { inherit (foo) bar; } == { bar = 5 }
excelangue has quit [(Ping timeout: 255 seconds)]
<ilyaigpetrov>
Profpatsch: why we need the second `bar`: let foo = { bar = 5; }; in { inherit (foo); } == { bar = 5 }
<ilyaigpetrov>
i removed it
<ilyaigpetrov>
ok, it may be burdensome to explain syntax to every newbie -- how am I supposed to learn this?
Jackneill_ has quit [(Read error: Connection reset by peer)]
itsN1X has quit [(Read error: Connection refused)]
bennofs1 has joined #nixos
itsN1X has joined #nixos
itsN1X has quit [(Read error: Connection refused)]
itsN1X has joined #nixos
ttuegel has joined #nixos
itsN1X has quit [(Read error: Connection reset by peer)]
<alphor>
ilyaigpetrov: no prob. perhaps it should be made clearer what each manual goes over in the preface of all the manuals.
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
ndowens08 has joined #nixos
shymega has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
bennofs1 has quit [(Ping timeout: 240 seconds)]
stepcut has quit [(Ping timeout: 240 seconds)]
<Acou_Bass>
eey folks, im trying to make a nixpkg that uses cmake for the building... i can make it all go through BUT the build fails, and im not sure if its an error with my nixpkg or one with the software itself XD
<Acou_Bass>
it errors out with: fatal error: SDL_ttf.h: No such file or directory despite SDL_ttf being in the buildInputs
<ttuegel>
Acou_Bass: This is a common problem with SDL headers. You will have to tell the builder exactly where SDL is. How to do that varies depending on the build script.
<Acou_Bass>
fair enough, are there any examples you know off the top of your head i can look at to figure it out?
<NixOS_GitHub>
[nixpkgs] abbradar pushed 2 new commits to master: https://git.io/vD76E
<NixOS_GitHub>
nixpkgs/master 713918a Nikolay Amiantov: haskellPackages.pointfree: fix build
<NixOS_GitHub>
nixpkgs/master 32560d2 Nikolay Amiantov: haskellPackages.lambdabot: fix build
<Acou_Bass>
hmmm ttuegel i tried using a similar line: NIX_CFLAGS_COMPILE="-I${SDL2_ttf}/include/SDL/SDL_ttf.h"; but i get same error
<ttuegel>
Acou_Bass: That needs (at least) to be `${stdenv.lib.getDev SDL2_ttf}`.
<Acou_Bass>
ahhh right, gimme a sec ill try :D
bennofs has quit [(Ping timeout: 255 seconds)]
<Acou_Bass>
the issue is SDL2_ttf doesnt actually have a dev output like SDL does
<Acou_Bass>
not sure if thats related really
<ttuegel>
Acou_Bass: That's not a problem, that's what getDev checks for.
<Acou_Bass>
ahh
<Acou_Bass>
yeah im still getting the same error with that - sorry to be a pain im not that up to scratch on nix OR cmake so this is a bit of a recipe for disaster
ertes has quit [(Ping timeout: 255 seconds)]
<ttuegel>
Acou_Bass: Could you pastebin a log for me?
<ttuegel>
Unfortunately, CMake allows one to do some reeeeeally foolish things, which is probably what has happened to the developers here...
<ndowens08>
When i packaged hiawatha, it appeared it put all the config files in ${pkgs.hiawatha}/etc but when i find where the package is installed in the nix-store is isnt there, but i can find them. Last time I found them in a different dir in the nix-store, why would they be in seperate dirs in the store?
griff_ has joined #nixos
<ttuegel>
Acou_Bass: It turns out the SDL2 headers are in include/SDL2
<Acou_Bass>
yeah thats where i pointed the line hehe
<Acou_Bass>
oh wait
<Acou_Bass>
nope, i did SDL
<Acou_Bass>
ook ill give that a bash, in a way i hope this still doesnt work so all this isnt caused by my dumb typo -_- :d
<Acou_Bass>
yeah it still gives me the same error with SDL2 =\
<Yatekii>
hi
<ttuegel>
Acou_Bass: From looking at CMakeLists.txt for that project, I see if you set `cmakeFlags = [ "-DDISABLE_TTF" ]` you could at least work around that error. XD
<Acou_Bass>
reckon itll build without it? its worth a try i suppose ;D
<ttuegel>
Acou_Bass: I mean, why would they create that option if it didn't work?
<Acou_Bass>
the software runs on other platforms, maybe OSX or windows dont use it?
* Acou_Bass
shrugs
mizu_no_oto has joined #nixos
<gchristensen>
hey ttuegel, let me know if there is something I can do to help with kde4, I should be around a good bit of today.
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
ryanartecona has joined #nixos
<Acou_Bass>
ttuegel: looks like youre onto something, its actually building \o/
astsmtl has quit [(Ping timeout: 260 seconds)]
* ttuegel
gives gchristensen the thumbs-up
<pikajude>
kde4 👏
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
Gohla has joined #nixos
<ndowens08>
there we go, PR hiwatha and my first module :)
yenzenz has quit [(Ping timeout: 268 seconds)]
takle has quit [(Remote host closed the connection)]
<pikajude>
anyone know of a linux terminal emulator that uses unicode 9 character width rules
excelangue has quit [(Ping timeout: 260 seconds)]
excelangue has joined #nixos
erlandsona has joined #nixos
BlessJah has joined #nixos
erlandsona has quit [(Quit: WeeChat 1.5)]
<gchristensen>
ttuegel: nice work on that plan, I think that'll be really respectful of our users, too.
<ttuegel>
gchristensen: Cool. Before I started writing that out, I actually didn't realize how many packages have already been updated. IDK why all those old versions are hanging around...
katyucha has quit [(Quit: leaving)]
<ndowens08>
what packages are old? is there a list?
katyucha1 is now known as katyucha
<Acou_Bass>
ttuegel: package now builds! :D just gotta figure out a couple openGL things then job done
<ttuegel>
ndowens08: Everything under kde4.* is pretty old. For some reason, many of the maintainers updated their packages, but never removed the old versions...
<ndowens08>
ttuegel: ah, kde is one i dont touch :)
<gchristensen>
ttuegel: people are afraid of deleting packages I think, it is how we ended up having 8 different types of ruby, one for every minor release
<ndowens08>
why keep old though :\
danharaj has joined #nixos
<ttuegel>
gchristensen: That's because Ruby doesn't have a spec and breaks compatibility Every. Single. Release.
<ttuegel>
We're talking about old versions of apps here.
<gchristensen>
I know, but still.
<sziszi>
ttuegel: is this true? and they using ruby in prod.. oh gawd
<gchristensen>
ruby isn't that bad, I insist.
<ttuegel>
sziszi: Well, they may not break everything every version, but that's only by accident. :)
<ttuegel>
If Python's BDFL is Lawful Good, Ruby's is Chaotic Neutral.
<ndowens08>
after my hiawatha pkg gets approved, need to update my worker package to include version in name
<gchristensen>
hehe
<ndowens08>
hate that if i push it now, it appends it to current PR that is unrelated to push
<ndowens08>
/s/to push/ /
<joachifm>
ndowens08: using topic branches instead of master for PRs fixes that :)
<sziszi>
gchristensen: so PHP isn't bad either? just a bunch of people abusing it?
<gchristensen>
PHP is a much better language than it gets credit for
<ndowens08>
joachifm: hmm well I created a branch named worker, and was gonna do a PR but when I do a compare & PR it wants to include the changes for hiawatha too
<alphor>
relevant part of configuration.nix is at the top. I'm trying to modify the iproute derivation to fix routing issues.
erlandsona has joined #nixos
<alphor>
it's not attempting to modify the stock iproute derivation.
<erlandsona>
Hey y'all, I've got three internal drives on an Acer Predator, any recommendations on how I should hook up NixOS? Currently I just have it booted on the one internal sdd but I'd rather it boot from the nvme drive?
imalsogreg has quit [(Remote host closed the connection)]
<joachifm>
ndowens08: hm, if you branched off from upstream HEAD that shouldn't happen
<ttuegel>
Can we make a new rule that if Travis can't build your PR, you must upload your own log from a passing nox-review run? It's worthless to have nox-review is master is continually broken by evaluation errors...
<ndowens08>
i did git checkout worker
imalsogreg has joined #nixos
<joachifm>
ndowens08: from your local master? if so, that'd contain the hiawatha stuff as well
<ndowens08>
joachifm: i did git checkout worker; then changed the file needed and normal commit and push
<joachifm>
ndowens08: what I mean is, per you pr, the hiawatha stuff is in your master branch, so if you branch off it naturally will contain both the hiawatha stuff and the unrelated stuff
<ndowens08>
ah, hmm so how do i not branch from master? sorry i dont know git very well at all
stepcut has quit [(Remote host closed the connection)]
<joachifm>
ndowens08: in my repo, I have the upstream remote named "upstream" and do git checkout -b foobar upstream/master; that's one way to do it
imalsogreg has quit [(Client Quit)]
<ndowens08>
joachifm: i have my forked copy and have upstream added to git remote
endformationage has quit [(Quit: WeeChat 1.6)]
<ndowens08>
ah didnt do it that way :)
<joachifm>
ndowens08: another would be to do a git reset --hard upstream/master after checkout out the feature branch
<ndowens08>
there we go i hope :)
<joachifm>
ndowens08: you can also rebase &c, as always with git there's tons of ways to do things ...
erlandsona has quit [(Ping timeout: 240 seconds)]
<ndowens08>
joachifm: heh when i do things i tend to screw up my copy lol
imalsogreg has joined #nixos
<ndowens08>
joachifm: so should i do git push upstream HEAD:master or git push upstream worker?
<ndowens08>
partly leaning the HEAD:master one but i can be wrong
sheenobu has quit [(Quit: Leaving)]
<ndowens08>
cant use upstream lol :)
<alphor>
figured it out, attrs.out was referring to some intermediate derivation. weirdness.
<ndowens08>
hmm think i got it :)
<ttuegel>
How can I test evaluation of Nixpkgs on the command line like Hydra would?
<NixOS_GitHub>
[nixpkgs] ndowens opened pull request #22949: worker: Added version to name; removed = with pkgs; (master...worker) https://git.io/vD7Mh
<ndowens08>
thanks joachifm :)
<ndowens08>
and ofc it seems travis is having issues today lol
<gchristensen>
ttuegel: I sometimes run nix-env -f . -qa \* --meta --xml --drv-path --show-trace > /dev/null
<gchristensen>
ttuegel: but it is hard because hydra has special super powers to ignore certain evaluation errors
<ttuegel>
gchristensen: I want ALL the evaluation errors. Somebody put a stinking infinite recursion into master...
justan0theruser has joined #nixos
<gchristensen>
:|
<ttuegel>
gchristensen: Thank you, that catches the error. Now I can bisect! :)
erlandsona has joined #nixos
<gchristensen>
great :)
<gchristensen>
<3 bisect
takle has joined #nixos
<ttuegel>
And then I'm going to add a new Travis test for that command, because this happens to me almost every day and it's getting unacceptable.
justanotheruser has quit [(Ping timeout: 260 seconds)]
<gchristensen>
ttuegel: well for that to be meaningful, you'd pretty much need to disable the not so reliable travis tests.
<ttuegel>
gchristensen: I can make it a separate entry in the Travis test matrix and tell people that if they merge with that test failing, nobody will find their body... ;-)
<gchristensen>
hah
ryanartecona has quit [(Quit: ryanartecona)]
imalsogreg has quit [(Quit: ZNC 1.6.2 - http://znc.in)]
roconnor has joined #nixos
* gchristensen
would like the actual build phases of travis to go away :(
<ttuegel>
I've been hit by this three times this week, and one of the eval errors is actually interfering with me bisecting the latest...
bennofs has quit [(Ping timeout: 240 seconds)]
<ttuegel>
gchristensen: Well, GitHub has file uploads now, so we could require people to upload passing build logs.
<gchristensen>
whaat?
<gchristensen>
since when?
imalsogreg has joined #nixos
<ndowens08>
joachifm: so in buildInputs leave it like = [ xorg.libX11 ] or just [ libx11]?
<ttuegel>
gchristensen: Look at the bottom of any text field. "Attach files by dragging & dropping, , or pasting from the clipboard. "
<gchristensen>
nice...
bennofs1 has joined #nixos
<gchristensen>
the other thing is we can add a collapsable section to the template
<ndowens08>
reason i did xorg.libX11 oirgionally is b/c it seemed to have issue finding the dep without adding the xorg.libx11 part
<ttuegel>
gchristensen: Does markdown allow that?
<gchristensen>
one second
<ndowens08>
nvm seems to do ok anyway now
<ttuegel>
gchristensen: I'm already trying to tweak the template to hide the overly-verbose instructions in Markdown "comments".
kampfschlaefer has quit [(Ping timeout: 240 seconds)]
kampfschlaefer has joined #nixos
bennofs1 has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub>
[nixpkgs] ttuegel opened pull request #22950: Revert "haskell: add nix-specific fixes for various packages in stack… (master...eval-error-17c5ca9) https://git.io/vD7y0
<NixOS_GitHub>
[nixpkgs] ttuegel closed pull request #22950: Revert "haskell: add nix-specific fixes for various packages in stack… (master...eval-error-17c5ca9) https://git.io/vD7y0
stepcut has quit [(Remote host closed the connection)]
<ndowens08>
I hate ppl with a subwoofer and want to share their music from their homes :( makes me want to get a baseball bat and bash the subwoofer :D
<simpson>
ndowens08: I will avoid inviting you over in the future.
<ndowens08>
lol, i am trying to sit peacefully in my place and i can hear it from their place.
<ttuegel>
ndowens08: Induce a sympathetic resonance? I take it your locality doesn't have noise ordinances...
<NixOS_GitHub>
[nixpkgs] abbradar opened pull request #22962: pythonPackages.wrapPython: fix for paths with spaces (master...python-env) https://git.io/vD7Q3
<ndowens08>
ttuegel: probably does, but we are in a rural area
<tippenein>
Not sure how to interpret this error: called without required argument ‘shared’
<tippenein>
where 'shared' is one of the dependencies for a build
erlandsona has quit [(Quit: WeeChat 1.5)]
erlandsona has joined #nixos
<sphalerite>
If a project has unit tests, should they be run in the nix expression for it? I know they run by default for python packages, but others?
<LnL>
sounds like you are trying to use pkgs.callPackage but there's no package for that attribute
<Nafai>
So how would I translate `security.setuidPrograms = [ "mtr" ];` into the new security.wrappers stuff?
DutchWolfie has quit [(Quit: Konversation terminated!)]
<joachifm>
Nafai: there's programs.mtr
Sonarpulse has joined #nixos
<Nafai>
Ah, thanks.
<qknight_>
aszlig: can you come online on xmpp?
<Acou_Bass>
slightly dumb question... is there a way to find which folde rin /nix/store/ holds which package? for example say ive just installed firefox, i want to find its directory in /nix/store, is there a command i can run to do this quickly?
<simpson>
Acou_Bass: I bet that there's a $(nix-store -q) of some sort that'll list them.
griff_ has joined #nixos
<simpson>
Acou_Bass: Oh, maybe you just want $(readlink $(which firefox)) ?
<Acou_Bass>
i dunno all that second one did was open firefox hehe
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vD75T
<NixOS_GitHub>
nixpkgs/master ca016c2 Joachim Fasting: grsecurity: 4.9.10-201702152052 -> 4.9.11-201702181444
ibrahims has quit [(Ping timeout: 268 seconds)]
ibrahims has joined #nixos
erlandsona has quit [(Quit: WeeChat 1.5)]
arjen-jonathan has quit [(Quit: WeeChat 1.7)]
petar_ has quit [(Remote host closed the connection)]
erlandsona has joined #nixos
arjen-jonathan has joined #nixos
petar has joined #nixos
excelangue has quit [(Ping timeout: 260 seconds)]
<gchristensen>
ttuegel: (I don't want to be too repetitive) how can I help with that list?
johnsonav has joined #nixos
excelangue has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm closed pull request #22938: btrfs-dedupe: add new package at the latest git revision. (master...btrfs-dedupe) https://git.io/vD70Y
reinzelmann has joined #nixos
<erlandsona>
Anyone know of a way to visualize the different layouts for XMonad other than digging through the docs? Like is there an image gallery describing how they each behave?
<Unode>
erlandsona: you may have to try and see
Ptival has joined #nixos
<erlandsona>
Yeah that's what I'm afraid of, there's at least 50 different modules.
<Unode>
erlandsona: no need to be afraid. Just try it until you find one to your liking.
<Ptival>
hello, is there a reason why nix-shell normal error message is very misleading when a field of a derivation has the wrong type? It reports the first line of the attribute set, rather than the failing line
<erlandsona>
I just want to setup my Xmonad to behave like TMUX. Something where I have two layouts a full screen that I can MOD-Tab through the stack, and a Quadrant based that I can navigate panes directionally.
<erlandsona>
I just realized I'm in the NixOS channel. LOL Sorry guys.
ibrahims has quit [(Ping timeout: 240 seconds)]
<mudri>
erlandsona: heh. I see plenty of people in both channels.
<Unode>
to the nixpkgs managers in the room. Is there any logic to the organization in pkgs/top-level/all-packages.nix ? I though it was alphabetical but the "tools" list goes back to A halfway through.
<Unode>
managers/maintainers
<Acou_Bass>
ook, so further to my attempts to package openRCT2 earlier... the game runs great on my actual nixos box, howevr on my nix-on-top-of-arch box, it doesnt seem to be able to find the gfx driver... this doesnt seem to happen in any other game nixpkgs, it says libGL error: unable to load driver
<ndowens08>
idk Unode i try to add mine in alaphabetical ymself
<Unode>
ndowens08: that file could use some love. It's getting a bit messy.
Kendos-Kenlen has joined #nixos
ibrahims has joined #nixos
ibrahims has quit [(Ping timeout: 240 seconds)]
hiratara has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vD7FN
<NixOS_GitHub>
nixpkgs/master 492101d Robin Gloster: nixos-container: fix destroy with immutable /var/empty...
hiratara has joined #nixos
Kendos-Kenlen has quit [(Quit: Konversation terminated!)]
deepfire has joined #nixos
ibrahims has joined #nixos
phreedom has quit [(Ping timeout: 260 seconds)]
<symphorien>
I want to define a nixos option of type path but with an empty default value
<symphorien>
but apparently neither null nor "" is a path
<symphorien>
I may use /dev/null but it seems ugly
<symphorien>
how can I do that ?
malllle has joined #nixos
deepfire has quit [(Ping timeout: 260 seconds)]
ibrahims has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] sternenseemann opened pull request #22967: Add ocaml-cow & update needed ocaml-packages (especially async_ssl related stuff) (master...cow) https://git.io/vD7bM
phreedom has joined #nixos
deepfire has joined #nixos
<symphorien>
types.nullOr
<steveeJ>
I've set up a multi-user environment for nix on debian. is there a way I can configure the nix-daemon to use multiple cores by default?
<symphorien>
next time I'll check the manual before asking
<steveeJ>
dtz Unode symphorien. thanks guys :) I assume I have to restart nix-daemon for it to be effective
<dtz>
I believe so, there might be a way to tell it to reload but yeah I'd just restart it :)
<Unode>
any nixpkgs lua maintainer/packager in the room? I'm trying to package a tool that needs luaposix. I've created a entry on top-level/lua-packages.nix but I see that some packages also have a matching entry under development/interpreters/lua-5/ . Is this redundancy necessary?
ibrahims has joined #nixos
<Unode>
The tool I'm trying to package is failing to find one dependency during its configure step. Not sure how to proceed yet.
s33se has quit [(Ping timeout: 268 seconds)]
<Unode>
failing to find one dependency (luaposix)
ibrahims has quit [(Ping timeout: 240 seconds)]
danharaj has quit [(Excess Flood)]
<ndowens08>
thinking about putting all-packages.nix in alphabetical order and category, maybe :)
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vD7Ns
<NixOS_GitHub>
nixpkgs/master 9326a89 Robin Gloster: lvm: add missing dependency...
ndowens08 has quit [(Quit: WeeChat 1.7)]
ndowens08 has joined #nixos
<Unode>
ndowens08: I agree
<gchristensen>
impossible, unfortunately
<ndowens08>
gchristensen: darn
<Unode>
gchristensen: so there is a reason for the alphabetical restart halfway through?
<gchristensen>
it is just too big of a file, and with pull requests it isn't feasible to say they must be kept in order
<Unode>
gchristensen: I also wonder... couldn't this entire file be automated somehow?
<Unode>
most of the entries there seem rather identical minus the package name and location.
<MichaelRaskin>
Not the entire file, I guess
<MichaelRaskin>
There are exceptions
<gchristensen>
like the third argument
ambro718 has quit [(Ping timeout: 255 seconds)]
ibrahims has joined #nixos
<Unode>
I'm new to this so I don't know the reasons behind being like this but reading the manual and getting sent to this file was a bit of a scary moment.
<gchristensen>
Unode: can you tell me more about this scary moment?
hiratara has joined #nixos
<mguentner>
Unode: Her (Nyx, or Nix) appearances are sparse in surviving mythology, but reveal her as a figure of such exceptional power and beauty that she is feared by Zeus himself.
<viric>
where zeus is ubuntu
<Unode>
:) was just a few moments ago. Trying to find a good place for a new entry (pull request soon enough) and the sheer size of the file was scary.
<Unode>
mguentner, viric interesting mix of cultures right there.
<Unode>
luaposix will be included in the pull request as it's not yet available in nix
<gchristensen>
Unode: (re: all-packages.nix) interesting! and what do you think would have made it easier?
<gchristensen>
/ less scary?
<ndowens08>
wow this one app has multiple licenses
<gchristensen>
multi-licensing isn't so uncommon unfortunately
<Unode>
gchristensen: well lets say I wasn't expecting to find a file where *every* package was mentioned. I simply assumed that some sort of tree traversal script would find everything and that package recipes would be compartmentalized to a pkgs/category/category/name folder (one or more nix files inside).
<gchristensen>
it is why all my Vulnerability Roundups have exacting to-do lists in every step -- when making the issue, when finishing the issue, when sending the emails
<gchristensen>
I just can't remember to do it all the same way each time
<slyfox>
freebsd would need non-gpl3 linker anyway
<dtz>
mmhmm, and they wouldn't be using LLVM/Clang/etc as system compiler if they weren't also license-compat
<LnL>
dtz: nice!
<Ralith>
gchristensen: I though lld was from the ground up?
<dtz>
oh actually I'm not 100% what FreeBSD's system compler is, but if it's not already clang then lots of people are working hard so that it will be xD :)
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
<slyfox>
it's clang on x86_64 (and i believe i386)
<dtz>
okay I was right, FreeBSD 10 onwards looks to have Clang as default compiler for a number of platforms \o/
<dtz>
anyway
<dtz>
slyfox: ah okay ty
<gchristensen>
Ralith: that is the other thing, is maybe I have no idea what I'm talking about, haha
<Ralith>
personally I'm excited about lld because it promises a completely self-contained crossplatform toolchain that isn't a trash fire like mingw
\\\\\\\\\\\ has quit [(Remote host closed the connection)]
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<LnL>
dtz: I run into some recursion on darwin in libc++abi
<dtz>
ah, okay darn. I let libc++{,abi} use LLVM as a build-dep since it complains about unsupported build configuration otherwise (it wants llvm-config)
<dtz>
so I bet that's introducing some new cycle...
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vD7xu
<NixOS_GitHub>
nixpkgs/master 993d2db Peter Hoeg: libreoffice-fresh: build on hydra
takle has quit [(Ping timeout: 268 seconds)]
Jackneill_ has quit [(Remote host closed the connection)]
ibrahims has joined #nixos
malllle has left #nixos ["WeeChat 1.0.1"]
<NixOS_GitHub>
[nixpkgs] rushmorem opened pull request #22972: intecture-cli: init at 0.3.2 (master...incli) https://git.io/vD7x7
takle has joined #nixos
ibrahims has quit [(Ping timeout: 260 seconds)]
<dtzWill>
LnL: do you know how I might check the Darwin expression from non-Darwin? O:). Sorry about that breakage.
<LnL>
it's only for the 4.0 set, I think you can just use --argstr system x86_64-darwin
stepcut has joined #nixos
<dtzWill>
LnL: understood. And that works great, tyvm.
<LnL>
dtzWill: let me know if it's fixed then I'll start a new eval on my desktop
ibrahims has joined #nixos
erlandsona has quit [(Quit: WeeChat 1.5)]
kampfschlaefer has quit [(Read error: Connection reset by peer)]
<dtz>
LnL: hopefully fixed, ty for testing!
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vD7po
<NixOS_GitHub>
nixpkgs/master 2423313 Tim Steinbach: kernel: 4.9.10 -> 4.9.11
<dtz>
(Nix at least doesn't barf at the notion, no clue if there are any tweaks needed for Darwin use/building :))
thc202 has quit [(Ping timeout: 260 seconds)]
* dtzWill
crosses all his fingers
ibrahims has quit [(Ping timeout: 260 seconds)]
<LnL>
the builds are in the queue, I'll take a look in the morning
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-16.09: https://git.io/vD7pH
<NixOS_GitHub>
nixpkgs/release-16.09 c056f0a Tim Steinbach: kernel: 4.9.10 -> 4.9.11
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vD7px
<NixOS_GitHub>
nixpkgs/master 7274fc3 Tim Steinbach: linux: 4.4.48 -> 4.4.50
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-16.09: https://git.io/vD7pp
<NixOS_GitHub>
nixpkgs/release-16.09 46f1e9a Tim Steinbach: linux: 4.4.48 -> 4.4.50
JagaJaga has quit [(Ping timeout: 268 seconds)]
<gchristensen>
copumpkin: ping
<dtz>
update ALL the kernels!
<gchristensen>
<3 NeQuissimus :)
<Ralith>
dtz: any hope of getting llvm 4 to be the default for 17.03?
ibrahims has joined #nixos
athan has quit [(Remote host closed the connection)]
<dtz>
Ralith: Hmm, I'll be happy if LLVM 4.0 is released/ready-for-merging in time for 17.03 :P.
ibrahims has quit [(Ping timeout: 240 seconds)]
<Unode>
if I want to have a nix-shell with a lua environment that includes one luaPackage. Would "nix-shell --pure -p luaPackages.lua luaPackages.packagename" be the right syntax?
<dtz>
Dunno enough about various dependent projects to say if it makes sense to try to move the default or when, sorry :).