nithor has quit [Ping timeout: 252 seconds]
spietz has quit [Ping timeout: 250 seconds]
sigmundv has quit [Ping timeout: 240 seconds]
mizu_no_oto has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
m0rphism has joined #nixos
<bgamari> is it possible to convince nix *not* to try sourcing a derivation's outPath despite it being a file?
knupfer has quit [Ping timeout: 248 seconds]
truh has quit [Ping timeout: 268 seconds]
nithor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdorman opened pull request #33361: Semi-automated Emacs package updates (master...emacs-updates) https://git.io/vbh52
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master cb8349f John Ericson: Merge branch 'pharo' into ericson2314-cross-base
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 0e3be42 John Ericson: Merge pull request #33357 from bnikolic/mingw64-pthreads...
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 3 new commits to master: https://git.io/vbh5w
<NixOS_GitHub> nixpkgs/master db475df Bojan Nikolic: mingw-w64-pthreads: The C compiler is needed...
k0001 has quit [Ping timeout: 240 seconds]
baylinz has joined #nixos
m0rphism has quit [Quit: WeeChat 1.9.1]
johnw has joined #nixos
rogue_koder_ has joined #nixos
sigmundv__ has joined #nixos
rogue_koder has quit [Ping timeout: 265 seconds]
willprice has quit [Ping timeout: 248 seconds]
willprice94 has quit [Ping timeout: 276 seconds]
erasmas has quit [Quit: leaving]
stepcut has joined #nixos
cinimod has quit [Quit: Connection closed for inactivity]
sigmundv has joined #nixos
sigmundv__ has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 1e129a3 Tim Steinbach: linux: 4.14.10 -> 4.14.11
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 4 new commits to master: https://git.io/vbhFX
<NixOS_GitHub> nixpkgs/master 1eb53a3 Tim Steinbach: linux: 4.4.108 -> 4.4.109
<NixOS_GitHub> nixpkgs/master 56f91dc Tim Steinbach: linux: 4.9.73 -> 4.9.74
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vbhFy
<NixOS_GitHub> nixpkgs/release-17.09 31dfb58 Tim Steinbach: linux: 4.9.73 -> 4.9.74...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vbhF9
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 dd396ef Tim Steinbach: linux: 4.14.10 -> 4.14.11...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 0b30c1d Tim Steinbach: linux-copperhead: 4.14.10.a -> 4.14.11.a...
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vbhFH
NixOS_GitHub has left #nixos [#nixos]
hellrazor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master f3bb3de John Ericson: Merge pull request #33359 from bnikolic/boostnumpy...
<NixOS_GitHub> nixpkgs/master 00b038a Bojan Nikolic: boost: Do not force numpy support from 1.65...
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 2 new commits to master: https://git.io/vbhbk
NixOS_GitHub has left #nixos [#nixos]
otherjrolfs has joined #nixos
spietz has joined #nixos
jrolfs_ has joined #nixos
m0rphism has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
k0001 has joined #nixos
<Ankhers> gleber_: Not a problem!
spietz has quit [Quit: WeeChat 1.9.1]
baylinz has quit [Ping timeout: 240 seconds]
dywedir has quit [Ping timeout: 272 seconds]
spietz has joined #nixos
spietz has quit [Client Quit]
spietz has joined #nixos
nithor has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
ssmike has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master d831604 Orivej Desh: python.pkgs.evdev: move to python-modules
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vbhAt
<NixOS_GitHub> nixpkgs/master 2a85919 Orivej Desh: python.pkgs.evdev: 0.6.4 -> 0.7.0
NixOS_GitHub has left #nixos [#nixos]
stepcut has quit [Remote host closed the connection]
jb55 has quit [Ping timeout: 268 seconds]
nithor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #33361: Semi-automated Emacs package updates (master...emacs-updates) https://git.io/vbh52
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #33354: deepin-gtk-theme: 17.10.4 -> 17.10.5 (master...upd.deepin-gtk-theme) https://git.io/vbhil
NixOS_GitHub has left #nixos [#nixos]
<andromeda-galaxy> Is there an easy way to use the output of some command inside a lbi.writeTextFile or similar?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #33336: lxterminal: use nativeBuildInputs for compile-time-only deps (master...fix/lxterminal-nativebuildinputs) https://git.io/vbhI1
NixOS_GitHub has left #nixos [#nixos]
sary has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #33229: dkimproxy-out module: initialize (master...dkimproxy-out) https://git.io/vbAuk
NixOS_GitHub has left #nixos [#nixos]
sary has joined #nixos
sigmundv has quit [Remote host closed the connection]
jrolfs_ has quit [Ping timeout: 248 seconds]
otherjrolfs has quit [Ping timeout: 248 seconds]
rotsor3 has joined #nixos
sigmundv has joined #nixos
ma27 has quit [Ping timeout: 252 seconds]
thc202 has quit [Ping timeout: 265 seconds]
nithor has quit [Ping timeout: 272 seconds]
sigmundv has quit [Ping timeout: 240 seconds]
nithor has joined #nixos
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sigmundv has joined #nixos
pjan_ has joined #nixos
<petersjt014[m]> On [this](https://nixos.wiki/wiki/NixOS_on_ARM) page, do I want to be using sdb or sdb1?
jrolfs_ has quit [Ping timeout: 272 seconds]
hellrazo1 has joined #nixos
otherjrolfs has quit [Ping timeout: 272 seconds]
<clever> petersjt014[m]: sdb i believe, the image already contains partition tables
hellrazor has quit [Ping timeout: 264 seconds]
markus1189 has joined #nixos
<petersjt014[m]> cool, thanks
<samueldr> clever is right, the image is to be written on the entire block device
phreedom has quit [Ping timeout: 240 seconds]
markus1199 has quit [Ping timeout: 248 seconds]
nithor has quit [Ping timeout: 265 seconds]
sigmundv has quit [Ping timeout: 260 seconds]
iqubic has joined #nixos
<iqubic> Does NixOS have a Discord package?
<iqubic> I want to use the discord messaging and chat program on NixOS
k0001 has quit [Ping timeout: 240 seconds]
jrolfs_ has joined #nixos
<samueldr> it is unfree
<MP2E> yes, I've updated it for the past few months. Works perfectly. It'll complain at the top saying "It looks like your Discord installation is corrupt" but that is an upstream bug that can be safely ignored
<iqubic> Cool. Thanks for that info
<MP2E> Not really sure how to workaround it other than pressing CTRL+Shift+I, isolating the element, and deleting it, but all that does is make the message go away
rotsor3 has quit [Ping timeout: 260 seconds]
<iqubic> By upstream bug do you mean a bug in the Discord code? And not a bug in the way NixOS compiles it?
nithor has joined #nixos
<MP2E> upstream discord binary specifically, yeah. There isn't source code available, so we use patchelf and a wrapper
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
<MP2E> but even on ubuntu which it is built for, it has this message for whatever reason
<MP2E> bleh whatever, there's worse bugs. Like the fact that it uses 2 standard C++ libraries
<iqubic> How is that a bug?
<MP2E> well that's not a bug but it certainly doesn't seem desired
<iqubic> How does one manually update their system?
<iqubic> How do you write C++ code without C++ libraries?
<MP2E> they just need to be consistent, not do without it
<MP2E> why use libc++ and libstdc++
<MP2E> just pick one
<iqubic> I can't figure out the command for updating my NixOS system.
dieggsy has joined #nixos
jrolfs_ has quit [Ping timeout: 252 seconds]
<iqubic> nixos-rebuild switch --upgrade
nithor has quit [Ping timeout: 252 seconds]
iqubic has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
iqubic has joined #nixos
iqubic has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
iqubic has joined #nixos
<iqubic> clearly adding discord to my systemPackages list in configuration.nix and rebuilding didn't actually install discord.
<iqubic> How do I get this to work now?
<clever> iqubic: how did you check to see if discord was installed?
jb55 has joined #nixos
<iqubic> I tried to run it from my WM
<clever> iqubic: the binary is called Discord
<clever> they had to be special :P
<iqubic> Oh, that's a thing.
<iqubic> Why did they have to throw me off with a random capital letter?
pkill9 has quit [Quit: WeeChat 2.0]
<petersjt014[m]> Is there anything obvious that would make dd run slow on mingw64? I'm writing an image and it's capping at around 170kb/s
<iqubic> How do I get rid of the message that my installation is corrupt?
<clever> petersjt014[m]: did you set the block size?
<petersjt014[m]> I copied verbatim from [here](https://nixos.wiki/wiki/NixOS_on_ARM#Installation), so no then
yegortimoshenko has joined #nixos
<iqubic> How do I remove the message in Discord that my installation is corrupt?
<clever> petersjt014[m]: the default of 1 is incredibly hard on the cpu, try bs=512
<clever> iqubic: 2018-01-02 22:23:23 < MP2E> Not really sure how to workaround it other than pressing CTRL+Shift+I, isolating the element, and deleting it, but all that does is make the message go away
<samueldr> for windows, you may also try https://sourceforge.net/projects/usbwriter/
<yegortimoshenko> iqubic: i'd open an issue
<MP2E> ctrl+shift+I, then use your mouse to click through the hierarchy of elements in the dev console, and note which highlights *just* the error message, then right click and select 'delete element'
<samueldr> not entirely sure it will work with the sd image, but it *should*, because it basically does what dd does
yegortimoshenko has left #nixos [#nixos]
<iqubic> Not sure how to find the hierarchy of elements.
Supersonic112 has quit [Disconnected by services]
<MP2E> it's the code on the right. If you click the arrows it shows the body of the element
* petersjt014[m] uploaded an image: image.png (27KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/CCPGCcfNimDUoVZsxuAJAfha>
<petersjt014[m]> stopping dd before it's done is...
<MP2E> and then you need the body of that element and so on
<petersjt014[m]> ..neat.
<MP2E> it's basically literally editing the HTML to remove the message
<samueldr> petersjt014[m]: that's art :)
<clever> petersjt014[m]: lol
<clever> petersjt014[m]: the directory entries are pointing into un-initialized data
<iqubic> MP2E: I think someone should submit a bug about this.
Supersonic112_ has joined #nixos
nithor has joined #nixos
<petersjt014[m]> explorer just gives up when trying to delete
Supersonic112_ is now known as Supersonic112
<MP2E> think there is a bug open about it, but I can't confirm that because apparently they shut down the public bug tracker
<MP2E> and want emails now for bugs :v
<MP2E> great
<clever> petersjt014[m]: dont even bother, dd will overwrite it all anyways
<MP2E> not to mention they never fixed the bugs reported ages ago anyway
<MP2E> it's clear they don't really care about the linux client at all
<petersjt014[m]> ah
<petersjt014[m]> also:
<petersjt014[m]> p
<iqubic> MP2E: I can't find the right bit of HTML to remove.
* petersjt014[m] uploaded an image: image.png (9KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/VHzZDgXxXSFGeYQaNQdroQTJ>
<petersjt014[m]> just p
<iqubic> Also, the Linux Client is only a year or two old IIRC
<iqubic> I think it's a single year.
<MP2E> yeah and it's only regressed. In the beginning it was pretty good, now you need pulseaudio or any voice chat pins your CPU to 100% and most likely causes crazy ping times
<MP2E> then you've got the stupid 2 C++ standard library thing
<MP2E> and then the error message
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<MP2E> i just kinda throw my hands up at this point
<iqubic> Yeah, I would too, except all my coding buddies use discord as their primary way of communicating.
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
<iqubic> I can't seem to remove this error message, because I can't find the right piece of html to remove.
<clever> iqubic: you just click on it with the inspector tool
<MP2E> nice, didn't know that
<iqubic> Where is that?
<clever> iqubic: did you hit ctrl+shift+i ?
<iqubic> I did.
<clever> iqubic: and there is a button in the top left, that says select an element
nithor has quit [Ping timeout: 272 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/0b30c1dd4c6 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
iqubic has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
jrolfs_ has quit [Ping timeout: 260 seconds]
otherjrolfs has quit [Ping timeout: 248 seconds]
nithor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #33364: sc-controller: init at 0.4.0.1 (master...sc-controller) https://git.io/vbjea
NixOS_GitHub has left #nixos [#nixos]
nithor has quit [Ping timeout: 240 seconds]
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f3bb3de2136 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
jrolfs_ has quit [Ping timeout: 248 seconds]
otherjrolfs has quit [Ping timeout: 264 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] elitak opened pull request #33365: betaflight: init at 3.2.3 (master...betaflight) https://git.io/vbjvm
NixOS_GitHub has left #nixos [#nixos]
<samueldr> hmm, how can I make sure nix-build will use another machine to build stuff?
nithor has joined #nixos
<samueldr> I'm trying to do it according to Chapter 16, https://gist.github.com/samueldr/f037de5a247265ed10920d8ed9763ded
<samueldr> I'd expect at least if there was a mistake with anything to have an error message, but there's absolutely nothing
<samueldr> build continues locally
<dhess> set nix.maxJobs = 0;
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
domini has quit [Remote host closed the connection]
jrolfs_ has joined #nixos
jrolfs_ has quit [Ping timeout: 272 seconds]
MP2E has quit [Remote host closed the connection]
Krennic has joined #nixos
Krennic has left #nixos ["WeeChat 2.0.1"]
Krennic has joined #nixos
Krennic has left #nixos ["WeeChat 2.0.1"]
phdoerfler has quit [Quit: Leaving.]
mizu_no_oto has joined #nixos
nuncanada has quit [Read error: Connection reset by peer]
hotfuzz_ has quit [Ping timeout: 248 seconds]
<jeaye> j/go progr
jrolfs_ has joined #nixos
jrolfs_ has quit [Ping timeout: 264 seconds]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
Fannar has joined #nixos
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
Fannar has quit [Quit: leaving]
jrolfs_ has quit [Ping timeout: 248 seconds]
otherjrolfs has quit [Ping timeout: 264 seconds]
dieggsy has quit [Ping timeout: 256 seconds]
Fannar has joined #nixos
verite has joined #nixos
jrolfs_ has joined #nixos
jrolfs_ has quit [Ping timeout: 264 seconds]
mizu_no_oto has joined #nixos
<infinisil> samueldr: I just set the nix.distributedBuilds and nix.buildMachines options
jb55 has quit [Ping timeout: 256 seconds]
jrolfs_ has joined #nixos
drakonis has quit [Remote host closed the connection]
otherjrolfs has joined #nixos
pie_ has quit [Ping timeout: 248 seconds]
<samueldr> oh, I'll check that, I'm left with a rebuild anyway to do, which may be going for another 3 hours
drakonis has joined #nixos
<infinisil> samueldr: what's taking so long :O
<samueldr> everything
<samueldr> armv7l kernel build
<infinisil> i see
justanotheruser has joined #nixos
<samueldr> (this one works and is distributed through --build-host of nixos-rebuild)
<infinisil> man, i couldn't imagine using another distro and having to compile stuff manually if you want some patches or so
* samueldr shudders
drakonis has quit [Read error: Connection reset by peer]
pjan_ has joined #nixos
<samueldr> I think all of us are being spoiled
d6e has quit [Quit: WeeChat 1.9.1]
<infinisil> Heh kinda
otherjrolfs has quit [Ping timeout: 248 seconds]
jrolfs_ has quit [Ping timeout: 248 seconds]
proteus-guy has quit [Remote host closed the connection]
klntsky has quit [Ping timeout: 272 seconds]
klntsky has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] bhipple opened pull request #1773: Fix RPM builds by increasing VM memory size (master...fix-hydra-rpm-builds) https://git.io/vbjTJ
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] bhipple closed pull request #1769: Help? Working on Hydra release builds for master x64 Deb/RPM (master...fixing-hydra-builds) https://git.io/vbNi9
NixOS_GitHub has left #nixos [#nixos]
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
schoppenhauer has quit [Ping timeout: 272 seconds]
schoppenhauer has joined #nixos
jrolfs_ has quit [Ping timeout: 248 seconds]
otherjrolfs has quit [Ping timeout: 264 seconds]
hals has quit [Ping timeout: 248 seconds]
huva has quit [Ping timeout: 268 seconds]
asuryawanshi has joined #nixos
c0ffee152 has quit [Quit: Lost terminal]
jb55 has joined #nixos
asuryawanshi has quit [Ping timeout: 272 seconds]
rogue_koder_ has quit [Remote host closed the connection]
rogue_koder_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mogorman opened pull request #33367: platformio: 3.4.1 -> 3.5.0c (master...platformio-3.5.0) https://git.io/vbjTM
NixOS_GitHub has left #nixos [#nixos]
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
rogue_koder_ has quit [Remote host closed the connection]
rogue_koder_ has joined #nixos
<mog> i love how easy it is to package stuff for nixos
otherjrolfs has quit [Ping timeout: 260 seconds]
jrolfs_ has quit [Ping timeout: 260 seconds]
rogue_koder_ has quit [Remote host closed the connection]
endformationage has quit [Quit: WeeChat 1.9.1]
Mateon3 has joined #nixos
rogue_koder_ has joined #nixos
MP2E has joined #nixos
Mateon3 is now known as Mateon2
Mateon1 has quit [Ping timeout: 272 seconds]
Mateon2 is now known as Mateon1
aarvar has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
oahong has quit [Quit: ZNC 1.6.5 - http://znc.in]
<kini> why are the notification emails from hydra.nixos.org so delayed? I just got a build failure notification from a build that was run two and a half weeks ago (with four successful builds after it on the same job)
ebzzry has quit [Ping timeout: 260 seconds]
ee1943 has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #33300: Postgresql security updates (master...postgresql) https://git.io/vbpv1
NixOS_GitHub has left #nixos [#nixos]
ee1943 has joined #nixos
ee1943 has quit [Remote host closed the connection]
ee1943 has joined #nixos
MP2E has quit [Remote host closed the connection]
<jtojnar> fpletz: any progress on the pinentry?
asuryawanshi has joined #nixos
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
<fpletz> jtojnar: ah, yes, let me recover that branch. didn't have the time to finish it
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
jrolfs_ has quit [Ping timeout: 252 seconds]
otherjrolfs has quit [Ping timeout: 272 seconds]
asuryawanshi has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #33368: haskell generic-builder: Fix Depedendencies (master...haskell-fix-deps) https://git.io/vbjLe
NixOS_GitHub has left #nixos [#nixos]
asuryawanshi has joined #nixos
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
sary has quit [Ping timeout: 248 seconds]
ee1943 has quit [Remote host closed the connection]
ee1943 has joined #nixos
asuryawanshi has quit [Ping timeout: 264 seconds]
sary has joined #nixos
otherjrolfs has quit [Ping timeout: 264 seconds]
jrolfs_ has quit [Ping timeout: 265 seconds]
ee1943 has quit [Remote host closed the connection]
ee1943 has joined #nixos
<gspia> Hey! anybody knows if there has been lately any changes to how callCabal2nix should be used? It seems like suddenly it doesn't recognize the local path of a local package, thus giving NoHackageTarball found. (This worked about 2-3 weeks ago.)
verite has quit [Ping timeout: 240 seconds]
Itkovian has joined #nixos
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
asuryawanshi has joined #nixos
sary has quit [Ping timeout: 264 seconds]
jrolfs_ has quit [Ping timeout: 272 seconds]
otherjrolfs has quit [Ping timeout: 260 seconds]
sary has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
sary has quit [Ping timeout: 248 seconds]
guest787 has quit [Ping timeout: 260 seconds]
sary has joined #nixos
oahong has joined #nixos
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
sary has quit [Ping timeout: 248 seconds]
vincent_vdk has joined #nixos
Fannar has quit [Quit: Lost terminal]
jrolfs_ has quit [Ping timeout: 268 seconds]
otherjrolfs has quit [Ping timeout: 268 seconds]
Itkovian_ has joined #nixos
Itkovian_ has quit [Read error: Connection reset by peer]
hals has joined #nixos
huva has joined #nixos
Itkovian has quit [Ping timeout: 260 seconds]
jb55 has quit [Ping timeout: 252 seconds]
asuryawanshi has joined #nixos
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
_rvl has quit [Quit: ZNC 1.6.5 - http://znc.in]
_rvl has joined #nixos
sary has joined #nixos
jrolfs_ has quit [Ping timeout: 248 seconds]
otherjrolfs has quit [Ping timeout: 240 seconds]
huva has quit [Remote host closed the connection]
loke has left #nixos ["ERC (IRC client for Emacs 25.2.1)"]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
atrx has joined #nixos
Itkovian has joined #nixos
jrolfs_ has joined #nixos
Tucky has joined #nixos
schoppenhauer has quit [Ping timeout: 248 seconds]
jrolfs_ has quit [Ping timeout: 252 seconds]
oahong has quit [Quit: 暂离]
atrx has quit [Quit: Leaving]
coot_ has joined #nixos
atrx has joined #nixos
atrx_ has joined #nixos
oahong has joined #nixos
atrx has quit [Remote host closed the connection]
atrx_ has quit [Remote host closed the connection]
atrx has joined #nixos
atrx has quit [Remote host closed the connection]
atrx has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
otherjrolfs has joined #nixos
atrx_ has joined #nixos
zzamboni has joined #nixos
otherjrolfs has quit [Ping timeout: 248 seconds]
atrx has quit [Ping timeout: 248 seconds]
ech042 has joined #nixos
asuryawanshi has joined #nixos
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
jrolfs_ has quit [Ping timeout: 255 seconds]
otherjrolfs has quit [Ping timeout: 256 seconds]
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asuryawanshi has joined #nixos
zzamboni has quit [Quit: Leaving.]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
a_lebedev has joined #nixos
rogue_koder_ has quit [Quit: Konversation terminated!]
<a_lebedev> Hi! Who knows how to create apparmor profile for Google Earth in nixos?
thc202 has joined #nixos
spietz has quit [Ping timeout: 248 seconds]
jrolfs_ has quit [Ping timeout: 260 seconds]
otherjrolfs has quit [Ping timeout: 248 seconds]
atrx_ has quit [Quit: Leaving]
dan_b has joined #nixos
jrolfs_ has joined #nixos
goibhniu has joined #nixos
nico202 has joined #nixos
goibhniu has quit [Remote host closed the connection]
jrolfs_ has quit [Ping timeout: 240 seconds]
goibhniu has joined #nixos
atrx has joined #nixos
asuryawanshi has quit [Ping timeout: 260 seconds]
<vaibhavsagar> how do I install apt-get to a FHSUserEnv?
coot_ has quit [Quit: coot_]
m0rphism has quit [Quit: WeeChat 1.9.1]
pkill9 has joined #nixos
marcinkuzminski_ has quit [Changing host]
marcinkuzminski_ has joined #nixos
marcinkuzminski_ is now known as marcinkuzminski
otherjrolfs has joined #nixos
dywedir has joined #nixos
sary has quit [Remote host closed the connection]
sary has joined #nixos
asuryawanshi has joined #nixos
otherjrolfs has quit [Ping timeout: 260 seconds]
coot_ has joined #nixos
spietz has joined #nixos
schoppenhauer has joined #nixos
jrolfs_ has joined #nixos
jrolfs_ has quit [Ping timeout: 250 seconds]
coot_ has quit [Ping timeout: 264 seconds]
coot_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33364: sc-controller: init at 0.4.0.1 (master...sc-controller) https://git.io/vbjea
NixOS_GitHub has left #nixos [#nixos]
zzamboni has joined #nixos
a_lebedev_ has joined #nixos
a_lebedev_ has quit [Client Quit]
sary has quit [Ping timeout: 260 seconds]
ma27 has joined #nixos
otherjrolfs has joined #nixos
betaboon has joined #nixos
pjan_ has joined #nixos
otherjrolfs has quit [Ping timeout: 264 seconds]
NickRubat has joined #nixos
<NickRubat> hi
<NickRubat> i from italy
atrx has quit [Ping timeout: 265 seconds]
betaboon has quit [Client Quit]
sary has joined #nixos
NickRubat has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master ef3a586 Jan Tojnar: gmtk: init 1.0.9
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vbjWr
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 608daaa Jan Tojnar: gnome_mplayer: 1.0.4 → 1.0.9
<NixOS_GitHub> nixpkgs/master f2fd4a5 Jörg Thalheim: Merge pull request #33314 from jtojnar/gnome-mplayer...
i-am-the-slime has joined #nixos
a_lebedev has quit [Ping timeout: 264 seconds]
willprice94 has joined #nixos
willprice has joined #nixos
a_lebedev has joined #nixos
asuryawanshi has quit [Ping timeout: 248 seconds]
zugzug has joined #nixos
zugzug has quit [Changing host]
zugzug has joined #nixos
i-am-the-slime has quit [Ping timeout: 260 seconds]
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #33370: nixos/redis: remove static uid/gid assignment (master...redis) https://git.io/vbjlx
NixOS_GitHub has left #nixos [#nixos]
jrolfs_ has joined #nixos
i-am-the-slime has joined #nixos
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
jrolfs_ has quit [Ping timeout: 240 seconds]
<zugzug> question - on macosx 10.11.3 `nix-env -i python3.6-tkinter-3.6.3` gives me the following error: `mv: missing destination file operand after '/nix/store/xzfgmgyr44arli7yax4nv6h1mpqllaf8-python3.6-tkinter-3.6.3/lib/python3.6/site-packages/'
<zugzug> `
jrolfs_ has joined #nixos
zzamboni1 has joined #nixos
<zugzug> I've googled far and wide and feel stuck... would appreciate pointers or to learn from anyone who has installed python3 w/ tkinter support successfully via `nix-env`
sigmundv has joined #nixos
nico202 has quit [Ping timeout: 256 seconds]
zzamboni has quit [Ping timeout: 250 seconds]
jrolfs_ has quit [Ping timeout: 264 seconds]
goibhniu has quit [Remote host closed the connection]
goibhniu has joined #nixos
willprice has quit [Remote host closed the connection]
willprice94 has quit [Remote host closed the connection]
pjan_ has joined #nixos
pjan_ has quit [Client Quit]
i-am-the-slime has quit [Ping timeout: 240 seconds]
sigmundv__ has joined #nixos
ssmike has joined #nixos
sigmundv has quit [Ping timeout: 252 seconds]
nico202 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 7 new commits to master: https://git.io/vbjBq
<NixOS_GitHub> nixpkgs/master e399346 John Ericson: Merge commit 'db475df127f8c82853181c46501c142ff020c3d8' into ericson2314-cross-base
<NixOS_GitHub> nixpkgs/master a224dfc John Ericson: haskell infra: Fix cross as much as possible without changing hashes
<NixOS_GitHub> nixpkgs/master a5cc983 John Ericson: ghc: Clean up, and add `passthru.targetPrefix`, in preparation for cross...
NixOS_GitHub has left #nixos [#nixos]
michaelpj_ has joined #nixos
michaelpj_ has quit [Remote host closed the connection]
jrolfs_ has joined #nixos
michaelpj_ has joined #nixos
jrolfs_ has quit [Ping timeout: 255 seconds]
nico202 has quit [Ping timeout: 240 seconds]
i-am-the-slime has joined #nixos
coot_ has quit [Quit: coot_]
jluttine has quit [Quit: WeeChat 1.9.1]
jluttine has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #33371: Flatpak (master...flatpak) https://git.io/vbjRz
NixOS_GitHub has left #nixos [#nixos]
iyzsong has joined #nixos
freusque has joined #nixos
i-am-the-slime has quit [Ping timeout: 248 seconds]
nico202 has joined #nixos
i-am-the-slime has joined #nixos
a_lebedev has quit [Quit: leaving]
<nico202> can anybody help in setting up nginx+acme on multiple virtualhosts?
sigmundv__ has quit [Ping timeout: 248 seconds]
<nico202> I can access the host under ssl but I get the wrong certificate: it's serving me the root cert instead of the virtual host one, having enableACME=true. With systemctl I can see that the certificate has already been obtained and it's under /var/lib/acme/sub.host.exp/{full,key,fullchain}.pem
simukis has joined #nixos
<nico202> but the nginx.conf does not include the cert path
sigmundv__ has joined #nixos
nico202 has quit [Remote host closed the connection]
nico202 has joined #nixos
phdoerfler has joined #nixos
michaelpj has quit [Quit: ZNC 1.6.5 - http://znc.in]
michaelpj has joined #nixos
<jtojnar> nico202: just `enableACME = true;` and `forceSSL = true;` works for me
m0rphism has joined #nixos
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
<nico202> jtojnar: I've done it, does it work for every virtual host for you?
<jtojnar> nico202: yes
<jtojnar> what nixos channel are you using? there were some changes recently
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #33372: nixos/memcached: make unix sockets usuable (master...memcache) https://git.io/vbju5
NixOS_GitHub has left #nixos [#nixos]
<nico202> jtojnar: unstable, 18.03pre124015
jrolfs_ has quit [Ping timeout: 240 seconds]
<jtojnar> that should be fine
otherjrolfs has quit [Ping timeout: 248 seconds]
<jtojnar> could you share the nginx part of the config?
<nico202> jtojnar: oh, you were right. I had to "forceSSL" it
<nico202> jtonjar: I wanted to be able to run it unencrypted too, but that's fine
<nico202> jtonjar: thanks :)
__Sander__ has joined #nixos
<lassulus> nico202: you can change forceSSL to addSSL to allow also unencrypted connections
dywedir has quit [Remote host closed the connection]
k0001 has joined #nixos
<jtojnar> yes, I think one of addSSL, onlySSL, or forceSSL is required
<nico202> lassulus: thanks, I'll annotate it. But wouldn't be logical to add "addSSL" automatically with "enableACME"? or is there a case in which one want to enable acme without enabling ssl?
<lassulus> if you want to use the certificate just for other services, like email or jabber
<nico202> lassulus: ok makes sense. Is there any documentation on it? I googled a bit but wasn't able to find it
<lassulus> I got my information from the option description (and also reading the source). But extending the manual is also appreciated :)
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/abcb639df16 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
<i-am-the-slime> I'm confused
<i-am-the-slime> error: attribute ‘ghc822’ in selection path ‘nixos.haskell.compiler.ghc822’ not found
<__Sander__> is there anyone out there who has been working on gradle integration with nix?
<i-am-the-slime> But nix-env -i ghc installs that version.
<lassulus> i-am-the-slime: what are you trying to do?
<i-am-the-slime> I am trying to do stack setup of a hello world app.
<i-am-the-slime> error: attribute ‘ghc822’ missing, at (string):1:43
<i-am-the-slime> Is what it outputs.
<i-am-the-slime> So I thought I need to install this
<srhb> i-am-the-slime: Do you have more than one profile available?
<srhb> Er, channel
<i-am-the-slime> I think so, yes
<i-am-the-slime> I have nixos and nixpkgs.
<i-am-the-slime> I'm also confused about this.
<srhb> i-am-the-slime: You probably don't have it in the nixos channel but in some other one
<i-am-the-slime> nix-env -iA nixpkgs.haskell.compiler.ghc822
<i-am-the-slime> That worked.
<i-am-the-slime> Thank you!
<i-am-the-slime> I should read better.
<i-am-the-slime> Oh but still the same error.
<i-am-the-slime> Maybe it's just a matter of a symlink or something.
<srhb> i-am-the-slime: What error, sorry?
otherjrolfs has joined #nixos
<i-am-the-slime> error: attribute ‘ghc822’ missing, at (string):1:43
<i-am-the-slime> no
<i-am-the-slime> damn copy and paste
<i-am-the-slime> Oh actually, yes
<i-am-the-slime> That one
<i-am-the-slime> After a stack setup
<srhb> i-am-the-slime: So I guess stack is trying to actually use the nixos channel?
<srhb> i-am-the-slime: Presumably because it's using whatever channel is in your NIX_PATH
<infinisil> i-am-the-slime: Can you paste the output of running nix-info here? And also pastebin the relevant files?
<srhb> i-am-the-slime: Adjust to the path of your nixpkgs channel.
<srhb> (the stack.yml bit)
otherjrolfs has quit [Ping timeout: 268 seconds]
<srhb> Note that I've never actually gotten stack to work well with NIx, but this at least should work.
asdfoiawe has joined #nixos
betaboon has joined #nixos
nico202 has quit [Ping timeout: 268 seconds]
i-am-the-slime has quit [Ping timeout: 272 seconds]
mystfox has quit [Quit: Connection closed for inactivity]
pukkamustard has joined #nixos
pukkamustard has quit [Client Quit]
pukkamustard has joined #nixos
pjan_ has joined #nixos
<schoppenhauer> Hi. I've installed python2.7-setuptools-36.4.0, but when running "import setuptools" in python, it fails and can't find the package. So I cannot pip install a dependency I have, because it wants setuptools to be installed.
pukkamustard has quit [Client Quit]
ssmike1 has joined #nixos
asdfoiawe has quit [Ping timeout: 246 seconds]
ssmike has quit [Ping timeout: 255 seconds]
ssmike1 is now known as ssmike
<srhb> schoppenhauer: This is not normally how you'd get dependencies for development.
<schoppenhauer> srhb: aha?
knupfer has joined #nixos
<schoppenhauer> srhb: how am I supposed to do it differently?
<LnL> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ#I_installed_a_library_but_my_compiler_is_not_finding_it._Why.3F for details.
<srhb> schoppenhauer: The entire python section of the nixpkgs manual is useful, https://nixos.org/nixpkgs/manual/#developing-with-python -- and particularly 9.11.1.2.3
<srhb> Or 9.11.2.2.4 for a very barebones alternative.
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
alexteves has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 5 new commits to release-17.09: https://git.io/vbj27
<NixOS_GitHub> nixpkgs/release-17.09 b323ada adisbladis: postgresql94: 9.4.14 -> 9.4.15...
<NixOS_GitHub> nixpkgs/release-17.09 c70e9e2 adisbladis: postgresql95: 9.5.9 -> 9.5.10...
<NixOS_GitHub> nixpkgs/release-17.09 5e5d66b adisbladis: postgresql93: 9.3.19 -> 9.3.20...
NixOS_GitHub has left #nixos [#nixos]
jrolfs_ has quit [Ping timeout: 260 seconds]
Ridout has joined #nixos
otherjrolfs has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33318: Nodejs minor releases (master...nodejs-minor) https://git.io/vbpEi
NixOS_GitHub has left #nixos [#nixos]
LexLeoGryfon has joined #nixos
<LexLeoGryfon> howdy Gents
<LexLeoGryfon> is there a guide to install NixOS in dualboot EFI with Win10 ?
<LexLeoGryfon> or I should follow instructions from Arch wiki?
<schoppenhauer> srhb: is there something like pip2nix too? because I don't really know where all the python libraries go, and the package I want is a python-package that can be installed via pip. it is fibonacci-heap-mod.
<Yaniel> LexLeoGryfon just follow the UEFI instructions in the nix manual
<schoppenhauer> srhb: the impure version with pip install in the shell hook does not work, and probably building a package is the better choice anyway.
<srhb> schoppenhauer: There's pypi2nix
<schoppenhauer> srhb: I thoutght pypi was a python interpreter
<schoppenhauer> ok
<schoppenhauer> that was pypy
<schoppenhauer> apparently
<schoppenhauer> (sorry, I am not used to python development)
<srhb> schoppenhauer: Yeah, pypi is the Python Package Index
<srhb> schoppenhauer: (What pip uses)
<srhb> They almost have worse naming than the Nix ecosystem :-)
otherjrolfs has joined #nixos
funfun has joined #nixos
bbsl has joined #nixos
<bbsl> does anyone have an example config for eduroam on nixos they could share please?
<adisbladis> schoppenhauer: Generally you dont want to use pypi2nix for packages you want to upstream to nixpkgs
<schoppenhauer> adisbladis: I just want it locally
<adisbladis> schoppenhauer: Then its a great tool :)
<schoppenhauer> adisbladis: I don't know enough about python to upstream anything
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 08003d1 adisbladis: nodejs-4_x: 4.8.5 -> 4.8.7...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] adisbladis pushed 3 new commits to release-17.09: https://git.io/vbjV3
<NixOS_GitHub> nixpkgs/release-17.09 3d44008 adisbladis: nodejs-6_x: 6.11.5 -> 6.12.2...
<NixOS_GitHub> nixpkgs/release-17.09 1cd9d2f adisbladis: nodejs-8_x: 8.9.0 -> 8.9.3...
otherjrolfs has quit [Ping timeout: 256 seconds]
funfun has quit [Client Quit]
aloiscochard has joined #nixos
<samae> I need to import a folder in the store, but it's quite big. Any cleverer way than using copypathtostore?
zarel has joined #nixos
zarel has quit [Client Quit]
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
otherjrolfs has quit [Ping timeout: 240 seconds]
jrolfs_ has quit [Ping timeout: 240 seconds]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/0b30c1dd4c6 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [Client Quit]
simukis has quit [Read error: Connection reset by peer]
simukis has joined #nixos
ThatDocsLady has joined #nixos
Ridout has quit [Quit: Lost terminal]
knupfer1 has joined #nixos
pie_ has joined #nixos
knupfer has quit [Ping timeout: 265 seconds]
knupfer1 is now known as knupfer
noobie_ has joined #nixos
<noobie_> Why does the command $nix-env -iA nixpkgs.haskellPackages.hledger
asuryawanshi has joined #nixos
<noobie_> Why does the command "$nix-env -iA nixpkgs.haskellPackages.hledger-ui" install hledger-ui, but the command "$nix-env -qa '.*hledger-ui.*' --description" returns "matches no derivations"?
<srhb> noobie_: The haskellPackages set is not searched normally
<srhb> Add -A nixpkgs.haskellPackages
<noobie_> Thanks!
<makefu> see also https://nixos.wiki/wiki/FAQ#I_cannot_find_.24package_when_running_nix-env_-qaP_even_with_channels_configured
a_lebedev has joined #nixos
<infinisil> samae: not really, but you only need to import it once anyways
<samae> infinisil: Wait, if I call it again, it should not re-import it?
asuryawanshi has quit [Remote host closed the connection]
<samae> At every rebuild I get the warning that nix may fail due to high RAM usage ^^
ThatDocsLady has quit [Quit: Leaving]
asuryawanshi has joined #nixos
<infinisil> samae: oh right, yeah it does import it again everytime, hmm..
<samae> Yeah, I'm trying to find a more clever solution
<samae> (sorry for the hl)
<samae> (oh cmon!)
<LexLeoGryfon> Yaniel: dude, seriously those instructions https://nixos.org/nixos/manual/index.html#sec-uefi-installation are enough to happy dual boot with win10? I'm scared and don't wont to fuck up my system
<infinisil> samae: I have an idea, hold on
<LnL> fixed output drv?
pie_ has quit [Ping timeout: 240 seconds]
<infinisil> Yeah, with requireFile
<infinisil> samae: requireFile { name = ...; sha256 = ...; ... } and import it into the store manually
<Yaniel> LexLeoGryfon: the only thing you need to worry about (besides overwriting the entire windows installation of course is the EFI partition, which you can back up easily
<samae> Will it work for a folder? Looks promising, I'm gonna go through the sources to find more about it
<samae> Also, if it's not in the wiki, maybe I could add it?
<Yaniel> it's essentially a collection of loaders and one of them is copied to a default filename
<Yaniel> and the nixos loader sees the other loaders in the subdirectories and lets you choose
<infinisil> samae: it's in nixpkgs/pkgs/build-support/trivial-builders.nix
<Yaniel> the only problem I have is that windows likes to change UEFI settings and set itself to boot by default
<infinisil> right above copyPathToStore actually
<Yaniel> but apparently that can be solved by having separate EFI partitions for windows and nixos
<LexLeoGryfon> I backed up win efi partition
<LexLeoGryfon> > having separate EFI partitions
<LexLeoGryfon> oh wow never though such approach is possible
<LexLeoGryfon> you better blog post on that ж)
<Yaniel> I'm not using that approach :P
<Yaniel> and I don't have a blog
<infinisil> I have been using 2 EFI partitions (unknowingly) for a while with NixOS + macOS
<samae> infinisil: thx!
<noobie_> If I have two channels configured, which one does "pkgs" reffer to in my configuration.nix file?
<gchristensen> it will be from `import <nixpkgs>`
stepcut has joined #nixos
jrolfs_ has joined #nixos
<noobie_> I'm sorry, I did not understand. I do not have an import statement in my configuration.nix. Am I supposed to?
jrolfs_ has quit [Ping timeout: 248 seconds]
<gchristensen> no, but that is where `pkgs` comes from
coot_ has joined #nixos
<noobie_> What is passed to my configuration.nix as "pkgs" when running nixos-rebuild?
<noobie_> It is my understanding that pkgs is a parameter passed to configuration.nix
Turion has joined #nixos
periklis has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] iblech opened pull request #33373: haskellPackages.bytestring-progress: 1.0.7 -> 1.0.8 (master...patch-2) https://git.io/vbj6P
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 792b085 Justin Humm: osrm-backend: 5.14.1 -> 5.14.3
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vbj6Q
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master c3754a7 adisbladis: Merge pull request #33348 from erictapen/osrm-5.14.3...
<infinisil> noobie_: The pkgs argument will be pretty much just `import <nixpkgs> {}`, and you can check what `<nixpkgs>` evaluates to with `nix-instantiate --find-file nixpkgs`
<noobie_> Thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vbjit
<NixOS_GitHub> nixpkgs/master 340cadd Frederik Rietdijk: python.pkgs.arrow: fix python 2 build
NixOS_GitHub has left #nixos [#nixos]
knupfer has quit [Ping timeout: 265 seconds]
noobie_ has quit [Ping timeout: 260 seconds]
duncan^ has joined #nixos
otherjrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vbjiA
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master ab1fdc7 adisbladis: osrm-backend: Use nativeBuildInputs for compile-time-only deps
mkoenig has joined #nixos
spietz has quit [Ping timeout: 240 seconds]
otherjrolfs has quit [Ping timeout: 248 seconds]
oahong has quit [Ping timeout: 248 seconds]
hotfuzz has joined #nixos
oahong has joined #nixos
deltasquared has joined #nixos
i-am-the-slime has joined #nixos
* deltasquared decides to be brave and work out his differences with nix
<deltasquared> curl | sh? seriously? -_-
<infinisil> deltasquared: i think it declares a function first and then calls that, which might be safe?
zzamboni1 has quit [Ping timeout: 248 seconds]
<lassulus> there also should be packages for some distros which install nix for you?
<LnL> deltasquared: people complained when that was replaced with a download + sha check
<i-am-the-slime> srhb: But how do I point it to these nixpkgs?
<deltasquared> LnL: *facepalm*
<infinisil> LnL: lol, ok
<deltasquared> I'm going to download it anyway and look at what it does.
<nixy> I mean you always could have done that :P
Neo-- has joined #nixos
<infinisil> deltasquared: ask away if you want to know anything :)
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<deltasquared> seems straightforward enough, fetch the relevant tarball then execute a second-stage script.
* deltasquared wonders what size he should put aside for a mount for /nix
jensens has joined #nixos
fuzzy-id has joined #nixos
<fuzzy-id> what's the right way to handle conflicting options in a service module?
<deltasquared> if it's GC'd it may be a bit more space at times than a traditional distro... 24G should be plenty
<deltasquared> (LVM is magic)
zzamboni has joined #nixos
<Turion> Starting VirtualBox gives: Qt FATAL: This application failed to start because it could not find or load the Qt platform plugin "xcb"
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33374: Update LLVM default 4 -> 5 (master...update/llvm-5-default) https://git.io/vbjX5
NixOS_GitHub has joined #nixos
<Turion> in ""
<lassulus> fuzzy-id: lib.mkDefault, lib.mkOverride or lib.mkForce
<Turion> It then goes on to list a lot of available platform plugins, including xcb
<Turion> What's going on? Is that a linker error caused by nix somehow?
<deltasquared> I have ideas but I'm not up to speed with nix yet, so I'll let someone else answer
zzamboni1 has joined #nixos
pjan_ has joined #nixos
otherjrolfs has quit [Ping timeout: 248 seconds]
jrolfs_ has quit [Ping timeout: 268 seconds]
<infinisil> Turion: Maybe this? https://github.com/NixOS/nixpkgs/issues/30519
<deltasquared> I'm curious how well supported virtualbox would be in nixos to be fair, I would have thought proprietary applications would be fairly prone to such wobblies and impossible to fix correctly.
<Turion> infinisil, that may be it, thanks! Turns out it's not related to VirtualBox per se, but QT..?
<deltasquared> inb4 QT looks in hardcoded paths not related to LD_LIBRARY_PATH
zzamboni has quit [Ping timeout: 240 seconds]
<infinisil> deltasquared: VirtualBox works pretty well, and the thing with nix is that once something is packaged, it's pretty much guaranteed to run well forever
<betaboon> hello #nixos, i have a question regarding nixops: can i deploy to the container-backend on a systemd-based-linux or is this only available on nixos ?
i-am-the-slime has quit [Ping timeout: 272 seconds]
<deltasquared> infinisil: I would imagine... if it can be made to behave in the "no FHS lib/bin paths" world first
proteusguy has joined #nixos
<infinisil> deltasquared: there is actually something to wrap binaries in a normal FHS user env if they can't be made to work otherwise
<deltasquared> infinisil: ... containers?
<infinisil> deltasquared: nope, hold on
<goibhniu> betaboon: it's only for nixos
<betaboon> goibhniu: thanks. too bad :/
<goibhniu> betaboon: disnix might be interesting for you though
stepcut has quit [Remote host closed the connection]
<deltasquared> I'll read whatever, still waiting for the nix store volume to finish blanking.
<deltasquared> oh, so not quite a full container, just namespaces.
<deltasquared> I was on the right lines though, I was getting at the use of FS namespaces
bbsl has quit [Remote host closed the connection]
stepcut has joined #nixos
<deltasquared> grrr, spinning rust go fasterrrrrrr
<infinisil> deltasquared: LVM needs to wipe 24GB before you can use it?
<deltasquared> infinisil: it's standard policy for this disk, I wipe before usage in case of any left-over data
<deltasquared> old volumes are wiped before destruction, too.
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asuryawanshi has quit [Ping timeout: 240 seconds]
<infinisil> hmm alright, with ZFS I'd just tell it to create a new dataset and limit it to 24GB
<deltasquared> alas this disk has encrypted volumes on, so on such a disk I make a point that any other volumes that are created/destroyed are wiped
<infinisil> which I guess wouldn't guarantee exactly 24GB though when the disk is full
<deltasquared> the truly important one being my university work. not that I'd think anyone would want to *steal* that but it's coverage policy if for some reason it was.
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
<deltasquared> ok, next daft question, am I going to need a particurlarly large amount of inodes for nix? (I just like to have enough in reserve that I don't have tae worry about it)
otherjrolfs has quit [Ping timeout: 256 seconds]
jrolfs_ has quit [Ping timeout: 264 seconds]
<goibhniu> deltasquared: nope
<deltasquared> goibhniu: mkfs tells me it'll make 1.5 million, that should be more than enough
<goibhniu> that should be just fine :D
<betaboon> i have another question regarding private git-repositories: I'm somewhat lost on how to get them working. all the information i can find (including references to ssh_config_file, ssh_auth_sock, some suggesting fetchFromGitHub using private=true; some using http-auth) are realy confusing me. can anyone point me into the right direction ?
FRidh has joined #nixos
szicari has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] iblech closed pull request #33373: haskellPackages.bytestring-progress: 1.0.7 -> 1.0.8 (master...patch-2) https://git.io/vbj6P
NixOS_GitHub has left #nixos [#nixos]
orivej has joined #nixos
ee1943 has quit [Remote host closed the connection]
ee1943 has joined #nixos
<deltasquared> yay, blank's finished.
<deltasquared> ... 'ey, what's thata script doing modifying mah profile!
<deltasquared> jk, but I'll have to sort that out myself. it'll mess up the vcs on my dotfiles.
freusque has quit [Ping timeout: 256 seconds]
arianvp2 has joined #nixos
otherjrolfs has joined #nixos
pie_ has joined #nixos
LexLeoGryfon has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
leat has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33376: ncurses: fix ncurses6 build w/clang (master...fix/ncurses6-clang) https://git.io/vbjSD
NixOS_GitHub has left #nixos [#nixos]
<FRidh> benley: copumpkin: if I am correct you've both used jsonnet. What are your experiences with it? I see you've encountered the same issues, like lack of a brief syntax for lambdas
<infinisil> deltasquared: what do you mean? (I haven't run the installation in a while, can't remember)
<deltasquared> infinisil: the install script inside the tarball appends some lines to your .profile etc.
<deltasquared> which I wouldn't mind but it'd mess up scripts I prefer to keep read-only.
otherjrolfs has quit [Ping timeout: 248 seconds]
arianvp2 has quit [Remote host closed the connection]
freusque has joined #nixos
pkill9 has quit [Read error: Connection reset by peer]
ee1943 has quit [Remote host closed the connection]
pkill9 has joined #nixos
<copumpkin> FRidh: feels like a nix expression language made more palatable for the masses, without derivations, and with more OO junk that I largely avoid in it
i-am-the-slime has joined #nixos
duncan^ has quit [Ping timeout: 265 seconds]
<deltasquared> OO junk you say? you mean like... *shudders* inheritance? *dives*
ee1943 has joined #nixos
<__Sander__> inheritance through fixpoints :D
<deltasquared> fixpoints? o.o
<deltasquared> what have they been doing this time
<copumpkin> yeah, I'm fine with OO-as-a-library
<deltasquared> not... aspect-oriented cut points? *shuddering intensifies*
<copumpkin> built-in OO just annoys me
<deltasquared> pure interfaces are enough.
<deltasquared> as in, C++ pure virtual classes or the special interface type in Java
<deltasquared> inheritance can go die in a fire.
duncan^ has joined #nixos
<__Sander__> brb
__Sander__ has quit [Quit: Konversation terminated!]
romildo has joined #nixos
knupfer has joined #nixos
rogue_koder has joined #nixos
<romildo> Has anything changed in unstable NixOS regarding XDG_DATA_DIRS setting by wrapGAppsHook? $out/share/gsettings-schemas/${name} is not being added in the wrapper.
<FRidh> copumpkin: deep overriding is at least quite convenient as its just a matter of order.
<FRidh> copumpkin: looking now at partial application, and noticed an issue of yours on that topic
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
fuzzy-id has quit [Ping timeout: 250 seconds]
spietz has joined #nixos
jrolfs_ has quit [Ping timeout: 250 seconds]
otherjrolfs has quit [Ping timeout: 264 seconds]
Turion has quit [Ping timeout: 250 seconds]
zzamboni1 has quit [Quit: Leaving.]
betaboon has quit [Quit: WeeChat 1.9.1]
zzamboni has joined #nixos
__Sander__ has joined #nixos
erasmas has joined #nixos
otherjrolfs has joined #nixos
<deltasquared> hrm, nix-env queries seems to take some time, what's up with that
<deltasquared> it doesn't seem to be a CPU or I/O task it's waiting for
<deltasquared> like, a few seconds or more pause
<deltasquared> ... oh wait, it *is* a CPU bound task
<deltasquared> it really take that long to figure out the information it needs?
nuncanada has joined #nixos
otherjrolfs has quit [Ping timeout: 256 seconds]
michaelpj_ has quit [Ping timeout: 240 seconds]
<srhb> deltasquared: Yes, it's evaluating each attribute in top level at least up until its name
<tilpner> deltasquared - Use -iA instead of -i, it's much faster
<tilpner> (For me, -i downloads ~100MB, just to search)
gfixler has quit [Ping timeout: 256 seconds]
Turion has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #33329: docker: 17.{09,11} -> 17.12 (master...docker_17_12) https://git.io/vbpPZ
NixOS_GitHub has left #nixos [#nixos]
<bennofs[m]> someone needs to look at nix evaluation performance. does it have to be so slow?
<gchristensen> is that someone you? :)
raynold has quit [Quit: Connection closed for inactivity]
<jluttine> any instructions on how to install nix on a non-nixos system without root privileges? i found these but neither chroot nor proot works.. https://nixos.wiki/wiki/Nix_Installation_Guide
<jluttine> i don't mind compiling everything from source, that is, not using binary cache
jrolfs_ has joined #nixos
jekor` has quit [Remote host closed the connection]
jekor` has joined #nixos
jekor` has left #nixos [#nixos]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrolfs_ has quit [Ping timeout: 248 seconds]
TonyTheLion has joined #nixos
periklis has quit [Ping timeout: 248 seconds]
knupfer has quit [Ping timeout: 250 seconds]
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
<ocharles> bennofs[m]: no we just thought making it slow would be a good idea
<ocharles> let me just flip the "not slow" bit
<ocharles> snarkin' my way into 2018
freusque has quit [Quit: WeeChat 1.9.1]
i-am-the-slime has quit [Ping timeout: 240 seconds]
freusque has joined #nixos
i-am-the-slime has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33377: llvm: differentiate manpage builds, use recurseintoattrs to build and cache contents (master...feature/llvm-recurseintoattrs) https://git.io/vbjba
NixOS_GitHub has left #nixos [#nixos]
iyzsong has quit [Ping timeout: 240 seconds]
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
<infinisil> jluttine: Why is it not working?
<nliadm> org-mode appears to be broken on latest nixpkgs, https://orgmode.org/elpa/org-20171225.tar 404s
<infinisil> nliadm: what has this webpage to do with nixpkgs?
<gchristensen> presumably nixpkgs points to it as the src
<infinisil> ahh
<nliadm> yeah
klntsky has quit [Ping timeout: 272 seconds]
otherjrolfs has quit [Ping timeout: 268 seconds]
<tilpner> master.emacsPackages.org builds fine :/
jrolfs_ has quit [Ping timeout: 268 seconds]
<nliadm> <_<
<tilpner> master.emacsPackagesNg.org does too
jb55 has joined #nixos
<jluttine> infinisil: for proot solution: https://github.com/proot-me/PRoot/issues/133
<jluttine> infinisil: for chroot solution: i suppose the system doesn't support it because the test command `unshare --user --pid echo YES` doesn't work
m0rphism has quit [Quit: WeeChat 1.9.1]
leat has joined #nixos
Tucky has quit [Remote host closed the connection]
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
tekul has joined #nixos
<erictapen> Hello everyone. Does anyone have experience with packaging ant based Java applications? I'm currently trying to build netbeans from source. I noticed that the recommended style would be to call just ant in the buildPhase and that works more or less, but appears to me as impure style, as ant accesses the network. Is'nt there a better way to do this?
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
knupfer has joined #nixos
otherjrolfs has quit [Ping timeout: 248 seconds]
jrolfs_ has quit [Ping timeout: 248 seconds]
<gchristensen> my understanding is that our java / ant build tools are not very good
<symphorien> jluttine: I never tried it completely, but I think you have to compile nix from source the "traditional way" and then you can use this nix binary by setting the store location with environment variables : https://github.com/NixOS/nix/blob/master/tests/common.sh.in#L5 . Then do nix-env -iA nixpkgs.nix and you will have bootstrapped nix. (you may have to override the default locations to yours here
<symphorien> But again, I tried once, spent some time unsuccessfully on it and when I gathered this information the need vanished so I didn't try further.
zzamboni has joined #nixos
jb55 has quit [Ping timeout: 268 seconds]
ssmike has quit [Remote host closed the connection]
zzamboni has quit [Client Quit]
ssmike has joined #nixos
<erictapen> gchristensen: thanks
zzamboni has joined #nixos
klntsky has joined #nixos
romildo has quit [Quit: Leaving]
otherjrolfs has joined #nixos
otherjrolfs has quit [Ping timeout: 252 seconds]
rogue_koder has quit [Quit: Konversation terminated!]
rogue_koder has joined #nixos
klntsky has quit [Ping timeout: 272 seconds]
peacememories has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
yorick has joined #nixos
jrolfs_ has joined #nixos
<yorick> how frequent are hackage updates?
<yorick> ah, daily, thanks
deltasquared has quit [Quit: SEGMENTATION FAULT]
k0001 has quit [Remote host closed the connection]
jrolfs_ has quit [Ping timeout: 248 seconds]
coot has joined #nixos
coot_ has quit [Quit: coot_]
rogue_koder_ has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
rogue_koder has quit [Ping timeout: 248 seconds]
knupfer has quit [Ping timeout: 272 seconds]
asuryawanshi has joined #nixos
phreedom has joined #nixos
<srhb> yorick: Uh, where'd you get that?
freusque has quit [Ping timeout: 252 seconds]
<zugzug> hey folks - does anyone have experience with installing `python36Packages.tkinter` (or any other python3 version) via nix on macosx? The standard nixpkgs build fails for me with a `mv: missing destination file operand after <path to nix store>`
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
<zugzug> this was the most relevant thread I found that was possibly related to my issue, but I'd appreciate a pointer for me proactively debug my own issue [thread: https://github.com/NixOS/nixpkgs/issues/10667 ]
sary has quit [Ping timeout: 264 seconds]
sary has joined #nixos
<yorick> srhb: github history
<srhb> yorick: I think you may be spotting just a coincidence.
<yorick> srhb: okay, it's been happening for the past week
<yorick> it would be great if it could be done now so arbtt will build
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #33379: fd: 6.1.0 -> 6.2.0 (master...fd) https://git.io/vNeJb
NixOS_GitHub has left #nixos [#nixos]
jrolfs_ has quit [Ping timeout: 260 seconds]
otherjrolfs has quit [Ping timeout: 248 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
jrolfs_ has joined #nixos
klntsky has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
freusque has joined #nixos
asuryawanshi has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
anelson- has joined #nixos
asuryawanshi has joined #nixos
<anelson-> hi all, does anyone know an easy way to run a nix shell for nix itself? I'm trying to figure out a weird nix low-level issue and it would be really helpful to be able to insert print statements etc into the code and rerun
jrolfs_ has quit [Ping timeout: 248 seconds]
rihards has joined #nixos
rihards has quit [Client Quit]
rihards has joined #nixos
chreekat has joined #nixos
oida has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nico202 has joined #nixos
otherjrolfs has joined #nixos
nico202 has quit [Client Quit]
jrolfs_ has joined #nixos
hellrazo1 has quit [Quit: WeeChat 2.0.1]
jb55 has joined #nixos
<jtojnar> anelson-: nix-repl?
i-am-the-slime has quit [Ping timeout: 248 seconds]
<the-kenny> anelson-: a build-environment for nix?
<anelson-> build environment for nix
<anelson-> as in, nix-store etc
<clever> anelson-: nix-shell '<nixpkgs>' -A nix
<the-kenny> Yeah, or --run-env for nix-build, just like with any other package
<the-kenny> I *think* there's also some nix-expression inside the nix build tree that gets you that, but nix-shell is easier :)
<anelson-> where do I run that from? how do I trigger a build?
<the-kenny> anelson-: this will get you a shell with all dependencies available. You can then run `unpackPhase` to unpack $src, and then build however you want to (or by cd-ing into the folder and running `configurePhase`, then `buildPhase`)
mizu_no_oto has joined #nixos
otherjrolfs has quit [Ping timeout: 265 seconds]
jrolfs_ has quit [Ping timeout: 256 seconds]
<elvishjerricco> Is it possible for an attrset to have a bunch of derivations in it, but make it so that when you `nix-build` it, only a specific few of those are actually built?
<infinisil> elvishjerricco: you mean to give nix-build an argument that says which ones to build?
<elvishjerricco> No,
leat has quit [Ping timeout: 240 seconds]
<the-kenny> anelson-: nix-build '<nixpkgs>' -A nix, then in that shell `unpackPhase && cd nix-1.* && configurePhase && buildPhase` should work
<elvishjerricco> I want to have the default be a limited set
<anelson-> the-kenny: there must be some additional steps because configurePhase works but buildPhase throws an error
<the-kenny> ehh add --run-env to `nix-build`
<anelson-> config.h: no such file or directory
<the-kenny> anelson-: hmm maybe patchPhase?
<clever> anelson-: try just genericBuild
romildo has joined #nixos
<anelson-> there's no patchphase defined for nix
<anelson-> hmm ok
<elvishjerricco> infinisil: so that I can use `nix-build -A ...` to specify one of the non-default builds, but so that `nix-build` standalone only builds a few of them.
<anelson-> the thing is that genericbuild will run everything including tests
<infinisil> elvishjerricco: Ah, you can use passthru for that
<anelson-> also I don't know if it will build incrementally although I can see
<the-kenny> anelson-: yeah, but you can just run buildPhase manually afterwards
<elvishjerricco> infinisil: passthru?
<clever> anelson-: once it has finished once, you can manually run make to do it incrementally
<anelson-> hmm ok I can run `make`
<anelson-> hopefully that gets me where I need to go
<infinisil> elvishjerricco: mkDerivation { name = "foo"; ...; passthru = { bar = mkDerivation {...}; }; } then nix-build without arguments builds foo, and nix-build -A bar will build bar
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
<romildo> Has anything changed in unstable NixOS regarding XDG_DATA_DIRS and gsettings schemas set by wrapGAppsHook? $out/share/gsettings-schemas/${name} is not being added by the wrapper. I need help with this.
<elvishjerricco> infinisil: Hm, but what if I want the default to be multiple derivations, not just `foo`?
<infinisil> elvishjerricco: create a derivation that refers to each of the ones you need, not sure what's the best way to do this
<elvishjerricco> infinisil: Got it.
<elvishjerricco> infinisil: For the default, it sounds like I want a Nix function that takes several input derivations and creates an output with symlinks to all the inputs.
<infinisil> elvishjerricco: maybe just symlinks from $out/<name> to the $out of <name>
<anelson-> thanks guys, hopefully I'm on the right track here
<infinisil> ah wait, there's some utility functions for that
<elvishjerricco> infinisil: Yea that would be good. Does that exist?
vcunat has joined #nixos
<infinisil> elvishjerricco: Have a look at nixpkgs/pkgs/build-support/trivial-builders.nix
<the-kenny> buildEnv
<infinisil> elvishjerricco: linkFarm could be what you want
jrolfs_ has quit [Ping timeout: 240 seconds]
<infinisil> yeah that's pretty much exactly what you need i think
<elvishjerricco> infinisil: That looks excellent!
otherjrolfs has quit [Ping timeout: 260 seconds]
<elvishjerricco> Thanks!
<infinisil> elvishjerricco: np :)
<the-kenny> Huh, strangely there's pkgs.buildEnv and lib.linkFarm.
<the-kenny> The former seems to have more features (collisions, and manually managing extra prefices, whitelists, etc.)
<infinisil> the-kenny: but i guess the latter makes more sense in this case
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #33382: cmake: fix hook for multiple outputs on darwin (staging...darwin-cmake-outputs) https://git.io/vNeIc
NixOS_GitHub has left #nixos [#nixos]
chreekat has quit [Ping timeout: 276 seconds]
chreekat has joined #nixos
<anelson-> hmmmm changing a .cc file and rerunning `make` (or `buildPhase`) tells me there's nothing to be done
<the-kenny> possibly, yeah. I don't think it matters for the simple cases
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
sg2002 has joined #nixos
goibhniu has quit [Ping timeout: 268 seconds]
FRidh has joined #nixos
sigmundv has joined #nixos
peacememories has joined #nixos
dan_b has quit [Ping timeout: 248 seconds]
peacememories has quit [Client Quit]
ssmike has quit [Quit: ssmike]
ech042 has quit [Remote host closed the connection]
leat has joined #nixos
<infinisil> Taking a quick moment to highlight a couple recent nixpkgs changes I'm excited about:
<gchristensen> infinisil++
<infinisil> haskell-ide-engine got added, an LSP backend for haskell, really nice
<infinisil> ZFS unstable got updated to the version of 28 December
<infinisil> home-manager is now in nixpkgs
<gchristensen> it is?
jensens has quit [Ping timeout: 260 seconds]
<infinisil> You can now declare related packages using the relatedPackages attribute, which will get rendered in the docs
<infinisil> gchristensen: Indeed: https://github.com/NixOS/nixpkgs/pull/30330
<symphorien> infinisil: have you a link/example about relatedPackages ? I find nothing on https://search.nix.gsc.io/?q=relatedPackage&i=fosho&files=&repos=
sg2002 has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<gchristensen> wwoooowww
<infinisil> oh lol, it got reverted by gchristensen :P https://github.com/NixOS/nixpkgs/pull/33006
<infinisil> the relatedPackages thing (for now at least)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kierdavis opened pull request #33383: openvpn: make systemd dependency optional (master...openvpn-optional-systemd) https://git.io/vNetJ
NixOS_GitHub has left #nixos [#nixos]
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
<FRidh> Its so hard to keep up with these kind of changes between all the noise of package updates
<gchristensen> FRidh: indeed :/
<elvishjerricco> infinisil: linkFarm doesn't take a passthru argument :/
nico202 has joined #nixos
<infinisil> elvishjerricco: It's a rather simple function, you could just copy it and add it yourself
<infinisil> elvishjerricco: after the preferLocalBuild = true;
<nico202> another acme-related question, how do I tell nixos that I accept the TOS?
<elvishjerricco> infinisil: Yea I probably will. Just disappointing; a lot of my efforts lately have been in reducing the annoyance of using Nix stuff, and this is a good example of such annoyance
<infinisil> elvishjerricco: Well you could open a PR to change that function :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy closed pull request #32772: Extract files one at a time from all-cabal-hashes (release-17.03...release-17.03-unextracted-all-cabal-hashes) https://git.io/vb6O1
NixOS_GitHub has left #nixos [#nixos]
<infinisil> elvishjerricco: oh actually, you could probably use overrideAttrs to add passthru
jrolfs_ has quit [Ping timeout: 255 seconds]
<elvishjerricco> infinisil: I'm familiar with overrideDerivation (which didn't work in this case for some reason), but not overrideAttrs
<infinisil> elvishjerricco: (linkFarm "foo" [ ... ]).overrideAttrs (old: { passthru = { ... }; })
otherjrolfs has quit [Ping timeout: 260 seconds]
<infinisil> something like that
<elvishjerricco> infinisil: overrideAttrs worked perfectly
<FRidh> infinisil: elvishjerricco: there's only one occurence in Nixpkgs thus far, so it may be acceptable to make it a function with a set pattern, or like symlinkJoin
<elvishjerricco> what is the difference between that and overrideDerivation?
<FRidh> overrideDerivation overrides the call to `derivation` whereas overrideAttrs overrides the call to `stdenv.mkDerivation`
<vcunat> you want overrideAttrs, unless you do something really special, I think
sigmundv has quit [Ping timeout: 260 seconds]
<FRidh> still around ~140 occurences of overrideDerivation left in Nixpkgs
<FRidh> Ugh...
<FRidh> #!/usr/bin/env bash
<FRidh> '''':; exec "$(command -v python || command -v python3 || command -v python2 || echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # '''
knupfer has joined #nixos
ma27 has quit [Ping timeout: 240 seconds]
sary has quit [Remote host closed the connection]
TonyTheLion has quit [Quit: Page closed]
ok2```` has joined #nixos
ok2``` has quit [Ping timeout: 268 seconds]
Synthetica has joined #nixos
sigmundv has joined #nixos
coot has quit [Quit: coot]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir opened pull request #33384: fonttools: fixed checkPhase, new test asset was missing from MANIFEST.in (master...add-fonttools-test-asset) https://git.io/vNem8
NixOS_GitHub has left #nixos [#nixos]
coot has joined #nixos
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
jtojnar has quit [Quit: jtojnar]
ok2```` has quit [Ping timeout: 246 seconds]
macslayer has joined #nixos
ok2```` has joined #nixos
<macslayer> Good afternoon!
<macslayer> After trying NixOS out a couple of years ago, I've decided today to reinstall, switching back from Arch.
<MoreTea> macslayer: welcome back ;)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33385: vmTools: omit '-drive ...' entirely instead of using /dev/null (master...fix/issue-33378) https://git.io/vNemg
NixOS_GitHub has left #nixos [#nixos]
jrolfs_ has quit [Ping timeout: 240 seconds]
otherjrolfs has quit [Ping timeout: 248 seconds]
<joepie91> macslayer: one of us, one of us :P
<macslayer> Thanks!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 3 new commits to master: https://git.io/vNemo
<NixOS_GitHub> nixpkgs/master 48a5212 Will Dietz: ncurses: use more complicated expression to avoid mass-rebuilds, note
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master c16e8b2 Daiderd Jordan: Merge pull request #33376 from dtzWill/fix/ncurses6-clang...
<NixOS_GitHub> nixpkgs/master 96f0d3b Will Dietz: ncurses: simplify patch expr, fix ncurses6 build w/clang...
tmaekawa has joined #nixos
marek has quit [Changing host]
marek has joined #nixos
<macslayer> I can't remember exactly why I left, I think it had something to do with my usage of `dwm` (along with the other suckless tools) at the time, which required compile-time configurations.
Turion has quit [Ping timeout: 255 seconds]
<Synthetica> I'm having an xkcd 196 sorta moment, with s/Linux/NixOS/
<macslayer> haha I know that feel
<Synthetica> On one hand, being able to `git bisect run` on your distro's source is a god send. On the other hand, I don't wanna D:
<infinisil> Link: https://xkcd.com/196/
<infinisil> Synthetica: I looove git bisect, it's so useful with nixpkgs
<Synthetica> Yeah :)
tmaekawa has quit [Client Quit]
<Synthetica> It's like a quick "who-fucked-up" button
<infinisil> can answer the question "why does X not work anymore" pretty much always
<infinisil> yea
zzamboni has quit [Quit: Leaving.]
<joepie91> infinisil: I recently discovered that you can automate git bisect
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
<joepie91> infinisil: that is, you can give git a command to run that tells it whether a given commit is good or bad
<Synthetica> Currently looking for a git commit that will let my config build
<LnL> yeah, there's a lot of usecases for bisect in nixpkgs
<joepie91> and it'll automatically go through the bisecting process running the command for each point
<infinisil> joepie91: indeed, it's really nice
<LnL> joepie91: nix-build :D
<Synthetica> Because #32969 is still not fixed :(
<Synthetica> The answer seems to be "Peter Simons be breakin' my Haskell stuffs"
dywedir has joined #nixos
vcunat has quit [Quit: Leaving.]
<Synthetica> Oh well, at least things seem fixed now
<elvishjerricco> Is there an `attrsToList` function anywhere?
<phdoerfler> Hi! I got a newb question regarding nix: I have a `set` and I would like to output one line in a bash script for each key-value pair in that set. How do I do that?
<Synthetica> New generation after like a month :D
sary has joined #nixos
otherjrolfs has quit [Ping timeout: 248 seconds]
<phdoerfler> is there a `map entriesOf(mySet) "this is a line in the bash script for ${entry}"` or something like that?
gfixler has joined #nixos
jrolfs_ has quit [Ping timeout: 276 seconds]
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
<gchristensen> elvishjerricco, phdoerfler you both want the same thing :)
zzamboni has joined #nixos
<phdoerfler> haha, seems like it
<gchristensen> elvishjerricco, phdoerfler you may want foldAttrs for example? https://github.com/NixOS/nixpkgs/blob/master/lib/attrsets.nix#L145
<tilpner> I usually use concatMapStringsSep ... ... (mapAttrsToList ... ...) for that
macslayer has quit [Quit: Konversation terminated!]
macslayer has joined #nixos
sary_ has joined #nixos
sary has quit [Quit: Reconnecting]
chreekat has quit [Ping timeout: 255 seconds]
chreekat has joined #nixos
ma27 has joined #nixos
orivej has joined #nixos
Myrl-saki has joined #nixos
matrium has joined #nixos
<Myrl-saki> Is anyone else having problems with being unable to connect to certain sites?
sigmundv has quit [Ping timeout: 276 seconds]
cement has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] etu opened pull request #33387: font-lock-plus: 2017-0222.1755 -> 20180101.25 (master...font-lock-plus) https://git.io/vNe3E
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33379: fd: 6.1.0 -> 6.2.0 (master...fd) https://git.io/vNeJb
NixOS_GitHub has left #nixos [#nixos]
<Myrl-saki> I have no idea what's happening. at. all. My qemu works, my host doesn't.
<Myrl-saki> Non KVM, FWIW.
<elvishjerricco> Is it possible to throw a custom error message in a failed `assert`?
otherjrolfs has quit [Ping timeout: 248 seconds]
FRidh has quit [Quit: Konversation terminated!]
otherjrolfs has joined #nixos
<matrium> hi guys, I'm new to nixos and have some trouble with my configuration.nix. "sudo nixos-rebuild switch" works fine but after a reboot my changes seem to be discarded
typetetris has joined #nixos
<tekul> Hi, does anyone else have problems with haskell builds due to the rebase and rerebase packageds on a regular basis?
deltasquared has joined #nixos
sary_ has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33387: font-lock-plus: 2017-0222.1755 -> 20180101.25 (master...font-lock-plus) https://git.io/vNe3E
NixOS_GitHub has left #nixos [#nixos]
nico202 has quit [Ping timeout: 240 seconds]
macslayer has quit [Ping timeout: 248 seconds]
<tekul> They never seem to match up. e.g at the moment rerebase fails to build because the rebase version doesn't fit its bounds: Setup: Encountered missing dependencies:
<tekul> rebase >=1.2.2 && <1.3
<datakurre> matrium: Check nixos-rebuild —help, there’s a specified flag to update bootloader.
jrolfs_ has quit [Ping timeout: 248 seconds]
otherjrolfs has quit [Ping timeout: 265 seconds]
jrolfs_ has joined #nixos
<matrium> datakurre: it was my understanding that the switch command makes the new configuration boot default
otherjrolfs has joined #nixos
macslayer has joined #nixos
<samueldr> matrium: is /boot mounted as expected?
<datakurre> matrium: I assumed the same, but got the same advice (with EFI).
<matrium> I'm using EFI aswell, so I might have the same issues
<samueldr> using EFI, I don't have to do anything special for it to switch configuration
<Synthetica> Myrl-saki: Care to elaborate?
<deltasquared> hmm, what's this firefox wrapper thing all about then? side note, do the nix tools have any commands to show a description of the package
<matrium> just tried "nixos-rebuild switch --install-bootloader" and got a "File system "/boot" is not a FAT EFI System Partition (ESP) file system."
<datakurre> matrium: mount /boot
<samueldr> your system probably updated
<samueldr> oops, mis-pressed enter
<Myrl-saki> Synthetica: For example, ix.io. I can connect to ix.io on my qemu, but then I get a 404, from god knows what server on my host.
<samueldr> probably updated /boot on the root filesystem, instead of on the expected to be mointed ESP
<Synthetica> dig it?
<Synthetica> As in, `dig ix.io`
jrolfs_ has quit [Ping timeout: 252 seconds]
mizu_no_oto has joined #nixos
otherjrolfs has quit [Ping timeout: 248 seconds]
<mpickering> If I set "x.y.z" in an overlay will that clobber "x.y.z1"?
<Myrl-saki> Synthetica: Yeah, I'm trying dig now.
<Myrl-saki> ;; Warning: Message parser reports malformed message packet.
<Myrl-saki> ...
<Synthetica> Wut
<samueldr> Myrl-saki: you can, also, compare what `getent ahostsv4` and `getent ahostsv6` gives compared to dig, this should use the system's resolver
<Myrl-saki> ix.io. 86400 IN A 66.172.11.73
<Myrl-saki> [nix-shell:~]$ ping ix.io
<Myrl-saki> ping: ix.io: Name or service not known
<Myrl-saki> ...?
<Synthetica> Hmm, that is the one I'm also getting
<gchristensen> ix.io has been broken for a long time
<Myrl-saki> gchristensen: Okay. google.com
<Myrl-saki> It also breaks for google.
<Myrl-saki> Not right now.
<Myrl-saki> But I also had problems with stackoverflow.com
<Synthetica> But after a few visits?
<matrium> datakurre: ok, just mounted my boot partition and did the rebuild with --install-bootloader. Now I got a "Failed to start local-fs.target: Unit -.mount is masked."
<Myrl-saki> Synthetica: Seems to fix itself after a few minutes, I haven't tried spamming visits.
i-am-the-slime has joined #nixos
<Myrl-saki> A bit of an aside. dig gives me the IP, ubt ping refuses to accept it?
<Synthetica> I had similar issues, I was able to solve them by switching to `systemd-resolved` instead of the networkmanager default DNS resolver
<Synthetica> not sure if that'll fix your problems of course
<Synthetica> Dig has its own DNS client I believe
<datakurre> matrium: That is new for me :/
randomstrangerb has quit [Ping timeout: 240 seconds]
<Myrl-saki> Synthetica: How to do that?
<Synthetica> services.resolved.enable = true;
randomstrangerb has joined #nixos
<deltasquared> is there anywhere I can look on a nix installation that would yield short descriptions of available packages, or would I have to go look at the expressions on github or something
<samueldr> deltasquared: https://nixos.org/nixos/packages.html
<deltasquared> there doesn't seem to be something like a "package info" command anywhere in the man pages. perhaps I'm just-
<deltasquared> *looks*
<samueldr> but for firefoxWrapper, there wasn't anything specific described
<matrium> same when I run "systemctl start local-fs.target" -> Failed to start local-fs.target: Unit -.mount is masked.
<samueldr> (though, it will link to the derivation for the package)
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
macslayer has quit [Remote host closed the connection]
<datakurre> matrium: So, just rebuild switch passes without issues?
macslayer has joined #nixos
<matrium> datakurre: no, same error
<deltasquared> samueldr: blegh, javascript only, really?
<deltasquared> ok, is there anywhere else I can get this information? an offline lookup would be handy.
<datakurre> matrium: But is passed before mounting /boot?
sary has joined #nixos
<datakurre> matrium: is passed/it passed
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] michelk opened pull request #33389: saga: 5.0.0 -> 6.2.0 (master...saga) https://git.io/vNeGV
NixOS_GitHub has left #nixos [#nixos]
<matrium> just unmounted /boot and it does not pass
<matrium> not quite sure if it passed before :/
jrolfs has joined #nixos
jrolfs__ has joined #nixos
<matrium> going to reboot and try again, brb
<datakurre> matrium: Good luck!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] michelk opened pull request #33390: gdal: 2.2.1 -> 2.2.3 (master...gdal) https://git.io/vNeGS
NixOS_GitHub has left #nixos [#nixos]
<Myrl-saki> Synthetica: I'll report back once I'm done with other things I have to do.
<Synthetica> Sure :)
pkill9 has quit [Quit: WeeChat 2.0]
matrium_ has joined #nixos
zarel has joined #nixos
macslayer_ has joined #nixos
otherjrolfs has quit [Ping timeout: 248 seconds]
jrolfs_ has quit [Ping timeout: 248 seconds]
macslayer has quit [Ping timeout: 240 seconds]
raynold has joined #nixos
matrium__ has joined #nixos
<phdoerfler> nix-repl> {lib}: let set = { a = 42; b = 80; }; in lib.foldAttrs (a: "this is the line for ${a}") [] set
<phdoerfler> «lambda»
<deltasquared> hmm, just out of curiosity, I wonder if there are any packages in nixpkgs (without any modified derivations) that *don't* have a binary cache
matrium has quit [Ping timeout: 260 seconds]
<phdoerfler> How do I get strings out of this?
vcunat has joined #nixos
<matrium__> datakurre: ok, mounted the boot partition and did a rebuild --install-bootloader and it worked now!
matrium_ has quit [Ping timeout: 260 seconds]
simendsjo has joined #nixos
<Synthetica> Is there a way to keep at least the last N generations for nix-collect-garbage?
<gchristensen> Synthetica: the man page will describe how
<gchristensen> should, anyway :)
<Synthetica> It only talks about deleting generations older than n days, not a set number of generations
macslayer_ has quit [Quit: Konversation terminated!]
<Synthetica> Ideally I'd have both
<Synthetica> Either the last week or the last 10 generations, whichever is more
<deltasquared> o.o nix-env --query --available with no filter invokers the OOM killer
macslayer has joined #nixos
<deltasquared> surely you could just stream write them rather than trying to keep the whole lot in memory at once...
<clever> deltasquared: it also has to manage all of the nix objects in a heap
matrium__ has left #nixos [#nixos]
<aristid> has anybody else had gconf errors with any applications recently?
<deltasquared> clever: all I wanted was to read a list of all the available packages from somewhere and correlate them with any known binary cache status. I wouldnae have thought it would need to touch anything else for that operation
<aristid> in my case, gnucash can't load or save configuration anymore
<gchristensen> deltasquared: it involves evaluating all of nixpkgs, which is the problem here
<vcunat> all-packages has references to everything, so stuff is evaluated lazily but never garbage-collectible
<deltasquared> gchristensen: why tho... surely you could look at them one at a time without having to look at sub-expressions or dependencies etc. whatever, I wasn't asking anything that required it to show me anything other than "top-level" info
<vcunat> and so listing needs gigabytes of memory
<vcunat> yes, it would be possible
phreedom has quit [Ping timeout: 248 seconds]
<vcunat> probably not trivial to implement though
<Synthetica> TBH that doesn't sound too crazy
<deltasquared> vcunat: by the sounds of it, probably best done in a separate tool suited for this task
<gchristensen> deltasquared: I'm not well enough informed to know how compilers and interpreters work and how to specifically fix this problem
<deltasquared> my suprise that if it should be so, that it does not exist, I don't find what I'm asking an unreasonable feat
<deltasquared> (it's certainly something other package managers do trivially, but I admit that's somewhat apples and oranges)
<vcunat> hmm, it could be done with a separate tool only, though surely with better if changing nix
<gchristensen> it is definitely apples and oranges
<vcunat> *with better performance
<gchristensen> your other tool would still need to fully implement a nix parser which brings us back to where we are
<gchristensen> s/parser/interpreter/
<vcunat> you wouldn't have to
<vcunat> you could list all top-level attributes
<vcunat> and then evaluate them one-by one
<vcunat> via nix, but always in a new instance
<deltasquared> vcunat: I'll let you benchmark that particular shell script :P
<gchristensen> see-no-evil.gif
<deltasquared> 's lotta process spawns
<vcunat> In any case, even with optimal approach, you only trade CPU for RAM.
<vcunat> (and your human time)
<deltasquared> vcunat: perhaps, but at least I can chug through that without my system grinding to a halt them nix getting whacked
<deltasquared> eventual progress is better than a crash. ;)
<vcunat> few people use nix-env -qa
<Synthetica> Doesn't nox use nix-env -qa?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33392: Use ncurses6 on all platforms (master...update/darwin-ncurses6) https://git.io/vNecU
NixOS_GitHub has left #nixos [#nixos]
<deltasquared> vcunat: actually it was -qas, I was curious to see if anything in nixpkgs had no binary cache available
<bennofs[m]> vcunat: though if you want to check if the pkg is in the binary cache, you do need to evaluate everything together
<Synthetica> So that it can cache the result and speed up subsequent searches
<vcunat> adding -s only hampers performance
<bennofs[m]> because you need to figure out the derivation hash, which depends on all deps' hashes
zzamboni has quit [Quit: Leaving.]
<deltasquared> bennofs[m]: ooooh so the hash isn't cached alongside the expression somewhere? welp
<vcunat> (if we speak of performance; of course it's useful information)
<bennofs[m]> deltasquared: there's quite a few "packages" (let's define everything that's reachable through an attribute as a package) that have no binary cache
<Myrl-saki> Synthetica: It works btw. Thanks. :)
<Synthetica> :D
<bennofs[m]> i think it was about 50% or more? at least used to be, but that may have been before pythonPackages was built on hydra
<Myrl-saki> Synthetica: I swear, I was getting paranoid and thinking I was getting MITM'd.
zzamboni has joined #nixos
<Synthetica> Yeah, same when I was having that problem
<Myrl-saki> Synthetica: We have a new router.
<deltasquared> well I for one don't intend to run through each one crunching hashes and checking availability in the binary caches, so I'll just have to trust that the large majority of packages that I would actually install would have cached builds
<vcunat> There are packages not shown in `nix-env -qa` but they are in binary cache.
<bennofs[m]> deltasquared: how would you do cache invalidation for that cache?
<deltasquared> bennofs[m]: "only two hard things in computer science... cache invalidation and naming things"
<mog> FRidh[m] ping
* deltasquared hides
dfranke has quit [Ping timeout: 255 seconds]
dfranke has joined #nixos
<deltasquared> I dunno, I would need to look at the issue a bit more closely. :P
<vcunat> BTW, `git grep` and the command-not-found hook are quite useful for searching, and there are others.
<Synthetica> deltasquared: *four, also off-by-one errors
<bennofs[m]> deltasquared: it does not take *that* long. a few minutes. it only needs to evaluate everything and compute the derivation hash, no building should be necessary
<deltasquared> Synthetica: bloody *engineering language* bugs
<deltasquared> bennofs[m]: well I *tried* and it got OOM whacked.
<deltasquared> (system usually has about 3GB free)
<deltasquared> did I do something wrong? :/
phreedom has joined #nixos
<bennofs[m]> it would be nice if nix had some kind of intermediate, very low level language that was faster
<bennofs[m]> so you could kind of precompile the channel
<bennofs[m]> s/precompile/preevaluate
* deltasquared mutters something about low level langs almost always being imperative and ducks
* dtz continues his PR rampage muaha
nithor has quit [Ping timeout: 252 seconds]
<bennofs[m]> about 600 open PRs? we should do some merging 😄
zzamboni has quit [Client Quit]
<LnL> dtz: whoa!
<deltasquared> side note, are there sources for the nix manual or something anywhere? It'd be handy to have offline to read while tinkering
<vcunat> deltasquared: 3GiB isn't enough for nix-env -qa in nowadays' nixpkgs
<deltasquared> vcunat: evidently :/
<deltasquared> is it really that much data?
<deltasquared> also brb
<bennofs[m]> deltasquared: https://github.com/NixOS/nix/tree/master/doc/manual nix manual
<earldouglas> Is there an S3 equivalent of fetchUrl?
la_putin has joined #nixos
<bennofs[m]> earldouglas: how would that be different from normal fetchurl?
<vcunat> deltasquared: actually, it seems enough without -s
<vcunat> time nix-env -f . -qa | wc -l
<vcunat> 3.83user 0.24system 0:04.08elapsed 99%CPU (0avgtext+0avgdata 795072maxresident)k
<vcunat> 0inputs+0outputs (0major+201368minor)pagefaults 0swaps
<vcunat> 14668
<earldouglas> bennofs[m]: It would allow configuration of the access key and secret key.
<Synthetica> earldouglas: I guess there isn't really a use case in the public nixpkgs for that
nix-gsc-io`bot has joined #nixos
typetetris has quit [Ping timeout: 260 seconds]
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/aea4ac85acd (from 2 weeks ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
el_putin has quit [Read error: Connection reset by peer]
nix-gsc-io`bot has quit [Client Quit]
<gchristensen> 17.03 eh
<vcunat> from two weeks ago?
<bennofs[m]> vcunat: what does -s do?
<vcunat> are we going back again?
<vcunat> bennofs[m]: binary availability
<earldouglas> Synthetica: Good point.
<vcunat> (meaning you have to evaluate all output paths and query the cache for them)
fuzzy-id has joined #nixos
chreekat has quit [Ping timeout: 252 seconds]
<vcunat> It needs 2.5 GiB for me, and megabytes of traffic on cold cache, apparently. (The cache is not optimized for this at all.)
chreekat has joined #nixos
nithor has joined #nixos
jrolfs__ has quit [Ping timeout: 248 seconds]
jrolfs has quit [Ping timeout: 248 seconds]
Neo-- has quit [Ping timeout: 260 seconds]
fyuuri has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
tel has joined #nixos
<deltasquared> vcunat: oh well. I guess it's a case of having reasonable faith that a package is cached when you do actually install it, and if not, well... ask for hydra or whatever to build future versions of it
<deltasquared> (assuming it's in nixpkgs, of course...)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vNeWj
<NixOS_GitHub> nixpkgs/master 707cfbf Shea Levy: haskell: Add hoogle-5.0.14 for hie-hoogle....
NixOS_GitHub has left #nixos [#nixos]
fyuuri has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bnikolic opened pull request #33393: Correct boost configure phase when enablePython is false (master...boostconfigurepythonfix) https://git.io/vNelJ
NixOS_GitHub has left #nixos [#nixos]
nithor has quit [Ping timeout: 265 seconds]
<vcunat> deltasquared: you can use --dry-run
<deltasquared> as long as I don't end up with gentoo-like compilation times for something big. thankfully the one "big" app that I use routinely (firefox) does mercifully have binaries cached. I'd expect it to be, it's popular enough
<vcunat> or if you have attribute name, you can `nix-env -qas -A attributeName` to only show the single package
<deltasquared> vcunat: true, but that doesn't anwser the question for all packages at once.
tel has quit [Client Quit]
<deltasquared> and apparently my computer can't do it for all of them with the resources it has, so... *shrug*
<gchristensen> what are you actually trying to accomplish?
<deltasquared> gchristensen: like I said earlier, I was curious to know which packages I could install from nixpkgs would be a cache miss, so to speak
<gchristensen> yeah, but _why_?
<deltasquared> having read the above, determining this is non-trivial at best
<deltasquared> gchristensen: so I can know which ones to avoid and/or be prepared for a long wait? :P
<deltasquared> I don't have infinite patience for source only builds, what can I say
freusque has quit [Ping timeout: 240 seconds]
<vcunat> nix-env -i --prebuilt-only :-)
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<deltasquared> vcunat: that merely makes it fail when I do need it but it's not cached, which I would likely only find out when I need it
<vcunat> but it has some disadvantages - like some builds are cheap (because not really _building_ anything)
orivej has joined #nixos
<deltasquared> well I shall have to cross my fingers and hope I don't need an important package in a hurry for whatever reason, only to find it's not cached.
fyuuri has joined #nixos
fyuuri has quit [Client Quit]
fyuuri has joined #nixos
<deltasquared> oh, there you are earlyoom... but out of date compared to arch. hmm. I'll have to look into that later.
* deltasquared makes a note not to overuse "but in arch X was easy!"
<taohansen> hey gang, how does everyone debug mismatched parentheses here? there must be an easier way than my eyeballing, which takes forever
<macslayer> I've slowly started realizing that if you install a distro with very specific expectations and requirements, it's almost never going to meet those. Oftentimes it's best to stick with a good, solid distro and simply use the packages that it makes available.
<maurer> Use paren matching in your favorite editor?
<maurer> e.g. if you're using vim, put your cursor over it, hit %
<taohansen> Emacs has easier mechanisms for dealing with this for lisp. or so it appears
<deltasquared> macslayer: perhaps, but nixos's concepts are something I've come to realise I really need, namely declarative configuration, among others.
<taohansen> maurer: i do! but i still get syntax errors that pop up despite first appearances of everything matching up
vcunat1 has joined #nixos
nithor has joined #nixos
<deltasquared> vcunat1: timeout?
duncan^ has quit [Ping timeout: 240 seconds]
<taohansen> like "unexpected { at 15:1" naturally i move to observe that line. Emacs shows it as matching
vcunat has quit [Ping timeout: 252 seconds]
vcunat1 has quit [Client Quit]
<deltasquared> grr. "unexpected X" in general is never really helpful...
vcunat has joined #nixos
<taohansen> which means i'm composing my Nix expressions incorrectly? this is what i assume but it doesn't appear that Nix has a more thorough debugging mechanism than this.
<vcunat> yes, I was offline for a bit
<taohansen> deltasquared: exactly!
fyuuri has quit [Ping timeout: 255 seconds]
ssmike has joined #nixos
zzamboni has joined #nixos
Lisanna has joined #nixos
fyuuri has joined #nixos
<taohansen> what i really want is more thorough debugging messages
<deltasquared> well nobody has ever pointed me in the direction of a formal syntax and semantics for nix expressions, alas.
<symphorien> taohansen: did you forget a ; or a in after a let in the previous line ?
<taohansen> symphorien: let me just show you my code? hold on gisting it
zzamboni has quit [Client Quit]
<vcunat> when you really have only a sinigle implementation, you don't much need to specify the syntax formally
duncan^ has joined #nixos
<deltasquared> vcunat: ... until someone wants to write a different implementation. :P
<symphorien> taohansen: line 12 doesn't make sense
<deltasquared> (god knows if I thought I could I'd be gone for a few days hacking at it)
orivej has quit [Read error: Connection reset by peer]
<vcunat> it's lazy evaluation
<symphorien> what are you trying to do ?
orivej has joined #nixos
freusque has joined #nixos
phreedom has quit [Quit: No Ping reply in 180 seconds.]
<symphorien> btw github syntax hilighting tell you the = line 12 is somewhat wrong
zzamboni has joined #nixos
michaelpj_ has joined #nixos
phreedom has joined #nixos
fyuuri has quit [Ping timeout: 264 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #33394: glib: preFixupPhases should be a string, and not an array (master...fix.glib) https://git.io/vNe4l
NixOS_GitHub has left #nixos [#nixos]
<taohansen> symphorien: i think this just comes from my superficial level of Nix knowledge. essentially for this NixOps deployment to AWS EC2, i'm trying to pass in a local package derivation that's been composed by node2nix
<taohansen> symphorien: composed as default.nix which sources two other .nix files in the directory itself.
<symphorien> I guess this is a nixops file, and I don't know nixops, bu this is what I gather:
<dhess> my kingdom for like 32 armv7l compile servers.
<taohansen> symphorien: yeah don't worry about it being a NixOps file. my understanding is it's essentially the same procedure with extra options added
<symphorien> nix is a functionnal language, so your file is a value (an attrset because of line 1)
orivej has quit [Quit: No Ping reply in 210 seconds.]
<Synthetica> Is there a way to check if we are on a raspberry pi?
<Synthetica> (Or similar arm device?)
<symphorien> inside an attrset you can only have name = value; statements
<symphorien> line 7 you start webserver = value
freusque has quit [Ping timeout: 246 seconds]
<symphorien> line 9 we learn that this value is a function
<symphorien> if we remove line 12, the attrset lines 14-16 is the return value of the function
<symphorien> but line 12 has nothing to do here
<symphorien> maybe `with package = ......;` is what you want
<taohansen> symphorien: this makes so much sense. thank you. any suggestions for passing in a local package in addition to the standard Nixpkg repos?
zzamboni has quit [Quit: Leaving.]
orivej has joined #nixos
<symphorien> but then since you use no variable in the attrset below, that would have no effect
phreedom has quit [Ping timeout: 268 seconds]
<deltasquared> of course the manual is already installed alongside nix... why didn't I think to look there earlier >_<
<symphorien> taohansen: please step back and explain. What package, where in the file ?
<taohansen> symphorien: certainly. i'll try my best. i suspect the best approach might be to step back further and spend more time with Nix pills and the Nixpkgs manual. that said, what i want to do is run a Node.js app on NixOS infrastructure, provisioned by NixOps.
<taohansen> the Node.js app was originally composed by the developer at the office i intern at. i ran it through node2nix, which returns a few Nix derivations.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33396: mendeley: misc cleanup/fixes (master...fix/mendeley) https://git.io/vNeBB
NixOS_GitHub has left #nixos [#nixos]
<taohansen> being: default.nix, node-env.nix, and node-packages.nix
fuzzy-id has quit [Ping timeout: 240 seconds]
<taohansen> default.nix sources the node-*.nix files itself
<symphorien> ok, then where do you want this app to appear in the file youpasted ?
<taohansen> so my understanding is all i need to do is tell Nix, "hey i have this extra derivation i'd like you to make use of in addition to your Nixpkg repos"
phreedom has joined #nixos
<taohansen> symphorien: i just want it to be available globally in my provisioned NixOS environment
<symphorien> ok. I'll tell you what I would do on nixos, you have to adapt to nixops:
orivej has quit [Ping timeout: 268 seconds]
<taohansen> symphorien: you can see that my systemd service file should call it in the deployed environment: ` ExecStart = "${nodejs}/bin/node ${app}/sister-city-api.js";`
<symphorien> so the app name is `app` ?
<symphorien> Note that systemd services don't inherit the system $PATH; there is no such thing as "globally available" on a nixos base system
jrolfs has joined #nixos
<symphorien> can you do in this directory:
jrolfs has quit [Read error: Connection reset by peer]
<symphorien> nix-repl
<taohansen> that would be the app name, yes
<symphorien> import ./default.nix {}
<symphorien> ?
jrolfs has joined #nixos
jrolfs__ has joined #nixos
<symphorien> either default.nix is the derivation itself or it is an attrset which contains your app as a value
<symphorien> I have no experience with node2nix
<taohansen> one moment
mizu_no_oto has joined #nixos
nithor has quit [Ping timeout: 252 seconds]
<taohansen> symphorien: output of the command you requested: https://gist.github.com/0757de3aec2ca171bab23504c7cb74a6
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master b2282b0 Michel Kuhlmann: gdal: 2.2.1 -> 2.2.3
<NixOS_GitHub> nixpkgs/master 0d407b7 adisbladis: Merge pull request #33390 from michelk/gdal...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNeRw
<symphorien> this means that when you do:
<symphorien> let blah = import ./default.nix {pkgs=pkgs}; in
freusque has joined #nixos
<symphorien> in the scope below the in blah will be an attrset whose attribute package is you app
gfixler has quit [Read error: Connection reset by peer]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] jwiegley pushed 1 new commit to master: https://git.io/vNeRb
<NixOS_GitHub> nixpkgs/master 7147ef8 John Wiegley: zbar: Enable building on darwin by disabling video support there
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill closed pull request #30737: [WIP] gutenberg: init at v0.2.1 (master...feature/gutenberg) https://git.io/vdpG3
NixOS_GitHub has left #nixos [#nixos]
<symphorien> so for example do: execstart = let blah = import ./default.nix {pkgs=pkgs}; in "${nodejs}/bin/node ${blah.package}/sistersfsdfsf";
<symphorien> is this clear for you ?
`_ has joined #nixos
<taohansen> symphorien: clearer. i am new to programming languages of any kind. i will repeat what i understand to you to see if you think i've understood what you're conveying: let and in statements are common to most languages (including Clojure which has been my programming language base i just started learning). Nix in its nature as DSL, is essentially (i'm simplifying here) a bunch of a value pairs. within these value pairs i can
<taohansen> make use of programming conventions like let and in to do "programming things" to my value pair
<taohansen> these "programming things" being things like recursion or expansion or what have you
freusque has quit [Ping timeout: 252 seconds]
nithor has joined #nixos
<symphorien> if you comme from js, be aware that `let` here is a value; there is no such thing as an assignment in nix.
<taohansen> so i can tell the systemd service file to source the default.nix derivation. however, this doesn't seem to solve the root issue which is making sure default.nix gets built with the rest of my Nix "manifest"
<Synthetica> `let ... in` isn't common in most languages (it's also not unique to nix, but it's mostly a functional thing)
<symphorien> `let x = 1; in 2` is the value 2
<taohansen> symphorien: i don't come from anything except some Linux admin
<symphorien> then read "different from shell variable assignment"
<symphorien> what `let x = 1; in ` does is making sure that in the value after `in` you can use the name `x` as referring to the value 1
<symphorien> even if x is not defined outside
<symphorien> so `let x=1; in x+1` is 2
m0rphism has joined #nixos
<symphorien> you can use nix-repl to test this type of things
stepcut has quit []
<taohansen> okay, got it, thank you. what about making sure that my package derivation (default.nix) is deployed when i run what is essentially a `nixos-rebuild switch`?
stepcut has joined #nixos
<symphorien> <symphorien> so for example do: execstart = let blah = import ./default.nix {pkgs=pkgs}; in "${nodejs}/bin/node ${blah.package}/sistersfsdfsf";
chreekat has quit [Ping timeout: 252 seconds]
chreekat has joined #nixos
zzamboni has joined #nixos
<symphorien> but there is another problem: I guess that line 31 the attr you define in the attrset line 1 should be an attr in the attrset line 14
<taohansen> oh, so when i deploy this manifest, NixOS knows to grab the default.nix file even though i've scoped that let/in to the ExecStart portion of the systemd service?
<taohansen> no no no, i think i understand. this is a NixOps thing
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 2 new commits to master: https://git.io/vNeES
<NixOS_GitHub> nixpkgs/master 9361b7e Drew Hess: ghc: bootstrap 8.2.2 with 8.2.1-binary.
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master c1497ca John Ericson: Merge pull request #33350 from dhess/ghc821Binary...
<taohansen> in NixOps i can declare which files compose my deployment
<taohansen> so i just need to source that in at that point
<symphorien> import is a builtin which takes a path and returns the value (as evaluated by nix) of the file
<symphorien> so yes it should do what you think
<symphorien> you can put the let ... in higher in the hierechy (for example line 30) if you prefer
<taohansen> okay, i think this is enough for me to work with. i thank you very much for your patience and careful explanation.
szicari has quit [Quit: szicari]
freusque has joined #nixos
szicari has joined #nixos
anton__ has quit [Quit: No Ping reply in 180 seconds.]
zarel has quit [Quit: Leaving]
<deltasquared> it's going to be fun diving into nix expressions when the time comes for that... meanwhile in other functional adventures I still struggle to get my head around monads.
<deltasquared> when I say programming is my strength, I realise it's *imperative* programming that I really mean... something like nix comes along and contorts my brain into strange shapes.
jrolfs has quit [Ping timeout: 256 seconds]
jrolfs__ has quit [Ping timeout: 248 seconds]
<gchristensen> deltasquared: I learned what I know about FP because I was excited to play with Nix
<deltasquared> gchristensen: to be fair, I actually think (though may be wrong) I get most of the ideas of the style (though lazy generators in haskell give me the run-around), I was actually trying to get to the point I could start writing semi-useful programs using a functional language.
anton__ has joined #nixos
<deltasquared> my current understanding of the IO monad being, for instance, ordering via data dependencies, the monad just being a handy pattern to use for it.
<deltasquared> (I appreciate this is somewhat off-topic, but my brain tends to churn on these things)
<gchristensen> :)
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
<phdoerfler> How do I use the functions in nixpkgs/lib from within the nix-repl?
<phdoerfler> or from nix-instantiate
<phdoerfler> this one specifically
<phdoerfler> I tried putting a {lib}: at the beginning of my .nix file
<phdoerfler> but that doesn't work
<gchristensen> do you have `pkgs`?
<vcunat> nix-repl '<nixpkgs>'
<vcunat> > lib.foo
<phdoerfler> oh
<vcunat> oh, within your nix file
<phdoerfler> gchristensen: I don't follow. What do you mean? Have it where?
<vcunat> in scope
<phdoerfler> so I just write pkgs.lib.lists.imap0?
<gchristensen> yeah
<phdoerfler> nope, it complaints pkgs is an undefined variable
<gchristensen> can you share your file?
<gchristensen> like a pastebin
<phdoerfler> already on it
<vcunat> you can always do things like
<vcunat> nix-repl> lib = (import <nixpkgs> {}).lib
<phdoerfler> gchristensen: http://dpaste.com/3CYKWJK
rihards has quit [Quit: rihards]
<gchristensen> phdoerfler: in the `let` add `pkgs = import <nixpkgs> {};`
<phdoerfler> vcunat, gchristensen: Thanks, that worked!
<gchristensen> cool!
<phdoerfler> I feel like this is probably covered in some official nix tutorial / manual that I have overlooked?
<phdoerfler> seems like a very basic thing to know
<vcunat> maybe it's not there in such a concrete form; I don't know
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
nithor has joined #nixos
jensens has joined #nixos
dan_b has joined #nixos
vcunat has quit [Quit: Leaving.]
deltasquared has left #nixos ["my internets, no!"]
romildo has quit [Quit: Leaving]
nithor has quit [Ping timeout: 246 seconds]
<pie_> how would i go about building an application in nix-shell that only depends on rust/cargo and qt5?
<pie_> im in nix-shell -p qt5.full cargo and the command is cargo build --all --release
asuryawanshi has quit [Ping timeout: 248 seconds]
<phdoerfler> ok, here is the next stupid question: How do I turn a list of strings into a text file where each item in the list is one line
<phdoerfler> I tried: script = builtins.concatStringsSep "\n" lines;
<phdoerfler> but then I get one long string containing literal \n in there
<srhb> phdoerfler: Combine that with writeFile or one of its friends.
<dhess> stdenv should make ld.gold available, right?
<phdoerfler> srhb: oh so that's just the repl showing me \n as literal \n and not as a newline? cool, thanks
zzamboni has quit [Quit: Leaving.]
<srhb> phdoerfler: Yeah.
<dhess> I'm having problems getting GHC 8.2.2 to find it on armv7l
<phdoerfler> neat
<benley> FRidh[m]: I think jsonnet is pretty decent. I think I still prefer nix overall, but jsonnet is way easier to sell at work, where nix is still too much Crazy Talk.
<benley> FRidh[m]: I'm not sure what OO junk copumpkin was referring to; afaik it has the same data types as nix.
jrolfs__ has joined #nixos
<gchristensen> what is that?
<copumpkin> it has a native "self" and inheriance notion
<benley> FRidh[m]: my main beefs are the ones you already pointed out - lack of shorthand for lambdas, lack of easy partial function application
<copumpkin> rec { } isn't the same thing
<benley> Oh yeah, I forgot nix doesn't have builtin self / super references
<benley> jsonnet also lacks "with" and "inherit", which is occasionally annoying
<copumpkin> that's what I meant by OO as a library
<benley> Got it.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] LnL7 opened pull request #1774: installer: don't touch /etc/profile (master...darwin-no-etc-profile) https://git.io/vNeai
NixOS_GitHub has left #nixos [#nixos]
zzamboni has joined #nixos
coot has quit [Quit: coot]
jrolfs__ has quit [Ping timeout: 240 seconds]
coot has joined #nixos
coot has quit [Remote host closed the connection]
nithor has joined #nixos
fresheyeball has joined #nixos
zzamboni has quit [Client Quit]
<`_> So, i'm an idiot and whilst in the process of doing some fancy deletion/symlinking work, I've lost my .config/nixpkgs/config.nix. My evironment was myEnv, and `nix-env -q` merely lists `myEnv`. What would I do to find out what `myEnv` contained?
simendsjo has quit [Ping timeout: 268 seconds]
<joepie91> `_: stupid suggestion maybe but have you tried recovering the config.nix? using extundelete or the equivalent for your filesystem
<clever> `_: nix-store --query --references on the myEnv path
<LnL> looking at the first level of nix-store -q --tree ~/.nix-profile might help
<clever> --query --references will show only the first level
i-am-the-slime has quit [Ping timeout: 240 seconds]
<LnL> oh? what is the long version of -R then
<clever> -R is recursive over deps, while --query --references isnt
<LnL> ah --requisites, thought that was --references
<`_> clever: unfortunately I, in my stupidity, overwrote it.
<LnL> look at a previous generation then
<Profpatsch> fpletz: FRidh[m] What should we do about https://github.com/NixOS/nixpkgs/pull/32933
<`_> I'll have to take a look. Never used extundelete, I'm typically not so stupid.
rogue_koder_ has quit [Remote host closed the connection]
<Profpatsch> I have to admit I’m kind of bad at maintaining packages.
rogue_koder_ has joined #nixos
<LnL> extundelete? no nix-env keeps previous versions around
<Profpatsch> Especially with pythonPackages it’s a lot of manual labour, so any package added leads to lots of work.
<LnL> `_: echo $(readlink ~/.nix-profile)*
MP2E has joined #nixos
<`_> Oh, let me play around a bit
<LnL> look at one with a slightly lower number
pkill9 has joined #nixos
<dhess> there's no way to get release-lib.nix to see buildEnv's, is there? Because of the runCommand or something?
rogue_koder_ has quit [Remote host closed the connection]
jrolfs__ has joined #nixos
jrolfs has joined #nixos
rogue_koder_ has joined #nixos
hiratara has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] LnL7 opened pull request #1775: installer: create 'enough' build users (master...darwin-build-users) https://git.io/vNewF
NixOS_GitHub has left #nixos [#nixos]
<`_> LnL: This seems to be leading towards what I want. Thanks. Is there a tool to automatically format a nix file?
<`_> Hm actually that just list myEnv in the nix file there. I'll look at the binaries and try to patch back together what I had
fyuuri has joined #nixos
hiratara has joined #nixos
chreekat has quit [Ping timeout: 240 seconds]
<tilpner> `_ - You can also look at each of these: find /nix/store -maxdepth 1 -name '*desktopEnv*.drv'
<`_> Cool.
<tilpner> `_ - Use nix-shell -p nixUnstable --run "nix show-derivation <path>" to pretty-print them
<tilpner> They list the packages
<tilpner> But you'll have to look for the most recent myEnv manually
<phdoerfler> Next newb question: How do I import this file: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/trivial-builders.nix
chreekat has joined #nixos
<phdoerfler> or make available what is in there or whatever
<phdoerfler> I want to use `writeScript`
<tilpner> phdoerfler - pkgs.writeScript
<phdoerfler> hu
<phdoerfler> I was so close
<phdoerfler> tilpner: thanks, that did it!
Fannar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33397: libtorrentRasterbar_1_0: use slightly older boost to fix build (master...fix/rasterbar_1_0) https://git.io/vNeoT
NixOS_GitHub has left #nixos [#nixos]
<phdoerfler> where do I get `stdenv` from?
<tilpner> Same place :)
<tilpner> For packages it's convention to take these as arguments, so users can switch them out
<phdoerfler> Why comes some .nix files have it in the first line like { lib, stdenv, ... }?
<mpickering> how can I debug "value is a function whilst a set was expected errors"?
<tilpner> That's the convention I mentioned
<phdoerfler> ah
<phdoerfler> another puzzle piece
<phdoerfler> :)
<tilpner> mpickering - nix-repl, thinking, profanity, and pasting it to #nixos
<tilpner> It can be quite frustrating, some errors aren't very helpful
knupfer has quit [Ping timeout: 260 seconds]
<mpickering> The error is reported on line 11
nithor has quit [Ping timeout: 250 seconds]
<mpickering> head-hackage-overrides is a set of overrides which I then want to augment additionally
* tilpner package 'haskell.packages.ghcHEAD' has no source location information :(
<mpickering> what do you mean?
<tilpner> nix edit fails for haskell.packages.ghcHEAD. I found the .nix file though
dan_b has quit [Ping timeout: 240 seconds]
<mpickering> I think the problem is just with my mkDerivation override
knupfer has joined #nixos
<phdoerfler> Is there some form of "IDE" for nix?
<tilpner> IME the line numbers aren't always accurate
<phdoerfler> I'm not asking for much. But anything's better than nano
<andi-> vim?
<phdoerfler> ok maybe I am asking for much
<phdoerfler> :D
<phdoerfler> does vim have some nix plugin or completion thing or something?
<tilpner> phdoerfler - https://github.com/LnL7/vim-nix
<tilpner> phdoerfler - Combined with nixUnstable (for nix edit, when it works), it's quite good
nithor has joined #nixos
<phdoerfler> I mean nano has syntax highlighting for nix, file type detection and a rudimentary auto indentation
<mpickering> tilpner: I fixed it now thanks
<tilpner> And something does syntax checking, but I forgot which plugin that is
el_putin has joined #nixos
<mpickering> I was just overriding it in completely the wrong way
la_putin has quit [Read error: Connection reset by peer]
<tilpner> mpickering - Paste fixed version?
<phdoerfler> tilpner: nix edit sounds interesting
<LnL> vim-ale has syntax checking
fyuuri has quit [Ping timeout: 240 seconds]
<LnL> and I tried my best with indentation for vim-nix
<mpickering> vim-nix works really well for me (Y)
<tilpner> I suspect syntastic does the syntax checking
<LnL> yeah that also supports nix
<andi-> yep, I love the syntax checking for nix in vim <3
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #33393: Correct boost configure phase when enablePython is false (master...boostconfigurepythonfix) https://git.io/vNelJ
NixOS_GitHub has left #nixos [#nixos]
<tilpner> mpickering - Oh. I assumed mkDerivation was overridable that way, should've checked :c
zzamboni has joined #nixos
<mpickering> I just cargo culted that answer
<mpickering> but I think that it's because mkDerivation is just a normal function?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch opened pull request #33398: lib/generators: abort on pattern match failure (master...generators-toPretty-fix) https://git.io/vNeKX
NixOS_GitHub has left #nixos [#nixos]
<tilpner> As opposed to the scary overridable functor that callPackage and makeOverridable return?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch pushed 1 new commit to master: https://git.io/vNeKD
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 3197221 Profpatsch: lib/generators: abort on pattern match failure
<dhess> Nice. I think I will soon be able to make a PR that will get haskellPackages building on armv7l-linux.
<tilpner> It should be possible to have overridable mkDerivation
simukis has quit [Ping timeout: 248 seconds]
<mpickering> I don't understand the intricacies of overriding
<dhess> Anyone around who is on NixOS armv7l-linux, running one of the -unstable channels?
<dhess> I need someone to try `nix-shell -p jemalloc` on one of those, to see what happens. The tests fail on my NixOS armv7l-linux host, want to see if that's reproducible.
dan_b has joined #nixos
<samueldr> I'd need to test again, but iirc, it was earlier this year
<samueldr> failing
<samueldr> (my armv7l is currently already buildint stuff)
<dhess> samueldr: ahh ok so you remember jemalloc having problems?
jrolfs has quit [Ping timeout: 240 seconds]
jrolfs__ has quit [Ping timeout: 252 seconds]
<dhess> that is probably good enough confirmation if so, just wanted to make sure this is not some issue with my hardware
<samueldr> ~95% sure
<dhess> samueldr: cool, thanks.
jrolfs has joined #nixos
jrolfs__ has joined #nixos
m0rphism has quit [Quit: WeeChat 1.9.1]
jrolfs has quit [Ping timeout: 240 seconds]
jrolfs__ has quit [Ping timeout: 256 seconds]
jrolfs__ has joined #nixos
jrolfs has joined #nixos
hiratara has quit [Remote host closed the connection]
hiratara has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master e1e5860 Ryan Trinkle: Merge pull request #33346 from ryantrinkle/init-thunderbolt...
<NixOS_GitHub> nixpkgs/master 70cf769 Ryan Trinkle: maintainers: add ryantrinkle
<NixOS_GitHub> [nixpkgs] ryantrinkle pushed 3 new commits to master: https://git.io/vNePC
<NixOS_GitHub> nixpkgs/master 36fbcfd Ryan Trinkle: thunderbolt: init at 0.9.2
szicari has quit [Quit: szicari]
dan_b` has joined #nixos
jrolfs__ has quit [Ping timeout: 248 seconds]
jrolfs has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNePu
<NixOS_GitHub> nixpkgs/master 8aafa83 adisbladis: plasma: 5.11.4 -> 5.11.5
<NixOS_GitHub> nixpkgs/master b057dff adisbladis: Merge pull request #33356 from adisbladis/plasma-5_11_5...
NixOS_GitHub has left #nixos [#nixos]
<dan_b`> does nixos have a preferred or default mta? I have a shell host (currently on debian/exim) that I need to upgrade
<dhess> oh wow, someone just fixed the jemalloc issue on ARM
<dan_b`> I'm most familiar with exim but will go with whatever makes it easiest to do reasonable spam filtering, a couple of local users and some forwards
<dhess> yay!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #33399: GHC: Normalize derivations is a few simple-hash preserving ways (master...ghc-normalize) https://git.io/vNeKM
NixOS_GitHub has left #nixos [#nixos]
<tilpner> dan_b` - https://github.com/r-raymond/nixos-mailserver might be relevant to you
<dan_b`> cheers, will take a look
Fannar has quit [Ping timeout: 240 seconds]
<dan_b`> also I would like to say that Ericson2314 and bgamari (dont' know if they irc or not) are my personal heroes for nixos cross-compilation work
<bgamari> dan_b`, :)
<dan_b`> oh hi :-)
<dan_b`> I'm building nix for my (mips) router
<dan_b`> er, that was completely wrong
<dan_b`> I'm *using* nix(pkgs) to build an image vor my mips router
<LnL> Sonarpulse ^ :)
<dan_b`> and the elegant cross stuff is making it all work a whol lot better
<Sonarpulse> dan_b`: :)
<Sonarpulse> except
<Sonarpulse> I totally borked mips
<Sonarpulse> :D
<Sonarpulse> well it is missing the emulation
<dan_b`> I dunno, its working fine for me
<Sonarpulse> oh really?
<Sonarpulse> what crossConfig?
<bgamari> Is there any way to use nix-diff without building the derivation?
<Sonarpulse> bgamari: nix-instantiate should make the drv file
<dhess> pstn: geeze, I thought at the very least that AMD was in the clear.
<bgamari> Sonarpulse, but it first needs to build all of the dependencies
<dan_b`> this has got me to the point of being able to build a kernel and a c library and a working rsync binary
<pstn> dhess: Nah, everything is screwed across architectures.
<bgamari> In short: I have a large build (e.g. several days of build time) and somehow nix now wants to rebuild everything
<bgamari> I have a reference to the expected derivation
<bgamari> but it seems I can't use nix-diff unless I build the entire new derivation as well
<Sonarpulse> bgamari: weird I didn't know nix-diff did that, I just used it once
<Sonarpulse> though i think that was on a mass rebuild
<dhess> dan_b`: oh I was hoping someone would do something like that!
pjan_ has joined #nixos
<dan_b`> got tired of installing openwrt on my network deivices and tweaking it and then forgetting what I'd even done
<dhess> I am so with you on that
<dan_b`> but it's early days yet because I picked a target device that there is no support for the ethernet hw in the linus kernel
<dhess> not to mention trying to upgrade it
<sphalerite> who me?
<dan_b`> hopefully it's an easy port from openwrt or lede
teej has quit [Quit: Connection closed for inactivity]
<pstn> Linus: You might be surprised to know, that there is another linux in our ecosystem, who is nearly as important as you are :-D
<Sonarpulse> bgamari: to be clear, nix-diff is actually performign a build? or failing if it is not done?
<Sonarpulse> dan_b`: on bgamari's branch there should be fixed linux cross compilation, did that not work?
<sphalerite> never heard of the linus kernel myself :p
nithor has quit [Ping timeout: 255 seconds]
Itkovian has joined #nixos
<dan_b`> Sonarpulse: I dunno, I originally started from master and what I've got works so I haven't gone back to it
pjan_ has quit [Client Quit]
Fannar has joined #nixos
<Havvy> How do you get the sha256 of a specific github commit?
<Sonarpulse> dan_b`: if it works great, but it should end up being a lot easier and simpler on your end :)
<Sonarpulse> Havvy: hi!
<dan_b`> I will look forward to that :-)
<Havvy> Hey Sonarpulse.
<bgamari> Sonarpulse, you need to build the derivation before nix-diff is usable
jrolfs has joined #nixos
jrolfs__ has joined #nixos
<Sonarpulse> bgamari: weird and unfortunate
<tilpner> Hey Havvy! Use nix-prefetch-git or nix-prefetch-url
<Sonarpulse> bgamari: happy to give it a shot if I can easily get at the drvs
<tilpner> Havvy - Alternatively, provide a dummy sha256, then pick the correct one from the error c.c
<bgamari> Sonarpulse, afraid not; it requires 30GB of wikipedia dumps and around bazillion cpu hours
chreekat has quit [Ping timeout: 265 seconds]
<dhess> tilpner: nix-prefetch-url works for me only in some cases. I'm not sure what I'm doing wrong.
<Sonarpulse> bgamari: well i mean the drvs not final builds, but gotcha
chreekat has joined #nixos
<tilpner> Do you happen to have an example of it failing?
<Havvy> tilpner: The latter sounds easier.
<dhess> tilpner: not at the moment, but next time it happens I'll try to pass it along
<tilpner> Havvy - It is, for small repos. But you will have to download the thing twice, which is not always acceptable, thus nix-prefetch-*
<Havvy> It's a small repo. Not even at 1000 commits yet.
jensens has quit [Ping timeout: 246 seconds]
<dan_b`> I have another question, actually: what's the relationship between staging and master? Does stuff on stagng turn up on master unchanged a week later or is it likely to get further changes in the interim?
jrolfs has quit [Ping timeout: 240 seconds]
jrolfs__ has quit [Ping timeout: 240 seconds]
zzamboni has quit [Quit: Leaving.]
<pie_> copumpkin, do you have agda working
<copumpkin> I haven't used it in nix in ages
<Sonarpulse> dan_b`: further changes are likely
<bgamari> How does nix hash symlinks?
nithor has joined #nixos
<gchristensen> bgamari: I think it treats it as a text file?
<bgamari> is there any way to convince it to hash the referee
<Sonarpulse> bgamari: not that I now of :(
michaelpj_ has quit [Ping timeout: 264 seconds]
<pie_> copumpkin, oh boy...thanks anyway
zzamboni has joined #nixos
MP2E has quit [Remote host closed the connection]
fyuuri has joined #nixos
jrolfs has joined #nixos
jrolfs__ has joined #nixos
<gchristensen> bgamari: symlinks are impure in nix :(
<makefu> !howoldis
<makefu> ah it was !stuck ...
nithor has quit [Ping timeout: 265 seconds]
MP2E has joined #nixos
<bgamari> gchristensen, it seems like there ought to be a way to force it to dereference symlinks
nithor has joined #nixos
fyuuri has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley pushed 1 new commit to master: https://git.io/vNeyc
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master e8caa47 John Wiegley: nss: Omit an extraneous definition; fix other problems on Darwin
oida has quit [Quit: WeeChat 1.6]
nithor has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 75634af John Wiegley: pass-otp: New expression
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] jwiegley pushed 1 new commit to master: https://git.io/vNeyR
swayf has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 265 seconds]
knupfer1 is now known as knupfer
nkpart has joined #nixos
spietz has quit [Ping timeout: 248 seconds]
`_ has quit [Ping timeout: 256 seconds]
oida has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master d732c53 Elis Hirwing: linux-steam-integration: init at 0.7.2
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNeSz
<NixOS_GitHub> nixpkgs/master 0928735 adisbladis: Merge pull request #33051 from etu/linux-steam-integration...
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 566ded3 Will Dietz: pandoc: fix build by using buildDepends to match cabal file...
<NixOS_GitHub> nixpkgs/master 6d1a547 Daiderd Jordan: Merge pull request #33352 from dtzWill/fix/pandoc-2.0.6...
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vNeSK
kier has quit [Remote host closed the connection]
nithor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley pushed 1 new commit to master: https://git.io/vNeSD
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 29510ca John Wiegley: pass-otp: Change oathtool reference into an absolute path
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vNeSx
<NixOS_GitHub> nixpkgs/master a325405 Mathieu Boespflug: bazel: 0.8.0 -> 0.9.0 (#33082)
NixOS_GitHub has left #nixos [#nixos]
kier has joined #nixos
Aleksejs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill closed pull request #33397: libtorrentRasterbar_1_0: use slightly older boost to fix build (master...fix/rasterbar_1_0) https://git.io/vNeoT
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir opened pull request #33402: libtorrentRasterbar: 1.1.5 -> 1.1.6 (master...libtorrent-rastabar-1.1.6) https://git.io/vNe9W
NixOS_GitHub has left #nixos [#nixos]
jrolfs__ has quit [Ping timeout: 264 seconds]
jrolfs has quit [Ping timeout: 248 seconds]
yorick has quit [Remote host closed the connection]
dywedir has quit [Remote host closed the connection]
lassulus has quit [Quit: WeeChat 1.9.1]
<Aleksejs> Hello, I'm trying to install NixOS on lenovo ideapad 910 and it shows "An error occurred in stage 1 of the boot process"
lassulus has joined #nixos
lassulus has quit [Client Quit]
lassulus has joined #nixos
pjan_ has joined #nixos
<Aleksejs> internet suggests that this issue can be related to UEFI, and wiki says that I should do additional steps before install, but the link to those steps is dead
oida has quit [Ping timeout: 252 seconds]
mekeor has quit [Ping timeout: 255 seconds]
<dhess> Aleksejs: the most straightforward fix is to put that link in archive.org
oida has joined #nixos
<dhess> or you can check the new wiki, but not all of the old stuff is there
chreekat has quit [Ping timeout: 255 seconds]
chreekat has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
<makefu> Aleksejs: if you find old stuff in archive.org, go ahead and put it in the new wiki :D
sigmundv has joined #nixos
jsgrant_ has quit [Remote host closed the connection]
jsgrant_ has joined #nixos
sigmundv has quit [Remote host closed the connection]
jrolfs has joined #nixos
sigmundv__ has quit [Ping timeout: 240 seconds]
jsgrant_ has quit [Remote host closed the connection]