rtjure has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir opened pull request #30746: Update cockroachdb to v1.1.1 and enable build on darwin (master...update-cockroach) https://git.io/vdpDd
NixOS_GitHub has left #nixos []
dbmikus has quit [(Ping timeout: 252 seconds)]
Guest46063 has quit [(Ping timeout: 248 seconds)]
rtjure has quit [(Ping timeout: 255 seconds)]
Acou_Bass has quit [(Quit: byeeeeeeeeeeeeeee)]
Acou_Bass has joined #nixos
python476 has quit [(Ping timeout: 255 seconds)]
mutagenfork has quit [(Ping timeout: 260 seconds)]
rtjure has joined #nixos
Fare has quit [(Ping timeout: 255 seconds)]
<makefu> ylwghst: in your case, id just override the installPhase with "install -m 755 ../bin/notify-desktop $out/bin/notify-desktop" ... as you need to mkdir $out in any case
<tobiasBora> Hello,
<tobiasBora> Is it possible to build "nix" (the packager) as a static build, in order to be able to export nix-* commands on another system ?
rtjure has quit [(Ping timeout: 240 seconds)]
<ylwghst> makefu: ill try w8
mutagenfork has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
<makefu> looks good, right? :D
rtjure has joined #nixos
<makefu> the binary also seems to work
<ylwghst> looks good
<ylwghst> now i need to get it into my env
<ylwghst> its my first build :D
<ylwghst> good
<ylwghst> working like a charm
rtjure has quit [(Ping timeout: 240 seconds)]
<makefu> for creating a pull request, check out https://nixos.wiki/wiki/Get_Involved
<ylwghst> makefu: installPhase completely replaces install:
<ylwghst> $(INSTALL_PROGRAM) $(TARGETDIR)/$(TARGET) /usr/bin/$(TARGET)
<ylwghst> right?
<makefu> yep, exactly
<makefu> but it is broken anyway
<makefu> so in actuality it overrides the original "preInstall; make install $(makeFlags); postInstall"
rtjure has joined #nixos
<ylwghst> i see
mutagenfork has quit [(Read error: Connection reset by peer)]
mutagenfork has joined #nixos
rtjure has quit [(Ping timeout: 240 seconds)]
rtjure has joined #nixos
kp__ has quit [(Quit: WeeChat 1.9.1)]
rtjure has quit [(Ping timeout: 248 seconds)]
srodal has quit [(Ping timeout: 240 seconds)]
jtojnar has joined #nixos
rtjure has joined #nixos
mutagenfork has quit [(Ping timeout: 260 seconds)]
rtjure has quit [(Ping timeout: 248 seconds)]
glenn_ has joined #nixos
jb55 has joined #nixos
glenn has quit [(Ping timeout: 260 seconds)]
dieggsy has joined #nixos
rtjure has joined #nixos
thc202 has quit [(Ping timeout: 264 seconds)]
dieggsy has quit [(Quit: ERC (IRC client for Emacs 27.0.50))]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ylwghst opened pull request #30747: notify-desktop: init at 0.2.0 (master...submit/notify-desktop) https://git.io/vdpQ6
NixOS_GitHub has left #nixos []
dieggsy has joined #nixos
rtjure has quit [(Ping timeout: 260 seconds)]
rtjure has joined #nixos
mbrgm has quit [(Ping timeout: 248 seconds)]
mbrgm has joined #nixos
rtjure has quit [(Ping timeout: 258 seconds)]
<alhariel> does anyone here have a xfce + i3 setup here?
srodal has joined #nixos
lambdamu has joined #nixos
<alhariel> if i try to enable both i only get i3
rtjure has joined #nixos
<ylwghst> alhariel: i use i3
<ylwghst> without xfce
lambdamu_ has quit [(Ping timeout: 248 seconds)]
rtjure has quit [(Ping timeout: 240 seconds)]
rtjure has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
mutagenfork has joined #nixos
rtjure has joined #nixos
<dieggsy> Is there a way to determine the system architecture somehow in a nix expression
jb55 has quit [(Ping timeout: 260 seconds)]
jgertm has quit [(Ping timeout: 240 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
rtjure has quit [(Ping timeout: 246 seconds)]
<bdimcheff> anyone have kdm issues with latest unstable @4068703502? I just get a blank black screen with a cursor on tty7
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] alexvorobiev opened pull request #30748: meritous: init at 1.4 (master...meritous) https://git.io/vdpdM
NixOS_GitHub has left #nixos []
iqubic_ has joined #nixos
iqubic_ has quit [(Remote host closed the connection)]
<dieggsy> ah, stdenv.isi686 should be sufficient for me
iqubic_ has joined #nixos
iqubic_ has quit [(Remote host closed the connection)]
rtjure has joined #nixos
iqubic has quit [(Ping timeout: 252 seconds)]
pxc has joined #nixos
<alhariel> tried to run gtk-update-icon-cache /run/current-system/sw/share/icons/Arc/ and it failed saying its a read-only fs
rtjure has quit [(Ping timeout: 248 seconds)]
rtjure has joined #nixos
csingley has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
pxc has quit [(Ping timeout: 258 seconds)]
rtjure has joined #nixos
jb55 has joined #nixos
mrkgnao has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
jb55 has quit [(Ping timeout: 240 seconds)]
rtjure has joined #nixos
glenn_ has quit [(Ping timeout: 240 seconds)]
rtjure has quit [(Ping timeout: 264 seconds)]
hariel has joined #nixos
hariel has quit [(Remote host closed the connection)]
rtjure has joined #nixos
Wizek_ has quit [(Ping timeout: 240 seconds)]
rtjure has quit [(Ping timeout: 260 seconds)]
alhariel has quit [(Quit: Leaving)]
rtjure has joined #nixos
iqubic has joined #nixos
rtjure has quit [(Ping timeout: 240 seconds)]
Mateon1 has joined #nixos
Mateon2 has quit [(Ping timeout: 248 seconds)]
rtjure has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/a04665592c (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/36a4dc392a (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
<ldlework> How can I open a nix-shell after having actually fully built and installed the local default.nix?
schoppenhauer has quit [(Ping timeout: 252 seconds)]
rtjure has quit [(Ping timeout: 255 seconds)]
data has joined #nixos
schoppenhauer has joined #nixos
data is now known as Guest37717
mutagenfork has quit [(Ping timeout: 240 seconds)]
glenn has joined #nixos
rtjure has joined #nixos
<disasm> run nix-shell in the same directory as your default.nix
<ldlework> disasm oh I thought that stops short of actually doing the build?
rtjure has quit [(Ping timeout: 240 seconds)]
<vaibhavsagar> ldlework: what do you want your nix-shell to do?
<vaibhavsagar> if you've already built the thing then the binary will be available under result/, even inside your nix-shell
<ldlework> vaibhavsagar what I mean is that I thought that nix-shell doesn't actually build the derivation
<ldlework> it gets the build inputs and stuff installed, but doesn't acutally build the derivation
<vaibhavsagar> yes, that's right
<adisbladis> Anyone who knows how to do xmodmap only for a specific input device?
rtjure has joined #nixos
dieggsy has quit [(Remote host closed the connection)]
dieggsy has joined #nixos
<iqubic> Like what adisbladis?
Nobabs27 has joined #nixos
rtjure has quit [(Ping timeout: 258 seconds)]
<adisbladis> iqubic: I have a mouse-style device that has dedicated copy & paste buttons, these things send keyboard key events
<iqubic> I'm not sure xmodmap can differentiate between input devices.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vdpAp
<NixOS_GitHub> nixpkgs/master cccee1d Peter Hoeg: minuet: init at 17.08.1
NixOS_GitHub has left #nixos []
<adisbladis> iqubic: It looks like I can do it with xinput but it's not a very intuitive tool
<iqubic> Is is possible to make NixOS run EXWM with my current .emacs in my home directory?
<disasm> ldlework: yeah, that's correct, it won't build the derivation. That's why typically a nix-shell used for env isolation will have no source code in it, just a list of derivations that the shell depends on
rtjure has joined #nixos
<ldlework> yeah
<iqubic> Like, don't create a simple emacs init file to run EXWM with, just use my current .emacs
<disasm> ldlework: it comes down to what you're trying to do, using nix-shell with a package will get you a build environment to manually build that package, using nix-shell with a stdenv.mkDerivation with no src and a bunch of build inputs will give you a shell with access to all those buildInputs.
orivej has joined #nixos
Nobabs27 has quit [(Quit: Leaving)]
rtjure has quit [(Ping timeout: 248 seconds)]
rtjure has joined #nixos
elninja44 has quit [(Remote host closed the connection)]
<ldlework> This is pretty cool.
rtjure has quit [(Ping timeout: 248 seconds)]
jgertm has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
rtjure has joined #nixos
jb55 has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
rtjure has joined #nixos
csingley has quit [(Ping timeout: 258 seconds)]
orivej has quit [(Ping timeout: 248 seconds)]
rtjure has quit [(Ping timeout: 240 seconds)]
hamishmack has quit [(Quit: hamishmack)]
dieggsy has quit [(Quit: ERC (IRC client for Emacs 27.0.50))]
rtjure has joined #nixos
<adisbladis> iqubic: Not an answer to your question, but do you have a solution for getting emacs key bindings in a browser?
rtjure has quit [(Ping timeout: 240 seconds)]
mutagenfork has joined #nixos
alhariel has joined #nixos
jgertm has quit [(Ping timeout: 248 seconds)]
triston has joined #nixos
rtjure has joined #nixos
triston has quit [(Max SendQ exceeded)]
triston has joined #nixos
triston has quit [(Max SendQ exceeded)]
triston has joined #nixos
triston has left #nixos []
triston has joined #nixos
triston has quit [(Max SendQ exceeded)]
<Kim> NixOS was way easier to install than I expected. Took ~30 minutes on the first install (29 of which were, of course, configuring it for the first time)
<Kim> I'm not sure why I expected it to be like Gentoo
rtjure has quit [(Ping timeout: 255 seconds)]
<adisbladis> Kim: Maybe because they are both source based? I expected things to be harder in nix-land too but it's one of the easier distros to deal with imo :>
<adisbladis> Once you get over that initial bump
alhariel has quit [(Remote host closed the connection)]
<Kim> I don't think I've ever enjoyed installing a distro as much as I have with NixOS so far xD
<adisbladis> <3
<adisbladis> Kim: Just wait until it comes to contributing! It's a breeze :)
RayNbow` has quit [(Ping timeout: 246 seconds)]
rtjure has joined #nixos
<Kim> I'm actually looking forward to that; I have more than a few BitlBee contributions to make once I get settled in
rtjure has quit [(Ping timeout: 240 seconds)]
rtjure has joined #nixos
<iqubic> adisbladis: What browser do you use?
<adisbladis> iqubic: Firefox
<Li[m]> is the workflow with rust to download the compiler every time its needed?
<neonfuz> so when you use nix-channel, is that user specific?
<neonfuz> and which user does running 'sudo nixos-rebuild switch' use?
<neonfuz> I would think root for that
rtjure has quit [(Ping timeout: 248 seconds)]
<iqubic> it uses a bunch of nixbld users.
<iqubic> I think
hamishmack has joined #nixos
Guest37717 has quit [(Quit: nite nite)]
Wizek has quit [(Quit: Connection closed for inactivity)]
rtjure has joined #nixos
phreedom has quit [(Remote host closed the connection)]
rtjure has quit [(Ping timeout: 248 seconds)]
pxc has joined #nixos
rtjure has joined #nixos
<MichaelRaskin> Kim: just to avoid disappointment: contributing is easy, getting things merged is reasonably easy, but there is all that «waiting for a PR to be reviewed» in the middle.
pxc has quit [(Ping timeout: 252 seconds)]
rtjure has quit [(Ping timeout: 246 seconds)]
ma27 has joined #nixos
srodal has quit [(Ping timeout: 258 seconds)]
rtjure has joined #nixos
<neonfuz> omg
<neonfuz> I didn't notice that "google-fonts" was literally all of the google fonts lol
<eqyiel[m]> adisbladis if Firefox is compiled with gtk, this works: https://github.com/eqyiel/nixos-config/blob/master/config/lenovo-x240/configuration.nix#L139
srodal has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
endformationage has quit [(Quit: WeeChat 1.9.1)]
rtjure has joined #nixos
ebzzry has joined #nixos
<ebzzry> Where has command-not-found gone?
<iqubic> programs.command-not-found.enable = true;
jgertm has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
iqubic has quit [(Remote host closed the connection)]
iqubic has joined #nixos
rtjure has joined #nixos
jaykru has joined #nixos
<jaykru> why can't I see a systemd service for pulse on nixos?
rtjure has quit [(Ping timeout: 240 seconds)]
<jaykru> making diagnosing my mpd woes pretty tough :(
<etu> jaykru: systemctl status --user pulseaudio ?
<etu> I have a pulseaudio running
<jaykru> oh man I feel like a big weenie now
<jaykru> thanks etu
jaykru has left #nixos []
ma27 has quit [(Ping timeout: 240 seconds)]
jaykru has joined #nixos
slack1256 has joined #nixos
<jaykru> still getting connection refused errors from mpd
<jaykru> set my audio ouput to pulse, server to localhost, user and group same as the user pulse is running under and still no dice :(
rtjure has joined #nixos
<jaykru> I got it playing at least before using OSS but that wasn't ideal since it couldn't handle multiple sound tracks at once
<jaykru> for reference I have pulse output working with chromium et al and can confirm that in pavucontrol
<etu> jaykru: Do you run mpd as a user-service or system-service?
rtjure has quit [(Ping timeout: 240 seconds)]
<jaykru> etu: I set up mpd with the service.mpd thing (not sure about the right nix word) in configuration.nix, so the mpd.service is a system-service, but I think it should be running the mpd process as the same user as my pulse service with how I configured it in configuration.nix
MichaelRaskin has quit [(Quit: MichaelRaskin)]
ArdaXi[m] has left #nixos ["User left"]
<etu> hmm, yeah. I'm not sure how that's done in nix. Just from my experience with mpd in other distros is that it's a bit of a hassle sometimes...
<jaykru> yeah it's never a pretty process to get it up and running...
b has quit [(Quit: Lost terminal)]
<jaykru> I'm just not aware of any good alternatives
ArdaXi[m] has joined #nixos
<Li[m]> changed my default shell, nix complains that its not a 'shell package'
rtjure has joined #nixos
rtjure has quit [(Ping timeout: 258 seconds)]
slack1256 has quit [(Remote host closed the connection)]
rsa has quit [(Ping timeout: 248 seconds)]
ssmike has joined #nixos
<Li[m]> guess it needs passthru.shellPath variable
b has joined #nixos
rtjure has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E pushed 2 new commits to master: https://git.io/vdhJ3
<NixOS_GitHub> nixpkgs/master 5ddea06 Cray Elliott: ffmpeg: 3.3.4 -> 3.4...
<NixOS_GitHub> nixpkgs/master 83d7fe0 Cray Elliott: wineUnstable: 2.18 -> 2.19...
NixOS_GitHub has left #nixos []
periklis has joined #nixos
zzamboni has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
<ebzzry> iqubic: Thanks!
zzamboni has quit [(Quit: Leaving.)]
zzamboni has joined #nixos
rtjure has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vdhJP
<NixOS_GitHub> nixpkgs/master 5fe5afe Michael Raskin: clasp-common-lisp: init at 0.4.99.20170801
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vdhJS
<NixOS_GitHub> nixpkgs/master 4b756e4 Piotr Bogdan: foomatic-filters: fix CVE-2015-8327 & CVE-2015-8560
<NixOS_GitHub> nixpkgs/master d754f7c Michael Raskin: Merge pull request #30736 from pbogdan/foomatic-filters-cves...
NixOS_GitHub has left #nixos []
rtjure has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to release-17.09: https://git.io/vdhJF
<NixOS_GitHub> nixpkgs/release-17.09 e3a0684 Piotr Bogdan: foomatic-filters: fix CVE-2015-8327 & CVE-2015-8560...
NixOS_GitHub has left #nixos []
riclima has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to release-17.03: https://git.io/vdhJA
<NixOS_GitHub> nixpkgs/release-17.03 b869376 Piotr Bogdan: foomatic-filters: fix CVE-2015-8327 & CVE-2015-8560...
NixOS_GitHub has left #nixos []
Ivanych has joined #nixos
demego has joined #nixos
riclima has joined #nixos
leat has quit [(Quit: WeeChat 1.9.1)]
srodal has quit [(Ping timeout: 258 seconds)]
rtjure has joined #nixos
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 240 seconds)]
rtjure has quit [(Ping timeout: 240 seconds)]
rtjure has joined #nixos
demego has quit [(Remote host closed the connection)]
riclima has quit [(Ping timeout: 248 seconds)]
mrkgnao has quit [(Ping timeout: 240 seconds)]
demego has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kuznero opened pull request #30750: Introduce dotnet-sdk package (master...pr/dotnet-sdk) https://git.io/vdhUh
NixOS_GitHub has left #nixos []
kuznero has joined #nixos
<kuznero> Hi All! For those interested in dotnet-sdk - just created PR (linux platform only for now) - https://github.com/NixOS/nixpkgs/pull/30750
rtjure has quit [(Ping timeout: 258 seconds)]
demego has quit [(Remote host closed the connection)]
demego has joined #nixos
oida has quit [(Ping timeout: 264 seconds)]
ertes has quit [(Ping timeout: 246 seconds)]
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
demego has quit [(Remote host closed the connection)]
rtjure has joined #nixos
oida has joined #nixos
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
rtjure has quit [(Ping timeout: 264 seconds)]
zzamboni has joined #nixos
zzamboni1 has joined #nixos
zzamboni has quit [(Remote host closed the connection)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b869376aa6 (from 26 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<Li[m]> is nixpkgs-unstable right up with master ?
leat has joined #nixos
rtjure has joined #nixos
athan has quit [(Ping timeout: 248 seconds)]
<CrazedProgrammer> no, you can find an explanation why here https://howoldis.herokuapp.com/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ElvishJerricco opened pull request #30751: callCabal2nix: Don't rebuild unchanged cabal file (Fixed #23880) (master...callCabal2nix-dont-rebuild-cabalfile) https://git.io/vdhks
NixOS_GitHub has left #nixos []
athan has joined #nixos
glenn_ has joined #nixos
glenn has quit [(Ping timeout: 255 seconds)]
rtjure has quit [(Ping timeout: 264 seconds)]
demego has joined #nixos
dywedir has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vdhk9
<NixOS_GitHub> nixpkgs/master aadbef0 Will Fancher: callCabal2nix: Don't rebuild unchanged cabal file (Fixed #23880)
<NixOS_GitHub> nixpkgs/master c47d77c Peter Simons: Merge pull request #30751 from ElvishJerricco/callCabal2nix-dont-rebuild-cabalfile...
NixOS_GitHub has left #nixos []
rtjure has joined #nixos
goibhniu has joined #nixos
b has quit [(Quit: Lost terminal)]
seku has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
katyucha has joined #nixos
tsm has joined #nixos
JosW has joined #nixos
<sphalerite_> ugh matrix is broken again
periklis has quit [(Ping timeout: 248 seconds)]
<sphalerite_> clever: don't know if you saw yesterday but it turns out llvm's test suite is thorough enough to catch a number of things that don't work in qemu-user :(
zzamboni1 has quit [(Quit: Leaving.)]
ertes-w has joined #nixos
bennofs has joined #nixos
demego has quit [(Remote host closed the connection)]
rtjure has joined #nixos
glenn has joined #nixos
glenn_ has quit [(Ping timeout: 248 seconds)]
zzamboni has joined #nixos
rtjure has quit [(Ping timeout: 260 seconds)]
demego has joined #nixos
<bitonic> what's the most idiomatic way to have `src` to be a list of directories?
zzamboni has quit [(Ping timeout: 258 seconds)]
zzamboni has joined #nixos
rtjure has joined #nixos
demego has quit [(Remote host closed the connection)]
<goibhniu> Hi samueldr, I was asking ixxie recently if they might be able to prepare a layout for showing on the NixCon videos showing the speaker name(s) and talk title ... but I haven't seen them around in a while ... is that something you'd be interested in helping out with perhaps? (or is anyone else interested?)
mutagenfork has quit [(Ping timeout: 248 seconds)]
katyucha has quit [(Ping timeout: 246 seconds)]
zzamboni has quit [(Ping timeout: 258 seconds)]
zzamboni has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vdhL5
<NixOS_GitHub> nixpkgs/master 770bedb Alex Vorobiev: meritous: init at 1.4
NixOS_GitHub has left #nixos []
<sphalerite_> bitonic: there's an srcs attribute which can be used as an alternative, don't know exactly how it works though
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #30738: gthumb: 3.5.1 -> 3.5.3 (master...update/gthumb-3.5.3) https://git.io/vdpWA
NixOS_GitHub has left #nixos []
mutagenfork has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg closed pull request #30584: msmtp: compiles with keyring support by default (master...msmtp) https://git.io/vd5s2
NixOS_GitHub has left #nixos []
Anarazael has joined #nixos
seku has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
rtjure has joined #nixos
seku has joined #nixos
freusque has joined #nixos
zzamboni has quit [(Ping timeout: 252 seconds)]
jacob_ has joined #nixos
nh2 has joined #nixos
jacob_ is now known as Guest48202
zzamboni has joined #nixos
rtjure has quit [(Ping timeout: 240 seconds)]
<sphalerite> ping
zzamboni has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
<Anarazael> Hello guys, is there a way to get local mirror of nar tarballs? Couse of my very poor ADSL connection at the moment I'm using Arch with a nightly cron rsync for all repositories. I'd like to have a local cache for Nix too.
zzamboni has quit [(Remote host closed the connection)]
zzamboni1 has joined #nixos
zzamboni1 has quit [(Client Quit)]
<bitonic> other question: does nix have some support for npm packages?
<sphalerite> yay matrix is back!
ebzzry has quit [(Ping timeout: 240 seconds)]
<sphalerite_> bitonic: vaguely. There are several things along the lines of npm2nix, node2nix, yarn2nix but I'm not really sure what the status of each one is
<JosW> goibhniu: speaking of video's, will there be a livestream from the nixcon2017?
zzamboni has joined #nixos
<bitonic> sphalerite_: ok, checking it out
rtjure has joined #nixos
<srhb> Anarazael: I think you can just set up nix-serve and clone cache.nixos.org with nix copy or something
Isorkin has joined #nixos
<tommyangelo[m]> is this the right place to ask about a nixops issue?
<srhb> tommyangelo[m]: Yup.
thc202 has joined #nixos
<tommyangelo[m]> I defined a fairly simple machine desc for a hetzner server, based on https://nixos.org/nixops/manual/#idm140737318361104 (with additionaly a hostname, and hetzner sublogin values), but it fails with `The unique option `powerManagement.cpuFreqGovernor' is defined multiple times, in `/tmp/nixops-tmpJ7FGwX/physical.nix' and `/etc/nixos/nixpkgs/nixos/modules/config/power-management.nix'` This is strange because I did not
<tommyangelo[m]> set that value in my config
ison111 has quit [(Ping timeout: 240 seconds)]
FRidh has joined #nixos
FRidh has quit [(Client Quit)]
rtjure has quit [(Ping timeout: 255 seconds)]
FRidh has joined #nixos
<FRidh> anyone set up fetchgitPrivate?
MP2E has quit [(Remote host closed the connection)]
<srhb> tommyangelo[m]: Is your nixops using your local nixpkgs config?
<sphalerite> tommyangelo: yeah it's a bug in the nixos modules… you can fix it by setting it yourself with
<FRidh> I have the sandbox enabled, so if I am correct the ssh config should be readable by the build user(s). For now, I have also only one build user.
<sphalerite> s/with//
<tommyangelo[m]> srhb: I don't know. I hope not
jb55 has quit [(Ping timeout: 240 seconds)]
<tommyangelo[m]> sphalerite: I'll try that, thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/vdhqu
<NixOS_GitHub> nixpkgs/release-17.09 20bb049 Tim Steinbach: curl: 7.56.0 -> 7.56.1...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-17.03: https://git.io/vdhqV
<NixOS_GitHub> nixpkgs/release-17.03 aea1482 Tim Steinbach: curl: 7.56.0 -> 7.56.1...
NixOS_GitHub has left #nixos []
<tommyangelo[m]> sphalerite: seems to be working. Thanks!
<sphalerite> :)
rtjure has joined #nixos
p4cman has joined #nixos
<srhb> sphalerite: What triggers that bug? I haven't experienced it.
<sphalerite> srhb: conflict between hardware-configuration.nix and the power-management module
<sphalerite> used to be between tlp and hardware-configuration.nix, then this PR https://github.com/NixOS/nixpkgs/pull/30221 moved the conflict
<srhb> Aha!
jgertm has quit [(Ping timeout: 260 seconds)]
rtjure has quit [(Ping timeout: 260 seconds)]
<sphalerite> aaaah nixcon in just a few days!
<Anarazael> <srhb> ty
Anarazael has quit [(Quit: Leaving)]
<goibhniu> JosW: good to know you're interested! I'll try but, I wouldn't count on it ... maybe to YouTube
rtjure has joined #nixos
ThatDocsLady has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
sigmundv has joined #nixos
<aminechikhaoui> Hi, in nixos tests is there a way I can run the driver manually, i.e get in an interactive shell and pass in the perl commands e.g startAll or ssh to the VMs etc ?
<infinisil> aminechikhaoui: I'm 99% sure I've seen that, maybe check the tests section of the manual
<joko> aminechikhaoui: I am interested in that, too. The only info I have found so far is the manual: https://nixos.org/nixos/manual/index.html#sec-running-nixos-tests
<joko> I have a test that fails because the VM has not internet access, so it cannot build a derivation. I have yet to find a way to solve this
zzamboni has quit [(Quit: Leaving.)]
rtjure has joined #nixos
demego has joined #nixos
<niksnut> joko: try virtualisation.writableStore = true and make sure that all files to be downloaded are present, e.g. virtualisation.pathsInNixDB = [ pkgs.foo.src ];
zzamboni has joined #nixos
<aminechikhaoui> ah cool the manual mentions how to do that :)
Neo--- has joined #nixos
rtjure has quit [(Ping timeout: 240 seconds)]
tsm has quit [(Ping timeout: 260 seconds)]
rtjure has joined #nixos
<tommyangelo[m]> So with nixops once I have deployed a machine, if i copy the config to another computer and try to run deploy, it will reinstall from scratch, correct? How do I copy the state too? So I could update for example my server from work and from home.
danbst1 has quit [(Ping timeout: 252 seconds)]
danbst1 has joined #nixos
<aminechikhaoui> tommyangelo[m]: nixops export then nixops import
<tommyangelo[m]> Ok, and that is git-able ?
<tommyangelo[m]> (yes)
<aminechikhaoui> but you'll likely need few changes to the nix expression path etc
<infinisil> Isn't the private key in there?
<aminechikhaoui> ah no that's not git-able, it has all sort of secrets
<infinisil> yeah, although the man page doesn't mention it which it probably should
* goibhniu notices there are already quite a lot of unrelated YouTube channels called NixOS
<aminechikhaoui> yeah it should probably be mentionned
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e3a0684c81 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
rtjure has quit [(Ping timeout: 260 seconds)]
<sphalerite> goibhniu: I'm sure they're not as bad as nixos.com (nsfw)
<goibhniu> hehe ... probably not
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fadenb opened pull request #30754: graylog: 2.3.1 -> 2.3.2 (master...graylog_2.3.2_master) https://git.io/vdhOh
NixOS_GitHub has left #nixos []
jaykru has quit [(Ping timeout: 252 seconds)]
bennofs has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vdh3Z
<NixOS_GitHub> nixpkgs/master 87bd049 Peter Hoeg: krdc: init at 17.08.1
NixOS_GitHub has left #nixos []
rtjure has joined #nixos
bennofs has joined #nixos
griff_ has quit [(Quit: griff_)]
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
<infinisil> Does anybody know why an overlay with `lib = super.lib // { myFun = ...; }` doesn't apply to the `lib` argument to nixos modules?
<infinisil> If you want to use such an overlay you'd have to use `pkgs.lib` instead, which I'd prefer not to
ma27 has joined #nixos
rtjure has quit [(Ping timeout: 255 seconds)]
<betaboon> infinisil: i have to clue, can you provide a minimal code-example?
<joko> niksnut: thanks, I'll try it a bit later
<infinisil> { lib, ... }: { nixpkgs.overlays = [(self: super: { lib = super.lib // { sayHi = n: "Hi ${n}"; }; })]; environment.etc.foo.text = lib.sayHi "Test!"; }
<infinisil> betaboon: Somethnig like that, which doesn't work
<infinisil> You'd have to use { pkgs, ... }: { ... pkgs.lib.sayHi "Test!"; } instead
mingc has quit [(Quit: Ping timeout (120 seconds))]
<infinisil> And I don't get why pkgs.lib shouldn't apply to the modules lib argument
mingc has joined #nixos
mutagenfork has quit [(Ping timeout: 248 seconds)]
lsix has joined #nixos
rtjure has joined #nixos
<betaboon> hm i see. sorry no clue and currently not the time to reproduce. might stumble upon the same problem soo tho.
MercurialAlchemi has joined #nixos
<betaboon> btw i found another hoop to jump throught for overlays
aloiscochard has joined #nixos
erictapen has joined #nixos
<betaboon> https://gist.github.com/betaboon/ba03b01f29347234efb3fe8add1bc620 << note the "overlays =" in "pkgs = (import ...)
ma27 has quit [(Quit: WeeChat 1.9.1)]
zzamboni has quit [(Quit: Leaving.)]
rtjure has quit [(Ping timeout: 255 seconds)]
pxc has joined #nixos
ma27 has joined #nixos
Neo--- has quit [(Ping timeout: 240 seconds)]
<sphalerite> infinisil: probably because lib needs to be evaluated to get the module evaluation, so the overlays don't apply to it
<sphalerite> that's my guess anyway
<sphalerite> (and you need modules evaluated to get at nixpkgs.overlays)
<infinisil> But shouldn't everything be lazy anyways
<infinisil> Oh wait, not with a fixed-point, right?
<infinisil> wait no, fixed points can be lazy too im pretty sure
<sphalerite> Yes we have laziness but that doesn't mean we can have a circular dependency
* infinisil thinks about what you said
pxc has quit [(Ping timeout: 240 seconds)]
rtjure has joined #nixos
<JosW> goibhniu: sphalerite was shocked when i misstyped once
zzamboni has joined #nixos
<JosW> goibhniu: you could set one up as Nixcon2017?
<infinisil> sphalerite: But why would all of lib get evaluated? It shouldn't be a circular dependency because to get the modules it doesn't need my overlayed lib function
alhariel has joined #nixos
<goibhniu> yeah, or maybe "NixCon" is available ... I guess it doesn't matter much anyway, as long as there's a link to it somewhere
zzamboni has quit [(Ping timeout: 248 seconds)]
rtjure has quit [(Ping timeout: 260 seconds)]
michiel_l has quit [(Remote host closed the connection)]
<goibhniu> a nice benefit of streaming is that people can report if there are any issues with the recording, I hope it works out
<sphalerite> infinisil: but it needs to evaluate your overlaid lib to determine whether it changes the stuff that it does use
<sphalerite> Even if you don't change any of it
zzamboni has joined #nixos
<infinisil> hmmm... true..
<infinisil> Okay I think I understand a bit better now, these damn infinite recursions, why can't nix be total
LysergicDreams has quit [(Ping timeout: 248 seconds)]
demego has quit [(Remote host closed the connection)]
<betaboon> infinisil: what about the nixos-modules ./nixos/misc/libs.nix ?
katyucha has joined #nixos
rtjure has joined #nixos
snikkers has joined #nixos
<infinisil> betaboon: I can't find any such file
zzamboni has quit [(Ping timeout: 246 seconds)]
<infinisil> Oh, lib.nix
<infinisil> Interesting...
<betaboon> ah yeah sorry
<betaboon> infinisil: i do maintain my nixos-modules in my nixpkgs-overlay with a little "hack"
zzamboni has joined #nixos
<infinisil> So, that option's values are available from config.lib.<name>, i see
LysergicDreams has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
FRidh has quit [(Ping timeout: 264 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #30754: graylog: 2.3.1 -> 2.3.2 (master...graylog_2.3.2_master) https://git.io/vdhOh
NixOS_GitHub has left #nixos []
zzamboni has quit [(Ping timeout: 258 seconds)]
ssmike has quit [(Ping timeout: 246 seconds)]
zzamboni has joined #nixos
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vdhna
<NixOS_GitHub> nixpkgs/release-17.09 4ed9273 Tristan Helmich: graylog: 2.3.1 -> 2.3.2...
NixOS_GitHub has left #nixos []
rtjure has joined #nixos
glenn has quit [(Remote host closed the connection)]
zzamboni has quit [(Ping timeout: 240 seconds)]
<oleks> usually, I'd search for the package on https://nixos.org/nixos/packages.html but that doesn't seem to correspon to what actually resides on the nixpkgs repository
glenn has joined #nixos
<srhb> oleks: I believe those are meant to be included in services.printing.drivers
zzamboni has joined #nixos
rtjure has quit [(Ping timeout: 246 seconds)]
<betaboon> oleks: did you look at https://nixos.org/nixos/options.html#cups
<srhb> oleks: I assume the packages list corresponds mostly to pkgs/top-level/all-packages.nix
Neo-- has joined #nixos
<oleks> srhb: so it should be something like services.printing.drivers = [ canon ]; ?
glenn has quit [(Ping timeout: 240 seconds)]
<srhb> oleks: The actual name will correspond to the definition in all-packages.nix
<srhb> oleks: (In there I find, for instance, canon-cups-ufr2)
zzamboni has quit [(Remote host closed the connection)]
<srhb> oleks: You might also try something like nix-env -qaP | grep canon
<srhb> oleks: If you don't like browsing the file.
zzamboni has joined #nixos
rtjure has joined #nixos
fendor has joined #nixos
<betaboon> oleks: is this you: https://github.com/NixOS/nixpkgs/issues/30707 ?
erictapen has quit [(Ping timeout: 248 seconds)]
erictapen has joined #nixos
<betaboon> oleks: and https://nixos.wiki/wiki/Printing
<oleks> betaboon: could be, eventually
alhariel has quit [(Remote host closed the connection)]
fendor has quit [(Remote host closed the connection)]
fendor has joined #nixos
<betaboon> oleks: do you have the printer locally installed or is it only reachable through network ?
<oleks> betaboon: locally
csingley has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
chakra has joined #nixos
<oleks> CUPS does discover it, but nothing really happens when I try and print
rtjure has quit [(Ping timeout: 255 seconds)]
<betaboon> i have to go down the rabbit hole of setting up my networked printer aswell xD
<adisbladis> Software <3 Rabbit hole after rabbit hole
zzamboni has joined #nixos
katyucha has quit [(Ping timeout: 260 seconds)]
<betaboon> :D
<betaboon> atleast with nix it is even more true that we have to solve a rabbit-hole only once.
<adisbladis> Yes <3
<ben> for large values of one, if you have a lot of printers :P
<oleks> okay, so now I get a nice canon printer driver listing in CUPS, but my printer (TS5053) doesn't appear to be listed :-/ I guess I do have to go down some rabbithole
<betaboon> oleks: did you check http://localhost:631 ?
<oleks> betaboon: that's what I mean when I say "CUPS"
<ben> Is there a way to make nix-env -qa cache the nixpkgs evaluation so it's a bit faster?
<ben> I've been doing a nix-env -qasP > all-the-packages.txt regularly and just grepping that but it feels like there ought to be a better way
rtjure has joined #nixos
<betaboon> oleks: ah okay :)
nixos1022 has joined #nixos
<srhb> ben: nox caches things, when it works.
zzamboni has quit [(Ping timeout: 255 seconds)]
<srhb> I think there's another tool as well, but I forget its name.
ylwghst has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
bennofs has quit [(Ping timeout: 255 seconds)]
Neo-- has quit [(Ping timeout: 240 seconds)]
rtjure has quit [(Ping timeout: 248 seconds)]
simukis has joined #nixos
LnL has quit [(Ping timeout: 248 seconds)]
zzamboni has quit [(Ping timeout: 240 seconds)]
katyucha has joined #nixos
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vdhlF
<NixOS_GitHub> nixpkgs/master 707b6b1 Peter Hoeg: minicom: 2.7 -> 2.7.1
NixOS_GitHub has left #nixos []
ma27 has quit [(Ping timeout: 240 seconds)]
proteusguy has joined #nixos
rtjure has joined #nixos
ylwghst has joined #nixos
<sphalerite> clever: so LLVM wouldn't work for that thing I asked about yesterday (JIT to get architecture-independent nix builds)… But I'm guessing the JVM would in principle be a workable solution for it?
<Dezgeg> writing all existing software in java?
<sphalerite> no, just compiling it for the JVM
zzamboni has quit [(Ping timeout: 260 seconds)]
<Dezgeg> probably further progress is made for compiling them to javascript
glenn has joined #nixos
<sphalerite> heh
<sphalerite> javascript, the accidental universal language
zzamboni has joined #nixos
<hyper_ch> sphalerite, my good friend ;)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] wmertens closed pull request #30718: open-vm-tools: Fix rebooting on NixOS (master...vmtools-reboot) https://git.io/vdxtU
NixOS_GitHub has left #nixos []
<sphalerite> ?
LysergicDreams has quit [(Ping timeout: 240 seconds)]
rtjure has quit [(Ping timeout: 264 seconds)]
<hyper_ch> sphalerite: whats up?
<sphalerite> lecture on advanced functional programming
katyucha has quit [(Ping timeout: 260 seconds)]
<hyper_ch> already an advanced programmer ;)
<hyper_ch> I prefer functional programming over OOP
<hyper_ch> because I just can't grasp OOP
<sphalerite> Clearly you have a bit of common sense :
<sphalerite> :D
Wizek_ has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
iqubic has quit [(Ping timeout: 255 seconds)]
<tilpner> OOP is okay, if you're referring to the "associate functions with data" part instead of "force inheritance onto everything" aspect
zzamboni has joined #nixos
<ben> OOP is just a dsl for authoring vtables~
<adisbladis> Inherti all the things! Code sharing!
<adisbladis> ^ Not really what I think
<oleks> trying to build a canon driver, I get the linker error that the cups library is not found, where do I find it on nix?
<oleks> canon printer driver*
<GlennS> Can anyone tell me what the NIX_LINK environment variable does?
zzamboni has quit [(Ping timeout: 240 seconds)]
Wizek has joined #nixos
zzamboni has joined #nixos
rtjure has joined #nixos
glenn_ has joined #nixos
<GlennS> betaboon: so it's supposed to point to your home profile, but why?
<GlennS> what's it actually used by?
<infinisil> GlennS: By default nix uses ~/.nix-profile, you can customize this location with that env var
<GlennS> ok, thanks
glenn has quit [(Ping timeout: 264 seconds)]
<infinisil> I think at least
orivej has joined #nixos
zzamboni has quit [(Ping timeout: 246 seconds)]
zzamboni has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg deleted vmtools-reboot at 7144f88: https://git.io/vdh4A
NixOS_GitHub has left #nixos []
TweyII has joined #nixos
TweyII is now known as Guest42944
ylwghst has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vdhBJ
<NixOS_GitHub> nixpkgs/master c9e08b5 Philipp Middendorf: awesomebump-4.0 -> 5.1
<NixOS_GitHub> nixpkgs/master f6f0b7a Joerg Thalheim: awesomebump: do not override qmake build phases...
<NixOS_GitHub> nixpkgs/master 56a6144 Jörg Thalheim: Merge pull request #30728 from pmiddend/awesomebump-5.1...
NixOS_GitHub has left #nixos []
rtjure has joined #nixos
adamt_ has joined #nixos
dywedir has quit [(Remote host closed the connection)]
FRidh has quit [(Ping timeout: 240 seconds)]
rtjure has quit [(Ping timeout: 260 seconds)]
ylwghst has joined #nixos
doublehp has joined #nixos
<hyper_ch> how does Nixos actually accomplish teh encrypted root zfs unlocking in the initrd... I just can't replicated it on debian
LysergicDreams has joined #nixos
jensens has joined #nixos
<sphalerite> hyper_ch: same way as doing it manually, just that it's in a script
<hyper_ch> sphalerite: but how? I created an initrd that containted master-zfs... but I just never got prompted for encryption password
<hyper_ch> so nixos does something different
rtjure has joined #nixos
<sphalerite> I don't know how debian's initrds work
<ArdaXi[m]> What's 'master-zfs' exactly?
glenn_ has quit [(Ping timeout: 248 seconds)]
<sphalerite> but I'm guessing it just doens't have the commands in the init script that unlock it
<ArdaXi[m]> You'll have to run `cryptsetup luksOpen` for it to prompt for a password and unlock the drive
<hyper_ch> ArdaXi[m]: git-master :)
<sphalerite> ArdaXi: this is for zfs encryption i believe
<sphalerite> not luks
<hyper_ch> ArdaXi[m]: we're talking about native zfs encryption
<sphalerite> hyper_ch: just use nixos instead of debian ;)
<ArdaXi[m]> Ah, my apologies, I didn't know they finished that implementation
<sphalerite> Or ask #debian
<hyper_ch> sphalerite: it's not everywhere possible :)
<hyper_ch> ArdaXi[m]: it's in unstable :)
<hyper_ch> sphalerite: well, I was hoping to figure out how nixos does it so that I could try the same on debian :)
<hyper_ch> ArdaXi[m]: even remotely unlockable zfs root encryption :)
<sphalerite> just look at the contents of your nixos initrd then
<hyper_ch> sphalerite: :)
<ArdaXi[m]> In that case, the answer is `zfs load-key -a` according to https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/tasks/filesystems/zfs.nix#L324
rtjure has quit [(Ping timeout: 240 seconds)]
<hyper_ch> ArdaXi[m]: nice :)
LnL has joined #nixos
glenn has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
<woffs> shotcut segfaults in calculate_vertex_layout () from /run/opengl-driver/lib/dri/i915_dri.so - what to do? system is nixos-17.09, shotcut-17.09 from nixos-unstable.
zzamboni has joined #nixos
<sphalerite> woffs: if you have the time, run it in a debugger to find out which piece's fault it is
goibhniu has quit [(Ping timeout: 246 seconds)]
<woffs> I have a backtrace from the core file
<Shados> Oh nice, the nixos.wiki install guide is hella solid. Even has both the chroot and unpack-iso-to-partition methods...
rtjure has joined #nixos
<woffs> It worked with the prebuilt binary package in Debian before
<woffs> I do not get that opengl stuff in nixos yet
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #30646: opencv: 3.2.0 -> 3.3.0 (master...opencv-3.3.0) https://git.io/vdbSF
NixOS_GitHub has left #nixos []
griff_ has joined #nixos
<woffs> I do not even know if this is a shotcut or a opengl bug
seku has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
seku has joined #nixos
rtjure has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30722: notepadqq: 0.53.0 -> 1.2.0 (master...patch-2) https://git.io/vdxCM
NixOS_GitHub has left #nixos []
<Mic92> gchristensen: is it possible to download these? https://github.com/NixOS/nixpkgs/pull/30722#issuecomment-338758518
<gchristensen> no
<infinisil> gchristensen: Who the hell is GramahcOfBorg
<infinisil> why do you have 3 nicks (!)
<Mic92> a bot
<infinisil> Oh
<gchristensen> 3?
<infinisil> gchristensen, grahamc, and GrahamcOfBorg
<gchristensen> oh
<infinisil> well not on the same platform but still
<infinisil> xD
<gchristensen> I'm an addict :)
<hyper_ch> will nixos get pimped sonn with some Borg algorithms? in Star Trek they always did wonder for performance :)
<woffs> qutebrowser --backend webengine also fails in calculate_vertex_layout () from /run/opengl-driver/lib/dri/i915_dri.so, so I think this is opengl related
<seku> putting the system to sleep wasn't one of the strongsuits of borg algorithms tho.
<hyper_ch> Picard and Data put the Borg asleep a few times :)
<hyper_ch> so sendToSleep seems to work just fine
<seku> yeah. i meant priviledge escalation and hacking .D
<seku> *:D
<hyper_ch> :)
rtjure has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30716: libreoffice: add Italian language (master...libreoffice-lang-it) https://git.io/vdxkw
NixOS_GitHub has left #nixos []
<hyper_ch> btw, tried to unpack the initrd but failed miserably :(
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vdhuU
<NixOS_GitHub> nixpkgs/release-17.09 d940a03 Emanuele Peruffo: libreoffice: add Italian language...
NixOS_GitHub has left #nixos []
rtjure has quit [(Ping timeout: 260 seconds)]
<infinisil> rycee: Thanks a lot ^.^
<tazjin> how does NixOps handle host keys? When I use it to deploy to GCP it will always end up conflicting with the host keys on machines it deployed :/
Neo-- has joined #nixos
<rycee> infinisil: No problems. Thank you for helping out :-)
griff_ has quit [(Quit: griff_)]
griff_ has joined #nixos
rtjure has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
damke has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
fendor has quit [(Ping timeout: 255 seconds)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
Harekiet has joined #nixos
<sphalerite> hyper_ch: gunzip < /boot/EFI/nixos/n6ylxx45n57l81nymhar06mdf1nck9s9-initrd-initrd.efi| cpio -i
<sphalerite> will unpack into cwd
<sphalerite> so don't run it in your home :p
rtjure has quit [(Ping timeout: 260 seconds)]
ssmike has joined #nixos
glenn has quit [(Ping timeout: 258 seconds)]
rtjure has joined #nixos
bebarker has quit [(Ping timeout: 240 seconds)]
glenn has joined #nixos
periklis has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/aea148274b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
rtjure has quit [(Ping timeout: 264 seconds)]
glenn has quit [(Ping timeout: 255 seconds)]
glenn_ has joined #nixos
<infinisil> hyper_ch: Lol, that killall zfs is so hacky in the wiki entry for encrypted zfs
rtjure has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/bf3dbc2b38 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
python476 has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
<woffs> made https://github.com/NixOS/nixpkgs/issues/30758 out of my opengl misery
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
<hyper_ch> infinisil: just can't seem to do it..
<infinisil> hyper_ch: It doesn't work for you?
<hyper_ch> gunzip < /boot/kernels/svc3qscmnpjfkfzlmj1xdxs489zk6z56-initrd-initrd | cpio -i
FinalX has joined #nixos
<hyper_ch> gzip: stdin: not in gzip format
<hyper_ch> cpio: premature end of archive
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar closed pull request #30740: shotwell: 0.26.2 -> 0.27.0 (master...update/shotwell-0.27.0) https://git.io/vdp0m
NixOS_GitHub has left #nixos []
<infinisil> hyper_ch: I think you meant to mention sphalerite
<hyper_ch> both have purple nick name in konvi.. :) so easy to confuse
<sphalerite> hyper_ch: what does `file /boot/kernels/svc3*` say?
rtjure has joined #nixos
<hyper_ch> sphalerite: /boot/kernels/svc3qscmnpjfkfzlmj1xdxs489zk6z56-initrd-initrd: ASCII cpio archive (SVR4 with no CRC)
b has joined #nixos
<sphalerite> then just `cpio -i </boot/kernels/svc*` should do it
<hyper_ch> ha, you're right
<clever> and it unpacks to the current dir
<clever> so run it within a new empty one
<hyper_ch> actually, nothing really happened
<clever> what output did cpio give?
HTTP_____GK1wmSU has joined #nixos
<hyper_ch> cpio: kernel/x86/microcode/GenuineIntel.bin: Cannot open: No such file or directory
<clever> it might be slightly broken, try "mkdir -pv kernel/x86/microcode" then re-run cpio
<joko> Is anyone running pdb on Python projects? Any tip on how to do so?
<hyper_ch> -idmv worked
HTTP_____GK1wmSU has left #nixos []
<hyper_ch> that was only that intel blob
<hyper_ch> hmmm
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FlorentBecker opened pull request #30759: pptp: correct reference to ${iproute}/bin/ip (master...pptp_route) https://git.io/vdh29
NixOS_GitHub has left #nixos []
rtjure has quit [(Ping timeout: 246 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4ed9273cab (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
pie_ has joined #nixos
rtjure has joined #nixos
glenn_ has quit [(Ping timeout: 240 seconds)]
frankqux3 has quit [(Ping timeout: 240 seconds)]
adamt__ has joined #nixos
glenn has joined #nixos
frankqux_ has joined #nixos
adamt_ has quit [(Ping timeout: 248 seconds)]
periklis has quit [(Ping timeout: 240 seconds)]
rtjure has quit [(Ping timeout: 255 seconds)]
katyucha has joined #nixos
riclima has joined #nixos
ssmike has quit [(Remote host closed the connection)]
fendor has joined #nixos
ssmike has joined #nixos
rtjure has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
<sphalerite> Can an ARMv7 system have swap to expand available memory beyond 4GB?
peacememories has joined #nixos
<clever> sphalerite: i cant see why not
<clever> sphalerite: just keep in mind that while the total memory can go a lot higher, each process is limited to 3gig
<sphalerite> clever: address space
<sphalerite> Right
rtjure has quit [(Ping timeout: 240 seconds)]
Guest42944 is now known as TweyII
TweyII has quit [(Changing host)]
TweyII has joined #nixos
<TweyII> https://nixos.org/releases/nixpkgs/nixpkgs-14.04pre41222.073eab8/manual/#ssec-setup-hooks gives a list of a bunch of setup hooks that exist. Is there any documentation on how to *write* a setup hook?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vdhw5
<NixOS_GitHub> nixpkgs/master 25ea550 jammerful: makeself: 2.2.0 -> 2.3.1
<NixOS_GitHub> nixpkgs/master b653131 Jörg Thalheim: Merge pull request #30744 from jammerful/makeself...
NixOS_GitHub has left #nixos []
<clever> TweyII: a setup hook is simply sourced when going thru the list of buildInputs
<gchristensen> TweyII: that is a _very_ old link. how did you find it?
<clever> TweyII: so they are free to modify the env vars and functions of the stdenv
<clever> TweyII: this one for example, will replace the configure phase with the cmake configure phase: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/build-managers/cmake/setup-hook.sh#L63
nohTo has joined #nixos
jensens has quit [(Ping timeout: 240 seconds)]
LexLeoGryfon has joined #nixos
<nohTo> hello everyone. I wanted to play around with nixos a bit in a virtual box, but I'm confused by the installation instructions from the manual. After mounting the partitions you are supposed to run nixos-install without chrooting inside or anything, is that correct?
<clever> nohTo: yes
<clever> nohTo: nixos-install will do the chroot for you
drp has quit [(Remote host closed the connection)]
rtjure has joined #nixos
nixngo has quit [(Quit: leaving)]
<LexLeoGryfon> hello gentlemen! I'm finnally going to install nix os on my asus laptop as main os, could you confirm that it is stable distro for desktop\laptop? I'm an ex Arch user & developer, so I understand freedom comes with price :)
<clever> LexLeoGryfon: i run nixos on all of my machines now, servers, routers, and desktops/laptops
<nohTo> clever: Ah ok, thank you. I was wondering because I got some file allocation failed errors during install and I thought it tried to install on the installation medium.
<clever> nohTo: there is a bug in recent versions of nixos-install, that try to build the entire OS on the tmpfs, then copy it to the hdd
<clever> nohTo: so you may need to add swap and "mount -o remount,size=7G /nix/.rw-store" to bump the tmpfs up
<sphalerite> LexLeoGryfon: I've been using nixos on my daily driver laptop for a year now, never want to go back
<hyper_ch> LexLeoGryfon: what video/lan, wlan cards?
<nohTo> clever: Ah yes, that sounds good. I had 2 gig of swap on the last attempt, so I'll try more. Thank you very much
zzamboni has quit [(Ping timeout: 255 seconds)]
<clever> nohTo: and if your rootfs allows, you can always create a swap file and just delete it when your done
rtjure has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ylwghst closed pull request #30747: notify-desktop: init at 0.2.0 (master...submit/notify-desktop) https://git.io/vdpQ6
NixOS_GitHub has left #nixos []
<hyper_ch> nohTo: you could also just install a very basic nixos, boot into that and then install the rest
<LexLeoGryfon> thnx mates! hyper_ch: Geforce 1070, intel wireless
<hyper_ch> LexLeoGryfon: I guess that should work fine
<sphalerite> LexLeoGryfon: you may have some trouble with the graphics, is it a desktop?
ThatDocsLady has quit [(Ping timeout: 255 seconds)]
<LexLeoGryfon> sphalerite: asus laptop
zzamboni has joined #nixos
<sphalerite> LexLeoGryfon: so with hybrid graphics I'm guessing
<sphalerite> That may take some fiddling to get working right
<clever> LexLeoGryfon: does lspci show 1 or 2 gpu's?
<nohTo> hyper_ch: I would like that, but I don't yet understand how the configuration works. Where can I find one that for example doesn't install kde?
<LexLeoGryfon> clever: I don't have booted in nix yet) Only plan to install it soon
<hyper_ch> nohTo: by default after generating the configs. it's very empty.... no window manager or desktop environment I think
pie_ has joined #nixos
<LexLeoGryfon> no problems for now)
<hyper_ch> just comment out everything x11 related in the configuration.nix
<nohTo> perfect, I'll try :-)
<hyper_ch> by default it shouldn't have anything in there
<hyper_ch> nohTo: that's my x11 / kde setup https://github.com/sjau/nixos/blob/master/configuration.nix#L212
<hyper_ch> so I'd just remover that (and virtualbox building) when doing a new install
rtjure has joined #nixos
riclima has quit [(Ping timeout: 260 seconds)]
snikkers has quit [(Quit: Lost terminal)]
<doublehp> i updated firefox 51 to 56. I am unhappy of 56; I see that 51 is still around, because I have not yet run nix-collect-garbage
<doublehp> how do I tell NIX to keep FF51 "forever" ?
<clever> doublehp: using nix-env or systemPackages?
<doublehp> env
<clever> doublehp: just run nix-store -i /nix/store/hash-firefox-51/
<clever> that will switch back to the 51 version, until you tell it to update again
ma27 has joined #nixos
dbmikus has joined #nixos
glenn has quit [(Ping timeout: 248 seconds)]
zzamboni has quit [(Ping timeout: 240 seconds)]
<doublehp> clever: error: no operation specified
peacememories has quit [(Read error: Connection reset by peer)]
rtjure has quit [(Ping timeout: 248 seconds)]
<clever> doublehp: you need to use the actual hash and version for the old firefox
peacememories has joined #nixos
<doublehp> ah :)
<doublehp> is it normal that, with only 6 packages installed, I have 6300 files in /nix/store/ ?
<clever> doublehp: yeah
glenn has joined #nixos
rtjure has joined #nixos
* doublehp loves NIX
<doublehp> it allows me to not update my gentoo :)
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d940a03202 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
katyucha has quit [(Ping timeout: 260 seconds)]
rtjure has quit [(Ping timeout: 240 seconds)]
frankqux_ has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 14 new commits to master: https://git.io/vdhK5
<NixOS_GitHub> nixpkgs/master 8262588 Franz Pletz: webkitgtk217x: remove, unused
<NixOS_GitHub> nixpkgs/master 8e5a590 Franz Pletz: prometheus-blackbox-exporter: 0.9.1 -> 0.10.0
<NixOS_GitHub> nixpkgs/master de91732 Franz Pletz: atlassian-crowd service: run crowd in foreground
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 5 new commits to staging: https://git.io/vdh6f
<NixOS_GitHub> nixpkgs/staging 5072f47 Franz Pletz: db{48,53,60,62}: add patch to fix CVE-2017-10140
<NixOS_GitHub> nixpkgs/staging f269f31 Franz Pletz: lame: 3.99.5 -> 3.100 for multiple CVEs...
<NixOS_GitHub> nixpkgs/staging aebae6c Franz Pletz: webkitgtk: 2.16.6 -> 2.18.1 for multiple CVEs...
NixOS_GitHub has left #nixos []
frankqux has joined #nixos
katyucha has joined #nixos
<joko> doublehp: NIX is awesome!
<joko> Is there any way to merge sets?
ylwghst has quit [(Quit: Lost terminal)]
<joko> I would like to do something like networking.hosts = { "127.0.0.1" = [ "mynixos" ]; } + buildins.readFile blabla;
<clever> joko: // will merge and overwrite keys at the first level
<LnL> the // operator
<clever> joko: if blabla is another nix file, networking.hosts = { "127.0.0.1" = [ "mynixos" ]; } // import ./blabla;
<joko> clever: unfortunately it's a json one :(
<clever> joko: if its a json file, networking.hosts = { "127.0.0.1" = [ "mynixos" ]; } // (builtins.fromJSON (buildins.readFile ./blabla));
rtjure has joined #nixos
<joko> so, 127.0.0.1 could get overwritten :S
<clever> joko: yeah, there is another function for that
<clever> lib.recursiveUpdate
<clever> upon 2 sets in the same key, it will recursively call itself to merge them
<joko> neat, let's try it!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 14 new commits to release-17.09: https://git.io/vdhif
<NixOS_GitHub> nixpkgs/release-17.09 a4bb25a Franz Pletz: db{48,53,60,62}: add patch to fix CVE-2017-10140...
<NixOS_GitHub> nixpkgs/release-17.09 f2ab2d6 Franz Pletz: lame: 3.99.5 -> 3.100 for multiple CVEs...
<NixOS_GitHub> nixpkgs/release-17.09 3381c61 Franz Pletz: cdrdao: does not build with lame 3.100...
NixOS_GitHub has left #nixos []
rtjure has quit [(Ping timeout: 258 seconds)]
<sphalerite> https://github.com/NixOS/nixpkgs/issues/30760 I've opened an issue for some basic steps to address the issues highlighted by delYsid the other day
data has joined #nixos
data is now known as Guest60326
damke_ has joined #nixos
rtjure has joined #nixos
pie_ has quit [(Ping timeout: 264 seconds)]
damke has quit [(Ping timeout: 240 seconds)]
<oleks> so, gnome-keyring when using xfce as a desktop manager, is that possible?
dbmikus has quit [(Ping timeout: 246 seconds)]
katyucha has quit [(Ping timeout: 260 seconds)]
<oleks> yes, it is, I'll respond to https://github.com/NixOS/nixpkgs/issues/14966 since it works
rtjure has quit [(Ping timeout: 240 seconds)]
jensens has joined #nixos
pxc has joined #nixos
rtjure has joined #nixos
p4cman has quit [(Quit: Connection closed for inactivity)]
Thra11 has joined #nixos
reinzelmann has joined #nixos
asdfoiawe has joined #nixos
cransom has quit [(Quit: WeeChat 1.7)]
JagaJaga has joined #nixos
<aminechikhaoui> Hi everyone, getting this "configure: error: C compiler cannot create executables" when trying to build bash on darwin, from looking at previous issues it seems like it happens few times but didn't see any clear resolution
cransom has joined #nixos
<aminechikhaoui> anyone knows whether it can be an issue in the machine somewhow ? pretty sure this used to build fine with the same revision before
rtjure has quit [(Ping timeout: 246 seconds)]
pxc has quit [(Ping timeout: 246 seconds)]
FRidh has quit [(Ping timeout: 252 seconds)]
damke_ has quit [(Ping timeout: 240 seconds)]
<ikwildrpepper> aminechikhaoui: check the config.log of the build
<ikwildrpepper> (need to keep the failed build dir for that, using -K)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ylwghst opened pull request #30761: notify-desktop: init at 0.2.0 (master...notify-desktop) https://git.io/vdhMe
NixOS_GitHub has left #nixos []
JagaJaga has quit [(Ping timeout: 240 seconds)]
damke_ has joined #nixos
<betaboon> "nixops deploy" something gets stuck. any idea what to look for ?
<clever> betaboon: run "ps -eH x" or "pstree" in another terminal and paste the area around nixops into a pastebin
<betaboon> i think i have only seen it get stuck during downloading packages (while still completing the downloads). not sure yet tho
<betaboon> clever: will do next time it gets stuck
<clever> after the remote end has downloaded things from the binary cache, nixops has to push things with nix-copy-closure
<clever> but it gives no indication that it is doing so
zzamboni has joined #nixos
<betaboon> clever: woot? is there a ticket for that ?
rtjure has joined #nixos
<joko> Is there any way to combine removeSuffix with removePrefix in a functional way?
FRidh has joined #nixos
<betaboon> clever: what about the "machine-name....> copying closure..." indication ?
<aminechikhaoui> ikwildrpepper: yep did that, I'll post a gist ;)
<clever> betaboon: thats the only indication you get, and it just hangs there for a while
<joko> oh, forget it
jensens has quit [(Ping timeout: 240 seconds)]
<aminechikhaoui> ikwildrpepper: https://pastebin.com/tMTLsPRM
<aminechikhaoui> nevermind the first cmd ;)
<sphalerite> joko: what do you mean?
<joko> sphalerite: I meant removePrefix "prefix" (removeSuffix "suffix" k)
kiloreux_ has joined #nixos
kiloreux has joined #nixos
<sphalerite> joko: oh so like removePrefixAndSuffix = prefix: suffix: s: removePrefix prefix (removeSuffix suffix s) ?
fendor has quit [(Ping timeout: 255 seconds)]
<clever> joko: f = prefix: suffix: input: removePrefix prefix (removeSuffix suffix input);
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vdhM1
<NixOS_GitHub> nixpkgs/master 646a777 Yellow Ghost: notify-desktop: init at 0.2.0...
NixOS_GitHub has left #nixos []
<sphalerite> right
<kiloreux_> Can I invoke just the Makefile in my current sources directory withour nix-build (like we do in nix-env) >?
<clever> kiloreux_: nix-shell
rtjure has quit [(Ping timeout: 260 seconds)]
<kiloreux_> I want to compile the source files to create a binary :/
<kiloreux_> so nix-shell is a no-go :(
<clever> kiloreux_: why is it a no-go?
<kiloreux_> Because the binaries will be used in a production system that needs to be independent of running nix-shell
<sphalerite> nix-shell --run make
<joko> sphalerite: clever: exactly :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin opened pull request #30762: Update jupyter and enable a few tests (master...jupyter-update) https://git.io/vdhDC
NixOS_GitHub has left #nixos []
reinzelmann has quit [(Quit: Leaving)]
<kiloreux_> Can I do it with nix-build without generating results link ? But just nix-store entry ?
<sphalerite> of course
<sphalerite> nix-build --no-out-link
<joko> Now I could use a fold function which has a set as an accumulator, is there such a thing?
<gchristensen> joko: yeah there is
<kiloreux_> sphalerite, any sample nix file to just invoke Makefile ?
<sphalerite> you can use anything as an accumulator
<joko> gchristensen: any clue? I couldn't find any at lib/attrsets.nix
<joko> or so I think
<sphalerite> kiloreux_: nix-build --no-out-link -E 'with import <nixpkgs> {}; stdenv.mkDerivation {name = "foo"; src = lib.cleanSource ./.;}'
<sphalerite> joko: just use fold
<sphalerite> joko: it doesn't care what the accumulator is
rtjure has joined #nixos
<kiloreux_> sphalerite, it's gonna import dependencies by itself ? Like specific library dependencies to run the makefile (gcc, go) ?
<sphalerite> kiloreux_: no you'll need to add them to buildInputs. gcc and make are there by default though
<sphalerite> if your makefile wants to do any downloading of stuff from the internet it won't work though
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 10 new commits to master: https://git.io/vdhyn
<NixOS_GitHub> nix/master af241ae Eelco Dolstra: Remove the builder-files option...
<NixOS_GitHub> nix/master 25f3262 Eelco Dolstra: Remove the remote-builds option...
<NixOS_GitHub> nix/master 0d59f1c Eelco Dolstra: nix: Respect -I, --arg, --argstr...
NixOS_GitHub has left #nixos []
oida has quit [(Ping timeout: 248 seconds)]
rtjure has quit [(Ping timeout: 248 seconds)]
<kiloreux_> sphalerite, https://pastebin.com/jpWy8WE9 is this the correct way to do it ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantrinkle opened pull request #30763: haskell-packages: fix all-cabal-hashes component lookup (master...all-cabal-hashes-component-lookup-fix) https://git.io/vdhyy
NixOS_GitHub has left #nixos []
<clever> kiloreux_: looks good, and does it work when you run nix-build against it?
oida has joined #nixos
<kiloreux_> Not really. it outputs `cannot auto-call a function that has an argument without a default value (‘stdenv’)`
pie_ has joined #nixos
<clever> kiloreux_: oh, delete line 2
ssmike has quit [(Remote host closed the connection)]
<clever> kiloreux_: the with on line 1 handles all of that for you
ssmike has joined #nixos
<kiloreux_> Does it handle go imports also ?
<kiloreux_> Like I want to use go since my makefile contains it
<clever> go will only be available if you put go into the buildInputs
<kiloreux_> I assume gcc will be there by default ?
<clever> yes
rtjure has joined #nixos
<kiloreux_> So using `--no-out-link` will just put the package in /nix/store and no local result file will be created ?
<clever> kiloreux_: correct
<kiloreux_> clever, you're awesome. Thank you very much.
<tazjin> do people who use mvn2nix typically check in the generated project-info.json with their nix package?
pxc has joined #nixos
dbmikus has joined #nixos
thblt has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vdhSM
<NixOS_GitHub> nixpkgs/master 1606857 Ryan Trinkle: haskell-packages: fix all-cabal-hashes component lookup...
NixOS_GitHub has left #nixos []
rtjure has quit [(Ping timeout: 240 seconds)]
<doublehp> after installing adb-sync the dep adb have been installed, but is not accessible via PATH; why ? adb-channel is a script that uses hard coded path to access adb; i want adb to be accessible by user
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy closed pull request #30763: haskell-packages: fix all-cabal-hashes component lookup (master...all-cabal-hashes-component-lookup-fix) https://git.io/vdhyy
NixOS_GitHub has left #nixos []
<clever> doublehp: then you will want to install the package that provides adb as well
<doublehp> clever: it's alreadyinstalled; physically; but I don't know it's name ...
<doublehp> hmmm
<doublehp> oh :/
<doublehp> export PATH=$PATH${PATH:+:}/nix/store/czcykdikj6cbd2zqpizi714bfgj7x0b8-android-sdk-25.2.5/bin
<clever> doublehp: you can also run "nix-store -i /nix/store/<hash>-<name>" directly on any storepath, and it will be added to your users profile
<doublehp> so, i want to explictely nix-env -i android-sdk ?
<clever> "nix-env -i /nix/store/czcykdikj6cbd2zqpizi714bfgj7x0b8-android-sdk-25.2.5" will install exactly that version
<doublehp> i don't care version
<clever> nix-env -iA nixos.androidsdk will get the current version from the channel
<doublehp> oh, funny nix :) thanks
zzamboni has quit [(Quit: Leaving.)]
goibhniu has joined #nixos
rtjure has joined #nixos
<kiloreux_> clever, is there a way to add that package to a default.nix file and run nix-env on that file ?
<infinisil> android-studio doesn't work on my nixos :(
<clever> kiloreux_: modify the file to return a set of packages, { pkgname = stdenv.mkDerivation { ... }; }
<clever> kiloreux_: then nix-env -f foo.nix -iA pkgname
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #30764: [WIP] statusnotifier: init at 1.0.0 (master...statusnotifier) https://git.io/vdhHk
NixOS_GitHub has left #nixos []
pxc has quit [(Ping timeout: 260 seconds)]
zzamboni has joined #nixos
<infinisil> Or just `(import <nixpkgs> {}).stdenv.mkDerivation { ... }` in a file and nix-env -f foo.nix -i should work too i think
<clever> infinisil: i think nix-env gets upset when it doesnt have a name or attr to look for
<infinisil> Oh
* infinisil tries
<LnL> don't think it complains, just tries to install all of nixpkgs
<infinisil> YUP
<kiloreux_> I got an error running my file `cp: cannot create regular file '/lib/libfirewall.so': Permission denied`
<kiloreux_> install step
<infinisil> stopped that real fast
<clever> still better to use a set, so you can add more things in the future
<clever> kiloreux_: you must install things under $out, not /lib
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah closed pull request #30162: libdrm: enable tests and build static libraries (staging...master) https://git.io/vdE2c
NixOS_GitHub has left #nixos []
<kiloreux_> Does that mean I have to edit my Makefile ?
<kiloreux_> since the cp step was in the Makefile.
rtjure has quit [(Ping timeout: 252 seconds)]
<srhb> kiloreux_: Often you can just set the install path to $out, if you're making a derivation.
<srhb> Though I often do it manually.
<srhb> (rather than make install to $out)
<clever> kiloreux_: it will depend on what the makefile is doing exactly
<clever> kiloreux_: can you link a copy of the makefile?
<efx[m]> could someone try running `nix-shell -p nox --run "nox-review pr 30731"` . I'm seeing this error just within the last day: https://dpaste.de/H23f
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vdhHP
<NixOS_GitHub> nixpkgs/master 0bb7a1b Franz Pletz: webkitgtk: fix evaluation
<NixOS_GitHub> nixpkgs/master 0f0fcf8 Franz Pletz: nginx: 1.12.1 -> 1.12.2
NixOS_GitHub has left #nixos []
slyfox_ has joined #nixos
<srhb> efx[m]: Hasn't that issue been there for like a month.
<srhb> I haven't used nox for that long because of some webkitgtk error at least.
<kiloreux_> clever, https://pastebin.com/g8ft06Xc
slyfox has quit [(Ping timeout: 248 seconds)]
<goibhniu> zimbatm, gchristensen: Maximilian auditioned the official TNG NixCon gong today, it's very polite and soothing. It says "this talk has reached its conclusion, the universe is in balance" much more than "get off the stage, you're done" :D
<gchristensen> hah!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to staging: https://git.io/vdhQe
<NixOS_GitHub> nixpkgs/staging 8964074 Franz Pletz: Merge branch 'master' into staging
<NixOS_GitHub> nixpkgs/staging 4d92b5f Franz Pletz: webkitgtk218x: fix evaluation
NixOS_GitHub has left #nixos []
MercurialAlchemi has quit [(Ping timeout: 264 seconds)]
adamt__ has quit [(Ping timeout: 248 seconds)]
<efx[m]> hmmm, this is blocking me from debugging a packaging issue. @srhb is there a better way to test the pending package update? all the docs say use nox
rtjure has joined #nixos
<infinisil> srhb: efx[m]: Um, did fpletz just fix that? something about webkitgtk
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to release-17.09: https://git.io/vdhQL
<NixOS_GitHub> nixpkgs/release-17.09 ef0f3c5 Franz Pletz: webkitgtk218x: fix evaluation...
<NixOS_GitHub> nixpkgs/release-17.09 4ed5028 Franz Pletz: webkitgtk: fix evaluation...
NixOS_GitHub has left #nixos []
<clever> kiloreux_: you could do something like: preInstall = ''installFlags="$installFlags STACK=$out"'';
<clever> kiloreux_: which will set a var that makes the existing makefile do the right thing
<efx[m]> but there s a line in all-packages.nix that seems to still reference it
<efx[m]> let me grab that line
<srhb> I don't understand why it doesn't work though..
<srhb> :-P
<efx[m]> lol, just saw his commit from 4 minutes ago :)
<efx[m]> so it is probably fixed
<srhb> Yeah, looks like it.
<kiloreux_> clever, /nix/store/hash-library is still ?
<srhb> Oh, it was removed entirely. I see.
rtjure has quit [(Ping timeout: 240 seconds)]
<kiloreux_> *empty
adamt has joined #nixos
srodal has joined #nixos
glenn has quit [(Ping timeout: 246 seconds)]
<betaboon> does anyone have a solution for the following nixops situation: deploy multiple containers into a virtualbox. configure portforward on virtualbox to forward to a container. ?
<clever> kiloreux_: can you paste everything from the terminal to a pastebin?
<srhb> betaboon: No, but maybe it'll be easier with, say, libvirt.
<betaboon> i cant seem to figure out, how to reference the containers-ip in that scenario
<tazjin> can `fetchzip` be used with a local file somehow?
<betaboon> srhb: I'm constrained to virtualbox, to setup nixos-containers on macos-developer machines
<srhb> betaboon: I set a static IP for each container in addition to the one supplied by virtd.
<srhb> betaboon: Darn..
<srhb> can you use the same principle?
<betaboon> srhb: static IPs is out of the question
<srhb> OK. No idea then.
<betaboon> thanks anyway :)
<kiloreux_> clever, `cp library1.so ${STACK}/lib` is treated as a file and examining `/nix/store/dig73rv6425q79g3vhk5frpd2cnjkkwm-library/lib` gives that it's a shared library.
iyzsong has joined #nixos
rtjure has joined #nixos
glenn has joined #nixos
<clever> kiloreux_: oh, you will need to mkdir -p $out/lib in the preinstall then
<clever> kiloreux_: cp can be really weird and buggy at times
<clever> kiloreux_: the makefile could also mkdir -pv ${STACK}/lib, that would be fine on every platform
katyucha has joined #nixos
<kiloreux_> That worked just fine. Thank you clever. So adding pkgname before stdenv didn't help it to work
<kiloreux_> let me use pastebin
rtjure has quit [(Ping timeout: 255 seconds)]
<kiloreux> Never mind. It worked just fine now.
kiloreux_ has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vdh50
<NixOS_GitHub> nix/master ac12517 Eelco Dolstra: Fix RPM build
NixOS_GitHub has left #nixos []
<kiloreux> How can add it to a default.nix file ? So I can use it with pkg.callPackage ./foo.nix { }; ?
pie_ has quit [(Ping timeout: 240 seconds)]
cement has joined #nixos
<clever> kiloreux: restore the line 2 i previously said to delete, and dont use with import nixpkgs
python476 has quit [(Ping timeout: 246 seconds)]
katyucha has quit [(Ping timeout: 255 seconds)]
nohTo has quit [(Ping timeout: 246 seconds)]
rtjure has joined #nixos
nohTo has joined #nixos
<TweyII> gchristensen: Just Googling around for Nix setup hooks
zzamboni has quit [(Quit: Leaving.)]
<TweyII> clever: That link mentions the variable setupHook that links to… https://static.domenkozar.com/nixpkgs-manual-sphinx-exp/stdenv.xml.html#ssec-setup-hooks, which I suppose is meant to instead be https://static.domenkozar.com/nixpkgs-manual-sphinx-exp/stdenv.xml.html#package-setup-hooks, which is the Sphinx version of the same page
katyucha has joined #nixos
<domenkozar> I guess I should kill that page :)
rtjure has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
<clever> TweyII: if a derivation sets $setupHook, the stdenv setup.sh will copy that file to $out/nix-support/setup-hook and apply substituteAll so things like @out@ get replaced with $out
<gchristensen> domenkozar: surprising how buried testing links show up places
glenn_ has joined #nixos
nh2 has quit [(Ping timeout: 246 seconds)]
glenn has quit [(Ping timeout: 240 seconds)]
iyzsong has quit [(Ping timeout: 255 seconds)]
<doublehp> i am trying to write a .desktop to point to Google-Chrome installed by NIX; I am having issues with the hash ... i can't find any way to point to the good image; the binary to run is /home/dhp/.nix-profile/bin/google-chrome-stable ; but I can't find any way to point to app icon; and I am not sure nix-env updates any .desktop file anywhere
zzamboni has quit [(Remote host closed the connection)]
<TweyII> clever: So if I have a d = stdenv.mkDerivation { buildInputs = [a b c]; }, it's not a, b, and c that get to define the setup hook, but d itself?
zzamboni has joined #nixos
<clever> TweyII: the hooks for a/b/c will get sourced as d starts the build, and then d can also optionally define its own hook, for things that depend on d
<TweyII> clever: Oho
<TweyII> clever: I think I understand now, thank you
<clever> TweyII: pkg-config will mutate the function that iterates over buildInputs, so every input winds up in the pkgconfig search path
<clever> TweyII: unzip will mutate the unpack handler, so it can unpack zips
<clever> TweyII: cmake will hijack the configure phase to use cmake
adamt has quit [(Ping timeout: 240 seconds)]
<clever> TweyII: qt does a lot of things, some similar to what cmake does
rtjure has joined #nixos
CodeWarrior has quit [(Ping timeout: 264 seconds)]
acarrico has joined #nixos
Thra11 has quit [(Ping timeout: 240 seconds)]
Thra11 has joined #nixos
zzamboni has quit [(Ping timeout: 264 seconds)]
rtjure has quit [(Ping timeout: 248 seconds)]
chessai has joined #nixos
CodeWarrior has joined #nixos
<doublehp> is there a .desktop file nix-env creates after installin apps, a file that will be a fixed name, like /home/dhp/.nix-profile/bin/google-chrome-stable for the bin ...
fader__ has joined #nixos
fader__ is now known as et4te
<et4te> hey guys, where is nmcli?
<woffs> in networkmanager
<et4te> hmm.. I enabled network manager but no nmcli
rtjure has joined #nixos
<et4te> ah nvm I just add it to packages
<et4te> woffs: thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vdhAI
<NixOS_GitHub> nixpkgs/master 8a28d84 Peter Hoeg: keditbookmarks: init at 17.08.1
NixOS_GitHub has left #nixos []
<doublehp> http://nixforums.org/login.php how do i REGISTER ?
<doublehp> i an't find any SUBSCRIBE page
Capprentice has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
<woffs> another subject, what about pulsemixer https://github.com/NixOS/nixpkgs/pull/30644 ?
glenn_ has quit [(Ping timeout: 258 seconds)]
<woffs> ;)
Curiontice has joined #nixos
FRidh has quit [(Ping timeout: 264 seconds)]
<TweyII> https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L914-L917 — what's the ${!outputDev} syntax about? I assume that's not boolean negation
Capprentice has quit [(Ping timeout: 240 seconds)]
cybrian has quit [(Ping timeout: 248 seconds)]
Thra11 has quit [(Ping timeout: 252 seconds)]
<TweyII> Oh, it's a new-style indirect reference, sorry
<TweyII> clever: Yeah, I eventually found http://tldp.org/LDP/abs/html/bashver2.html#EX78
<TweyII> Hard to search for :)
<clever> ahh
rtjure has joined #nixos
rsa has joined #nixos
cybrian has joined #nixos
rtjure has quit [(Ping timeout: 258 seconds)]
<ldlework> rycee thanks for merging 102!
zunk has quit [(Ping timeout: 255 seconds)]
zunk has joined #nixos
<rycee> Np, hope it works out for you :-)
leat has quit [(Quit: WeeChat 1.9.1)]
rtjure has joined #nixos
nh2 has joined #nixos
erasmas has joined #nixos
hellrazor has joined #nixos
thblt has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vdhhM
<NixOS_GitHub> nixpkgs/master 5a07d16 Eli Flanagan: apache-httpd: 2.4.28 -> 2.4.29
NixOS_GitHub has left #nixos []
rtjure has quit [(Ping timeout: 248 seconds)]
<samueldr> goibhniu: any ideas / requirements for those?
<samueldr> what are the technical limitations?
rtjure has joined #nixos
ylwghst has joined #nixos
<goibhniu> samueldr: I don't have any strong opinions about it other than it should include the logo, names of the speakers, title of the talk and possibly the sponsors
<samueldr> it's a full screen "bumper"?
<goibhniu> samueldr: yep, or a lower third ... or both
<samueldr> how would it be projected?
<samueldr> (looking at options)
<goibhniu> it's pretty easy to feed in an image or a video (if an animation is possible)
<goibhniu> it will be mixed in with obs-studio
<ylwghst> boot.kernelPackages = "pkgs.linuxPackages_4_13";
<samueldr> great
<samueldr> played around with that earlier this year
<ylwghst> why ends with this error: value is a list while a set was expected, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/kernel.nix:26:31
<ylwghst> (use ‘--show-trace’ to show detailed location information)
<goibhniu> samueldr: if all else fails, we can even just just a text element in obs-studio
<samueldr> yes
<goibhniu> are you going to be at NixCon yourself?
<samueldr> sadly I can't really
rtjure has quit [(Ping timeout: 240 seconds)]
<samueldr> I'm looking forward for the publications though
jophish has quit [(Ping timeout: 240 seconds)]
<goibhniu> ah, that's a pity
thblt has joined #nixos
<hyper_ch> is nixcon this weekend?
<globin> yes
CodeWarrior has quit [(Ping timeout: 252 seconds)]
<goibhniu> hyper_ch: haven't you got your ticket!?
<avn> time to travel
<avn> ;)
<hyper_ch> you need tickets? oO
<hyper_ch> a 2h drive isn't enough.. one also needs tickets....
<goibhniu> actually, you do need to register ... did you?
<hyper_ch> no - can't attend
<hyper_ch> you're going?
rtjure has joined #nixos
<hyper_ch> although, so many nix users in one place that can fix all my issues.... hmmm.....
<goibhniu> it's going to be one of the best NixCons ever!
<goibhniu> of course I'm going :D
<hyper_ch> isn't every nixcon one of the best nixcons ever?
<avn> is not first one?
<goibhniu> it's the second :D
<hyper_ch> last year it was in berlin?
<goibhniu> two years ago
<goibhniu> in berlin, yep
<hyper_ch> two years is one year rounded down
<avn> berlin is closer and cheaper ;)
<hyper_ch> nah, munich is closer
<srhb> doublehp: I don't think that has anything to do with nix specifically.
<srhb> Woops, lag
<srhb> Disregard.
<avn> hyper_ch: 24h of bus travel for me
<goibhniu> totally worth it avn!
<doublehp> srhb: date of desktop files in my ~/ match the execution time of installation via NIX
<hyper_ch> munich is like 240km away
<hyper_ch> berin is lik 800km away
glenn has joined #nixos
<samueldr> ~1500$ for the flight that I couldn't really afford :(
jophish has joined #nixos
<avn> I choose bus, because flight take same time with connections, and 3x expensive
rtjure has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #30703: lastpass-cli: 1.1.1 -> 1.2.1 (master...update-lastpass) https://git.io/vdAgg
NixOS_GitHub has left #nixos []
<hyper_ch> avn: why not drive with car?=
<hyper_ch> on the german autobahn you can drive like crazy ;)
<avn> So I better take family with me, and will catch friends in Prague on way back ;)
<avn> hyper_ch: because I haven't car atm ;) And it will be couple day of dumb driving
<hyper_ch> :)
<avn> german autobahns is ok, but normal autobahn starts from warsaw, and it still be half way ;)
<goibhniu> there should be a prize for the most arduous journey ... that's impressive!
<hyper_ch> german autobahn is ok - except all the trucks and other cars ;)
<ma27> avn: and we have better beer in Munich :p
<avn> Yes, I have some plans to test some good beer ;)
<avn> and meet good ppl ;)
<hyper_ch> and the better beer gardens... except temperature isn't probably so well anymore
<ma27> avn: absolutely, really looking forward meeting y'all!
rtjure has joined #nixos
srodal has quit [(Ping timeout: 240 seconds)]
pie_ has joined #nixos
* goibhniu wonders if we'll make it to 700 "people" in #nixos by Friday
<hyper_ch> ma27: you're Bavarian?
<ma27> hyper_ch: yes
<hyper_ch> :)
<Harekiet> All700 users in the world
<hyper_ch> Harekiet: you made it in here :)
<ylwghst> which linux kernel is used in nixos unstable?
rtjure has quit [(Ping timeout: 260 seconds)]
<Harekiet> First some food and then I'll try this thing hyper_ch
fendor has joined #nixos
<hyper_ch> food is good
leat has joined #nixos
a6a3uh has joined #nixos
<samueldr> linuxPackages = linuxPackages_4_9;
erictapen has quit [(Ping timeout: 255 seconds)]
hellrazor has quit [(Ping timeout: 240 seconds)]
darlan has joined #nixos
rtjure has joined #nixos
darlan has quit [(Client Quit)]
hellrazor has joined #nixos
seku has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
rtjure has quit [(Ping timeout: 248 seconds)]
Thra11 has joined #nixos
Thra11 has quit [(Client Quit)]
ertes-w has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #30765: curl: 7.56.0 -> 7.56.1 (staging...update/curl-7.56.1) https://git.io/vdjTl
NixOS_GitHub has left #nixos []
Thra11 has joined #nixos
rtjure has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #30766: sqlite: 3.20.0 -> 3.20.1 (staging...update/sqlite-3.20.1) https://git.io/vdjT6
NixOS_GitHub has left #nixos []
glenn has quit [(Remote host closed the connection)]
ylwghst has quit [(Remote host closed the connection)]
glenn has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #30765: curl: 7.56.0 -> 7.56.1 (staging...update/curl-7.56.1) https://git.io/vdjTl
NixOS_GitHub has left #nixos []
lsix has quit [(Quit: Konversation terminated!)]
rtjure has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #30768: sqlite3_analyzer: 3.20.0 -> 3.20.1 (master...update/sqlite3_analizer-3.20.1) https://git.io/vdjkR
NixOS_GitHub has left #nixos []
katyucha has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #30769: rofi-pass: 1.5.1 -> 1.5.2 (master...update/rofi_pass-1.5.2) https://git.io/vdjky
NixOS_GitHub has left #nixos []
<ldlework> rycee is it possible to define a package in your modules which actually gets installed to the user's profile?
sigmundv has quit [(Ping timeout: 246 seconds)]
<Harekiet> Can I just install nixos from a running linux system/chroot thing?
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<doublehp> Harekiet: why use chroot ? Nix-env let you install stuff on top of existing distro (gentoo debian or any other) without breaking the distro
<goibhniu> I believe that's possible, but not the easiest way
fendor has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #30766: sqlite: 3.20.0 -> 3.20.1 (staging...update/sqlite-3.20.1) https://git.io/vdjT6
NixOS_GitHub has left #nixos []
rtjure has joined #nixos
<Harekiet> doublehp well whatever let's em install it like that then yeh :)
<Harekiet> make partitions on external drive, mount those, and use nix-env whatever, I shall google a bit more
p4cman has joined #nixos
<hyper_ch> Harekiet: why not test in a vm?
<ArdaXi[m]> I don't see why you wouldn't be able to run nixos-install from a running system
<rycee> ldlework: Not certain what you mean but you can put any package in the `home.packages` list, including new ones you've just defined. E.g., `home.packages = [ (pkgs.stdenv.mkDerivation { … }) ]`
<ldlework> Neat.
<clever> ArdaXi[m]: nixos-install makes some assumptions about what the kernel can support, for things like unshare
<ldlework> Thank you.
<clever> ArdaXi[m]: but you can forcibly install nixos-install with the right nix-env args
<Harekiet> hyper_ch yeh could try that as well, but my file server is srunnin behind me and just doing it from there over a console seemed easier :)
<hyper_ch> well, chroot is still pretty unknown to me and I find vm much simpler to test stuff
<Harekiet> Well I was still playing around with getting my encrypted zfs setup on a stick as well, thought I might as well combine those, but okay the install iso is downloading as well for a vm
rtjure has quit [(Ping timeout: 255 seconds)]
<hyper_ch> Harekiet: :)
nschoe has quit [(Quit: Program. Terminated.)]
<Harekiet> oh there's even a virtualbox image there, even lazier!
<clever> Harekiet: there is also something else i wrote recently that you might find useful: https://github.com/cleverca22/nixos-configs/blob/master/rescue_boot.nix
<clever> Harekiet: this puts a copy of the entire install environment into /boot/ and adds it to the grub menu
proteusguy has quit [(Ping timeout: 240 seconds)]
<Harekiet> how big a /boot would that require
<clever> Harekiet: it will cost you ~300mb on /boot/, but then you can recover from pretty much anything
proteusguy has joined #nixos
<ArdaXi[m]> Ooh, I like it
<Harekiet> ah just made a 256mb boot :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vdjLc
<NixOS_GitHub> nixpkgs/master b5a0015 mimadrid: sqlite3_analyzer: 3.20.0 -> 3.20.1
NixOS_GitHub has left #nixos []
<ArdaXi[m]> I've always just had an iPXE menu on my router for that
<clever> ArdaXi[m]: this does the full iPXE setup on my laptop, serving it over the ethernet jack
<ArdaXi[m]> :D
<clever> ArdaXi[m]: and sets up NAT between the wifi and ethernet, so the laptop becomes a router
<clever> ArdaXi[m]: it also puts justdoit into the resulting netboot image, so typing "justdoit" into the shell will do the entire install, insta-nuking whatever OS was in the way
<Harekiet> okay downloading from the main site probably isn't the fastest solution
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vdjLw
<NixOS_GitHub> nixpkgs/master 9b7bf9c mimadrid: rofi-pass: 1.5.1 -> 1.5.2
NixOS_GitHub has left #nixos []
rtjure has joined #nixos
thblt has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<ArdaXi[m]> I never bothered to set it up again after switching to NixOS because I've never had a catastrophic failure, but it saved a lot of time when I was still hacking on Gentoo and Arch
<clever> ArdaXi[m]: my old netboot setup is spread over 2 or 3 machines, gentoo runs the tftp, nixos runs the dhcp+bind, gentoo runs the apache
<clever> ArdaXi[m]: but i have a new laptop on-route, and i'll be away from home when i get it, so having the entire system contained within the old laptop helps
<clever> ArdaXi[m]: just connect the 2 laptops with a cat5, run "justdoit", and the entire install is done
Thra11 has quit [(Quit: IRC for Sailfish 0.9)]
erasmas has quit [(Ping timeout: 240 seconds)]
rtjure has quit [(Ping timeout: 258 seconds)]
<ArdaXi[m]> By the way, you shouldn't need to do NAT right? Assuming the network you're on doesn't already serve PXE
<Harekiet> isn't this cloudfront supposed to be very fast?
<ArdaXi[m]> Well, unless you can't hook up over wired, I suppose
<clever> ArdaXi[m]: i need to control the dhcp server to catch netboot requests
katyucha has joined #nixos
ylwghst has joined #nixos
<ArdaXi[m]> Not necessarily, you can set up your own proxy DHCP server next to the existing one, as long as there's no PXE information in the original DHCP server
CrazedProgrammer has quit [(Quit: The Lounge - https://thelounge.github.io)]
<ArdaXi[m]> The client gets two responses, one to get an IP and one to get the PXE server
<clever> yeah, ive done that as well
<clever> but its more messy, and that only works for the first request from the bios
<clever> the 2nd request from ipxe may not be as choosy
<clever> and then how do i ensure the client can use the host as a binary cache?, when i dont know what ip it will be on the network?
<ArdaXi[m]> I'll admit your method is simpler, but for fun… you could use mDNS to use a hostname rather than an IP address for the binary cache
<clever> :D
<clever> and then there are more hostile networks, that actualy protect you from the guy next to you
<clever> so you can only access the router, and no other machine on the LAN
<ArdaXi[m]> Yeah, that's the point where you'll need a 1-1 connection
nh2 has quit [(Ping timeout: 240 seconds)]
<clever> also, my existing wifi from the ISP doesnt even allow wifi clients to talk to wired clients
<clever> so i would have to plug both machines directly into a router
<ldlework> What are all of the available fetching mechanisms?
rtjure has joined #nixos
<ldlework> neat
digitus has joined #nixos
<ArdaXi[m]> Hrmph… on the one hand I get why they'd configure it that way, on the other… that's what guest networks are for
<clever> ArdaXi[m]: except they screwed up, and didnt put an off button in the router config
<clever> ArdaXi[m]: so i need a 2nd router configured in AP mode, just to use my own wifi
<ArdaXi[m]> Sheesh… I'm happy my ISP comes with Fritzboxes
katyucha has quit [(Ping timeout: 252 seconds)]
<ArdaXi[m]> (Which I can't easily replace, but still)
<clever> ArdaXi[m]: the website for the router also claims such a mode doesnt exist
<clever> the ISP patched it, poorly
<clever> oh yeah, and the byte usage counters in the web ui also suck
<clever> the linux backend, counts up to 4gig (32 bits), then overflows to 0
<clever> the web ui, uses signed 32bits, and the counter stops at 2gig
adc has quit [(Ping timeout: 258 seconds)]
<clever> then after another 2gig of invisibly incrementing, it jumps back to 0 and resumes working
nh2 has joined #nixos
mutagenfork has joined #nixos
<clever> also, if you try to poll that http UI every 60 seconds, the router will lock up solid every 29.5 days, like clockwork
CrazedProgrammer has joined #nixos
rtjure has quit [(Ping timeout: 260 seconds)]
fusion809 has joined #nixos
athan has quit [(Ping timeout: 264 seconds)]
<ArdaXi[m]> That's… impressive
<hyper_ch> Harekiet: got kicked off the internet?
<fusion809> Hi I'd like to create a RuneScape NXT client package for Nix, how do I try to build it? I've tried adding it to pkgs/games/runescape-launcher in the nixpkgs repo and running nix-build -A runescape-launcher from the root of the repo but that failed, didn't seem to recognize my new default.nix file existed. I then ran `nix-build --keep-failed --expr 'with import <nixpkgs> {}; callPackage ./default.nix {}'` from its subdirectory
<fusion809> and it too failed. If I need to give details as to how they failed I'll happily do so but I suspect I'm simply trying to build it the wrong way.
<clever> fusion809: the package has to be added to all-packages.nix for it to be visible within the root of nixpkgs
<fusion809> Ah thanks
pxc has joined #nixos
<ArdaXi[m]> The latter command should work, though
MinceR has quit [(Ping timeout: 252 seconds)]
rtjure has joined #nixos
<ma27> you might want to install `nox` to make searching for packages easier
katyucha has joined #nixos
<ma27> running `nox pkgname` is IMO easier than searching the nixpkgs source tree :)
a6a3uh has quit [(Quit: Bye)]
<clever> ma27: i usually just tab-complete the package under nix-repl '<nixpkgs>'
MinceR has joined #nixos
erasmas has joined #nixos
glenn has quit [(Remote host closed the connection)]
endformationage has joined #nixos
Isorkin_ has joined #nixos
rtjure has quit [(Ping timeout: 255 seconds)]
Isorkin_ has quit [(Read error: No route to host)]
Isorkin has quit [(Ping timeout: 246 seconds)]
Isorkin has joined #nixos
glenn has joined #nixos
<csingley> Related question: I create a new systemd service, and add it to all-modules.nix. `nixos-rebuild -I nixpkgs=/path/to/nixpkgs` doesn't find it.
athan has joined #nixos
<csingley> What do I do?
<ma27> just to clarify: you mean module-list.nix or something else?
rtjure has joined #nixos
<ma27> at least I'm not aware of a all-modules.nix in nixpkgs...
<hyper_ch> Harekiet: still hrer?
Isorkin_ has joined #nixos
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
<csingley> sorry; nixos/modules/modules-list.nix
<csingley> Does that not get picked upt by -i nixpkgs=blah
glenn has quit [(Ping timeout: 255 seconds)]
<ma27> csingley: it should, actually. I do the same for testing things with a different NIX_PATH
Isorkin has quit [(Ping timeout: 248 seconds)]
<ma27> csingley: I'm unfortunately not 100% sure what might went wrong. Could you please (if possible) create a simple gist containing the diff in the repo?
rtjure has quit [(Ping timeout: 246 seconds)]
<Unode> I'm trying to install hoogle with stack but I'm running into the dreaded missing zlib error. I've tried calling stack with --nix without success. It's another variant of https://github.com/commercialhaskell/stack/issues/2130 . Does anyone have or can recommend any workarounds?
<csingley> ma27: I'd be much obliged. Shao deng yi xia
<Unode> the github issues recommend modifying a .cabal file, but I'm installing directly from upstream so I don't have a .cabal to modify.
a6a3uh has joined #nixos
damke has joined #nixos
jtojnar_ has joined #nixos
jtojnar has quit [(Read error: Connection reset by peer)]
damke_ has quit [(Ping timeout: 240 seconds)]
zunk has quit [(Ping timeout: 260 seconds)]
zunk has joined #nixos
CrazedProgrammer has quit [(Quit: The Lounge - https://thelounge.github.io)]
<clever> csingley: you can also just add the module to imports in your configuration.nix, thats how i test most modules
CrazedProgrammer has joined #nixos
aloiscochard has quit [(Quit: Connection closed for inactivity)]
nohTo has quit [(Quit: Leaving)]
katyucha has quit [(Ping timeout: 248 seconds)]
erictapen has joined #nixos
<fusion809> I've gotten a fair way in getting this runescape package up and going but it crashes on start up with the error `/nix/store/yydnhs7migvlbl48wpsxan1yvq2icbr9-glibc-2.25-49/lib/libresolv.so.2: symbol __res_maybe_init, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference` if you want to look at my nix file it's https://gist.githubusercontent.com/fusion809/a1de23b610f2da665d5d762e2652c52d/raw/86993f820b0a5e
<fusion809> 7132fdb27208e52e029ef8c70e/default.nix
<hyper_ch> wehn will nixos be ready for https://puri.sm/shop/librem-5/ ? :)
<csingley> clever: yeah I know how to import modules, I was just thinking about submitting it
<ma27> hyper_ch: do you use such a phone yet?
jb55 has joined #nixos
<ma27> would like to know if such technology is actually usable :)
<hyper_ch> ma27: the crowdfunding has just ended :)
<hyper_ch> they will produce in 2018
rtjure has joined #nixos
<hyper_ch> ma27: I just wonder how I'd get blitzer.de on it
<hyper_ch> :)
endformationage has quit [(Quit: WeeChat 1.9.1)]
<ma27> hyper_ch: ok, I should've read the entire content :-D
<hyper_ch> ma27: :) it looks very promising
jtojnar_ has quit [(Remote host closed the connection)]
<fusion809> Well if anyone develops an idea about this RS issue the bug issue I've started with the details is here https://github.com/NixOS/nixpkgs/issues/30582
<ma27> hyper_ch: absolutely.
<ylwghst> hyper_ch: it can run linux already
<hyper_ch> ylwghst: :)
rtjure has quit [(Ping timeout: 248 seconds)]
jgertm has joined #nixos
rtjure has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
<csingley> ma27: Here's the delta for the service I'm trying to concoct
<hyper_ch> Harekiet: you're so silent
<csingley> I'd be grateful if anyone could tell me why my nixos-rebuild is failing to pick up the service
fusion809 has quit [(Ping timeout: 252 seconds)]
goibhniu has quit [(Ping timeout: 248 seconds)]
rtjure has quit [(Ping timeout: 248 seconds)]
Isorkin_ has quit [(Read error: No route to host)]
Isorkin has joined #nixos
Thra11 has joined #nixos
fusion809 has joined #nixos
stanibanani has joined #nixos
<ma27> csingley: using `services.plexpy.enable = true;` breaks your build?
<csingley> ma27: afraid so
<csingley> variable unknown
reinzelmann has joined #nixos
rtjure has joined #nixos
<ma27> I ran `NIX_PATH=nixpkgs=$HOME/Projects/nixpkgs/ nixos-build-vms vmtest.nix` and it evaluates
<ma27> the `vmtest.nix` just contained `{ plexpy = { ... }: { services.plexpy.enable = true; }; }`
<csingley> I was using -I nixpkgs=... arg; I'll try it your way
ylwghst has joined #nixos
<ma27> csingley: could you please paste the entire evaluation error here?
rtjure has quit [(Ping timeout: 248 seconds)]
TweyII has quit [(Ping timeout: 260 seconds)]
<csingley> ma27: hang on, it appears to working now! I'll investigate.
damke has quit [(Ping timeout: 240 seconds)]
griff_ has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
adamt has quit [(Ping timeout: 255 seconds)]
rtjure has joined #nixos
Thra11 has quit [(Quit: IRC for Sailfish 0.9)]
katyucha has joined #nixos
<csingley> ma27: found my typo. Muchas gracias xie xie ni.de bang mang
rtjure has quit [(Ping timeout: 248 seconds)]
hellrazor has quit [(Quit: WeeChat 1.9.1)]
a6a3uh has quit [(Quit: Bye)]
nh2 has quit [(Ping timeout: 252 seconds)]
alhariel has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
MichaelRaskin has joined #nixos
rtjure has joined #nixos
alhariel has quit [(Remote host closed the connection)]
Isorkin_ has joined #nixos
Isorkin has quit [(Ping timeout: 248 seconds)]
nh2 has joined #nixos
<copumpkin> disasm: how did you propose the hackathon topic on http://nixcon2017.org/ ?
<copumpkin> I don't see a PR from you
ylwghst has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4ed5028847 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
rtjure has quit [(Ping timeout: 240 seconds)]
otulp has joined #nixos
alhariel has joined #nixos
<ma27> csingley: fine if it works for you %)
Neo-- has quit [(Ping timeout: 240 seconds)]
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
trevorriles has joined #nixos
<disasm> copumpkin: I had no idea there was a PR process for that, lol
<copumpkin> oh there might not be!
<copumpkin> I'm just trying to figure out how things end up on that page :)
<disasm> copumpkin: christine that got me early access helped asked what my topic was and description.
rtjure has joined #nixos
<copumpkin> fair enough :)
<ldlework> disasm infinisil rycee nliadm : I have dramatically improved (simplified) the docs https://dustinlacewell.github.io/dotfiles/
adamt_ has joined #nixos
adamt_ has quit [(Changing host)]
adamt_ has joined #nixos
ison111 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b opened pull request #30770: apktool: 2.2.4 -> 2.3.0 (master...pkg/apktool) https://git.io/vdjWo
NixOS_GitHub has left #nixos []
rtjure has quit [(Ping timeout: 248 seconds)]
adamt has quit [(Ping timeout: 255 seconds)]
hariel has joined #nixos
alhariel has quit [(Quit: Leaving)]
hariel has quit [(Remote host closed the connection)]
a6a3uh has joined #nixos
kkini has quit [(Remote host closed the connection)]
kkini has joined #nixos
endformationage has joined #nixos
fusion809 has quit [(Quit: Leaving)]
a6a3uh has quit [(Client Quit)]
LexLeoGryfon has quit [(Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)]
rtjure has joined #nixos
<hyper_ch> still can't unpack nixos initrd....
<MichaelRaskin> hyper_ch: what do you try and what happens?
<hyper_ch> MichaelRaskin: nothing happens... it just goes on and on and one
<hyper_ch> cpio -i filename
<MichaelRaskin> Hm, I would try cpio -i < filename
<clever> man page says -i reads stdin
<MichaelRaskin> I would expect cpio -i filename to read its stdin forever
<hyper_ch> ok
rtjure has quit [(Ping timeout: 248 seconds)]
<hyper_ch> cpio -i < xxxxx-initrd-initrd --> just extracts the GenuineIntel.bin
<MichaelRaskin> apply «file» utility t oit
<hyper_ch> to what?
<hyper_ch> initrd or intel.bin?
<clever> GenuineIntel.bin?
<hyper_ch> file GenuineIntel.bin
<hyper_ch> GenuineIntel.bin: data
<Dezgeg> that's the prepended microcode update file (wrapped in cpio)
<hyper_ch> so, how to unpack that?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #30771: efl: 1.20.4 -> 1.20.5 (master...upd.enlightenment) https://git.io/vdj87
NixOS_GitHub has left #nixos []
<MichaelRaskin> No way to unpack that
<MichaelRaskin> You need to unpack one of the additional-initrd files listed in the bootloader config
ylwghst has quit [(Quit: Lost terminal)]
<hyper_ch> so I can't actually unpack the initrd?
<MichaelRaskin> It is not initrd.
<Dezgeg> it's a _concatenation_ of two cpio files, probably
<Dezgeg> (which I don't know how to extract off-hand either)
<Dezgeg> but binwalk could probably work
<MichaelRaskin> Concatenation of two cpio files is a cpio file
<hyper_ch> there are only two files in the kernel folder
<hyper_ch> the initrd and bzImage
<MichaelRaskin> That sounds like a problem.
<Dezgeg> ok, concatenation of a plain cpio file and a gzipped cpio file
<hyper_ch> MichaelRaskin: why problem?
<MichaelRaskin> Because GenuineIntel.bin sounds like Intel firmware update.
<MichaelRaskin> And not the actual initrd.
<clever> hyper_ch: can you gist the entire grub config file?
<Dezgeg> it's the microcode update cpio prepended to the gzipped real initrd
<clever> my guess, is that your prepending an uncompressed cpio, to a compressed cpio
<clever> and that could break things
rtjure has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #30772: elementary-icon-theme: 4.3.0 -> 4.3.1 (master...upd.elementary-icon-theme) https://git.io/vdj42
NixOS_GitHub has left #nixos []
ylwghst has joined #nixos
<clever> hyper_ch: what nixos config did you use to generate this?
<ylwghst> this always brick my xsession
<ylwghst> :(
<hyper_ch> clever: mine.....
<clever> hyper_ch: can you gist it?
<clever> hyper_ch: what does this say: file /boot/kernels/bq3i0p29450zhiv11da9w3w036yfx1bh-initrd-initrd
<hyper_ch> clever: /boot/kernels/bq3i0p29450zhiv11da9w3w036yfx1bh-initrd-initrd: ASCII cpio archive (SVR4 with no CRC)
stanibanani has left #nixos []
Judson has joined #nixos
Judson is now known as Guest61010
stanibanani1 has joined #nixos
<clever> hyper_ch: i cant see anything in that github that woulc explain the oddness, does "git diff" show any changes to that config?
<hyper_ch> clever: that is current config
rtjure has quit [(Ping timeout: 252 seconds)]
<clever> hyper_ch: what about this? file -L /run/current-system/initrd
<hyper_ch> /run/current-system/initrd: ASCII cpio archive (SVR4 with no CRC)
<Dezgeg> again, it's the cpu microcode update prepended to a gzipped nixos initrd
<tnias> is there a way to rebuild/reinstall certain packages?
<clever> tnias: why do you want to do that?
glenn has joined #nixos
<hyper_ch> Dezgeg: so, removing microcode should create a useful initrd again?
<hyper_ch> intel, not amd
ison111 has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #30773: avfs: 1.0.4 -> 1.0.5 (master...upd.avfs) https://git.io/vdjBW
NixOS_GitHub has left #nixos []
<Dezgeg> I would use binwalk myself but maybe google knows other solutions
imagio46 has joined #nixos
a6a3uh has joined #nixos
imagio has quit [(Quit: Page closed)]
fendor has joined #nixos
imagio46 has quit [(Client Quit)]
<clever> i would say that its a bug that the microcode half isnt compressed
<hyper_ch> as said, just removing that line would make a useful initrd again for extraction?
<clever> hyper_ch: yes
<hyper_ch> what does that microcode actually do?
imagio has joined #nixos
<clever> hyper_ch: modify what the cpu does
<tnias> clever: i want to get rid of Qt version problems.
<MichaelRaskin> Nobody knows. Actually, Intel doesn't always know _correctly_, so that's why sometimes you apply microcode updates.
<clever> tnias: the design of nix makes it such that you will get the same binaries even if you rebuild the package
<ylwghst> anyone know how to deal with error allocating crypto tfm in first stage boot
<ylwghst> ?
<ylwghst> while im triyng kernel 4.13
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] plutotulp opened pull request #30774: plymouth service: fix symlink to defaults (master...plymouth-defaults) https://git.io/vdjBH
NixOS_GitHub has left #nixos []
<hyper_ch> this is better acb9xw1i4z3j2zfcqvcgc4nm7909rlpd-initrd-initrd: gzip compressed data, max compression, from Unix
<tnias> clever: then how do I get rid of this: https://gist.github.com/anonymous/b8ed911cd5936f475103c14bc40fdc61
<clever> tnias: what does "realpath wireshark" say?
rtjure has joined #nixos
<clever> tnias: oops, no, first, "type wireshark" then realpath on that path
<tnias> clever: /nix/store/k60z1dnzw2vrp6hv3y79bbzd8w1zv218-wireshark-qt-2.4.1/bin/wireshark
<hyper_ch> thx
alhariel has joined #nixos
nh2 has quit [(Ping timeout: 246 seconds)]
acowley_away is now known as acowley
<clever> tnias: 500mb closure size! ouch
rtjure has quit [(Ping timeout: 248 seconds)]
<clever> tnias: when i run "/nix/store/k60z1dnzw2vrp6hv3y79bbzd8w1zv218-wireshark-qt-2.4.1/bin/wireshark
<clever> tnias: it just works
<clever> tnias: so the problem is something else you have installed, and rebuilding wireshark wont fix it
<clever> tnias: what does "ls -l ~/.nix-profile/lib/ /run/current-system/sw/lib/" output (it will need a pastebin)
<tnias> clever: I did play around with building own packages in the past, I thought it might be related to that.
<MichaelRaskin> I think you have some environment variable
<MichaelRaskin> set | grep QT
<clever> MichaelRaskin: the strange part, is that wireshark is linked against 5.9.1, and is loading 5.9.0 stuff it shouldnt
<clever> MichaelRaskin: and wpa_gui is linked to 5.9.0, and loading 5.9.1 stuff it shouldnt
feepo has joined #nixos
<clever> and i only see qt 5.6.2 things in the profile, and none in system
<MichaelRaskin> Because QT_PLUGIN_PATH or something like that
<MichaelRaskin> No idea how it is called correctly
<clever> [clever@amd-nixos:~]$ ls .nix-profile/lib/qt-5.9/plugins/platforms/ -lh
<clever> tnias: what about this directory?
<clever> lrwxrwxrwx 1 root root 100 Dec 31 1969 libqxcb.so -> /nix/store/32xflsmyjhidkyaj5nwklfzb1gp8byxk-qtbase-5.9.1-bin/lib/qt-5.9/plugins/platforms/libqxcb.so
<clever> mine happens to have 5.9.1 plugins, which match the wireshark
rtjure has joined #nixos
<clever> and you have 5.9.0 plugins in there
<clever> this is why i dont like the idea of propagatedUserEnvPkgs
<clever> it puts stuff specific to one package into your profile, and breaks everything else
<clever> which is exactly what nix was meant to prevent
<clever> tnias: what does "nix-env -q" say?
<tnias> clever: so, how can I fix this? after I did put a too specific version in a packagebuildd
alhariel has quit [(Quit: Leaving)]
<tnias> clever: it lists all the userpackages. including 'wireshark-qt-2.4.1'
<clever> is there anything QT related in there?
<clever> or wpa_gui?
<tnias> the package where I did the experimenting is usbguard.
<clever> try uninstalling that
<clever> nix-env -e usbguard
<tnias> I did not touch wpa_gui, but it is broken as well
drakonis has joined #nixos
<tnias> clever: this will take a few seconds. brb
rtjure has quit [(Ping timeout: 246 seconds)]
<clever> in my case, multimc and obs-studio are both leaking a lib/qt-5.9 directory
<tnias> clever: I did remove the entry from the configuration.nix
<clever> and once i remove those, wirehshark actually breaks
<clever> tnias: configuration.nix doesnt come into play here, the problem is currently in your .nix-profile, which is only nix-env
<tnias> usbguad was only installed via the system profile. But when I debugged it I also installed it from my user
<clever> nix-store -q --tree $(realpath .nix-profile)
<clever> tnias: can you gist the output of this?
<kiloreux> How can I get a full directory of the package in nix ?
<kiloreux> including the hash ?
rtjure has joined #nixos
ssmike1 has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
<clever> tnias: does "ls .nix-profile/lib/qt-5.9/plugins/platforms/ -lh" still list 5.9.0 or 5.9.1?
<tnias> clever: 5.9.0
ssmike has quit [(Ping timeout: 246 seconds)]
ssmike1 is now known as ssmike
<clever> oh, gist truncated the last one
<clever> tnias: try nix-env -e wpa_gui, then check that ls again
<tnias> now `ls .nix-profile/lib/qt-5.9/plugins/platforms/ -lh` does not list links anymore but 'real' libs
<clever> tnias: and if you run wireshark?
<tnias> ohh and wireshark works
<clever> yeah, wireshark and wpa_gui are fighting over what version of the QT libs to put into ~/.nix-profile/
<clever> and $QT_PLUGIN_PATH says to always load the ones in ~/.nix-profile/
<clever> so you must always install both from the same nixpkgs
rtjure has quit [(Ping timeout: 240 seconds)]
<clever> putting them into systemPackages is the simplest way to do that
<tnias> clever: Does the manual warn users not to do so?
xelxebar has joined #nixos
<clever> i think the problem is that nix-env only warns about collisions with things you asked to install
<clever> but the propagated deps collide silently, and it just picks one without telling you what
<tnias> clever: thanks for helping :)
<clever> yep
dywedir has joined #nixos
acarrico has quit [(Ping timeout: 260 seconds)]
<xelxebar> When nix-env builds a package, where are the sources extracted to?
<clever> xelxebar: /tmp/nix-build-<name>
<xelxebar> That's odd. /tmp only has a few kb in it but I'm getting "no space on device" errors
<michaelpj> xelxebar: if you run nix-build with -K it will leave that directory around on failure and tell you where it is - handy for debugging
<xelxebar> oh! that's handy. thanks
ssmike has quit [(Ping timeout: 240 seconds)]
rtjure has joined #nixos
ssmike has joined #nixos
<xelxebar> Dang. Chromium is spamming over 2gb there. I've been having a heck of a time getting it built.
<clever> xelxebar: i recently ran out of disk space just trying to `git clone` chromium, that thing is huge
<xelxebar> Previously, on a whim I expanded /tmp a bunch and let it build overnight. It failed because the build was "killed". I'm guessing the build just hogged too much memory and the kernel stepped in to fix things?
rtjure has quit [(Ping timeout: 260 seconds)]
nixer has joined #nixos
ison111 has joined #nixos
<kiloreux> Can we access environment variables inside nix-expressions ?
<clever> kiloreux: yes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] emanueleperuffo opened pull request #30776: robo3t: change .desktop name (master...robo3t-desktop-name) https://git.io/vdjg7
NixOS_GitHub has left #nixos []
<clever> kiloreux: builtins.getEnv
<kiloreux> builtins.getEnv("VARIABLE_NAME") ?
<clever> nix-repl> builtins.getEnv "HOME"
<clever> "/root"
<guillaum2> I don't understand how channel are handled on nixos. What is the channel "<nixpkgs>"? By default I only have a "nixos" entry in /root/.nix-channels, so where does the "<nixpkgs>" channels comes from? If I add "nixpkgs-unstable" using nix-channel --add ... with the entry name "nixpkgs", the channel "<nixpkgs>" is still refering to the same thing as "<nixos>".
ssmike has quit [(Ping timeout: 240 seconds)]
<clever> guillaum2: echo $NIX_PATH
<tnias> clever: I have them both in system now. wireshark works and wpa_gui does not. I will now clean up my user env and throw out unwanted stuff.. (i may ask something later)
<guillaum2> clever: nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels (so apparently my "nixpkgs" is "nixos".
<clever> guillaum2: that says that <nixpkgs> maps directly to /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
tanonym has joined #nixos
rtjure has joined #nixos
<guillaum2> clever: ok and why? I have a "nixpkgs" entry in my .nix-channels.
<clever> guillaum2: then you must also have a channel called nixpkgs in nix-channel
a6a3uh has quit [(Quit: Bye)]
<nixer> If I have a string like "${myDrv}/bin/foo" is it possible to call nix-build against that string and have it build myDrv?
<clever> nixer: you would need to build the drv first, and then eval the string in nix-repl
<nixer> clever: Ok there is no magical way to get nix to look into the string and see if it points to drv?
<clever> nixer: there can be multiple .drv files for building the same output
doublehp has quit [(Quit: Leaving.)]
<nixer> Ah okay.
<tanonym> If I wanted to install NixOS to a USB key will it only boot from the computer used to install it or will it boot from any machine it is plugged in to?
rtjure has quit [(Ping timeout: 264 seconds)]
<clever> tanonym: if you use the legacy MBR configuration, it will boot on anything
<clever> tanonym: EFI needs a special flag, https://nixos.org/nixos/options.html#installasremov
<clever> tanonym: and you would obviously tell it to not touch efivars
<tanonym> The computer I'm using is not an EFI system.
<clever> then it should be as simple as a normal install
srodal has joined #nixos
<clever> just point the boot.loader.grub.device at the usb stick
<tanonym> E.g. my stick is /dev/sdb just put that in.
<clever> yeah
<tanonym> And then it should boot from any system I plug it in to?
<clever> yep
<tanonym> Sweet.
<clever> as long as the EFI firmware isnt being dumb
<tanonym> On the host computer you mean?
<clever> my desktop refused to boot anything legacy if the EFI hdd was visible
<clever> yeah
<tanonym> Hm.
<tanonym> I have another stick with Tails as well.
<clever> unplugging the windows drive (or disabling efi) was enough to make it work
<clever> .efiInstallAsRemovable may also have an impact on that
rtjure has joined #nixos
<tanonym> Okay, something to keep in mind.
<tanonym> How large a stick do I need?
<guillaum2> clever: yes, I have a channel nixpkgs in `nix-channel --list`. But when I'm loading packages using nix-repl, there is no difference between "<nixpkgs>" and "<nixos>".
<clever> guillaum2: yeah, because <nixpkgs> goes to the nixpkgs= in NIX_PATH first, and will always use the channel called nixos on root
<clever> guillaum2: that name is specially configured
ylwghst has joined #nixos
<tanonym> Since NixOS seems to use quite a bit more space for things (looking at how large the LiveCD is but how little is actually on there compared to say Puppy Linux or Tiny Core.)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 3 new commits to master: https://git.io/vdjaV
<NixOS_GitHub> nixpkgs/master a3dde9d Piotr Bogdan: freeimage: fix CVE-2015-0852 & CVE-2016-5684
<NixOS_GitHub> nixpkgs/master 1e32c3e Vladimír Čunát: freeimage: fetchpatch -> fetchurl...
<NixOS_GitHub> nixpkgs/master dc240d2 Vladimír Čunát: Merge #30729: freeimage: apply security patches
NixOS_GitHub has left #nixos []
<clever> tanonym: i have gotten a simple nixos install image down to 300mb
<clever> tanonym: https://github.com/cleverca22/nixos-configs/blob/master/rescue_boot.nix puts the entire installer (no xorg) onto /boot/, and takes up about 300mb
<guillaum2> clever: ok. But how do I ensure that a derivation I create using "import <nixpkgs>" use the same set on a nixos machine and on a non nixos machine (where "<nixpkgs>" point to "nixpkgs-unstable")?
<clever> guillaum2: the exact same revision, or do you just want to ensure it finds it?
<tanonym> Nice. I figured KDE Plasma was responsible for a fair amount of the size of the live image.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #30729: freeimage: fix CVE-2015-0852 & CVE-2016-5684 (master...freeimage-cves) https://git.io/vdx91
NixOS_GitHub has left #nixos []
<guillaum2> clever: I want to get the same revision if we suppose that both users did nix-channel --update at the same time.
<tanonym> I've been using Nix too much to want to go back to a FHS live CD again :D
<clever> guillaum2: one option, a bit more extreme, you can just set the nixpkgs revision within your project source
<clever> guillaum2: so it entirely ignores nix-channel, and always uses the same revision for all
<tanonym> Probably run garbage-collect once I am sure the update is behaving as expected.
ison111 has quit [(Ping timeout: 264 seconds)]
rtjure has quit [(Ping timeout: 240 seconds)]
griff_ has quit [(Quit: griff_)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vdjVY
<NixOS_GitHub> nixpkgs/release-17.09 ceedd42 Vladimír Čunát: Merge #30729: freeimage: apply security patches...
NixOS_GitHub has left #nixos []
<tanonym> If I run a nix-env -i foo on the Graphical Live disc will it stay persistent or is that just run in RAM? The defaul is missing a fair number of basic tools. :)
<clever> tanonym: it will go into a tmpfs and be lost at shutdown/reboot
<tanonym> So I need to install it to a USB stick.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vdjVE
<NixOS_GitHub> nixpkgs/release-17.03 c1a3522 Vladimír Čunát: Merge #30729: freeimage: apply security patches...
NixOS_GitHub has left #nixos []
rtjure has joined #nixos
<tanonym> Well at least I can install additional tools as needed.
<clever> tanonym: yeah, a normal install to the usb stick will let everything persist
<clever> you can also change configuration.nix and nixos-rebuild, and it will stick
<clever> just be careful, boot.loader.grub.device = "/dev/sdb"; wont always point to the usb stick
<clever> i change it to "nodev"; after the install, so i cant mess with the 2nd sata drive by mistake
adc has joined #nixos
<tanonym> Worth keeping in mind, but if I'm installing a system to a 4GB stick I'd rather something lighter on space than KDE Plasma (as pretty as it looks)
<tanonym> Okay.
<clever> xfce or just raw text console
<tanonym> Well, I want to be able to use it as I would a normal install. Basically I'm looking to make a NixOS replacement for things like Puppy Linux or similar live medium distros.
<clever> tanonym: oh, using a filesystem like zfs that supports compression may help
<clever> gzip-9 can compress things pretty far
<tanonym> This way I can work off it rather than having to carry my laptop around (at least until I can get my hands on something like a chromebook or HP Stream)
<clever> at the cost of more cpu usage
<clever> the non-persistant iso uses squashfs, which is read-only compression
<MichaelRaskin> I would (and I actually mean did) just get a large enough USB drive.
<tanonym> Another distro that has caught my eye but I haven't messed with it extensively is Tiny Core.
dieggsy has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
ison111 has joined #nixos
<tanonym> Or even have a segregated approach like what the Amigas used to have where the OS lives on one ROM disk and applications are on a separate disk. Meaning if something infects your system you just reboot and since everything was run from volatile memory the compromise doesn't survive.
<tanonym> ZFS, isn't that the FS from BSD variants?
<guillaum2> clever: thank you, the link was really informative. My issue is that, for now, I don't want to pin the version of nixpkg used. I was thinking that the "channel" purpose was exactly to get updates of packages. My only issue is that the channel "nixpkgs" does not mean the same thing if you are on nixos or not.
<clever> tanonym: android does the same thing, the os lives on a read-only /system and the user stuff on a writable /data
<tanonym> Yeah. With version 5 of Android you can now have rootless rooting. So you can take advantage of apps that need root without actually needing write access to /system.
<tanonym> Been looking at Material design specifications, a well laid out description of UI design.
<clever> tanonym: all of the tmpfs based stuff in nixos, involves using a unionfs to merge a tmpfs and a squashfs
goibhniu has joined #nixos
<clever> tanonym: but you could modify it, to union a writable and a read-only
<tanonym> That will involve a bit of learning on my part :)
rtjure has joined #nixos
<clever> tanonym: the issue though, is that when you do a major update and garbage collect, the read-only will become 90% garbage, that can never be deleted
<tanonym> Right now compression is a priority.
<clever> tanonym: and everything will be in the uncompressed writable layer
<clever> tanonym: so a writable compressed filesystem, like zfs, will win
<tanonym> Need to see how I can adapt some of the ideas from TinyCore to NixOS.
<jack[m]> Hrm. decompression adds latency..
<clever> tanonym: this will grab a squashfs thats held directly in the initrd, and mount it to .ro-store, and a tmpfs on .rw-store
<clever> tanonym: then line 53 union's them together, so the store is writeable at runtime (and lost at shutdown)
<clever> tanonym: line 76 makes a cpio image containing the squashfs, and prepends it with the normal nixos initrd
<clever> tanonym: and the squashfs on line 69 only has the closure, with no nix database, so line 95 initializes the DB on bootup
rtjure has quit [(Ping timeout: 248 seconds)]
<tanonym> Okay I can make rough sense of what the code is doing reading that over. I need to study up on my coding :D
<clever> tanonym: 24 turns on efi, 27 makes the iso image also have an MBR partition table, and those options exist elsewhere (the files on lines 10-15)
adamt_ has quit [(Ping timeout: 260 seconds)]
<clever> tanonym: the same .ro-store and .rw-store stuff on line 301-318, but this time against /iso/nix-store.squashfs
<clever> tanonym: and line 291 mounts the iso to /iso
<clever> tanonym: 341 to 399 generate the iso image
<chessai> has anyone seen this? looks useful
nh2 has joined #nixos
rtjure has joined #nixos
catch22 has joined #nixos
<Unode> Is there any global setting that causes header (.dev) to be installed in ~/.nix-profile ?
<clever> Unode: why would you want to do that?
<Unode> I tried nix-env -iA zlib.dev but I don't see an 'include/' on ~/.nix-profile
<clever> Unode: gcc wont look there, the setup hooks wont run right, and the propagated inputs wont be present
<Unode> clever: Trying to workaround an issue with zlib, in that stack fails to find the lib.
<Unode> it was one of the workarounds mentioned in a github issue.
<clever> what if you run it under "nix-shell -p zlib" ?
<Unode> same thing. Let me capture that into a paste
<avn> cabal2nix can be an option as well
rtjure has quit [(Ping timeout: 255 seconds)]
<Unode> that's inside "nix-shell -p zlib"
<Unode> I've also tried 'stack --nix install hoogle' but the same error pops up after compiling a bunch of stuff.
<clever> Unode: what about just nix-env -iA nixos.haskellPackages.hoogle
<ma27> Unode: have you added the zlib package in your stack.yaml?
<Unode> clever: I was trying to get this to work with stack. Otherwise I'll run into this anyway.
<Unode> ma27: I don't have one yet.
<clever> Unode: there is also stack2nix
<Unode> as I said "stack install hoogle" is all I'm trying to run. 100 packages to be compiled, fails on the 90th.
<Unode> with the error above.
Guest48202 has quit [(Quit: Lost terminal)]
rtjure has joined #nixos
<clever> Unode: anything you install with "stack install" is likely to break without warning in a month or 2, when nix garbage collects the libraries it was using
<ma27> Unode: I assume that this failing package depends on zlib?
<clever> Unode: so your always better off letting nix build things, using either cabal2nix or stack2nix
<ma27> or did I get the previous messages wrong?
<Unode> ma27: check the dpaste link above.
<clever> ma27: i think the problem is when building the haskell zlib wrapper, it fails to find the original c zlib headers
<Unode> clever: I see
<Unode> zlib seems like a common issue: https://github.com/commercialhaskell/stack/issues/1028 (and referenced issues)
<Unode> it's marked as fixed but the workarounds didn't quite work for me (or they don't apply)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin opened pull request #30777: DO NOT MERGE: testing to see if we got assimilated (master...do-not-merge) https://git.io/vdjox
NixOS_GitHub has left #nixos []
<Unode> clever: what about simply compiling things? I mean, if things will break that easily. Even when building with "stack --nix"
<ma27> then `stack build --nix` should work
<clever> Unode: only things built by nix and stored in /nix/store/ will continue to work in the future, anything you build and keep in $HOME and elsewhere are untracked and the GC will break them
<Unode> ma27: I don't have a stack.yaml. Checking... only config.yaml. Testing if this works the same.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yuriaisaka opened pull request #30778: skktools: init at 1.3.3 (master...pr-skktools-init) https://git.io/vdjKO
NixOS_GitHub has left #nixos []
rtjure has quit [(Ping timeout: 258 seconds)]
<tanonym> Okay, I'll try the simple solution of just installing NixOS to a USB stick and then go from there and refine things as I learn more.
<Unode> ma27: thanks. That does seem to be making some progress. Added zlib to that list of packages. Lets see how far it gets.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin closed pull request #30777: DO NOT MERGE: testing to see if we got assimilated (master...do-not-merge) https://git.io/vdjox
NixOS_GitHub has left #nixos []
schoppenhauer has quit [(Ping timeout: 248 seconds)]
<Unode> clever: Ok, that is a considerable change from past workflows. Have a bunch of plugins from different software (vim included).
<tanonym> I should be able to just make one partition and install to it with nodev as my grub device.
zraexy has quit [(Ping timeout: 255 seconds)]
<clever> tanonym: as long as grub can read the rootfs, yeah, you can just make a rootfs only
<clever> tanonym: you will need to temporarily set the grub device to sdb to install the bootloader to the MBR, then change it to nodev
<tanonym> Okay.
<tanonym> Edit that in configuration.nix, correct?
<clever> yep
<ma27> Unode: nice! Ping me if something else breaks your build now %)
<tanonym> I backed up the configuration.nix from my HD install so I should be able to put that in place after running the hardware configuration step.
<gchristensen> MichaelRaskin: I like your bucketed label approach
schoppenhauer has joined #nixos
<gchristensen> (I already had this written from this morning, and can't switch to bucketed labels for a few hours)
<clever> tanonym: you can also use the nixos running on the hdd to do the nixos-install
<tanonym> Oh, neat.
<clever> tanonym: every copy of nixos has nixos-install, and can create more copies
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vdj6f
<NixOS_GitHub> nixpkgs/master 77c1300 José Romildo Malaquias: efl: 1.20.4 -> 1.20.5
<NixOS_GitHub> nixpkgs/master c0ce917 Jörg Thalheim: Merge pull request #30771 from romildo/upd.enlightenment...
NixOS_GitHub has left #nixos []
<Unode> ma27: :) thanks for the help. hoogle running already.
dieggsy has quit [(Remote host closed the connection)]
<tanonym> That's handy. And if I back up my personal files and configuration.nix to SpiderOak that makes it easy to restore a borked system fairly easily.
rtjure has joined #nixos
<tanonym> Any other files I need to back up if I want to clone a system with all the installed applications added?
mizu_no__ has joined #nixos
<tanonym> The more I use Nix the less I want to put up with any other distro :D
<clever> tanonym: anything you manualy installed with nix-env -i wont be cloned
<ma27> tanonym: same here, can't imagine switching back to Ubuntu :-D
<tanonym> Install GNOME, borked the system, reboot and select previous generation and it works again. Clean out the borked install and try something else. :D
<clever> tanonym: :D
<tanonym> Break a system in openSUSE with an update and spend hours fighting to get the system to even boot up on the HD :D
kiloreux has quit [(Remote host closed the connection)]
<Unode> tanonym: the only pain is the occasional other software that expects a bunch of things on "standard Linux" locations which nix doesn't use.
ssmike has joined #nixos
<tanonym> Leap did that to me. An update changed my HD to GPT and the computer wouldn't boot until I purged and reverted the partition table to what it was before.
<clever> tanonym: ive broken a gentoo install, by mv'ing nearly half the OS off the hdd, it still had an ancient copy of nix in /usr/local/bin/
<clever> tanonym: i was able to use just that copy of nix to install nixos ontop of gentoo, and get the system fully working
<tanonym> You can get around that with a container approach to the nix packages, no? Kind of like what is done with Steam?
<MichaelRaskin> tanonym: other distros are OK at updating their default cores, I dunno. Of course, complicated software with weird dependencies should get installed via Nix anyway, why do people still want not to do that.
rtjure has quit [(Ping timeout: 240 seconds)]
<Unode> tanonym: yeah, except you may have to do it yourself if one doesn't exist yet. And some software makes it particularly annoying due to packaging half an operating system with the software.
<hl> What's the cross-compiling situation with NixOS?
obadz has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rickynils pushed 1 new commit to master: https://git.io/vdjif
<NixOS_GitHub> nixpkgs/master 2fd11b7 Rickard Nilsson: nixos/elasticsearch: Do not try to run sysctl if running in container, since it fails
NixOS_GitHub has left #nixos []
<Unode> MichaelRaskin: I think good docs on that topic that are beginner friendly would be a plus. I have some on my todo list that I haven't got to yet. Only been using NixOS seriously for less than a week.
<tanonym> openSUSE base install borked for me. Changed HDD to GPT and my damn system wouldn't boot from HD anymore. Couldn't even get to the bootloader just kept getting booted back to PXE boot or boot from USB/CD. I had to format the whole drive back to MBR and then reinstall everything just to get the system working. I didn't and reinstalled NixOS.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rickynils pushed 1 new commit to release-17.09: https://git.io/vdjiq
<NixOS_GitHub> nixpkgs/release-17.09 86d15aa Rickard Nilsson: nixos/elasticsearch: Do not try to run sysctl if running in container, since it fails...
NixOS_GitHub has left #nixos []
<tanonym> Yeah, NixOS could benefit from good solid documentation. But that is also time-consuming to make. :)
<clever> tanonym: GPT with efi needs a special partition type and some vars setup in the bios by the installer
FinalX has left #nixos ["WeeChat 1.7.1"]
<clever> tanonym: GPT with legacy needs a different special partition type
ssmike has quit [(Ping timeout: 255 seconds)]
<tanonym> Except that my Lenovo B575 isn't an EFI, it was an MBR and got changed to EFI/GPT partition scheme but didn't know what to do with it. I had a hell of a time trying to fix it.
<MichaelRaskin> I have an excuse for (almost) not touching documentation, I am the kind of person who honestly finds Single Unix Specification pleasant to use as a reference after almost-zero introduction to shell.
<hl> There are OSes... that change partition table types live? WTH?
<clever> tanonym: you can boot GPT drives on non-efi machines, if you create a "bios boot partition", 2mb, no FS, never mounted, and configure grub to continue booting via legacy
p4cman has quit [(Quit: Connection closed for inactivity)]
<infinisil> Long live nix, I just patched a program (beets) with an overlay to fix a problem
<Unode> tanonym: Every project needs a strong documentation oriented community. NixOS is still growing. Gentoo used to have a decent one years ago before the big accidental wiki wipe. If I had to refer a good example I'd probably say Arch Linux.
infinisil has quit [(Quit: ZNC 1.7.x-git-unknown - https://znc.in)]
<tanonym> Apparently an openSUSE Leap 42.1 update did that. Probably was a bug.
<MichaelRaskin> hl: hey, a few more bytes available there, don't you want these bytes to go to waste?
<hl> clever (IRC): Yep. I like to put it before partition 1 (in the gap between the end of the GPT table and the first partition)
<tanonym> I ran the update, then couldn't boot anymore.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] obadz pushed 2 new commits to release-17.09: https://git.io/vdji2
<NixOS_GitHub> nixpkgs/release-17.09 e4f377c Jens Binkert: citrix-receiver: 13.4.0 -> 13.7.0...
<NixOS_GitHub> nixpkgs/release-17.09 66aa2c5 obadz: citrix_receiver: refactor so older versions can still be installed...
NixOS_GitHub has left #nixos []
<clever> hl: yeah, once i get a system booting, i avoid touching things that low level
rtjure has joined #nixos
<hl> Yeah, Arch's wiki is very helpful.
<hl> I've just been doing some cleanup on the wiki.
infinisil has joined #nixos
<tanonym> Other greatest hits include a GNOME update borking my GNOME 3 Shell, and tossing an error, but I can't roll back to get it working, I can't uninstall the borked GNOME from the system cleanly without breaking everything else to the extent that necessitates a reinstall. FHS can go engage in an activity starting with F and ending with "self".
<clever> lol
<infinisil> long live nixos
<tanonym> Well, Ubuntu Snappy is looking marginally sane and sensible. Not sure why they didn't just adapt Nix for their needs since it seems to have all the functionality of Snappy and more.
<MichaelRaskin> tanonym: you ask that about the distro that created Mir?
<tanonym> The occasional headache to get connman and wifi working in NixOS is sooo worth the ease of unborking things afterwards.
<MichaelRaskin> Why do people even bother with something on top of wpa_supplicant?
<tanonym> Well, they have mothballed both Unity and Mir so... who knows.
ma27 has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin> Not immediately, though.
<tanonym> Because I use Enlightenment as my primary DE and it makes use of connman for networking.
<tanonym> I haven't been able to get anything else to play nice with E so far.
rtjure has quit [(Ping timeout: 240 seconds)]
<tanonym> And connman makes use of the wpa_supplicant.conf file as well.
<MichaelRaskin> Yes, that's what I call «on top»
python476 has joined #nixos
<tanonym> Not sure. But that's what I have got to work reliably so I use it for now.
leothrix has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<Unode> infinisil: interesting this beets software. Never heard of it. Wonder how much cruft is present on my music collection :)
<infinisil> I had a pretty nice library org while using iTunes, but I can't do that on linux, and itunes kinda sucks
<infinisil> beets is infinitely flexible and open
rtjure has joined #nixos
<infinisil> I even wrote my personal sql query for its database to display the artist title and rating
<MichaelRaskin> Wow. Didn't think I can learn something new and bad about git.
<gchristensen> MichaelRaskin: what'd you learn?
<Unode> I was looking into mopidy the other day. Looked interesting given all the plugins
<Unode> MichaelRaskin: everyone's curious now.
stanibanani1 has quit [(Ping timeout: 240 seconds)]
<Unode> infinisil: I read that it also has a mpd compatible plugin. Have you ever used this?
<tanonym> Okay, time to install NixOS to a nice portable USB stick :)
<MichaelRaskin> I read about the fallout of «Infineon keys can be vulnerable», and found the following statement about handling key rotation and signed Git commits: «re-signing commits is not really possible, because that would cause the commit ID to change»
<gchristensen> oh, yeah, thats true
<Unode> MichaelRaskin: :)
<gchristensen> that isn't a problem though, because by signing a git commit you're necessarily signing _every parent commit_
<MichaelRaskin> But. But.
<Unode> MichaelRaskin: same issue applies when your key expires
<infinisil> Unode: mopidy? nope. beets also has a mpd server thing, but I'm using the proper mpd server for http streaming. Some scripts to connect mpd and beets, nothing major
<MichaelRaskin> gchristensen: this is a problem, because in Monotone I could re-sign everything once more, commit IDs would stay, and they would just have both signatures.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 4 new commits to master: https://git.io/vdjPb
<NixOS_GitHub> nixpkgs/master fd29f66 Tuomas Tynkkynen: qt5, plasma-5: Make 'bin' output the first one...
<NixOS_GitHub> nixpkgs/master c384ad4 Tuomas Tynkkynen: qtbase: Make some output references more explicit
<NixOS_GitHub> nixpkgs/master dc75fb6 Tuomas Tynkkynen: xca: Remove unnecessary substituteInPlace...
NixOS_GitHub has left #nixos []
<gchristensen> sure
tanonym has quit [(Quit: Going offline, see ya! (www.adiirc.com))]
drakonis has quit [(Quit: Leaving)]
<MichaelRaskin> Which is, like, the only sane way to do signatures.
rtjure has quit [(Ping timeout: 248 seconds)]
<Unode> infinisil: I also reverted to mpd. Most of the cool stuff in mopidy is broken or has limited functionality. mopidy "can" play from spotify, soundcloud and youtube.
<infinisil> Understandable, mpd has loads of stuff and existed for so long already
<Unode> infinisil: has been my default for over 10 years now.
<Unode> :)
JosW has quit [(Quit: Konversation terminated!)]
<Unode> I still remember the days where I was fighting with ati drivers, X crashing all the time or requiring frequent restarts but the music playing in the background was pumping like nothing was happening.
<infinisil> Nice. I really like the http streaming, I can transition between devices super easily while not having to select music, it's like my personal radio
<Unode> *when
<clever> Unode: lol
<infinisil> Unode: Ohh yeah I remember when I first messed with nixos, the music kept playing which was nice
<Unode> infinisil: the streaming I don't use that much. Got cables around the house that take care of carrying the sound :P
joepie91 has quit [(Read error: Connection reset by peer)]
joepie91 has joined #nixos
joepie91 has quit [(Changing host)]
joepie91 has joined #nixos
<infinisil> Currently a user systemd service runs my music, so I don't have that :(
<clever> Unode: i have had weird problems with some of the driver choices, but nixos makes it trivial to remove all traces of failed attempts
<clever> Unode: for example, one of the drivers will sometimes cause xorg to crash hard and stop, if i ssh in and restart xorg, the kernel hangs
erictapen has quit [(Ping timeout: 248 seconds)]
<infinisil> The streaming is really nice for on the go with the phone, or for our Sonos sound system at home, or for a different computer, or to share the music with others
<clever> Unode: an older build of the opensource drivers uses the wrong version of glamor, which causes xterm to wait for vsync, after every printed character
<Unode> clever: this was way before nixos. As I said over 10 years ago :). Still using mpd. Though these days more as a user-space daemon to make it easier to manager with systemd+pulseaudio.
<clever> Unode: the closed-source ati drivers crash hard if i enable dual-monitor
simukis has quit [(Ping timeout: 240 seconds)]
<clever> Unode: the open source drivers crash hard if i unplug the 2nd monitor while its active
joepie91 has quit [(Client Quit)]
joepie91___ has joined #nixos
<Unode> clever: I think I might have bumped into that one. Though I only have nixos on my laptop and it's uptime is usually less than 1 day.
Ross has quit [(Quit: ZNC - http://znc.in)]
<clever> Unode: but nixos handles this much better, because the resulting install is pure, and has no traces of the previous failed attempts, so i am free to try things and know it will have no lasting effect
ylwghst has quit [(Remote host closed the connection)]
<Unode> gladly this one has nvidia. Legacy but still nvidia. And still works decently.
<clever> Unode: yeah, my laptop needed legacy nvidia to even start
orivej has quit [(Ping timeout: 248 seconds)]
Ross has joined #nixos
joepie91___ is now known as joepie91
<Unode> same here. Laptop showing lots of gray hair. And I keep the stuff under the keys clean.
<clever> Unode: i recently ran into a problem, something hydra built is using SSE4, and my laptop lacks it
<clever> Unode: upstream fixed it 4 years ago, so i'm not sure how it came back: https://github.com/facebook/rocksdb/commit/e7b726da0896f344c42f905caea3fde52312ec1d
rtjure has joined #nixos
<Unode> anyway, still learning the nix way. So expect noob questions from me here for a while. You guys are all great though. Nicely packed community and IRC geeks :)
ma27 has joined #nixos
<Unode> clever: hum... rocksdb. I wonder how many of these key=>value in RAM things exist.
<Unode> clever: I also have (at the moment) one issue with over 4 years that I even have a hard time reproducing, except on one session that I've kept open for a while. https://github.com/mobile-shell/mosh/issues/325
<Unode> no clue why that session suffers from this since if I start a new tmux session I don't see the problem anymore.
<clever> Unode: i think i saw something similar happening 3 days ago, when i ran screen under tmux
rtjure has quit [(Ping timeout: 258 seconds)]
<Unode> seems to be a VTE issue but... closed 2014. Quite a while ago.
ylwghst has joined #nixos
<clever> Unode: my glamor problem was also fixed years ago
<Unode> I don't even know if urxvt uses this VTE backend.
<clever> Unode: in my case, glamor was a seperate repo, with that bug, then it got merged into xorg proper, then fixed
<Unode> I'm just expecting things to go away with a reboot (of both ends) :)
<clever> Unode: but the nixos scripts for generating xorg packages where not aware of that merging, and used the deprecated external glamor, that still had the problem
<Unode> clever: merging bugs is always fun
<clever> which resulted in the old bug being present on nixos
<clever> the bug only showed itself under xterm, other terminals lacked it
<clever> and it acted like a v-sync wait, after every printed character
<clever> turning off glamor made 2d faster, and removed all 3d accel
chris_ has joined #nixos
<Unode> sounds like you should quit with all that glamor and just become boring :)
<clever> lol
ylwghst has quit [(Client Quit)]
rtjure has joined #nixos
<Unode> infinisil: sounds like you have it all in place (pun intended) :P
TheAppleMan has quit [(Ping timeout: 264 seconds)]
katyucha has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cillianderoiste pushed 1 new commit to master: https://git.io/vdjMZ
<NixOS_GitHub> nixpkgs/master 9e0b379 Cillian de Róiste: obs-studio: 20.0.1 -> 20.1.0 + support more features
NixOS_GitHub has left #nixos []
<infinisil> Unode: You mean regarding my music setup?
<Unode> infinisil: yes.
<infinisil> More or less, it's improving errday
<Unode> Also, let me guess, you moved mpd to user-level because of systemd / pulseaudio?
griff_ has joined #nixos
<infinisil> I'm actually not running mpd locally, just mpv to play the stream from my server
<Unode> ah
<infinisil> and i have my keys config in home-manager (user-level), which i also use to play the user service that starts mpv
rtjure has quit [(Ping timeout: 255 seconds)]
<Unode> infinisil: you mentioned mpv, also using minidlna?
<infinisil> never heard of that
ertes has joined #nixos
tanonym has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vdjDs
<NixOS_GitHub> nixpkgs/master 8ee9421 Joerg Thalheim: bcc: 0.3.0 -> 0.4.0
NixOS_GitHub has left #nixos []
<tanonym> Hm. Looks like I need to add the ZFS kernel module to be able to format the USB stick as ZFS to install nixos to.
rtjure has joined #nixos
<infinisil> tanonym: Add boot.supportedFilesystems = [ "zfs" ] and rebuild
cfricke has joined #nixos
<tanonym> The install disk's configuration.nix?
ison111 has quit [(Ping timeout: 240 seconds)]
<infinisil> yeah
<clever> tanonym: the host configuration.nix needs that to even be able to create a zfs on the "target"
<tanonym> Okay.
<clever> the target nixos will figure that out on its own, because there is an entry in hardware-configuration.nix mentioning zfsa
<Unode> infinisil: minidlna is great. If you think mpd is audio streaming, minidlna is audio, video, photos and other media streaming.
<infinisil> But.. I don't need anything other than audio xD
rtjure has quit [(Ping timeout: 248 seconds)]
<Unode> the day will come ... :)
<infinisil> I'll keep it in mind if i ever need it though, or if i want to try out something new
<tanonym> Flipping closing semi-colons... >,<
<Drakonis[m]> we'll have new and fancy streaming tools soon
<Drakonis[m]> the day isn't far
erictapen has joined #nixos
ande765a has joined #nixos
<tanonym> Well, the liveCDs File manager is borked. Keeps crashing on launch and won't display the contents of a connected device.
<infinisil> Drakonis[m]: What do you mean? You working on something?
ylwghst has joined #nixos
<Drakonis[m]> well not me
<Unode> infinisil: the only downside, dlna clients are a bit on the poor side. Specially command-line ones. I wrote a tiny one myself (GTK though) but the libraries it depends aren't well maintained these days. It works but quite simple. Haven't got to convert it to ncurses or other TUI.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vdjy0
<NixOS_GitHub> nixpkgs/master 5938256 Joerg Thalheim: bcc: fix install
NixOS_GitHub has left #nixos []
ylwghst has quit [(Client Quit)]
<infinisil> Well.. Not sure about it if that's the case
ison111 has joined #nixos
ylwghst has joined #nixos
<Unode> Drakonis[m]: do share. I do like minidlna (specially since my home TV can speak that protocol) so I can stream directly to it. But DLNA is rather tricky. Not just from an implementation side but also the complexity of the thing.
rtjure has joined #nixos
<Unode> infinisil: well, VLC for instance can browse it easily. XBMC also. It's just one of those things. The tiny clients exist but they seem to have been implemented for a broken version of the standard.
<Drakonis[m]> DLNA will remain hard i guess
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
chris_ has quit [(Remote host closed the connection)]
<Unode> https://github.com/coherence-project/Coherence is what I used. Works great, but getting old.
<Drakonis[m]> on second thought, what i was going to suggest isn't for media servers
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c1a3522189 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<Unode> Drakonis[m]: multicast?
<Drakonis[m]> i don't know if it can pipe it through the local network
ylwghst has quit [(Remote host closed the connection)]
rtjure has quit [(Ping timeout: 260 seconds)]
<Drakonis[m]> hmm, looks like it can
<Unode> Drakonis[m]: got a link?
<Drakonis[m]> devices can access it, but its not like you can use it from your TV
<Drakonis[m]> there was some guy writing an application that could pipe a webcam's output to a file
<Drakonis[m]> using it
mzabani has joined #nixos
<tanonym> Okay, I am missing something: can't figure out how I'm supposed to format the drive to zfs after enabling the option in configuration.nix
<Unode> Sounds interesting. I wouldn't mind seeing something less bulky than DLNA becoming a standard. DLNA is over-engineered from my point of view. Simpler alternatives would be great.
<infinisil> tanonym: The setup there is a bit excessive for a simple machine though
<Drakonis[m]> the standard was first created back in 2003
<tanonym> Thanks.
<infinisil> tanonym: Have you used zpool and zfs before?
rtjure has joined #nixos
<Drakonis[m]> i suppose sony didn't expect things to go this way
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
Nobabs27 has joined #nixos
<tanonym> First time using it.
<infinisil> tanonym: I see, let me show you what I usually do
dywedir has quit [(Remote host closed the connection)]
<Drakonis[m]> what i linked is very much a linuxy thing, but i suppose it is better than the stuff you find on a console or smart tv
<infinisil> zpool create -O compress=on -m legacy <pool name> /dev/<your device>
<infinisil> tanonym: This creates a zpool with compression turned on and legacy mountpoint (needed for nixos), in the root dataset
<tanonym> Current project is to get a NixOS install on a USB stick and since ZFS supports compression I can use that to keep the space use down.
<tanonym> The target device is currently unformatted.
<Drakonis[m]> hmm
<Drakonis[m]> don't use ZFS on a usb stick
<clever> tanonym: grub also doesnt play that nicely with zfs, so you may want a small /boot partition with ext4
<tanonym> Do I need to do anything before running the command you gave me, infinisil?
<Drakonis[m]> that isn't a good idea.
<infinisil> Drakonis[m]: Why not?
<Drakonis[m]> grub zfs support has improved by the way, but its still not optimal
<infinisil> tanonym: Nah, you can pass /dev/sda to it
rtjure has quit [(Ping timeout: 240 seconds)]
<Drakonis[m]> getting it to run on other devices is the hard part
<infinisil> tanonym: Or whatever your disk is you wanna use
<Drakonis[m]> a usb stick is pretty slow tbh
<tanonym> Okay, so a small ext4 /boot partition and then the zfs pool?
infinisil has quit [(Read error: Connection reset by peer)]
loz1 has quit [(Ping timeout: 246 seconds)]
<avn> grub works with zfs, but fail to read /nix/store with hardlinks, so copyKernels is required
<Drakonis[m]> zfs wants all of your storage device fyi
python476 has quit [(Ping timeout: 252 seconds)]
<Drakonis[m]> by default
<avn> Drakonis[m]: zfs works with partitionss, and even LVM volumes
infinisil has joined #nixos
<infinisil> Yeah zfs works just fine with partitions
<clever> zfs also works on luks volumes, if you are not yet using the built-in zfs encryption
<infinisil> But it can use the whole disk if you want
<CrazedProgrammer> tanonym: yes, /boot on ext4
<tanonym> So create the partitions /boot and / first then point zpool at the / partition?
<clever> infinisil: i think zfs will just auto-generate a GPT partition table if you tell it to use the whole disk
loz has joined #nixos
<infinisil> avn: copyKernels is done automatically when /boot is on a different mount than /
<Drakonis[m]> just a quick reminder about zfs, it writes
<tanonym> 200MB should be fine for /boot
<Drakonis[m]> a flash usb drive is slow as shit
<clever> infinisil, avn: but if you use copyKernels with /boot on the same FS as /, it will still copy it, and then grub doesnt have to deal with the insanity that is /nix/store/
<avn> infinisil: yes, but it required if /boot is same as / and it is zfs
<clever> infinisil: grub has trouble traversing /nix/store/ and copyKernels puts them into a simpler directory structure
<CrazedProgrammer> tanonym: mount /boot and create the zpool and a new filesystem (for example zpool/root), set mountpoint=legacy on that filesystem and mount that filesystem on /
<avn> clever: yes, I just remind about it ;) I had some pain with it in past
nixer has quit [(Quit: Page closed)]
<infinisil> Oh god, all the zfs advices here
<infinisil> I'll just stay quiet for now
<clever> tanonym: lines 76-86-ish handle creating the zfs filesystem and mounting it
<tanonym> Seems like I opened a can of worms with this project :D
<Drakonis[m]> two things
<mzabani> Hi everyone. I'm having an issue when running nixos-rebuild switch --upgrade and getting /nix/store/vkbh4xbgxvx3v9813d4kdwv8ggwrp038-xz-5.2.2-bin/bin/xz: (stdin): File format not recognized.. My system is system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.13, channels(root): "nixos-17.09.1813.bf3dbc2b38", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<Drakonis[m]> how much ram
<Drakonis[m]> and is it a usb 3.0 flash drive?
<mzabani> does anyone know what this could be?
<clever> Drakonis[m]: i think its a 4gig usb stick
<infinisil> tanonym: Well, a lot of people here are using zfs
rtjure has joined #nixos
<tanonym> Drakonis[m]: a usb pendrive.
<gchristensen> mzabani: hmm I think you had an issue fetching a package. can you try again?
<clever> mzabani: that sounds like network problems, try the command again
<Drakonis[m]> it also demands more out of your flash drive
<infinisil> mzabani: Try running it again
<Drakonis[m]> 4gig usb stick? uhhh
<Drakonis[m]> i asked memory as in the computer
<CrazedProgrammer> tanonym: yes, configuring nixos is very addicting :) here's an example of how I handle zfs on my laptop: https://github.com/CrazedProgrammer/nix/blob/master/machines/helium.nix#L40
<Drakonis[m]> does it have 8+ GB of RAM?
<tanonym> Hm, I might end up doing a reinstall using ZFS on my 2.5" HD as well.
<mzabani> it gives the same error no matter how many times I try..
<Drakonis[m]> for all the greatness, it has some pretty big demands
<clever> Drakonis[m]: i dont think zfs is going to be capable of using more ram then the pool size
<tanonym> Hm, I might end up doing a reinstall using ZFS on my 2.5" HD as well.
<Drakonis[m]> hmm
<CrazedProgrammer> tanonym: if you set compression=lz4 it will save space aswell
<tanonym> Okay, WeeChat really doesn't play nice with links. :S
hiratara has quit [(Ping timeout: 246 seconds)]
cfricke has quit [(Read error: Connection reset by peer)]
mutagenfork has quit [(Ping timeout: 252 seconds)]
sigmundv has joined #nixos
<sphalerite> clever: https://github.com/cleverca22/nix-misc/pull/3 should be good now. I also changed it to use the src of the qemu in nixpkgs, which is a fair bit newer
<Drakonis[m]> don't use a usb stick though, flash drives have awful write speeds
<sphalerite> idk if you want that change but it's there in case you do :)
<clever> tanonym: the justdoit.nix example uses lz4 on line 78, gzip-9 will save you more space, at the cost of more CPU
<infinisil> I recommend compress=on, which uses the default, which is currently lz4, but might change in the future if something better is implemented
<Drakonis[m]> my stick writes at 5MB/s peak
<infinisil> Drakonis[m]: tbh i just think you're stick is slow..
<infinisil> your*
<Drakonis[m]> i don't think i'd do zfs justice when it takes ages to write things
<infinisil> Yeah flash sticks are not fast generally, but 5MB/s is really slow
<clever> sphalerite: minor problem i can see from using the qemu.src, the version on line 15 can now be wrong
<Drakonis[m]> okay it hit 10MB/s
<Drakonis[m]> still really slow though
<Drakonis[m]> my hard drive does 40MB/s
<Drakonis[m]> read speeds, sorry.
hiratara has joined #nixos
<Drakonis[m]> need an SSD urgently.
<sphalerite> clever: oh yeah
rtjure has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #30779: Revert "vc: Broken on i686" (master...vc_not_broken) https://git.io/vdjHi
NixOS_GitHub has left #nixos []
<sphalerite> idk, up to you. I guess one could also use parseDrvName to get the version from nixpkgs qemu but eugh
dejanr has quit [(Read error: No route to host)]
dejanr has joined #nixos
<sphalerite> Retrying the build that failed with the qemu version you had overnight. Will probably fail too, but only one way to find out!
<sphalerite> I'm also redoing it on the chromebook with one job again so it doesn't OOM
<clever> sphalerite: i also had something fail on my hydra, let me see
ande765a has quit [(Ping timeout: 260 seconds)]
kp__ has joined #nixos
<clever> bison: ../sysdeps/unix/sysv/linux/spawni.c:360: __spawnix: Assertion `ec >= 0' failed.
<clever> ./../ylwrap: line 159: 32391 Aborted (core dumped) "$prog" "$@" "$input"
<sphalerite> I'm just using Dezgeg's cache for gcc, and I don't think I'm on the latest nixpkgs master
<tanonym> Okay, I've made my /boot partition following the install manual. I haven't created any other partitions on the drive and mounted the boot partition to /mnt/boot.
<sphalerite> I just need llvm_5 to build so I can build mesa so I can build kmscon so I can (I hope) get some output on the screen
<clever> tanonym: did you mount the pools root to /mnt/ before mounting boot?
<Dezgeg> really, no output without kmscon?
rtjure has joined #nixos
<Dezgeg> that sounds very unlikely
<tanonym> I have not done any ZFS commands yet. Doing them now following the ZFS page on the wiki.
<sphalerite> Dezgeg: chrome os kernel. Configured without fbcom
<sphalerite> fbcon*
<Dezgeg> eh
<Dezgeg> well
<tanonym> zfs set mountpoint=legacy <pool>/<fs> mount -t zfs <pool>/<fs> <mountpoint>
<sphalerite> there's a userspace application that provides the terminal on chrome OS, some NIH thing similar to kmscon which I think is called frecon
<clever> tanonym: you will want to mount the <pool>/<fs> to /mnt/ before you mount boot
<Dezgeg> are you sure the graphics drivers are kms compatible then at all?
<sphalerite> and I think there's some API it uses called freon? I don't understand that much about cros
<Dezgeg> and not some proprietary NIH apis
<sphalerite> yeah it does use KMS somehow
infinisil has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
mutagenfork has joined #nixos
<sphalerite> I think freon is their alternative to X
<Dezgeg> you really sure? :P
<Dezgeg> android has their custom hwcomposer etc. stuff as well...
<sphalerite> I'll probably build my own kernel eventually which will hopefully let me get a console without needing kmscon, but it was fiddly enough getting the chromeos kernel to boot with custom params
adc has quit [(Ping timeout: 248 seconds)]
infinisil has joined #nixos
<sphalerite> I am sure, I've looked into frecon's source and it calls kms functions
<Dezgeg> maybe try first some kms app that doesn't depend on llvm
<sphalerite> it describes why they didn't use kmscon as well
mzabani has quit [(Ping timeout: 260 seconds)]
rtjure has quit [(Ping timeout: 240 seconds)]
chessai has quit [(Remote host closed the connection)]
<sphalerite> Dezgeg: like what?
<tanonym> <pool>/<fs> being like rpool/nixos for example?
infinisil has quit [(Client Quit)]
<Dezgeg> I haven't personally tried, but happened to notice that in my ex-coworkers github
infinisil has joined #nixos
<sphalerite> Neat! I'll give that a shot tomorrow, unless I'm lucky and one of the two llvm builds I'm running overnight succeeds :)
<sphalerite> what's also really annoying about frecon is that it has an (incomplete) US keyboard layout baked in and doesn't support swithcing to anything else
cement has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #30697: avian: add meta.maintainers (master...avian-maintainers) https://git.io/vdAWq
NixOS_GitHub has left #nixos []
infinisil has quit [(Client Quit)]
<tanonym> D'oh. I was looking at the wrong thing in the wiki.
infinisil has joined #nixos
<sphalerite> Huh, /dev/dri actually contains two cards, 0 and 1, on the chromebook
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #30772: elementary-icon-theme: 4.3.0 -> 4.3.1 (master...upd.elementary-icon-theme) https://git.io/vdj42
NixOS_GitHub has left #nixos []
adc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #30773: avfs: 1.0.4 -> 1.0.5 (master...upd.avfs) https://git.io/vdjBW
NixOS_GitHub has left #nixos []
<Dezgeg> the other is the gpu (as in acceleration) and the other the display controller, typically
mzabani has joined #nixos
<clever> in the case of the rpi, the 3d core isnt really coupled to the 2d framebuffer logic
<clever> and you can just blast the 3d frames to anywhere in physical memory
<mzabani> (sorry if this has been posted, I had a network problem) Guys, is there any way to fetch packages so that there is no need to download them every time I try to nixos-rebuild switch?
<clever> but the linux side drivers may couple things more
<clever> depending on implementation
sigmundv has quit [(Quit: Leaving)]
ambro718 has joined #nixos
iqubic has joined #nixos
<ambro718> How to install latex epstopdf command (to user environment)?
sigmundv has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/66aa2c5707 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
ma27 has quit [(Ping timeout: 248 seconds)]
tanonym has quit [(Quit: WeeChat 1.9.1)]
<infinisil> ambro718: nix-env -iA nixos.texlive.combined.full would do it, but maybe you could use minimal/small/basic/medium instead of full, which is pretty big
rtjure has joined #nixos
<infinisil> At least I believe this should work
<ambro718> medium did it, thanks
dbmikus has quit [(Ping timeout: 252 seconds)]
rtjure has quit [(Ping timeout: 255 seconds)]
infinisil has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
Wizek_ has quit [(Ping timeout: 258 seconds)]
infinisil has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
infinisil has quit [(Client Quit)]
infinisil has joined #nixos
rtjure has joined #nixos
<sphalerite> clever Dezgeg: that's neat
<clever> sphalerite: i have written my own raspberry pi driver, from scratch
<Dezgeg> depends on your definition of 'neat'
infinisil has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<clever> sphalerite: the 3d engine within the rpi
mahalel_ has quit [(Remote host closed the connection)]
<Dezgeg> from software (like X11, kmscon, low level stuff) point of view it's a nightmare
rtjure has quit [(Ping timeout: 240 seconds)]
mahalel_ has joined #nixos
infinisil has joined #nixos
<sphalerite> clever: that sounds like great fun
<sphalerite> Dezgeg: fair enough
sigmundv__ has joined #nixos
<clever> sphalerite: it was basicaly a 192 core processor, heavily geared towards running the same code in parallel on different datasets
pxc has quit [(Ping timeout: 255 seconds)]
goibhniu has quit [(Ping timeout: 248 seconds)]
<sphalerite> What did you actually do with it?
<clever> sphalerite: and it could also do add and multiply operations, in the same clock cycle, the opcode encodes 4 inputs, 2 outputs, and 2 operations (one each from the add, and mult sets)
rtjure has joined #nixos
Ivanych has quit [(Ping timeout: 252 seconds)]
<clever> sphalerite: https://imgur.com/a/uwc2b
<clever> sphalerite: top image is wowmapviewer running on my laptop, with normal linux video drivers
<clever> sphalerite: bottom image is wowmapviewer running on a raspberry pi, with my custom driver stack (and the background color adjusted so i could confirm the shadow rendering worked)
<clever> my opengl stack wasnt tied into xorg at all, so it just ran fullscreen from the console
<sphalerite> So basically for fast blitting?
<clever> in this mode, it was rendering 2d triangles with textures
<clever> each letter is 4 triangles, each pair forming a rect, to render the character twice, once in black, once in white, with an offset
<clever> which created the shadow
ambro718 has quit [(Quit: Konversation terminated!)]
<clever> i never got the 3d rendering side to work right
<clever> couldnt figure out the vertex shaders
<clever> also, blizzard was constantly breaking wowmapviewer by changing the way map files are formatted
<clever> and the old wowmapviewer devs had commited things like config.h that where generated by configure
<clever> so just changing the arch broke everything in the build
noam has quit [(Read error: Connection reset by peer)]
noam_ has joined #nixos
rtjure has quit [(Ping timeout: 264 seconds)]
<clever> sphalerite: this is how the text with shadows was done: https://github.com/cleverca22/wowmapviewer/blob/master/src/font.cpp#L109-L119
<clever> draw the character once with a 2 pixel offset on x&y in black, then draw it again in current-color
mzabani has quit [(Ping timeout: 260 seconds)]
noam_ has quit [(Read error: Connection reset by peer)]
noam_ has joined #nixos
<rodarmor> I could use some advice on packaging rust apps for nix. I'm packaging an app I wrote, and I've had to downgrade a few dependencies to match what's in the rustRegistry in nixos-unstable, since the versions that I had been using are newer than the last rustRegistry snapshot
<rodarmor> Is this normal? What is the normal release timeline for rustRegistry?
rtjure has joined #nixos
<rodarmor> Should I switch from packaging for nixos-unstable to packaging for master, so that I can get the latest rustRegistry snapshot?
<sphalerite> rodarmor: you can put a more up-to-date rustRegistry in yourself
<ghostyyy> how do i start tumbler in nixos?
<sphalerite> Unstable doesn't usually lag more than a day or so behind master so there's not much point and other stuff is more likely to break
<rodarmor> sphalerite: So every time I need a new version of the crates.io index, I can just put the new rev/hash into top-level/rust-packages.nix?
<rodarmor> Should I do it as part of the same PR/commit, or should I split them?
<rodarmor> Maybe same PR, but different commit?
<copumpkin> ghostyyy: tumblr on NixOS? http://nixcon2017.org/#program
* copumpkin hides
<rodarmor> (one commit for crates.io update, and one commit for actual update to package, but in the same pull request)
<ghostyyy> tumbler
<ghostyyy> :p
<ghostyyy> i want to see image thumbnails in pcmanfm
<sphalerite> rodarmor: yeah or you can just use an override and avoid changing nixpkgs at all
<ghostyyy> i have installed both tumbler and pcmanfm, but i dont see a services.tumbler.enable setting
<rodarmor> sphalerite: I thought I saw a scary message about overrides: "warning: custom registry support via the `registry.index` configuration is being removed, this functionality will not work in the future"
<sphalerite> rodarmor: but yeah I'm updating the registry would probably be accepted too
rtjure has quit [(Ping timeout: 255 seconds)]
<sphalerite> ghostyyy: just installing it should be enough. You may need to relog for it to take effect though
<sphalerite> It's a dbus service
<ghostyyy> ahhhh
<ghostyyy> thank you
<ghostyyy> ill try that
<gchristensen> copumpkin: hah!
<sphalerite> rodarmor: yeah it's a known issue and a better solution is in the works iiuc. I don't know that much about the rust packaging though
<rodarmor> sphalerite: There's one additional issue I can think of. New versions of the rust compiler introduce new language features, so if the rust registry is updated before the new version of the rust compiler is added to nixos, it could cause breakages in other packages
<rodarmor> Hmmm, or maybe not. If those other packages don't change, and they include a `Cargo.lock`, they won't automatically pull in new dependencies
dbmikus has joined #nixos
pxc has joined #nixos
<rodarmor> Why does computering have to be some complicated? >___<
<sphalerite> rodarmor: yep. But nixpkgs's rust support is generally fairly rudimentary and in flux still, there are only a few applications actually included and the current system isn't very scalable
<sphalerite> It will be better one day hopefully ;)
rtjure has joined #nixos
<sphalerite> I believe some of the Mozilla folk are working on it.
nixos1022 has quit [(Ping timeout: 255 seconds)]
<rodarmor> I'm pretty confident that it'll get better quickly. The mozilla-provided overlay is great, and it nix+rust are a match made in heaven
<ghostyyy> relogging did not work
<ben> cargo+nix feels kinda weird
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/vdjxW
<NixOS_GitHub> nixpkgs/master 6b1b848 Roman Kuznetsov: dotnet-sdk : init at 2.0.3
<NixOS_GitHub> nixpkgs/master 4bf2219 Daniel Peebles: Merge pull request #30750 from kuznero/pr/dotnet-sdk...
NixOS_GitHub has left #nixos []
<rodarmor> ben: I think there's a sort of natural tension between a system package manager and a language package manager
<rodarmor> Are there any OSes / languages w/ a package manager that integrate really well?
<ben> yeah, so it's unfortunate when the entire lang is built around its package manager
<ghostyyy> rodarmor, no
<ghostyyy> some are less unpleasant to use than others
<rodarmor> Just speaking as a user of rust though, the deep integration with cargo is amazing. I think it's a worth while trade off.
<ghostyyy> but in general the best way is for OS package manager to just not bother with language packages at all i think
rtjure has quit [(Ping timeout: 252 seconds)]
<copumpkin> do you consider Nix an OS package manager?
tempeh has joined #nixos
<ghostyyy> yes that is what i meant
<infinisil> rodarmor: I heard Go was integrating pretty well with nix since Go doesn't really do that much..
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #30780: add pythonPackages.root_numpy, bump python2Packages.rootpy (master...rootpy_1.0.1) https://git.io/vdjxr
NixOS_GitHub has left #nixos []
<ghostyyy> even though it does not have to be used as "the" OS package manager
<copumpkin> I think Nix's language package management is one of its key sellign points
<gchristensen> seconded
dieggsy has joined #nixos
<rodarmor> infinisil: My personal experience using Go is that the package management situation is just dismal, when you're a developer or deploying it in production. But it makes sense that it would be okay with nix, since it basically does nothing
fendor has quit [(Ping timeout: 246 seconds)]
<copumpkin> not having to worry about "oh I'm supposed to yum install openssl, oh or was that apt-get install openssl-dev, or was that emerge wtf, before I can pip install X"
<copumpkin> is such a delight
<ghostyyy> well, i have only been using nix(os)? for a few days, but ill be surprised if nix ends up being the one to get that right
<copumpkin> for example, in Nix I can have pythonPackages.psycopg2 depend directly on pkgs.postgresql.lib
<infinisil> Agreeed, just today I added an overlay to add a patch to a program, rebuild and boom, it's compiled and tested and 'installed'
<infinisil> no need to install anything manually
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nocoolnametom opened pull request #30781: rtv: 1.18.0 -> 1.19.0 (master...rtv-1.19.0) https://git.io/vdjxF
NixOS_GitHub has left #nixos []
<copumpkin> no need to worry about having the dozen "OS package managers" installing postgresql and differing in opinion about what "installing postgresql" means (whether it means creating a service and starting it)
<copumpkin> which is rarely what I want but that doesn't stop some from trying
<copumpkin> like all i'm trying to do is get postgres client libraries in my python app, I don't want to "install postgresql"
<copumpkin> :D
<infinisil> I think nix packages should be able to specify a systemd config in their definitions, with passthru or something
<infinisil> (as a sidenote)
<copumpkin> they sometimes do, but we usually do that with nixos modules
<copumpkin> but not always
<infinisil> yeah, but nixos modules for services are tied to their packages
<infinisil> it makes more sense imo to put them with their packages
Nobabs27 has quit [(Quit: Leaving)]
<infinisil> Which would also allow for other distros to use these service definitions
<copumpkin> yeah, I think once we get the modules to be less nixos-specific we'll have a stronger motivation to reoganize
<ghostyyy> copumpkin, is that really a property specific to nixos though? any package manager with language packages could depend on postgres-dev or whatever
<gchristensen> Nix is far more precise and correct
<ghostyyy> what i would be interested in is some kind of automatic way to transform between eg cabal files and nix expressions, so that you could automatically keep them up to date and consistent with each other
<gchristensen> it doesn't depend on "postgresl" but an exact postgresql
<gchristensen> like cabal2nix?
erictapen has quit [(Ping timeout: 240 seconds)]
<copumpkin> ghostyyy: 1) language packages are generally a lot easier here (because we factor out the common crap and then writing new language packages is trivial) 2) you don't have to worry about conflicts
erictapen has joined #nixos
rtjure has joined #nixos
<ghostyyy> gchristensen, whoa thats pretty cool
ylwghst-centos has joined #nixos
<copumpkin> nixpkgs is a versioning scheme for the FOSS universe :P
<copumpkin> doesn't have to be FOSS but mostly is right now
<ghostyyy> i actually decided to use nixos over guix because of its more lenient stance on nonfree software
<copumpkin> :)
<infinisil> I need to try out guix, they're one lanugage for what nix currently uses bash/nix sounds pretty neat
<infinisil> (ignore the english of that sentence)
<copumpkin> :P
<copumpkin> nix : bash :: haskell : IO
<copumpkin> I see it as a good thing :P
<copumpkin> not the bash
<copumpkin> but the separation
<gchristensen> same
rtjure has quit [(Ping timeout: 240 seconds)]
<copumpkin> the bash isn't really fundamental, that's a nixpkgs choice
<infinisil> Yeah, but it would be hella hard to get bash outta there
<copumpkin> getting it out of nixpkgs sure
<infinisil> and nothing good to replace it
<infinisil> (convince me of the opposite please)
<copumpkin> you could trivially be slinging around giant strings full o' python or ocaml in mkDerivation if you wanted to
<copumpkin> bash just happens to be convenient for doing the sorts of things we like doing in builds
<gchristensen> and it turns out a job control language is good for job control
<copumpkin> like if it were python, we'd be throwing subprocess.check_output all over the place
<copumpkin> and that's gross too
<copumpkin> on the plus side, we could hide that away in a library and avoid doing it much of the time
<copumpkin> but it's sort of a "smoothness of deviation from the norm" type argument
<infinisil> If we could use libraries for stuff we use bash today, oh boy
<copumpkin> we have bash libraries today ;)
<copumpkin> substituteInPlace!!
<infinisil> Just have a look how terrible the setup hooks are (imo)
SovereignBleak has quit [(Quit: Connection closed for inactivity)]
<copumpkin> yeah they're a bit too magical
<samueldr> there's nothing using CEF in nixpkgs right now, right?
<copumpkin> but anyway, starting a nixpkgs-v2 from scratch using packages from nixpkgs but writing package build specs in any language you want should be pretty easy
<copumpkin> and nice experiments for figuring out nicer models of setup hooks and the like
<infinisil> "Oh you declared dontFixCMake? Well too bad, it's called dontFixCmake, I won't let you know though, because that's just an env var"
rtjure has joined #nixos
<infinisil> How about using the module system for mkDerivation
<infinisil> options = { buildPhase = mkOption { type = types.lines; }; }
<copumpkin> there are places I've wanted versions of that
markus1189 has joined #nixos
<copumpkin> especially around linux kernel config
<infinisil> The module system is applicable to so much more than just nixos
<copumpkin> yeah I've used it in a bunch of other places
<infinisil> The magic of a moeb :D
asdfoiawe has quit [(Ping timeout: 246 seconds)]
<copumpkin> loeb?
<infinisil> I'm still amazed that loeb and moeb (see https://github.com/quchen/articles/blob/master/loeb-moeb.md) have found a really good use in nixpkgs
<infinisil> Great article
dieggsy has quit [(Quit: ERC (IRC client for Emacs 27.0.50))]
<copumpkin> oh, hadn't come across moeb
<infinisil> It's rather simple: `moeb :: (((a -> b) -> b) -> c -> a) -> c -> a`
<copumpkin> isn't moeb callCCish?
<copumpkin> if you factor out the x at the end there
ison111 has quit [(Quit: WeeChat 1.7.1)]
<copumpkin> I guess you can't
dieggsy has joined #nixos
markus1199 has quit [(Ping timeout: 260 seconds)]
<infinisil> Is the module system a loeb or only a moeb though?
rtjure has quit [(Ping timeout: 258 seconds)]
dieggsy has quit [(Remote host closed the connection)]
<infinisil> I'm not sure myself
dieggsy has joined #nixos
erasmas has quit [(Quit: leaving)]
<copumpkin> it's not a very clearly defined fixed point :)
nh2 has quit [(Quit: Leaving.)]
<copumpkin> if you had loeb over some functor, it's probably that
<infinisil> Yeah probably
ylwghst-centos has quit [(Quit: Lost terminal)]
rtjure has joined #nixos
<ghostyyy> so, does anyone have any more info on how to get thumbnailing working with pcmanfm?
<ghostyyy> without a desktop environment or whatever (i just use awesome wm)
<ghostyyy> i have installed tumbler and logged out/in again
<ghostyyy> and no dice
rtjure has quit [(Ping timeout: 255 seconds)]
nixos1022 has joined #nixos
ison111 has joined #nixos
rtjure has joined #nixos
rtjure has quit [(Ping timeout: 240 seconds)]
acarrico has joined #nixos