copumpkin has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
Drakonis has joined #nixos
nh2_ has quit [(Quit: Leaving.)]
<setgid>
how would I manage system-wide configurations (all the stuff in /etc) in NixOS?
<setgid>
I assume I'm not supposed to just edit those in-place
<NixOS_GitHub>
[nixpkgs] qknight closed pull request #22269: httpd: added serviceExpression which extends the serviceType concept … (master...httpd_serviceExpression) https://git.io/vDUM8
<xwvvvvwx>
setgid: all systemwide configuration lives in /etc/nixos/configuration.nix
<LnL>
setgid: there's a module that manages those for you
Drakonis has quit [(Remote host closed the connection)]
_sagitaire has quit [(Ping timeout: 264 seconds)]
Drakonis has joined #nixos
raiden_0x71 has joined #nixos
<setgid>
let's say I install something like postfix or ejabberd, with a complicated configuration file syntax, and I want to set some obscure config option which is not supported by a nix module?
<setgid>
what would be my options then
<NixOS_GitHub>
[nixpkgs] peterhoeg opened pull request #22477: kdiff3-qt5: init at 1.7.0 (master...f/kdiff3) https://git.io/vDCVA
stepcut has joined #nixos
<globin>
setgid: normally there is an "extraConfig" option where you can specify additional configuration verbatim
<setgid>
globin: ah, cool!
<globin>
setgid: otherwise there is a `etc."filename" = ...` where you can create files in /etc
<globin>
setgid: otherwise looking at the module and trying to extend it might actually be a very simple option, too as soon as you get used to a little bit of the nix language and the whole idea
<setgid>
I'm currently using Gentoo and it's always a mess when I upgrade (if I even manage to coerce portage into resolving all the conflicts) to merge my changes to the config files with the newer copy of each config file that just gets dropped in by the package manager
<globin>
setgid: I can imagine %)
<NixOS_GitHub>
[nixpkgs] peterhoeg opened pull request #22478: okteta: init at 16.12.1 (kf5 version) (master...p/okteta) https://git.io/vDCwY
markus1209 has joined #nixos
markus1219 has joined #nixos
kampfschlaefer has quit [(Ping timeout: 256 seconds)]
<tippenein>
is it common for nix-build to fail the first time through building a project?
Shou has quit [(Ping timeout: 276 seconds)]
<tippenein>
I mean.. it happens to me more often than not, but is this a thing that happens to other people?
<clever>
tippenein: typicaly, it should fail every time with the same error, until you change the expression that is causing the problem
<clever>
tippenein: but there are a few things like network errors that dont follow that rule
eacameron has quit [(Remote host closed the connection)]
<tippenein>
"fix the expression causing the problem" at the /nix/store level? because it has happened for a few projects with (i think) different derivation failures
<clever>
tippenein: you would need to fix the .nix file your inputing into nix-build
<clever>
tippenein: if you can pastebin an error, i can tell you what the cause and probable fix is
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
<tippenein>
clever: I appreciate that. Since it didn't break it, I'll have to wait for it to happen again (the successful build is still running)
<tippenein>
the 2nd attemp*
cstrahan has joined #nixos
mlieberman85 has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
mizu_no_oto has joined #nixos
alx741 has joined #nixos
alx741_ has quit [(Ping timeout: 255 seconds)]
derjohn_mob has quit [(Ping timeout: 245 seconds)]
<MP2E>
hm can't seem to clip the other line to make it more clear, it's in nixpkgs/pkgs/top-level/all-packages.nix
<MP2E>
i'll grab it and put it in a paste
<MP2E>
okay so the first link i pasted is the nix script to build wine, the line I highlighted is the option that needs to be overwriten by the caller of the package
<MP2E>
basically it's setting it to wine32 or wineWow
<MP2E>
and we want it set to wine64 in this case
<MP2E>
so generally you can override package attributes like this in your ~/.nixpkgs/config.nix file
<MP2E>
here's an example of some overrides I have in my file actually
<dmj`>
maybe removing binary-caches from /etc/nix/nix.conf might stop the long install pauses
m-i has quit [(Remote host closed the connection)]
m-i has joined #nixos
<Sonarpulse>
thanks
<Sonarpulse>
In my case I was trying to check the jobsets themsevles
<Sonarpulse>
but good to know both ways
ebzzry has joined #nixos
Wizek_ has joined #nixos
ebzzry has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Remote host closed the connection)]
MP2E has quit [(Quit: sleep)]
kampfschlaefer has joined #nixos
ebzzry has joined #nixos
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 240 seconds)]
slack1256 has quit [(Ping timeout: 260 seconds)]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 closed pull request #21388: Make cross-compiling with the crossSystem argument work (v2) (master...pr_make_cross_compiling_great_again_v2) https://git.io/vMvoZ
MercurialAlchemi has joined #nixos
reinzelmann has joined #nixos
ebzzry has quit [(Ping timeout: 240 seconds)]
justbeingglad has joined #nixos
justbeingglad has left #nixos []
kampfschlaefer has quit [(Ping timeout: 256 seconds)]
m-i has quit [(Remote host closed the connection)]
m-i has joined #nixos
xeviox has joined #nixos
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<NixOS_GitHub>
[nixpkgs] gebner pushed 1 new commit to master: https://git.io/vDC5y
<NixOS_GitHub>
nixpkgs/master d77d31b Gabriel Ebner: vscode: fix download url...
MichaelRaskin has quit [(Remote host closed the connection)]
m-i_ has joined #nixos
m-i has quit [(Ping timeout: 240 seconds)]
alx741 has joined #nixos
alx741_ has quit [(Ping timeout: 245 seconds)]
m-i_ has quit [(Remote host closed the connection)]
hotfuzz_ has quit [(Read error: Connection reset by peer)]
hotfuzz_ has joined #nixos
Ralith__ has joined #nixos
rly has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
Ralith_ has quit [(Ping timeout: 276 seconds)]
dramforever has quit [(Ping timeout: 240 seconds)]
systemfault has quit [(Quit: Bye!)]
<NixOS_GitHub>
[nixpkgs] matthiasbeyer opened pull request #22491: Add documentation for XFCE (master...doc-xfce) https://git.io/vDCFz
nschoe has joined #nixos
ckauhaus has joined #nixos
jgertm has joined #nixos
panostimos has joined #nixos
m-i has quit [(Remote host closed the connection)]
m-i has joined #nixos
paperd has joined #nixos
paperd has quit [(Client Quit)]
<slyfox>
how long does it usually take a thing like glibc-2.25 into the tree?
derjohn_mob has quit [(Ping timeout: 258 seconds)]
rly has joined #nixos
m-i has quit [(Remote host closed the connection)]
m-i has joined #nixos
cmercier has joined #nixos
goibhniu has joined #nixos
teknico has joined #nixos
oida has quit [(Ping timeout: 255 seconds)]
proteusguy has joined #nixos
Phlogistique has joined #nixos
thc202 has joined #nixos
xeviox_ has joined #nixos
xeviox_ has quit [(Client Quit)]
<xeviox>
is the MongoDB client available in the package DB? (at best without installing the DB itself)
derjohn_mob has joined #nixos
m-i has quit [(Remote host closed the connection)]
m-i has joined #nixos
<srhb>
Is there a simple way to name a collection of packages (in this case, it's a number of ghcWithpackages... packages) in config.nix. so I can see that name in nix-env -q instead of just ghc?
viric_ is now known as viric
hotfuzz_ is now known as hotfuzz
pombreda has joined #nixos
<srhb>
There was a tool for scaffolding haskell/nix projects recently, what was it called again?
<srhb>
Styx!
mkoenig has joined #nixos
<jophish>
srhb: you could use buildEnv perhaps
<srhb>
jophish: Hmm, yeah, I guess so.
ryanartecona has joined #nixos
<jophish>
srhb: I'm curious about styx, can you let us know if you give it a try?
Tarinaky has quit [(Read error: Connection reset by peer)]
<srhb>
jophish: I just did. Works fine for my use case (avoiding synchronizing nix-shell and .cabal file)
<Mic92>
Sonarpulse: looks down for me as well
roconnor has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
<jophish>
srhb: cool. Usually what I do is use IFD and cabal2nix
m-i has quit [(Remote host closed the connection)]
m-i has joined #nixos
m-i has quit [(Remote host closed the connection)]
m-i has joined #nixos
<jophish>
gs
<setgid>
How would I configure my monitor layout with NixOS? I guess I need to put the relevant X11 config in some xorg extraConf. But where should it go? configuration.nix or hardware-configuration.nix?
<setgid>
Is the comment above hardware-configuration.nix even accurate? Sure, when I run nixos-generate-config it will regenerate hardware-configuration.nix. But I wouldn't actually do that unless I move to another machine? and then my monitor config will be different anyway
mkoenig has quit [(Read error: Connection reset by peer)]
mkoenig has joined #nixos
<goibhniu>
setgid: that's correct, so it's up to you where you'd put extra xorg config
cmercier has quit [(Remote host closed the connection)]
cmercier has joined #nixos
<unlmtd[m]>
what happens if I follow master on nixpkgs? Are there binaries for that?
<unlmtd[m]>
Im gonna setup my own nix-serve but im curious about that
<unlmtd[m]>
Good morning America!
<unlmtd[m]>
Its early over there!
<unlmtd[m]>
cmon lets switch out systemd for runit. Youll thank me in 3 months
<unlmtd[m]>
Systemd is sucking your talent into an inevitable rewrite. Just saying, just saying//
<goibhniu>
unlmtd[m]: you'll get binaries when they're available, but it will be very hit and miss
<unlmtd[m]>
ok I guess ill build it all
dramforever has joined #nixos
<unlmtd[m]>
I dont need so much
<unlmtd[m]>
is it me or is gnome quite broken atm?
<unlmtd[m]>
gnome3*
alx741_ has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti closed pull request #22469: callCabal2nix: take "name" parameter as a function argument (master...fix-callCabal2nix) https://git.io/vDClS
<the-kenny>
Well if you want to pin a specific version you can just download the source, enable developer mode in chrome, then "load unpacked extension"
<setgid>
Is there something like /etc/portage/patches from Gentoo?
<sphalerite>
setgid: I don't know about Chrome, but for Firefox it's possible to install that sort of stuff system-wide, debian does it. I don't think nixos supports that but at least it's possible, right? :D
<the-kenny>
setgid: you can override your X and add the patch there, yes. But note that it might cause a big rebuild as many packages depend on X
<gchristensen>
yeah, LnL. I was just thinking how nice it is having the cache on cloudfront / s3, in that (1) problems are probably very few, small between, and quite possibly not even with the cache itself... (2) we don't really have to debug them
<Profpatsch>
pie_: That was quite the viral tweet and my answer got hearted accordingly.
cpennington has joined #nixos
<Dezgeg>
anybody using nixos as a lxc guest?
<fpletz>
Dezgeg: yes, on a debian box
ok2 has quit [(Ping timeout: 255 seconds)]
ryanartecona has joined #nixos
<gilligan_>
hi o/
mkoenig has quit [(Ping timeout: 248 seconds)]
<Dezgeg>
fpletz: great! any pointers on where to start?
<fpletz>
Dezgeg: I used the containerTarball from nixos/release.nix for bootstrapping the rootfs and the template debian lxc config (lxc.include = /usr/share/lxc/config/debian.common.conf)
<fpletz>
just worked out of the box IIRC
mkoenig has joined #nixos
<fpletz>
those containers are then provisioned with nixops
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vDWa9
<NixOS_GitHub>
nixpkgs/master f22a7f0 Pradeep Chhetri: wuzz: init at 2017-02-05
<NixOS_GitHub>
nixpkgs/master 6eb6130 Joachim F: Merge pull request #22495 from pradeepchhetri/wuzz-20170205...
<LnL>
gchristensen: yeah, that's very nice
<fpletz>
note that boot.isContainer must be true :)
<fpletz>
moin gilligan_ :)
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vDWVs
<NixOS_GitHub>
nixpkgs/master 0d422c5 Joachim Fasting: grsecurity: 4.8.17-201701151620 -> 4.9.8-201702060653...
<Dezgeg>
ok, thanks, sounds good
alx741 has joined #nixos
<eacameron>
Anyone here use the "tor" package?
<gchristensen>
someone is, I'm sure
<eacameron>
gchristensen: I'm just curious how to actually use it. I don't want a browser. I just want to make requests
alx741_ has quit [(Ping timeout: 276 seconds)]
Rotaerk has quit [(Quit: Leaving)]
<setgid>
Is it possible to use a specific package from the unstable channel and everything else from the stable channel?
<gchristensen>
sure
<fpletz>
eacameron: you can use the package to start tor yourself or use the service module to set it up in a nixos system
<eacameron>
fpletz: Oh...I didn't even know there was a service module
<eacameron>
That's sweet!
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/vDWw6
<NixOS_GitHub>
nixpkgs/master 78c052e Celine Mercier: ecopcr: init at 0.8.0
<gchristensen>
one sec, setgid
<NixOS_GitHub>
[nixpkgs] ltavard opened pull request #22496: Cdo: init at 1.7.2 (master...cdo) https://git.io/vDWwb
<drakonis>
i used nix-garbage-collect but my generation count still sits at 13 generations
<gchristensen>
you have to pass additional flags to delete generations
<gchristensen>
please read the man page to determine what flags you want
contrapumpkin has joined #nixos
<contrapumpkin>
niksnut: have you ever tried pointing a binary cache directly at an S3 bucket, without cloudfront?
bennofs has joined #nixos
<gchristensen>
contrapumpkin: the hydra builders all point to s3 directly
<contrapumpkin>
ah interesting
<gchristensen>
since they'll check the cloudfront cache and it can cache 404s
<drakonis>
gchristensen, nix-collect-garbage -d except it doesn't remove them from grub
<gchristensen>
so they see if it is already built, it caches the 404, then builds it and uploads it ... then it is 404'd.
derjohn_mob has joined #nixos
<gchristensen>
drakonis: are you running as root?
<gchristensen>
I wonder if you then need to `nixos-rebuild boot` to remove them from grub...?
k0001 has joined #nixos
<k0001>
Is there any straightforward function in `nxipkgs` to find all the "buildable things" in a `release.nix` file, just like Hydra finds them?
<jophish>
k0001: nix-instantiate perhaps
<gchristensen>
what is your goal, k0001?
<shlevy>
k0001: There isn't, unfortunately
<shlevy>
k0001: I'm pretty sure not at least
* gchristensen
is wondering if there is some sort of X-Y problem at hand
<contrapumpkin>
omg it's shlevy
<jophish>
nix-instantiate release.nix will print a list of derivations
* contrapumpkin
rubs his eyes incredulously
<shlevy>
In fact I think it's impossible because hydra has some tricks to e.g. avoid killing the whole eval if just one bit dies
<shlevy>
contrapumpkin: It's true!
<shlevy>
My old laptop diead
<shlevy>
died
<jophish>
although it's not quite the same as getting a list of attributes
<k0001>
gchristensen: get a list of all buildable things so that I can use that as `constituents` in `pkgs.releaseTools.aggregate`.
<shlevy>
and now I'm on my new one
<contrapumpkin>
\o/
<k0001>
Laptop is dead, long live laptop (?)
<contrapumpkin>
is there a way to get a list of nar paths that a given expression would use?
<gchristensen>
k0001: how about an attrValues on the release.nix converting the attrset in to a list?
<drakonis>
gchristensen, yes i ran as root
<drakonis>
rather
<LnL>
k0001: all the eval logic is inside the nixpkgs release-libs.nix IIRC
<drakonis>
i used sudo i guess?
xeviox has quit [(Ping timeout: 276 seconds)]
<olejorgenb>
it's safe to simply delete symlinks from /nix/var/nix/profiles ?
<LnL>
olejorgenb: euh, what do you want to do?
<drakonis>
is it probably the same as me?
<k0001>
gchristensen: there are a couple of nested attrsets there, it'd need some manual mangling. That's why I was asking for a "straightforward" solution :P --- Anyway, I'll just write the buildable things by hand, they are few.
<k0001>
Thanks!
<olejorgenb>
LnL: keep some profiles and garbage collect others
<gchristensen>
ah, right on k0001
drakonis has quit [(Remote host closed the connection)]
<LnL>
olejorgenb: use the gc options
<olejorgenb>
LnL: I don't think they allow that granularity?
<LnL>
there are a bunch of options, look at the nix-store manpage
drakonis has joined #nixos
<gchristensen>
shlevy: what would it take to make a mini-hydra that could be callable via travis-ci / jenkins / etc. and provide a summary at the end?
<drakonis>
gchristensen, using nix-rebuild boot worked
<olejorgenb>
ah, nix-store --delete is what I want I guess
<shlevy>
gchristensen: nix-build :P
<drakonis>
back to a single entry
<gchristensen>
shlevy: no ... not really :P
<shlevy>
:D I know
<shlevy>
The answer is "patience with C++" probably
<gchristensen>
I did a Bad Thing with a fake remote build hook
<olejorgenb>
LnL: yeah, but that doesn't work if I want to keep an old profile
<olejorgenb>
maybe there's some way to pin a profile though
<jophish>
drakonis: the name was too good!
<drakonis>
i concur
<olejorgenb>
nix-store --delete --ignore-liveness worked though ^^ (playing with fire is fun)
<gchristensen>
jophish: unfortunately, I'm plowing forward with my bad shell script solution until you can replace it:P
<LnL>
olejorgenb: now you probably have some broken profiles
<LnL>
olejorgenb: I think gc won't remove custom gc roots
dramforever has quit [(Quit: Leaving)]
athan has joined #nixos
acarrico has quit [(Ping timeout: 252 seconds)]
oida has joined #nixos
<LnL>
so if you create roots for the profiles you want to keep you can remove the profile links with nix-collect-garbage
<olejorgenb>
LnL: yup, you're right
goibhniu1 has joined #nixos
<drakonis>
i wonder what are the things that distros do to immediatly update the package list on the DE
mkoenig has quit [(Read error: Connection reset by peer)]
<gchristensen>
sorry?
pie_ has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
<drakonis>
i mean
<tippenein>
how would you "zoom in" on derivation failure? One of my expressions is failing but it doesn't say which packages dependencies it's failing on
<drakonis>
whenever you install a package on fedora or ubuntu or debian or void linux
<drakonis>
the application becomes immediatly visible on the DE menu
<drakonis>
on nix, it becomes visible only after a reboot or logout
<k0001>
tippenein: I search the console output for the string "exit code", that usually reveals the culprit. Granted, we could be better at communicating errors.
<k0001>
Or was it "exit status".... hmmm... can't recall now.
<gchristensen>
I usually nix-build with --keep-going and then let it finish and then run again without keep-going to see what failed
<pie_>
the inability to sanely start a second x server with systemd is rediculous
ryanartecona has quit [(Quit: ryanartecona)]
<tippenein>
k0001: "failed with exit code" ?
<drakonis>
thanks systemd
<k0001>
tippenein: yeah
<k0001>
So... `fast-logger` is failing for you.
<jophish>
gchristensen: I started rewriting the script in haskell :)
<gchristensen>
jophish: for the best
<tippenein>
even though I'm not explicitly requiring fast-logger
vandenoever has joined #nixos
roconnor has joined #nixos
mkoenig has joined #nixos
<vandenoever>
it seems i've picked a bad time to reinstall my laptop, the 16.09 channel has only a few binary packages ready atm
pie_ has quit [(Changing host)]
pie_ has joined #nixos
<soundtoxin>
anyone here using qutebrowser? it's not launching for me. I get this message: http://sprunge.us/XMIN
<contrapumpkin>
is there a good way to get a list of nars that would get requested by a particular build?
andesil has joined #nixos
<k0001>
tippenein: it's probably a transitive dependency. Use this as `src` for `fast-logger`, it works on recent GHCJS: http://dpaste.com/0SQB0VP
ryanartecona has joined #nixos
nh2_ has quit [(Ping timeout: 240 seconds)]
andsild has quit [(Ping timeout: 276 seconds)]
<jophish>
gchristensen: I'll let you know when it's done
drakonis has quit [(Remote host closed the connection)]
<pie_>
could nixos have a compatibility layer for programs that can not be trivially ported to the nixos way?
<tippenein>
k0001: thanks for that. I have no idea what I'm doing but I'm assuming there's some way to globally override how a package is built with this?
<jophish>
hmm, will I be able to nix-store --import a closure which is 28GB?
acarrico has joined #nixos
<gchristensen>
pie_: we have fhs environment helpers
<pie_>
gchristensen, could you link docs or something or can i just google that?
<pie_>
or do you mean just the usual env stuff like ldpreload?
<gchristensen>
pie_: look up like how steam is packaged
<k0001>
tippenein: are you familiar with how to use something like `pkgs.haskell.packages.ghcjsHEAD.override`?
<clever>
contrapumpkin: the closest thing i can think of is to "nix-store -r /nix/store/7bqd18jfn63pqkcs78lcas5mcp10vmpy-hello-2.10" to download the closures to your store, the nix-push to export them back as NAR files
<contrapumpkin>
ah
<gchristensen>
garbas: do you have a tweet about it?
<contrapumpkin>
I guess that'd work
<garbas>
gchristensen: yup, also it should come via @nixos_org via RSS in few minutes
<clever>
contrapumpkin: but that involves recompressing and resigning everything, so it will loose the signature hydra placed on things
<gchristensen>
link?
herzmeister has joined #nixos
<contrapumpkin>
clever: unfortunate :)
<contrapumpkin>
especially since if I could just get the list of nar/narinfo files, I could issue an S3 copy command
<contrapumpkin>
and not actually use any of my own bandwidth
<clever>
contrapumpkin: next level up is to just write a script that reads the narinfo of each thing, and gathers filenames for the S3 copy
xadi has quit [(Quit: Leaving.)]
<contrapumpkin>
yeah, maybe I'll just do that
<gchristensen>
contrapumpkin: data _in_ is free
xadi has joined #nixos
<gchristensen>
fwiw
<contrapumpkin>
gchristensen: sure, but I still need to download it and it takes a while, especially if I want to do this on a regular basis
<gchristensen>
aye
<MoreTea>
garbas, someone that was at FOSDEM probably should write something down about the BoF session we had there
<MoreTea>
we achieved consensus on several topics and at decided some first steps for others
<k0001>
tippenein: if you wanted to install, say, `aeson` from the upstream `ghcjsHEAD` package set, then you'd use `haskell.packages.ghcjsHEAD.aeson`. With the change I shared, you'd use `new_ghcjsHEAD.aeson` instead.
<MoreTea>
thanks again for doing this weekly thing, it's awesome :)
<jophish>
ooh, thanks garbas
ok2 has joined #nixos
<ocharles>
contrapumpkin... copumpkin... why stop there? Needs more propumpkin!
xadi has quit [(Ping timeout: 256 seconds)]
<contrapumpkin>
:)
<jophish>
don't forget pumpkinoid
Itkovian_ has joined #nixos
ok2` has quit [(Ping timeout: 258 seconds)]
ok2` has joined #nixos
Itkovian has quit [(Ping timeout: 258 seconds)]
<soundtoxin>
what must I do to make the qutebrowser package work
<k0001>
msd: most other configuration variables don't work with a nix-daemon setup, but this one does :)
<pie_>
so im talking to someone and he had a big pain point when trying to do something on nixos, he had to make some changes to a file pretty high up the dependency graph, a shell script, and he would have to rebuild the entire system every time he needed to try a change, are there any good solutions to this?
<gchristensen>
finding a different way to solve the problem
<pie_>
such as?
<gchristensen>
approaching it differently. based on the information you've provided, I don't think anything more specific can be suggested
<pie_>
or do you mean a different solution as in not fixing the script
ryanartecona has joined #nixos
nschoe has quit [(Quit: Program. Terminated.)]
<tippenein>
k0001: that does look closer. still getting the { mkDerivation, stdenv, reflex, reflex-dom, shared }:
<tippenein>
mkDerivation {
<tippenein>
pname = "frontend";
<tippenein>
version = "0.1.0.0";
<tippenein>
src = ./.;
<tippenein>
isLibrary = false;
<tippenein>
isExecutable = true;
<tippenein>
executableHaskellDepends = [
<tippenein>
reflex reflex-dom shared
tippenein was kicked from #nixos by gchristensen [(tippenein)]
nh2_ has joined #nixos
<pie_>
gchristensen, " the idea is that since nix is so careful about dependencies, you can use shared libraries without second thought, but then if you build LLVM in your home and it calls the system clang, that system clang will accidentally link to the LLVM you just built and break horribly :P"
<pie_>
" that's also where I needed to fix the clang-wrapper to neutralise LD_LIBRARY_PATH and had to rebuild everything from scratch :P"
<k0001>
IRC clients should have an "accidental copy-paste prevention mechanism".
<gchristensen>
k0001: mine does
<Dezgeg>
they do, unfortunately some don't enable it by default...
tippenein has joined #nixos
<msd>
@k0001 `nixos-rebuild switch -j7` doesn't work
<k0001>
gchristensen: what clients do you folk use?
<jophish>
I always end up jailbreaking a stack of packages, and it's not often they don't wok
<ocharles>
k0001: goodbye pre-built binaries then :)
<ocharles>
k0001: and I use IRCCloud which lets me paste in the textfield and have it automatically go to a pastebin
<ocharles>
and one of my friends made it, so I don't mind paying :)
xadi has joined #nixos
<k0001>
shlevy ocharles maybe it's not such a terrible idea. Thinks are kind of curated out of the box already. Also, I already don't use upstream prebuilt binaries, so that's no biggie for me.
<k0001>
ocharles: I'm on IRCCloud as well. I guess I never tried pasting stuff here :)
<ocharles>
Because you already override GHC or something?
joneshf-laptop has quit [(Remote host closed the connection)]
<shlevy>
k0001: My only aversion to it is it seems like bad open-source form
<k0001>
ocharles: I build from scratch mostly GHCJS stuff, for GHC stuff much comes from upstream, but some overrides force me to rebuild things anyway.
<shlevy>
k0001: If there's a version specification bug, I want to be able to report it/patch it
<ocharles>
Right. We have a bunch of overrides too, but generally try and get them pushed upstream
<k0001>
shlevy ocharles: that's a very good argument.
<shlevy>
k0001: Obviously sometimes you need to just get something done, but I'd prefer to pin it down when I can
<k0001>
Actually, I was forgetting something: Yes, I rebuild all GHC stuff from scratch in order to enable profiling everywhere.
<ocharles>
ah, yea that can be handy
<shlevy>
Hmm
<shlevy>
I wonder if we should just build prof and nonprof always
<sziszi>
hey dudes, dudettes! I'm reading the NixOS manual for a few days, and so far I like the concept of the system. Now I have additional questions, like What are the main differences between NixOS and Arch/Gentoo? (apart from the Ubuntu vs. NixOS comparison) Would you use NixOS in production or as a workstation? Unstable channel/branch is "stable" (enough for desktop usage)?
<gchristensen>
sziszi: nixos is a hybrid source/binary distribution, where by it'll use our build cache to see if you can substitute the compilation with something we already built
<gchristensen>
but at all times you have the full instructions to build everything, and those instructions are how the substitutes in the cache are looked up
<tippenein>
I should change my quick keys so I stop messing up
<sziszi>
gchristensen, ABS is similar to AUR except it's for standard repo packages.
<goibhniu>
sziszi because you can easily roll back your system, I find it a bit more "stable" than other distros ... it's hard to get into a situation where you can't reboot into an earlier working version
JagaJaga has joined #nixos
<sziszi>
you can fetch the buildinstructions file for any pkg
<sziszi>
goibhniu, neat-o!
* goibhniu
has been using NixOS unstable on desktop systems for years FWIW
<sziszi>
goibhniu, I'm using Arch(!testing) for 7+ years on desktop/server, no problems
<sziszi>
so far*
<goibhniu>
but because of it's interesting approach to package management, you may well find that development tools (e.g. language specific package managers) don't work so easily on NixOS
<goibhniu>
on the other hand, the ability to fire up custom development environments is very useful
<sziszi>
goibhniu, through profiles, right?
<gchristensen>
just nix-shell
<contrapumpkin>
okay so I'm seeing nixos-rebuild switch indrectly spawn a /nix/store/3xldrl8cgzv3v1rk306gpsvbys6m5p7z-systemd-231/bin/systemd-tty-ask-password-agent --watch
<contrapumpkin>
and thus hang
<goibhniu>
sziszi: there are a few ways to do it, also including nixos-containers
<contrapumpkin>
any idea what might cause that?
<sziszi>
contrapumpkin, privilege problem but fixme
<sziszi>
goibhniu, it's LXC technology?
<goibhniu>
systemd nspawn
<contrapumpkin>
which all just use cgroups and namespaces behind the scenes
bennofs has quit [(Ping timeout: 255 seconds)]
<sziszi>
goibhniu, thanks, wiki didnt stated it
layus_ has quit [(Remote host closed the connection)]
<contrapumpkin>
sziszi: yeah I realize that but it's running as root
<contrapumpkin>
so I don't understand why it would prompt for a password
pi3r has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
Khetzal has quit [(Remote host closed the connection)]
tokudan has joined #nixos
t7 has joined #nixos
hotfuzz_ has joined #nixos
jensens has quit [(Ping timeout: 245 seconds)]
hotfuzz has quit [(Ping timeout: 260 seconds)]
goibhniu has quit [(Ping timeout: 264 seconds)]
<sziszi>
thanks gchristensen and goibhniu1 you convinced me. I'll give it a try. Thanks again!
<gchristensen>
sweet!
bennofs has joined #nixos
fnljk has joined #nixos
mguentner2 is now known as mguentner
<ocharles>
sziszi: I have ran NixOS in production in multiple companies now, and all my home machines run it
msd has quit [(Remote host closed the connection)]
<MoreTea>
sziszi, if you would like to see a guide to learn about some topic, could you be so kind to open an issue at https://github.com/moretea/nix-guides/ ?
msd has joined #nixos
<MoreTea>
I'm working on a project to have a more step-by-step instructions to achieve some things
<MoreTea>
The manual is awesome, but it's a reference manual mostly, not something you'd easily use to get started with it all.
msd has quit [(Ping timeout: 245 seconds)]
jarlg has joined #nixos
Itkovian has joined #nixos
pi3r has quit [(Ping timeout: 240 seconds)]
msd has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
msd has quit [(Client Quit)]
djames has joined #nixos
Itkovian has joined #nixos
Khetzal has joined #nixos
Itkovian has quit [(Client Quit)]
xwvvvvwx has joined #nixos
Jackneill has joined #nixos
alx741 has quit [(Ping timeout: 240 seconds)]
JagaJaga_ has joined #nixos
JagaJaga_ has quit [(Client Quit)]
phreedom has quit [(Ping timeout: 256 seconds)]
phreedom has joined #nixos
JagaJaga has quit [(Ping timeout: 276 seconds)]
<NixOS_GitHub>
[nixpkgs] basvandijk opened pull request #22502: hydra-module: add cfg.package to hydra-evaluator path (release-16.09...fix-hydra-hydra-evaluator) https://git.io/vDlGy
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vDlZg
<NixOS_GitHub>
nixpkgs/master 82c1d98 Vincent Laporte: asymptote: fix build on darwin
<niksnut>
globin: oops, didn't see this before
<niksnut>
the server seems to be unreachable
<sziszi>
ocharles, thanks! <3
<sziszi>
MoreTea, Thank you for the opportunity, but I'm a kind of a control-freak, and I like to do things on my own. If you don't mind I'll happy to add some guide if I'm a bit familiar with this system
simendsjo has quit [(Quit: ERC (IRC client for Emacs 24.5.2))]
<sziszi>
If the system fits my needs ofc
jmeredith has joined #nixos
stepcut_ has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vDlcz
m-i has quit [(Remote host closed the connection)]
cransom has quit [(Remote host closed the connection)]
cransom has joined #nixos
m-i has joined #nixos
m-i has quit [(Remote host closed the connection)]
stepcut_ has quit [(Remote host closed the connection)]
m-i has joined #nixos
m-i has quit [(Remote host closed the connection)]
justbeingglad has joined #nixos
justbeingglad has left #nixos []
m-i has joined #nixos
ixxie has joined #nixos
xadi has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
<NixOS_GitHub>
[nixpkgs] nlewo opened pull request #22503: nixos/systemd: set r-x group permissions on /var/log/journal (master...master) https://git.io/vDl4B
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vDlgf
<NixOS_GitHub>
nixpkgs/master 6091bdf Tuomas Tynkkynen: fio: 2.12 -> 2.17
cfricke has joined #nixos
stepcut has joined #nixos
<simendsjo>
I'm beginning to suspect nixos is to blame for the vrome extension not working in chromium. It's working fine in windows and arch, but on nixos, it's broken. Several keybindings doesn't do what it's supposed to. C-l, C-c, C-p etc is broken. Is anyone else experiencing this?
<shlevy>
aszlig: Have you reported the modinst_arg_list_too_long problem in the kernel build upstream?
seagreen has quit [(Quit: WeeChat 1.6)]
acarrico has quit [(Ping timeout: 240 seconds)]
<Sonarpulse>
shlevy: pong
<shlevy>
Sonarpulse: Would it be difficult to bring your ghc cross branch up to date with master so we can test with my changes to the generic haskell package builder
<shlevy>
\do you know whether your changes should break what I did to the builder?
<Sonarpulse>
shlevy: I have a cross-haskell branch
<Sonarpulse>
which is closer to working
<Sonarpulse>
multiple people need this
<Sonarpulse>
so let's do it
<Sonarpulse>
shlevy: I'm also thinking that instead of doing just buildPackages
<Sonarpulse>
I also do targetPackages
<gchristensen>
ugh, yeah, LnL, something mysterious is going on.
<Sonarpulse>
and have booter do like a "doubly-linked list fold"
<shlevy>
I'm not sure I understand what you're proposing, but it sounds like it might be too much magic :P
<Sonarpulse>
so my build-wrappers commit
<Sonarpulse>
doesn't work so well with overlays
<Sonarpulse>
the kind of general hack is each stage can access both the stage before and the stage after
<Sonarpulse>
(or itself if it is self-booting)
<Sonarpulse>
so pks = buildPackages = targetPackages
<Sonarpulse>
or pkgs != buildPackages != targetPackages != pkgs
<shlevy>
Why does a stage need to access the stage after?
<Sonarpulse>
ugly reasons
<shlevy>
Doesn't this basically break the whole abstraction?
<shlevy>
:(
<Sonarpulse>
it doesn't *break* it
<Sonarpulse>
it does uglify it
<Sonarpulse>
but then we can get GHC working pronto
<shlevy>
Alternatively: Let's remove all compilers from nixpkgs that don't have principled separtion of build/host/cross
<shlevy>
And rewrite our own
<Sonarpulse>
:D
<shlevy>
OK
<shlevy>
I don't understand yet quite what the problem is or how this fixes it
<Sonarpulse>
I will admit, the fun of writing a "doubly-linked list fold" gets me over the sadness of targetPackages
<LnL>
gchristensen: I wonder if systemd-nspawn is freaking out because of all of those cores
<shlevy>
But it definitely sounds good to get GHC working pronto :D
<Sonarpulse>
shlevy: so before build-wrappers was an extra (self: super: ...) for the buildPackages
<Sonarpulse>
which used stuff from current packages
<Sonarpulse>
so buildPackages was getting augmented
<Sonarpulse>
and a new fix-point created
xadi has quit [(Ping timeout: 240 seconds)]
<gchristensen>
LnL: that seems ... unlikely ...?
<gchristensen>
heh
<gchristensen>
my smaller machine does have a .1GHz speed improvement over the big core machine
MoreTea has quit [(Ping timeout: 240 seconds)]
<LnL>
oh that might be important
<Sonarpulse>
shlevy: nbp removed overridePackages, so the thing to do would be use overlays to make the previous stage with buildWrappers from the get-to
<Sonarpulse>
*get-go
<LnL>
gchristensen: what's the default cpu count for the containers?
<shlevy>
But the wrappers need target libs
<shlevy>
So we need targetPackages
<Sonarpulse>
yeah so that's where targetPackages come in
<shlevy>
ugh
<Sonarpulse>
yeah...
<shlevy>
OK
xadi has joined #nixos
<gchristensen>
wait .. one system is reporting it is 2.5GHz but then says "cpu MHz: 1200.683
mkoenig has quit [(Remote host closed the connection)]
stepcut has quit [(Remote host closed the connection)]
<gchristensen>
the other system (which works) is saying 2.6 GHz and "cpu MHz: 2939.282"
m-i has quit [(Remote host closed the connection)]
<gchristensen>
LnL: ah ha! our qemu tests only expose a single core by default
<gchristensen>
the cores were using the powersave governor and it didn't ramp up in time
<NixOS_GitHub>
[nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vDlMU
<NixOS_GitHub>
nixpkgs/master 714fdb4 Shea Levy: firewall: Fix check for rpfilter on manual-config kernels
<gchristensen>
I set the governor to performance and set the cores to 24, and now the tests seem to handle it just fine
m-i has quit [(Remote host closed the connection)]
m-i has joined #nixos
jensens has joined #nixos
<shlevy>
Seriously, why should I have to build my stdlib at the same time as the compiler? cross-compilation issues aside, it seems needlessly restrictive
<gchristensen>
erm, no just kidding, it is still busted. for some reason.
<shlevy>
I'm kinda/sorta working on a compiler right now, and I'm tempted to have all my compilation run in a freebsd 32 bit VM (targeting my 64 bit linux host, of course) just to ensure I don't hit any silly assumptions
<gchristensen>
LnL: exposing more cores broke it. just setting the governor fixed it.
hiratara has quit [(Ping timeout: 255 seconds)]
faffolter has quit [(Ping timeout: 255 seconds)]
<LnL>
gchristensen: hmm, so the timeout was just because a single core is slower on that other machine?
<LnL>
perhaps it should be increased a bit
hiratara has joined #nixos
dcampano has quit [(Ping timeout: 245 seconds)]
<LnL>
gchristensen: oh roundup #20 is still open
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen>
LnL: it'd be nice to finish out #20 before #21 but if not, I'll close it and move the unfinished ones to #21
<viric>
developer edition means you go fix it
<shlevy>
:D
<gchristensen>
LnL: thus far we've done a great job of a "zero tolerance" approach, which is very good... but maybe unsustainable?
<shlevy>
gchristensen: I'm wary of too much commitment right now, but starting a week from Friday I may have a few hours or so a week I can throw at the roundups
<shlevy>
gchristensen: Can you let me know if/when there's something that might be especially valuable to have me on
<shlevy>
?
<gchristensen>
sure, any particular interests that I could keep in mind?
<gchristensen>
domenkozar: sorry I closed that issue about python bloat. though, I closed like 10-15 other issues that nobody seemed fussed about. I'll take a less-than-10% error rate :P
Fare has quit [(Remote host closed the connection)]