<SovereignBleak>
Any arguments against jumping from Arch to Nix on a production machine? Nix's DSL looks a little terrifying and I've never been all that good with math. I feel like Nix is for those who were good at math in high school.
<Ralith>
I've transitioned two (sooner or later to be three) machines from arch to nix in-place, including a remote headless server, and have no regrets
<Ralith>
I can't imagine knowingly installing Arch on a production machine, even back when I was a fan of it
<hodapp>
Arch has really been fine for me.
<hodapp>
...except for the part where every few months, something goes completely wrong and I have to manually fix an unusable system.
markus1199 has joined #nixos
<Ralith>
indeed
<hodapp>
and the channel being full of dipshits.
<hodapp>
#sorrynotsorry
<Ralith>
I'd probably still be on arch if not for the fact that you can't even choose not to expose yourself to the breakage
<SovereignBleak>
I think it can get a little aggressive in there but I wouldn't say it's full of dipshits.
<Ralith>
(also Nix's advantages for software development are spectacular)
<hodapp>
Ralith: That's why I'm trying it out on my laptop
<SovereignBleak>
Okay so jump right in then?
<hodapp>
SovereignBleak: I don't know that Nix's expressions have any real requirement of being good at math.
<SovereignBleak>
Start with the Nix pills posts and then get crafting my Nix master conf file?
redmq has quit [(Ping timeout: 268 seconds)]
<Ralith>
SovereignBleak: I mean, be prepared to do a lot of research to learn how to do things, but rest assured that once you get things vaguely working it'll be very difficult indeed to get in a situation where recovering from a mistake is nontrivial
<SovereignBleak>
hodapp: That's good news.
<Ralith>
Nix's documentation is very professional but incomplete
<Ralith>
NixOS's, I should say
<Ralith>
also nixpkg's
markus1189 has quit [(Ping timeout: 248 seconds)]
* Ralith
hasn't found it necessary to pay much attention to Nix-specific documentation
<Havvy>
Ralith: Nix needs a foundation that accepts donations and can hire somebody to actually work on documentation.
<Ralith>
replacing Arch with Nix in-place on my remote server was actually less painful than various instances of fixing Arch on local machines, since I could always just netboot a recovery image and tell the bootloader to roll back
<hodapp>
Ralith: is there documentation on this in-place replacement?
<Ralith>
hodapp: scattered blog posts
<Ralith>
it's not trivial
<hodapp>
...maybe I'll just do a fresh install
<hodapp>
actually, I may need to anyway because I'm probably going to do encrypted LUKS root
<Ralith>
I would recommend sticking with the documented, supported processes where possible, yes
mexisme2 has joined #nixos
erasmas has quit [(Quit: leaving)]
mexisme has quit [(Ping timeout: 260 seconds)]
<gchristensen>
yes
<angerman>
who and how is haskell-packages.nix being generated? peti, do you do that by hand?
RchrdB has quit [(Quit: Leaving)]
<rardiol>
Could someone please refresh me on what's the point of QT libs in ~/.nix-profile? and is it related to "Cannot mix incompatible Qt library (version 0x50601) with this library (version 0x50602)" ?
anelson_ has joined #nixos
filterfish_ has joined #nixos
filterfish_ has quit [(Read error: Connection reset by peer)]
filterfish_ has joined #nixos
<Ralith>
rardiol: what's the output of ldd on the program reporting that error?
<gchristensen>
_guh_ the state of laptops is absolutely frustrating.
<Ralith>
er, right, ldd derefs symlinks
<Ralith>
rardiol: my guess would be either your environment's screwed up (i.e. LD_LIBRARY_PATH) or you have packages that explicitly depend on incompatible versions of qt installed in the same environment
<Ralith>
the latter is most likely
<Ralith>
should be fixable by updating whatever it is that's pulling in the outdated qt
<rardiol>
yeah, I vaguely remember that being the solution last time it happened
<Ralith>
if you're using nix-env to manage things, it may be as simple as nix-env -u
<rardiol>
I still fell it's not supposed to happen.
<rardiol>
but thanks
ryanartecona has quit [(Quit: ryanartecona)]
<Ralith>
hm, yeah, the rpaths should be hardwired
<rardiol>
I think "nix-env -u" with the flag that updates even if it's a dependency update? Or else it won't update from Foo1.3 with qt5.6.1 to Foo1.3 qt.5.6.2?
filterfish_ has quit [(Remote host closed the connection)]
<Ralith>
the problem of "conflicting transitive dependencies" is generally avoided easily by using declarative environments, so all your packages naturally arise from a single nixpkgs checkout
<stepcut>
I built a bunch of packages in hydra, and using what I thought was the same inputs, I tried to use nixops deploy to deploy them to a virtualbox instance. However, it wants to rebuild a bunch of the packages because their hashes differ. Is there some good way to track down what variation is causing the derivations to diverge?
<Ralith>
finding out why exactly there's a conflict would require digging into exactly why Qt is producing that error
eacameron has quit [(Remote host closed the connection)]
<Ralith>
which might be an adventure
<rardiol>
no thank you
<Ralith>
it could be your LD_LIBRARY_PATH contains garbage, it could be that there's plugin or data file stuff going on which nix hasn't fully encapsulated
buttbutter has quit [(Ping timeout: 250 seconds)]
<rardiol>
LD_LIBRARY_PATH is /run/opengl-driver/lib:/run/opengl-driver-32/lib
eacameron has joined #nixos
filterfish has joined #nixos
mogo has quit [(Ping timeout: 248 seconds)]
filterfish_ has joined #nixos
filterfish_ has quit [(Read error: Connection reset by peer)]
AllanEspinosa has quit [(Ping timeout: 240 seconds)]
filterfish has quit [(Ping timeout: 258 seconds)]
filterfish has joined #nixos
mudri has quit [(Quit: WeeChat 1.6)]
hotfuzz_ has joined #nixos
hotfuzz has quit [(Read error: Connection reset by peer)]
<Ralith>
that is the correct value
<Ralith>
my best guess is that the packaging of Qt is not as pure as it could theoretically be, which would be nice to fix but is very possibly not feasible
eacameron has quit [(Remote host closed the connection)]
<Ralith>
you rapidly get into requiring nontrivial upstream patches and suc
<Ralith>
h
<sboo>
hi, can someone help me get the Wifi to work? I recently installed NixOS.
<sboo>
gchristensen: google didn't turn up much, but the level of the issue might not be nixos. i can also ask on another channel (#linux? pretty new to irc) instead.
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
redmq has quit [(Ping timeout: 268 seconds)]
ambro718 has quit [(Ping timeout: 256 seconds)]
<gchristensen>
sorry, sboo, I don't know -- but you're much more likely to get help sending around pastebin links:)
filterfish_ has joined #nixos
<sboo>
gchristensen: no worries, thanks
filterfish has quit [(Ping timeout: 240 seconds)]
acowley is now known as acowley_away
<gchristensen>
domenkozar: what laptop do you have, again?
smartin has quit [(Quit: Lost terminal)]
codeape has joined #nixos
filterfish_ has quit [(Remote host closed the connection)]
<dtzWill>
weeeee ghc versions
filterfish_ has joined #nixos
codeape has quit [(Client Quit)]
filterfish_ has quit [(Remote host closed the connection)]
filterfish_ has joined #nixos
erlandsona has joined #nixos
<erlandsona>
Anyone here know how to get icon / application themes installed and applied while using XMonad on NixOS?
filterfish_ has quit [(Read error: Connection reset by peer)]
filterfish_ has joined #nixos
sboo has quit [(Read error: Connection reset by peer)]
sboosali has joined #nixos
sboosali has quit [(Read error: Connection reset by peer)]
sboosali has joined #nixos
sboosali has quit [(Remote host closed the connection)]
sboosali has joined #nixos
sboosali has quit [(Remote host closed the connection)]
sboosali has joined #nixos
eacameron has joined #nixos
AllanEspinosa has joined #nixos
<AtnNn>
nixpkgs' unholy mix of hacky shell sripts and pure nix expressions is quite impressive
<AtnNn>
erlandsona: I use xmonad, but I haven't customize any icons or themes
<gchristensen>
AtnNn: all distros are powerd by hacky shell scripts, so I'll take that as a huge compromise
<gchristensen>
complement*
<gchristensen>
compliment*
Rotaerk has joined #nixos
moet has joined #nixos
<Ralith>
it would be pretty interesting to support shell-less build scripts
<AtnNn>
I Was just thinking the same thing
nh2_ has quit [(Ping timeout: 260 seconds)]
rardiol has quit [(Ping timeout: 265 seconds)]
<AtnNn>
but what would replace bash? even with extra primitives, nix is far from a good scripting language
erlandsona has quit [(Ping timeout: 260 seconds)]
herzmeister has quit [(Quit: Leaving)]
<Ralith>
seems like it could work fine to me
filterfish_ has quit [(Read error: Connection reset by peer)]
herzmeister has joined #nixos
filterfish_ has joined #nixos
<gchristensen>
nix isn't just not a good scripting language, nix isn't anything like a scripting language.
<AtnNn>
I find that when I try to replace shell scripts with nix functions I end up with 10x more code, and a bloated store
filterfish__ has joined #nixos
sboosali has quit [(Ping timeout: 240 seconds)]
filterfish has joined #nixos
Havvy has quit [(Quit: Leaving)]
filterfish_ has quit [(Ping timeout: 245 seconds)]
filterfish_ has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
filterfish_ has quit [(Remote host closed the connection)]
filterfish_ has joined #nixos
filterfish__ has quit [(Ping timeout: 245 seconds)]
Shou has quit [(Ping timeout: 258 seconds)]
Havvy has joined #nixos
filterfish_ has quit [(Remote host closed the connection)]
filterfish_ has joined #nixos
<Ralith>
gchristensen: that doesn't mean you couldn't embed reasonably concise scripts in it
<gchristensen>
sure
filterfish_ has quit [(Remote host closed the connection)]
Wizek has joined #nixos
Wizek_ has joined #nixos
filterfish_ has joined #nixos
thc202 has quit [(Ping timeout: 260 seconds)]
PragCyph1 has quit [(Ping timeout: 245 seconds)]
sigmundv has quit [(Ping timeout: 252 seconds)]
eacameron has quit [(Remote host closed the connection)]
mguentner3 has joined #nixos
mbrgm has quit [(Ping timeout: 258 seconds)]
mbrgm has joined #nixos
mguentner2 has quit [(Ping timeout: 240 seconds)]
<Ralith>
might actually be a step backwards in performance, though I'd be worried if a build script is ever a cost center
aj__ has joined #nixos
PragCyphr has joined #nixos
derjohn_mobi has quit [(Ping timeout: 256 seconds)]
<Rotaerk>
hmm nix-build's -v flag can be specified multiple times to increase verbosity ... how do you set it to 0?
<Rotaerk>
1 is the default, so omission of -v wouldn't be 0
moet has quit [(Ping timeout: 246 seconds)]
anelson_ has quit [(Remote host closed the connection)]
<AtnNn>
Rotaerk: perhaps -Q
anelson_ has joined #nixos
moet has joined #nixos
<Rotaerk>
hmm... oh, maybe -v is 0, and -vv is 1 (the default)
<Rotaerk>
and then -Q is even less than 0
<Rotaerk>
since 0 isn't quiet, but "errors only"
<angerman>
Usually with mkDerivation I have all my built inputs in the argument scope { b1, b2, b3, b4, b5 }: mkDerivation { ... }, however if i want to group my build inputs, because they form logically separate package sets (e.g. pkgs and pythonPackages) is there any reason why one would not have { pkgs, pythonPackages }: mkDerivation { ... } ?
* hodapp
goes to see if this Pentium III craptop can run NixOS, just in the interest of self-torture
redmq has joined #nixos
redmq has quit [(Ping timeout: 240 seconds)]
PragCyph1 has joined #nixos
eacameron has joined #nixos
<AtnNn>
angerman: you can do whatever you want. Take a look at <nixpkgs/pkgs/top-level/all-packages.nix> and <nixpkgs/lib/customization.nix>
PragCyphr has quit [(Ping timeout: 250 seconds)]
<angerman>
AtnNn, well it is possible yes. But maybe there's some community contract that you'd not want to do that?
eacameron has quit [(Ping timeout: 264 seconds)]
<AtnNn>
angerman: I've only had the chance to examine very few packages so far, but my impression is that packages ask for the minimum that they need
buttbutter has joined #nixos
eacameron has joined #nixos
<angerman>
AtnNn it's certainly more explicit that way...
<AtnNn>
it also makes it easier to override a single dependency
<AtnNn>
and tell at a glance what a package depends on
<AtnNn>
Perhaps you could take two arguments. `pkgs@{...}: pythonPackages@{...}:'
<angerman>
AtnNn: that would still bring all in scope, right? Thus you could end up with name clashes.
<Rotaerk>
I ran nix-build on default.nix, and it ran for a long time, eventually returning saying that it couldn't build windowTest because of missing dependencies: reflex-dom -any
<Rotaerk>
I'm not expecting this to actually work yet, because I probably need to provide more dependencies, but the error doesn't make sense, since I specified reflex-dom in the package overrides list...
<Rotaerk>
any idea why this happens?
<Rotaerk>
now if I run nix-build again, it *only* tries to build windowTest, as though it thinks all the dependencies are built... and it fails with the same error each time
<AtnNn>
Rotaerk: did you mean to `import depSources.reflex-dom' in `default.nix'?
<Rotaerk>
shit..
<Rotaerk>
thanks :P
<AtnNn>
no problem
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
filterfish_ has quit [(Remote host closed the connection)]
moet has quit [(Quit: brain esplosions)]
filterfish has joined #nixos
<hodapp>
Blah. Default touchpad setup is the wonky absolute-motion one that is really abnormal for me
<hodapp>
and on this laptop, the touchpad has curved borders, so with that mode I cannot even reach to the edges of the screen o_O
anelson_ has quit [(Ping timeout: 240 seconds)]
anelson_ has joined #nixos
<hodapp>
still, though, kind of impressed it worked at all for a Pentium III laptop
<AtnNn>
hodapp: how is the rest of the system?
<NixOS_GitHub>
[nixpkgs] matthewbauer opened pull request #21165: aws-sdk-cpp: Enable on Darwin systems (master...master) https://git.io/v1yBS
buttbutter has quit [(Ping timeout: 264 seconds)]
hotfuzz has quit [(Read error: Connection reset by peer)]
hotfuzz has joined #nixos
mguentner2 has joined #nixos
Sonarpulse-Work has quit [(Ping timeout: 258 seconds)]
LnL has joined #nixos
mguentner has quit [(Ping timeout: 250 seconds)]
seanz has joined #nixos
seanz has quit [(Client Quit)]
buttbutter has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
AllanEspinosa has quit [(Ping timeout: 258 seconds)]
redmq has joined #nixos
redmq has quit [(Ping timeout: 250 seconds)]
SovereignBleak has quit [(Quit: Connection closed for inactivity)]
jluttine has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] jagajaga pushed 2 new commits to master: https://git.io/v1yzv
<NixOS_GitHub>
nixpkgs/master b035da2 Will Dietz: Add vim-markdown plugin....
Itkovian has quit [(Read error: Connection reset by peer)]
eacameron has quit [(Ping timeout: 248 seconds)]
<AtnNn>
osa1: `man -w nix-build` shows me `/nix/store/...-nix-1.11.4-man/share/man/man1/nix-build.1.gz'
<osa1>
AtnNn: I found it in ~/.nix-profile/share/man but thanks
<osa1>
I'd expect nix.sh to add that to MANPATH
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 256 seconds)]
jazzencat has joined #nixos
<LnL>
no, there is a pr for that but there was some some discussion around it
goibhniu has joined #nixos
<AtnNn>
it looks like nixpkg's `man' scans `$PATH' looking for matching folders. `man -w -d' provides a nice trace
<ixxie>
normally when I want to add a shell command, I copy a binary to /usr/bin ; is this how its done in NixOS as well?
<Ralith>
that's not correct procedure on *any* distro
<Ralith>
except maybe LFS I guess
<LnL>
ixxie: the proper thing to do is to create an expression for it and add it to nixpkgs.config.packageOverrides
deepwater has joined #nixos
<ixxie>
LnL: is there an example / tutorial for this?
Itkovian has joined #nixos
<ixxie>
Ralith: well I am a n00b, and I will just be learning NixOS from now on so xD
<NixOS_GitHub>
[nixpkgs] sh01 opened pull request #21170: unifont: Switch sources to GNU mirrors. (release-16.09...unifont_sources) https://git.io/v1y1S
<LnL>
ixxie: if it's just for your shell: environment.shellAliases.foo = ./path/to/foo;
aj__ has quit [(Ping timeout: 252 seconds)]
<ixxie>
LnL: I wanna do it the proper way, I am packaging something
thc202 has joined #nixos
<LnL>
does it have a proper source?
<ixxie>
its just some bash scripts I am writing
<ixxie>
I am still trying to figure out the details, but what I am trying to do is define a Scala development environment using a NixOS configuration and some helper Bash scripts and put it with the source code on a repo
nschoe has joined #nixos
<LnL>
in that case I would create a shell.nix for your project's build environment and add the project's script dir to your path in nix-shell
<ixxie>
because basically, I am trying to learn all this stuff from scratch with a bunch of people who have almost no coding expirience, and I figured setting up a shared development environment would make life easier for us
<LnL>
let me find an example
<ixxie>
the scripts aren't necessarily for helping with builds; they are a sort of general purpose toolkit that should be available in the system
<ixxie>
or maybe I am misunderstanding what you are saying
<LnL>
oh so you would want to add them to you user profile?
<AtnNn>
ixxie: a nice thing about derivations is that you can install them with `nix-env' or load them at will with `nix-shell'
<ixxie>
I guess they should be their own package
<ixxie>
I mean, they should be available to all user profiles because I am creating a whole system configuration to share with the team
<ixxie>
and any user profile created on those systems should be able to use those scripts
fritschy has joined #nixos
<ixxie>
AtnNn: I know, but the point here is more to collaboratively develop the a reproducable development environment defined declaratively
nmattia_ is now known as nmattia
jgertm_ has joined #nixos
ThatDocsLady has joined #nixos
berce has joined #nixos
<ixxie>
lets say I want a git workflow for my team's nixos config, and I want to have a set of helper scripts installed with the system
<kmicu>
You could use ‘writeScript’ helper to define your scripts directly in *.nix files.
<ixxie>
I had written this bash script in a way that only one base command needs to be installed, and it finds all subcommands in the working folder, so I suppose I can use writeScript for the base command only ^^
<LnL>
but there's also writeScript or writeScriptBin but then you need to put the script in your nix expression
<LnL>
and there's substituteAll if there are some things you need to template, but you probably won't need that
redmq has quit [(Ping timeout: 250 seconds)]
<ixxie>
what is the difference between the approach in that gist you linked and using writeScript?
<LnL>
nothing, but writeScript takes a string, not a path
<LnL>
oh and you might want to use stdenvNoCC instead of the regular stdenv
<ixxie>
whats that?
<LnL>
an stdenv without gcc and such, since you don't need those to cp a file
* jazzencat
reprograms my wifi with a hammer. I would think after all this time Linux would have figured wifi out... sort of...
<kmicu>
It’s hard to figure out something if you do not have access to it :)
<LnL>
ixxie: you also have a bit more power with mkDerivation you could fetch the scripts, ...
<LnL>
ixxie: note that in the previous examples ${./setup.sh} is relative to the default.nix so you'll need a local checkout of the project
<ixxie>
thanks LnL
<LnL>
ixxie: unless you add a src with fetchurl/fetchgit
<ixxie>
I have to cook lunch now
<ixxie>
this is helpful
<ixxie>
but I think when I get back I need to consider first the overal stucture of the workflow
<ixxie>
I saved all you gists, they will go to good use ^^
johann__ has quit [(Ping timeout: 245 seconds)]
pi3r has quit [(Ping timeout: 248 seconds)]
ebzzry has joined #nixos
dhananjay has joined #nixos
<dhananjay>
Hi, Why is nix-shell -p "protobuf-c" --show-trace failing? trace here http://lpaste.net/349966
kahiru has joined #nixos
roconnor has quit [(Ping timeout: 256 seconds)]
marusich has quit [(Quit: Leaving)]
<kmicu>
dhananjay: what about ‘nix-shell -p protobufc’?
<kmicu>
(‘nix-env -qaP 'protobuf.*' --description’ should show you the proper attribute paths (first column) and names (second column))
ale-batt has joined #nixos
<jazzencat>
Okay, I have no idea why my network card is active, sees the access points but any attempt to connect with connman just aborts on a protected access point.
<ale-batt>
Did someone know why my gcc is different than on my osx ? i have -wunused-result automatically set
<ale-batt>
and i found nothing about default flag configuration for gcc / clang
<kmicu>
jazzencat: do you have any special characters in WiFi password?
<jazzencat>
I think the gcc on OS X is different because of the switch from GPL2 to 3, so they had to maintain an older GPL2 fork until LLVM/Clang was functional.
<jazzencat>
No, just uppercase letters and numbers.
<dhananjay>
kmicu: It works! also thanks for showing me how to get the proper name.
<jazzencat>
A-Z,0-9
<ale-batt>
jazzencat: on osx, gcc is a symlink to clang
<jazzencat>
Ah.
<jazzencat>
I haven't really looked at it much yet.
isHavvy has joined #nixos
<ale-batt>
second question, any idea why my terminal print \033[A instead of changing the color ? the $TERM is set to xterm-256color
<jazzencat>
What else could be causing the issues? ip link shows the interface up.
<kmicu>
jazzencat: did you try NetworkManager or only wpa_supplicant just to check if you can connect at all?
Havvy has quit [(Ping timeout: 268 seconds)]
<jazzencat>
I haven't tried that yet. I'll try wpa_supplicant only. I need to comment out the connman line and enable network.wireless in configuration.nix, right?
<kmicu>
Maybe your card requires a newer kernel. Try ‘boot.kernelPackages = pkgs.linuxPackages_latest;’.
arianvp2 has joined #nixos
<arianvp2>
I got a question about nixops
<kmicu>
If connman is enabled in configuration.nix then network.wireless also must be enabled.
<arianvp2>
so I set up nixops today on ArchLinux
<arianvp2>
but ArchLinux uses /channels/nixpkgs-unstable
<arianvp2>
but I want to provision the machines I manage with nixops with /channels/nixos-16.09-small
<arianvp2>
instead of nixpkgs-unstable
<arianvp2>
how would I do that?
<arianvp2>
basiclaly, the channel on my servers needs to be different from my local deploy machine
<clever>
arianvp2_: it has to go inside a packageOverride
<lassulus>
arianvp2_: simp_le
<kmicu>
jazzencat: heh “This notebook comes, in my opinion, equiped the worst choice of wireless hardware. Definetely, for linux users. The Ralink combo card RT3090 is quite new, and Ralink promises extremely welcome support for the Linux community. However, the drivers supplied by them are nothing more but a pain and bunch of unstable, unusable lines of coding.” ―
<clever>
arianvp2_: an xml file nearby got changed, to put the challenge as a subdirectory
<clever>
wait, thats the xml for the docs
<arianvp2_>
that's the docs
<clever>
did you read the new docs?
<arianvp2_>
I use the "enableACME =true" option
<ixxie>
clever, LnL, kmicu: I would love your opinions - does this make any sense as a way to share a development environment with my team: https://notehub.org/w89y8
<arianvp2_>
which generates all the stuff for you
<arianvp2_>
i dont do any configration of ACME myself
<arianvp2_>
but I treid config.security.acme.directory + "/acme-challenge"; as well
pi3r has joined #nixos
<clever>
ixxie: i generaly put all of the shared stuff into a default.nix, one sec
<arianvp2_>
the problem is, simple_le doesnt created /var/lib/acme/acme-challenge
<ixxie>
I have been getting to know NixOS so I can share a ready made development environment in the fullest sense of the word
<ixxie>
eventually I wanna retrofit it into a nix package so that expirienced developers can use their own systems
<ixxie>
but for now, I wanna go this route so that we can all configure something usable together
<LnL>
with nix you don't actually need to install anything globally and let people just use their own system configuration
<ixxie>
LnL I know, but what if they don't have one xD
<LnL>
I generally bundle a default.nix with my projects that contains the things I want for development
<clever>
LnL: some naughty packages use propagated-user-env packages and refuse to work under nix-shell
<clever>
LnL: kdenlive is the most recent example i came across
<LnL>
so people don't even need to run nixos, but they can just start a nix-shell and have everything available that they need
<ixxie>
LnL would such a default.nix include an IDE?
<clever>
ixxie: it can
<LnL>
sure if you want
<LnL>
clever: I don't think I've run into that before
<LnL>
only stuff that causes conflicts if it's installed in a profile (with propagated inputs)
<clever>
LnL: in my case, i have an old kdenlive in ~/.nix-profile, and the new kdenlive in nix-shell gets upset about incompatible kde stuff in the env
<arianvp2_>
hm clever
<arianvp2_>
it seems to ignore the packageOverride
<arianvp2_>
because if I give it an invalid path
<arianvp2_>
it does not rebuild the closure
<arianvp2_>
so I have a feeling it is a no-op or something
<clever>
arianvp2_: can you pastebin the whole config?
<arianvp2_>
sec
<LnL>
clever: ah yeah, I basically only use my user profile for temporary stuff
<clever>
arianvp2_: that currently says simple_le, which isnt right
<ixxie>
clever, LnL: this is why I like the idea of having the whole system configuration shared, it will help with debugging the development environment as a whole within the team. At least at this early stage when we are not so familiar with NixOS it seems easier.
<ixxie>
btw, anybody here use OpenJDK?
proteusguy has joined #nixos
<clever>
arianvp2_: there is also an unrelated problem in your zsh-config, you import <nixpkgs> again, so it will ignore all config set in nixpkgs.config
<clever>
arianvp2_: that second nixpkgs will obey the ~/.nixpkgs/config.nix of whatever user ran nixops
<arianvp2_>
ahh
<clever>
arianvp2_: in users.nix, you want to use pkgs.callPackage ./zsh-config.nix
<clever>
arianvp2_: and then model it like every other package
<arianvp2_>
make it a proper package instead?
<clever>
yeah
<arianvp2_>
yeh i hadnt figured out how so I hacked it in
<rardiol>
I am on wifi and about once a day the internet (almost?) completely stops working. It stills shows as connected, but any connection just gets timeout. rebooting fixes it. How do I best reset all the network things without rebooting, or how do I find out what's the problem?
* clever
starts breakfast
* arianvp2_
should bake eggs for clever
<clever>
rardiol: id start by checkign journalctl -f
<LnL>
I should probably also eat something...
<arianvp2_>
so now I need to learn about packaging
<arianvp2_>
to fix my zsh config =)
<clever>
arianvp2_: should be as simple as replacing the first line with { writeText, oh-my-zsh, vim }:
danielrf1 has quit [(Read error: Connection reset by peer)]
danielrf1 has joined #nixos
johnsona` has joined #nixos
emmanueloga_ has joined #nixos
randalltux has joined #nixos
<rardiol>
is journalctl supposed to be time sorted?
hexagoxel has quit [(Ping timeout: 258 seconds)]
arianvp2_ has quit [(Ping timeout: 260 seconds)]
<clever>
rardiol: yes
<randalltux>
hello, i'm confused with fglrx on nixos
anelson_ has joined #nixos
anelson has quit [(Ping timeout: 258 seconds)]
Guest61891 has quit [(Ping timeout: 258 seconds)]
emmanueloga has quit [(Ping timeout: 258 seconds)]
emmanueloga_ is now known as emmanueloga
<randalltux>
any1 can help me?
johnsonav has quit [(Ping timeout: 258 seconds)]
fpletz[m] has quit [(Ping timeout: 258 seconds)]
bret has quit [(Ping timeout: 258 seconds)]
M-appservice_irc has quit [(Ping timeout: 258 seconds)]
M41px[m] has quit [(Ping timeout: 258 seconds)]
primeos[m] has quit [(Ping timeout: 258 seconds)]
saintaquinas[m] has quit [(Ping timeout: 258 seconds)]
wak-work has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to master: https://git.io/v1SvJ
<NixOS_GitHub>
nixpkgs/master 7a58679 Eelco Dolstra: make-tarball.nix: Fix running as root...
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to release-16.09: https://git.io/v1SvI
<NixOS_GitHub>
nixpkgs/release-16.09 04c905e Eelco Dolstra: make-tarball.nix: Fix running as root...
<rardiol>
clever: I got some out of order logs then for some reason. And nothing interesting on journalctl for the previous boot just before the problem, just the usual group rekeying complete
<kmicu>
Hi randalltux what’s the problem?
<rardiol>
but really, how do I reset the network stack? or just force it to disconnect and reconnect?
<clever>
rardiol: you could rmmod the driver and then reload it with modprobe
<clever>
rardiol: and also stop wpa_supplicant before, and start it after
<kmicu>
You could power your card down and up again.
<randalltux>
kmicu: i try to install ati_unfree on nixos.. all installation are completely no errors, after then display manager not showing..
<clever>
rardiol: how did you try to install it?
<rardiol>
clever: install what? the driver?
<clever>
yes
<kmicu>
Does it work with open ati drivers or is that your first try to run a display manager?
<gchristensen>
domenkozar: what laptop do you have, again? you're happy with it, right?
<rardiol>
kmicu: how do I do that? and are wifi cards even able to do that?
<kmicu>
rardiol: what manages your WiFi connection? NetworkManager?
<randalltux>
i also run this command "aticonfig --adapter=all --initial -f" but it don't works to even i switch between kdm , lxdm , or slim.
<rardiol>
clever, kmicu: networking.wireless.networks = {networkname = .{...}}. and I assume the driver is installed because of networking.wireless.enable = true
<rardiol>
I don't remember doing anything in particular to install drivers or anything, but I'm not sure
<gchristensen>
oh, thank you!
<rardiol>
Does nixos split off nonfree firmware like debian? I didn't think so
<clever>
rardiol: oh oops, too many ra names in here
<gchristensen>
kmicu: I like the xps13... I'm worried about its CPU being too weak for all the compiling I do.
<clever>
randalltux: how did you install the gpu drivers?
<rardiol>
clever: what's a "ra name"?
<clever>
rardiol and randalltux
<rardiol>
ah :)
<randalltux>
clever: by editing my configuration.nix
<randalltux>
hahaha to many ra names ._.
<clever>
randalltux: can you pastebin the configuration.nix?
<gchristensen>
kmicu: the xps13's cpu is actually a down-grade from my 4-5 year old laptop :(
filterfish has quit [(Remote host closed the connection)]
arianvp2 has joined #nixos
k2s has quit [(Read error: Connection reset by peer)]
<arianvp2>
how can I make sure that a fresh dhparam is created when I enable a part of my nginx config
<arianvp2>
and it's deleted again if I disable the config?
<arianvp2>
Basicallly, I want to couple the creation and deletion of diffie-hellman keyparam file with my nginx server
k2s has joined #nixos
<arianvp2>
such that i dont have dangling files
<arianvp2>
such a thing possible?
buttbutter has quit [(Ping timeout: 240 seconds)]
teknico has joined #nixos
bret has joined #nixos
Shou has quit [(Ping timeout: 258 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] Mic92 opened pull request #21175: nssModules: include correct systemd output (master...nss) https://git.io/v1S3E
jazzencat has quit [(Quit: Leaving)]
axion has joined #nixos
<axion>
Hello. I just installed NixOS for the first time, and I switched to the unstable channel and rebuilt the system. The new system has no result for nix-channel --list. What is wrong?
<ocharles_>
axion: what about sudo nix-channel --list
<ocharles_>
nix-channel only shows you channels for the current user. NixOS usually has channels as created by root
<axion>
Ok thanks. Another problem I have, is when trying to rebuild as non-root, I get permission denied
<NixOS_GitHub>
[nixpkgs] Mic92 opened pull request #21178: nsswitch: use libnss_resolve if resolved is enabled (master...nsswitch) https://git.io/v1Ssh
pi3r has joined #nixos
<axion>
I am unable to build anything as non-root contrary to what convinced me to try this out
Shou has joined #nixos
takle has joined #nixos
Acou_Bass has quit [(Ping timeout: 248 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
k2s has quit [(Ping timeout: 265 seconds)]
Shou has quit [(Ping timeout: 258 seconds)]
Acou_Bass has joined #nixos
<LnL>
was staging merged in or something?
<gchristensen>
LnL: what are you seeing?
<LnL>
mass rebuild
<gchristensen>
on darwin?
<LnL>
yup, don't know about linux hydra has not picked it up yet
eacamero_ has quit [(Remote host closed the connection)]
<goibhniu>
mpickering: is it mounted to /mnt/boot?
eacamero_ has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
<mpickering>
The installation instructions didn't mention about that, I should make another partition and mount it there?
redmq has quit [(Ping timeout: 245 seconds)]
eacameron has joined #nixos
<goibhniu>
mpickering: are use using UEFI?
<goibhniu>
^use^you
eacameron has quit [(Remote host closed the connection)]
eacamero_ has quit [(K-Lined)]
<mpickering>
I don't know sorry. I am trying to dual boot nixos and ubuntu. I tried to create 2 partitions in the ubuntu installer, one for ubuntu and one for nixos, messed that up somehow so it wouldn't boot and hoped the nixos installer would correctly install the boot loader so everything worked
<mpickering>
I don't unfortunately as I tried to do the partitioning myself and screwed it up so couldn't boot
<mpickering>
I will try that thanks
<goibhniu>
cool
joelmo has left #nixos []
zimbatm[m] has quit [(Quit: Client limit exceeded: 5000)]
<mpickering>
hey that actually worked!
<mpickering>
thanks, is having a UEFI system normal? I found the instructions a bit brief in places
filterfish has joined #nixos
<mpickering>
How can I contribute to the documentation? for example, it says format as vfat but fat32 worked and it would be useful to include the command for people like me
<goibhniu>
Excellent! Yeah, UEFI is the norm these days.
filterfish has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] fpletz closed pull request #21032: whisper: upgrade to the same version as the other graphite components (release-16.09...fix-graphite_web-whisper) https://git.io/v1rfb
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to release-16.09: https://git.io/v1S2b
<NixOS_GitHub>
nixpkgs/release-16.09 81428dd Bas van Dijk: whisper: upgrade to the same version as the other graphite components...
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<jazzencat>
Right now I'm just playing around with NixOS and learning the ropes, so this isn't a machine where security is really a concern. If someone wants to hack into it or fry it, there's nothing of value on it... the machine itself isn't even that valuable anyway.
<NixOS_GitHub>
[nixpkgs] mdaiter opened pull request #21184: erlang_basho_R16: add explicit Carbon and Cocoa support (master...fixMacErlangBasho) https://git.io/v1SaE
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Shou has quit [(Ping timeout: 258 seconds)]
jazzencat has quit [(Quit: Lost terminal)]
ixxie has quit [(Ping timeout: 240 seconds)]
<gchristensen>
domenkozar: can you restart the kernel jobs again and see if these changes fixed it?
data8 has joined #nixos
<clever>
gchristensen: changes in the nix expression should cause the job to restart on its own
<gchristensen>
yes I know, but I don't want to just fudge it
kier has joined #nixos
<clever>
and the old jobs will keep using old expressions
Guest4593 has quit [(Quit: Lost terminal)]
<domenkozar>
gchristensen: which jobs exactly?
digitus has joined #nixos
<gchristensen>
domenkozar: oh ... they passed ... it is just all the dependent jobs aren't rerun. will a new evaluation fix thaht?
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<domenkozar>
gchristensen: only if something changed
<domenkozar>
we don't have a way to restart those automatically
<gchristensen>
I see
<gchristensen>
well ... so this is going to be very annoying, but I'd like all the linuxPackages** jobs that failed to be re-run, because all their corresponding kernels successfully built.
Shou has joined #nixos
<mpickering>
How do I debug the extraEntries not appearing in the boot loader?
<clever>
mpickering: did you run nixos-rebuild switch?
<mpickering>
yes
<clever>
mpickering: now look in /boot/grub/grub.cfg and see if they are added
<mpickering>
I am looking in /boot/loader/entries/ and they are not there
roconnor has quit [(Ping timeout: 252 seconds)]
<clever>
mpickering: which bootloader are you using?
<mpickering>
I think EFI (if that's a boot loader)
<clever>
mpickering: can you pastebin the configuration.nix?
<mpickering>
I could just run boot-repair from the ubuntu live cd to sort this out..
<clever>
that will break nixos
<clever>
nixos needs to update the bootloader config every time you do "nixos-rebuild switch"
<clever>
so you cant just paste nixos stuff into the ubuntu files
erasmas has joined #nixos
danharaj has joined #nixos
Itkovian has joined #nixos
<clever>
mpickering: can you pastebin the configuration.nix?
jazzencat has joined #nixos
<mpickering>
Not easily, maybe you are looking for this line "boot.loader.systemd-boot.enable = true;"?
<clever>
yeah, that would explain it
<clever>
so its ignoring all of the entries you put into boot.loader.grub
<clever>
and systemd-boot has 1 option, enable, nothing else
johnsona` has quit [(Ping timeout: 240 seconds)]
<Baughn>
It's possible to do chainloading with EFI bootloaders
<clever>
so there is no way to configure it further
<clever>
you will either want to chainload nixos's systemd-boot from the ubuntu EFI, or switch to grub
johnsona` has joined #nixos
johnsona` has quit [(Remote host closed the connection)]
<jazzencat>
Okay, how do I make NixOS use the more recent version of Enlightenment as the DE?
<mpickering>
So you are recommending using boot-repair and then modifying the ubuntu boot loader to chainload the nixos boot loader?
<clever>
mpickering: that sounds like the simplest option
<mpickering>
Why is it not possible to configure it, that seems unsatisfying
<clever>
mpickering: i'm guessing somebody just forgot to put options on it, ive just been sticking to grub because i know how it works more
<clever>
and ive had bad luck with efi, every install has failed
<clever>
always had to enable the CSM and use legacy booting
<Baughn>
Might be bad UEFI implementations. There's a ton of them.
<kmicu>
jazzencat: nixos-unstable should have the latest one, 0.21.5.
<Baughn>
It *can* work well, but it's absurdly over-engineered. It's basically impossible to write a bugfree UEFI.
<Baughn>
clever: Regardless, my personal preference is to install Refind manually and have it link to the various OS-specific loaders. No common distributions use it, so it's unlikely to get clobbered.
<Baughn>
Not very automagic, though.
filterfish has joined #nixos
<jazzencat>
I removed the 16.09 and am running the nixos-rebuild switch --upgrade
filterfish has quit [(Remote host closed the connection)]
<kmicu>
Double check what’s in ‘sudo nix-channel --list’.
<clever>
Baughn: it would help if i was able to boot efi under a vm and experiment with it more, just to eliminate user-error from the equation
pgarrison has joined #nixos
<jazzencat>
The question is how do I tell NixOS to take the most current version, seeing as it doesn't delete older versions unless I remove them.
<Baughn>
clever: Ah, but naturally, the few VM EFI implementations you can find are just as buggy.
<clever>
jazzencat: it should always use the build from the last 'nixos-rebuild switch'
<Baughn>
...more, really.
<jazzencat>
Ah okay.
* Baughn
ponder. So, for various reasons I need to url-encode a filename in a Nix script...
<Baughn>
I made a derivation that passes it through Python, but this is incredibly slow. Probably due to fsyncs and such.
<Baughn>
And really, this should be done in the language itself..
<clever>
Baughn: if i flip efi on in virtualbox, it just fails to launch entirely, it cant fallback to legacy pxe booting
<jazzencat>
Will I need to reboot after an --upgrade?
<Baughn>
clever: Well, virtualbox isn't very good. Try vmware?
<kmicu>
jazzencat: correction, nixos-unstable is 6 days old so it’s still on 0.21.4.
<Baughn>
jazzencat: Maybe (tm).
<clever>
Baughn: not currently installed
<Baughn>
clever: And not supported on NixOS, sadly.
jazzencat has quit [(Remote host closed the connection)]
<Baughn>
But it's still my best recommendation.
<clever>
Baughn: id prefer qemu if that option worked
<Baughn>
Tried it? There seems to be some support, but I haven't.
<clever>
Baughn: trying something different in vbox first
<Baughn>
clever: Is builtins.map supposed to run in parallel?
<jazzencat>
Okay that did the trick and upgraded.
<clever>
Baughn: i believe nix is entirely single threaded
<Baughn>
That it definitely is not. It'll happily try to generate eight derivations at once.
<mpickering>
Is there really no way at all to modify this systemd bootloader? My BIOS is misconfigured so I can't launch from a USB to run a live cd anymore...
<Baughn>
mpickering: Fix your BIOS first?
<mpickering>
I can't edit my BIOS
<clever>
Baughn: there are 2 main steps to building things in nix
data8 has quit [(Quit: nite nite)]
<clever>
Baughn: the first step is nix-instantiate, its single threaded, and it turns nix expressions into .drv files
<mpickering>
unless I ask the IT dept which I really want to avoid having to do heh
<clever>
Baughn: then you have nix-store -r, which turns each .drv into an output
<clever>
Baughn: the second step can be made parallel, and happens after the entire nix expression has been evaluated
<goibhniu>
mpickering: can you still boot into NixOS?
<clever>
Baughn: aha, if virtualbox cant find an efi system partition, it fails so hard that the video output doesnt even come up
<mpickering>
yes
<clever>
Baughn: i had to boot with efi off, then do an install with boot.loader.grub.efiInstallAsRemovable = true;
<goibhniu>
ah, good
<mpickering>
The world is telling me to stop worrying about ubuntu and just learn how to use nixos properly it seems :)
data8 has joined #nixos
<Baughn>
clever: Then I'm not sure what's going on. My observation is that my url-encoding hack sometimes takes half a second per encoding, with the CPU at <1% use.
<Baughn>
And it seems like it should be run in parallel, but it's not.
<Baughn>
Sometimes it runs much faster. I haven't figured out why.
<clever>
Baughn: you can test things by just manualy running one of the steps, nix-instantiate foo.nix -A bar
<clever>
Baughn: that will fully evaluate everything bar references, without building anything
<clever>
once that step is done, it no longer has to touch any nix expressions
jedai has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
<Baughn>
Oh, I think I see what's happening.
<Baughn>
What happens if, in order to evaluate a Nix expression, a sub-expression needs to be turned into a derivation?
<Baughn>
The answer seems simple enough. And that *doesn't* happen in parallel.
<clever>
import from derivation will cause it to build things at eval time
<clever>
yeah, i believe the evaluator will just block waiting for that derivation
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<Baughn>
runCommand takes an approximate eternity to construct an environment including python. I expect that's due to symlinking a custom forest each time, or so?
<Baughn>
Let me see..
pgarrison has quit [(Ping timeout: 260 seconds)]
<clever>
Baughn: you could split that up, and reuse the forest every time
<Baughn>
That's what I was thinking.
<clever>
Baughn: if you can stop the inputs it depends on from changing
cpennington has quit [(Ping timeout: 264 seconds)]
Itkovian has quit [(Ping timeout: 258 seconds)]
<Baughn>
nckx: Practical solution is "Switch to zenhack's version".
Itkovian_ has joined #nixos
<jazzencat>
How do I keep my computer from resetting the time each time I reboot.
<clever>
Baughn: if you can find a nix expression that returns the ascii code for a given character, you could potentialy use map to split a string up, and then escape anything outside a given range
<Baughn>
clever: At this point, I'm more motivated to find a way around the performance problem than to just *fix* it. :P
<Baughn>
Since I actually can't use python as a buildInput... ah, or can I? Hum hum.
Leo` has joined #nixos
<clever>
Baughn: you can, and as long as python doesnt change, it could cache these conversions
<clever>
Baughn: but its still a bit costly, several forks per conversion
pgarrison has joined #nixos
pgarrison has quit [(Client Quit)]
<Baughn>
clever: My computer should be able to do a couple thousand of those per fork. I'll figure this out, and *then* I may make a nix-native version.
<NixOS_GitHub>
[nixpkgs] LnL7 opened pull request #21185: xcbuild: add meta (master...darwin-xcbuild-meta) https://git.io/v1S7i
<clever>
Baughn: nix also wants to sync things to disk between every build
<Baughn>
clever: Do you see anything obviously wrong in my sprunge from above?
<clever>
Baughn: so now the rpm of your disk comes into play
<jazzencat>
Well, I might install KDE Plasma or GNOME Shell alongside my Enlightenment.
<jazzencat>
I don't mind Qt deps, they look pretty good. KDE 5 looks really nice, just the system takes a bit of a hit on occasion.
<jazzencat>
And this being NixOS I can get rid of GTK or Qt type crap if I don't want it anymore.
<jazzencat>
Quick! Fork SLiM! Update it... add features :D
<kmicu>
In case of GNOME you can use GDM and in case of KDE you can go with KDM. :)
<jazzencat>
Yeah, for the older KDE4 I think the KDE project has since switched to using SDDM for Plasma
<rardiol>
This being nixos you're more likely going to end up with GTK and QT anyways because of a random dependency. I once installed a display manager and ended up with downloading a database ??!?!
filterfish has joined #nixos
<Ralith>
we're *still* on slim?
filterfish has quit [(Read error: Connection reset by peer)]
wangoe has joined #nixos
<Ralith>
would be nice to see that replaced by sddm or something
<kmicu>
Link or didn’t happen! ( ͡~ ͜ʖ ͡°)
<jazzencat>
I need to rebuild my efl, because Terminology seg-faults when clicking a link.
data8 has joined #nixos
aj__ has joined #nixos
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
<kmicu>
jazzencat: Yep, I can confirm ‘ERR<18511>:ecore_con lib/ecore_con/ecore_con_url_curl.c:70 _c_init() Could not find libcurl.so.5, libcurl.so.4’.
cpennington has joined #nixos
filterfish has joined #nixos
<jazzencat>
I might as well install the GTK and Qt base stuff as well.
<jazzencat>
I kind of like SDDM but I don't really need it since I don't have more than one DE anyway.
filterfish has quit [(Read error: Connection reset by peer)]
<jazzencat>
The arc theme for Enlightenment is really nice looking.
kier has quit [(Remote host closed the connection)]
<jazzencat>
Okay if I just enable services.xserver.displayManager.sddm = true; I can't type my login details. What else do I need to enable to get SDDM working?
filterfish has quit [(Remote host closed the connection)]
mguentner has joined #nixos
osa1 has joined #nixos
osa1 has quit [(Changing host)]
osa1 has joined #nixos
<jazzencat>
Hmm, I'm wondering if the nix package manager could be slotted into an existing tool like YaST for system configuration and such?
<NixOS_GitHub>
[nixops] domenkozar pushed 14 new commits to master: https://git.io/v19qm
<NixOS_GitHub>
nixops/master 792ec47 Tom Hunger: Minimal DO.
<NixOS_GitHub>
nixops/master 6bbc97f Tom Hunger: Figured out a few more things about required items for the setup.
<NixOS_GitHub>
nixops/master 1e3e163 Tom Hunger: Fix networking.
<simpson>
jazzencat: Probably, but NixOS has fewer moving parts.
<stepcut>
When using nixops, what is the best way to make variations depending on the physical machine the logical system is deployed to. For example, I want to use DHCP to get the address when deploying to EC2, but I want to set a specific IP address when deploying to virtualbox
mguentner2 has joined #nixos
mguentner has quit [(Ping timeout: 256 seconds)]
mexisme2 has joined #nixos
<NixOS_GitHub>
[nixpkgs] bzizou opened pull request #21187: ior: init at 3.0.1 (master...ior) https://git.io/v19mc
<jazzencat>
Well, wouldn't have to use all the parts of YaST, but it would cut down on work to develop a GUI manager for NixOS.
filterfish has joined #nixos
<simpson>
Yikes.
<simpson>
I have no input on that other than that I don't want it.
filterfish has quit [(Remote host closed the connection)]
<jazzencat>
Huh, no sound in NixOS
mexisme has quit [(Ping timeout: 265 seconds)]
rly has joined #nixos
ok2 has joined #nixos
jazzencat has quit [(Quit: Lost terminal)]
<NixOS_GitHub>
[nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/v19Yx
<NixOS_GitHub>
nixpkgs/master d5f92a3 Domen Kožar: rocksdb: compile as shared lib
<gchristensen>
fpletz: it is a bit out of my price range :)
<sphalerite>
What's the best way to build a project during active development? Should nix be used as well? I've put a default.nix in the project I'm working on but nix-build pulls in the whole .git directory during dumping and also rebuilds from scratch every time... I'm having a look at using nix-shell and building in a subdirectory of the checkout, but cmake doesn't seem to be enjoying it much and complains that it
<rly>
480GB SSD for what?
<sphalerite>
can't find a make program.
<gchristensen>
(for those curious... rly) fpletz and I were looking at a 96-core ARM server to add to Hydra to make ARM first-class.
* clever
drools
<gchristensen>
$6,500 and it only comes with 1x480GB SSD
<rly>
96 core, that's a nice number. Sounds like 2017 worthy.
<clever>
gchristensen: related, armv6 builds on an armv7 arent pure, the compiler detects a v7 host and makes borked builds
<gchristensen>
aye
krobin has quit [(Quit: krobin)]
<gchristensen>
maybe if there is enough community support in terms of donations and effort to implement nix-on-arm it is possible, but that isn't anything official ... we were just looking in to it.
<rly>
I think the whole ARM vs x86 thing is quite complicated; there are people who say that it doesn't matter for power usage, yet most phones run ARM, but that could also be just because of the eco-system.
<fpletz>
clever: really? shouldn't the platform logic in nixpkgs set -march=armv6?
<gchristensen>
gotta go
nh2_ has quit [(Ping timeout: 245 seconds)]
<clever>
fpletz: i didnt look into that side of it in much depth, and only a few packages did it, not all
<clever>
fpletz: perl and openssl where affected
<clever>
fpletz: it might have been the hand-rolled assembly in openssl, that would ignore -march
filterfish has joined #nixos
redmq has quit [(Ping timeout: 264 seconds)]
<clever>
fpletz: the only reason i noticed, is because i had a mix of v6 and v7 in my cluster, the v7 would make bad v6 builds, then the v6 would barf on them
filterfish has quit [(Read error: Connection reset by peer)]
<sphalerite>
how does the hand-rolled assembly know which arch it's compiling on?
<sphalerite>
oh I'm guessing the build system detects it and chooses the appropriate files to compile
<clever>
yep
<clever>
and it detects a v7 capable cpu
redmq has joined #nixos
<LnL>
gchristensen: arm would be nice, but I'm not sure if enough people would use it
<clever>
LnL: i have an arm based router on the way thats open-source-ish
<clever>
LnL: i plan to nixos it
<fpletz>
LnL: we need ready-to-use images for arm-based boards like rpi and odroid on nixos.org :)
<LnL>
I know, I installed nix on my nas
<fpletz>
clever: too bad, I hope we can disable it
<clever>
fpletz: i was mainly working on a bash script you can add to the stdenv, that would cause the builds to fail if they contain the wrong opcodes
<clever>
fpletz: the arm build of readelf can detect v6 vs v7
* LnL
continues staring at the nixos-option script
<clever>
fpletz: if this makes its way into the buildInputs, and a v6 job makes v7 binaries, it will fail hard at postinstall
<sphalerite>
Is there any particular reason cmake would behave differently when used in the configPhase of an expression as opposed to running it myself in a nix-shell based on the same expression?
<sphalerite>
whoops time to board. Thanks in advance for any answers, I'll read them in 2 hours or so!
aneeshusa has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 2 new commits to staging: https://git.io/v19lZ
<NixOS_GitHub>
nixpkgs/staging 0e64be2 Daiderd Jordan: Revert "aws-sdk-cpp: Enable on Darwin systems"...
<clever>
LnL: in this case, its pkgs/top-level/release.nix in nixpkgs
<LnL>
oh so the unstable job is defined in nixpkgs?
<clever>
[clever@amd-nixos:~/apps/nixpkgs]$ nix-build pkgs/top-level/release.nix -A unstable
roconnor has joined #nixos
<clever>
error: assertion failed at /home/clever/apps/nixpkgs/pkgs/stdenv/linux/make-bootstrap-tools.nix:183:19
<acowley>
LnL: Thank you
<clever>
and that fails
<LnL>
ah interresting
<clever>
and because i can reproduce it localy, i can track it down
<LnL>
yeah that's pretty nice
<LnL>
I didn't know you could build unstable locally
<clever>
183 crossSystem = assert false; null;
xwvvvvwx has joined #nixos
<LnL>
euh
<clever>
something is reading the crossSystem attribute, when it shouldnt be
<clever>
i think
<LnL>
yeah
<clever>
and that was added in the most recent change to that file
<clever>
while evaluating anonymous function at /home/clever/apps/nixpkgs/pkgs/stdenv/linux/default.nix:6:1, called from /home/clever/apps/nixpkgs/pkgs/stdenv/linux/make-bootstrap-tools.nix:176:21:
stepcut has quit [(Remote host closed the connection)]
<clever>
it is an argument to that default.nix
reinzeldroid has joined #nixos
<clever>
which asserts that it is null
stepcut has joined #nixos
<acowley>
Is Ericson2314 from GH an IRC user?
<clever>
but it cant assert that it is null, because the assert false; null; is bailing before it can return null, lol
<NixOS_GitHub>
nixpkgs/release-16.09 6b44caa Jascha Geerds: languagetool: Add myself as a maintainer...
<NixOS_GitHub>
[nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/v19oy
<NixOS_GitHub>
nixpkgs/master 63d9308 Domen Kožar: travis: also evaluate nixpkgs-unstable
rly has quit [(Ping timeout: 250 seconds)]
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/v19KL
<NixOS_GitHub>
nixpkgs/master 2e71054 romildo: lxqt: better organize system packages...
<dtzWill>
lol oh I see unstable includes stdenvBootstrapTools? whoopsy :3
amarsman has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor closed pull request #20492: lxqt: better organize system packages (master...lxqt.better.package.selection) https://git.io/vXH0K
reinzeldroid has quit [(Ping timeout: 248 seconds)]
<gchristensen>
ikwildrpepper: right now, when building the vulnerability patchsets, I spin up an expensive box and build for a while. could I get a jobset on hydra, and if I did, what sort of build resources would it have?
<Sonarpulse-Work>
will get it down to only one left
<gchristensen>
not sure, clever :/
<gchristensen>
I guess I don't understand the difference?
<clever>
gchristensen: the 2nd one is more wizard style, you fillout everything on the page, then continue to the next one
<clever>
gchristensen: it will also have prev/next buttons to cycle thru it
<gchristensen>
that one :D
<clever>
the 1st is more, here is everything you want, all at once
<dtzWill>
i also like the tabbed one better FWIW O:)
<dtzWill>
(looks great, btw! ^.^)
<clever>
next thing i should do is something about all of the dead space on the right
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<LnL>
clever: perhaps the description/example of a selected option?
<clever>
or a way to edit it without popups
<clever>
for the config, i can pull it up from the nixos options docs
<LnL>
right
rardiol has joined #nixos
<clever>
and segfault!
<AtnNn>
How can I test restricted mode locally? I have a job that fails on hyra ("forbidden in restricted mode") but succeeds locally with `nix-build --option restrict-eval true'
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #21189: Mea culpa. Tests should pass now (master...mea-culpa) https://git.io/v19Mo
CustosLimen has quit [(Ping timeout: 268 seconds)]
reinzelmann has quit [(Quit: Leaving)]
S0rin has quit [(Ping timeout: 252 seconds)]
aneeshusa has quit [(Ping timeout: 265 seconds)]
<LnL>
Sonarpulse-Work: travis should also be testing it now
<acowley>
Sonarpulse-Work: Thank you! I'm just the person who noticed the building was on fire and stuck his head to look around. I don't know enough to evaluate the fix!
jensens has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc pushed 8 new commits to master: https://git.io/v19DR
<NixOS_GitHub>
nixpkgs/master eb7ea18 Graham Christensen: jasper: 1.900.28 -> 2.0.6
<NixOS_GitHub>
nixpkgs/master ca6463e Graham Christensen: sqlite: 3.15.0 -> 3.15.2 for null pointer dereference...
<NixOS_GitHub>
nixpkgs/master 971ae27 Graham Christensen: perlPackages.DBDmysql: 4.039 -> 4.041 for CVE-2016-1251
Leo` has joined #nixos
<LnL>
allright, I'm not pulling master tomorrow :)
CustosLimen has joined #nixos
<gchristensen>
LnL: :P
<gchristensen>
LnL: I'm sorry mass rebuilds are hard on darwin ... I'm not sorry to be doing it
<LnL>
it's fine
<LnL>
just good to now so I don't spend time tracking it down
S0rin has joined #nixos
bohan has joined #nixos
pierron has joined #nixos
<LnL>
my stdenv changes are also looking pretty good
<LnL>
so once I finish that it will hopefully happen a little bit less
reinzeldroid has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<gchristensen>
this has been the _most_ difficult patch set to backport :P
<LnL>
howso?
<gchristensen>
several patches don't apply cleanly
<LnL>
oh that's annoying
hiratara has quit [(Remote host closed the connection)]
hiratara has joined #nixos
<gchristensen>
well
<gchristensen>
if things break, hydra will let me know :P
<NixOS_GitHub>
[nixpkgs] grahamc pushed 11 new commits to release-16.09: https://git.io/v19S4
<NixOS_GitHub>
nixpkgs/release-16.09 aebef6e Graham Christensen: jasper: 1.900.28 -> 2.0.6...
<NixOS_GitHub>
nixpkgs/release-16.09 4c780e2 Graham Christensen: sqlite: 3.14.1 -> 3.14.2 for bug fixes...
<NixOS_GitHub>
nixpkgs/release-16.09 f4d9efc Graham Christensen: perlPackages.DBDmysql: 4.039 -> 4.041 for CVE-2016-1251...
* gchristensen
would definitely feel bad if he broke somebody's stuff.
<LnL>
we can always revert it
<gchristensen>
exactly
jazzencat has joined #nixos
aneeshusa has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
jensens has quit [(Ping timeout: 246 seconds)]
<taktoa>
does anyone have any idea when the chromium pepper flash version bump going to hit 16.09
<taktoa>
because fullscreen video tears horribly for me until then -_-
<taktoa>
(unless I switch back to unstable)
<dtzWill>
taktoa: I don't know when that'll happen but until then you could probably cherry-pick the commit/override it locally?
<gchristensen>
taktoa: it should be there now?
<taktoa>
weird I just ran sudo nix-channel --update
<gchristensen>
taktoa: if not now, very soon -- it has hit nixpkgs-channels
<gchristensen>
so I think we're building doing the command-not-found database and what-not before updating the channel
<taktoa>
gotcha
data8 has quit [(Quit: nite nite)]
<NixOS_GitHub>
[nixpkgs] rycee pushed 3 new commits to release-16.09: https://git.io/v19Q3
<LnL>
nobody merged my bootstrap python stuff right?
<LnL>
gchristensen: python depends on sqlite, but I'm not sure if that's related to this
<gchristensen>
LnL: gotta go for some time now, sorry :(
josdotso has joined #nixos
wangoe has quit [(Ping timeout: 245 seconds)]
wangoe has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
christine_ has quit [(Ping timeout: 250 seconds)]
<savanni>
Is there anyone here who understands the nodeEnv derivation?
<savanni>
I have a few questions. All directed in understanding it well enough to create a yarn derivaiton.
<savanni>
And the first question is... nodeEnv provides a context that encapsulates both nodejs and any desired packages so that node can reference the packages?
reinzeldroid has joined #nixos
<savanni>
Kinda like isolating the result of an `npm install -g whatever`?