gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<CrazedProgrammer> pdogdan: when getty clears the screen there's a 2-3 second freeze before it gets to login/display manager
ashgillman has joined #nixos
<{^_^}> [nixpkgs] @symphorien opened pull request #37285 → gosmore: fix build with gcc7 → https://git.io/vxOKt
ericsagnes has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 260 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<CrazedProgrammer> pbogdan: sorry, misspeled your name
alex`` has quit [Ping timeout: 265 seconds]
jtojnar has quit [Quit: jtojnar]
mudri has quit [Ping timeout: 260 seconds]
jtojnar has joined #nixos
jtojnar2 has quit [Ping timeout: 260 seconds]
nD5Xjz has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #37286 → exempi: 2.4.4 -> 2.4.5 → https://git.io/vxOKj
Ariakenom has quit [Read error: Connection reset by peer]
nD5Xjz has joined #nixos
athan has quit [Quit: leaving]
simukis has quit [Ping timeout: 260 seconds]
pxc has quit [Ping timeout: 264 seconds]
nD5Xjz has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @cleverca22 opened pull request #37288 → make-system-tarball: allow alternate compression methods → https://git.io/vxO6s
<{^_^}> [nixpkgs] @disassembler opened pull request #37289 → dnsdist: init at 1.2.1 → https://git.io/vxO6G
<clever> disasm: heh, we opened PR's within 7 seconds of eachother
KABA has joined #nixos
<disasm> clever: haha, nice! review swap? :)
<clever> already skimmed over your description
<clever> i'll have a deeper look
<KABA> jtojnar or someone working on gnome3.28, I just tried installing gnome-music on 2fabd17 (latest hydra build) and it fails with searchbar.py:301: Warning: cannot retrieve class for invalid (unclassed) type 'void'
<clever> disasm: one piece of input i'm looking for, is if i should keep the default at xz, or change the default to pixz
<jtojnar> KABA: gnome-music is broken due to https://github.com/NixOS/nixpkgs/issues/34988
<{^_^}> [nix] @shlevy pushed 2 commits to master: https://git.io/vxO60
<{^_^}> → 43bef1b8 by @zimbatm: doc: document the min-free and max-free options
<{^_^}> → fef8ebf5 by @zimbatm: doc: add xml:id to all the config options
<{^_^}> [nix] @shlevy merged pull request #1984 → Document min-free and max-free → https://git.io/vxOui
<disasm> clever: imo, leave the default for now
<clever> the biggest difference is runtime (5m vs 1m20) and output size (118mb vs 129mb)
<KABA> jtojnar: Oh, I see. Just wanted to help testing as I can't really (due to lack of knowledge/time) help with other things, but would really like to see gnome3.28
<clever> but i have no idea how deterministic pixz is, and i havent been able to get build-repeat to work on nix
nD5Xjz has joined #nixos
<jtojnar> KABA: hopefully it will not take long now, we already know the cause of the issue, someone just needs to update the regex pattern
eliaslfox has joined #nixos
<clever> disasm: only thing i can see as an issue in your PR is the lack of enableParallelBuilding = true;, its only using 1 core when i test the build
KABA has quit [Quit: Page closed]
katona has joined #nixos
throwup has quit [Ping timeout: 264 seconds]
nD5Xjz has quit [Ping timeout: 246 seconds]
la_putin_ has quit [Ping timeout: 240 seconds]
<clever> disasm: sent a PM as well
jsgrant has quit [Quit: WeeChat 2.0.1]
<{^_^}> [nixpkgs] @ryantm opened pull request #37290 → fox: 1.6.49 -> 1.6.56 → https://git.io/vxOim
jtojnar has quit [Remote host closed the connection]
fl3 has quit [Remote host closed the connection]
la_putin_ has joined #nixos
<{^_^}> [nixos-homepage] @matthewbauer opened pull request #193 → Add packages list for nixpkgs → https://git.io/vxOis
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ca9c562661d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d4676929070 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
ryantm has quit [Quit: Lost terminal]
ericsagnes has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @shlevy closed pull request #34699 → Add composable variant of builtins.path → https://git.io/vAfFm
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d4676929070 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
ericsagnes has joined #nixos
nD5Xjz has joined #nixos
loonquawl__ has joined #nixos
nD5Xjz has quit [Ping timeout: 260 seconds]
loonquawl has quit [Ping timeout: 256 seconds]
loonquawl has joined #nixos
blankhart has quit [Ping timeout: 260 seconds]
blankhart has joined #nixos
loonquawl__ has quit [Ping timeout: 264 seconds]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @qknight opened pull request #37291 → Emscripten 1.37.16 to 1.37.36 → https://git.io/vxOP0
loonquawl has quit [Ping timeout: 240 seconds]
newhoggy has joined #nixos
newhoggy_ has joined #nixos
nD5Xjz has joined #nixos
newhoggy has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @shlevy pushed to staging « lsof: Add (temporary?) tarball URL and fix eval on darwin. »: https://git.io/vxOPy
<{^_^}> [nixpkgs] @shlevy pushed 11 commits to glibc-2.27: https://git.io/vxOPS
<{^_^}> → 2548ed47 by @shlevy: glibc: Make 2.27 the default.
<{^_^}> → f1281c21 by @shlevy: help2man: Make safe to use in bootstrap stdenv.
<{^_^}> → 612a10e1 by @shlevy: xfsprogs: Fix build on glibc-2.27
newhoggy_ has quit [Remote host closed the connection]
michas__ has joined #nixos
<{^_^}> [nixpkgs] @shlevy pushed to glibc-2.27 « Try to poke hydra into actually rebuilding lsof.src »: https://git.io/vxOPp
<{^_^}> [nixpkgs] @shlevy pushed 0 commits to glibc-2.27: https://git.io/vxOXv
variable has joined #nixos
loonquawl has joined #nixos
michas_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @shlevy pushed to master « mcron: Fix missing libtool dependency »: https://git.io/vxOXL
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ca9c562661d (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<{^_^}> [nixpkgs] @shlevy pushed 122 commits to staging: https://git.io/vxOXm
<{^_^}> → dc1c9fb2 by @rnhmjoj: noteshrink: init at 0.1.1
<{^_^}> → 823b155a by @xeji: libs3: 2015-04-23 -> 2017-06-01, fix build
<{^_^}> → 7ec30b3f by @xeji: manticore: 2014.08.18 -> 2017.08.22, fix build
<{^_^}> [nixpkgs] @shlevy pushed 11 commits to glibc-2.27: https://git.io/vxOX3
<{^_^}> → 2544d7a5 by @shlevy: glibc: Make 2.27 the default.
<{^_^}> → 47c4b726 by @shlevy: help2man: Make safe to use in bootstrap stdenv.
<{^_^}> → 3ee33751 by @shlevy: xfsprogs: Fix build on glibc-2.27
Lisanna has joined #nixos
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
<{^_^}> [nixpkgs] @shlevy pushed to master « release-small.nix: Fix evaluation error »: https://git.io/vxOX2
pkill9 has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @shlevy pushed 2 commits to staging: https://git.io/vxOXV
<{^_^}> → 8b097fc7 by @shlevy: release-small.nix: Fix evaluation error
<{^_^}> → 805721bd by @shlevy: Merge branch 'master' into staging
loonquawl has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @shlevy pushed 11 commits to glibc-2.27: https://git.io/vxOXw
<{^_^}> → 273e58eb by @shlevy: glibc: Make 2.27 the default.
<{^_^}> → 2929a2c1 by @shlevy: help2man: Make safe to use in bootstrap stdenv.
<{^_^}> → cd843345 by @shlevy: xfsprogs: Fix build on glibc-2.27
dan_b has quit [Ping timeout: 240 seconds]
loonquawl has joined #nixos
<{^_^}> [nixpkgs] @ryantm closed pull request #37284 → emscripten: 1.37.16 -> 1.37.36 → https://git.io/vxOoS
logzet has quit [Ping timeout: 276 seconds]
logzet has joined #nixos
n0qqe has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
logzet has quit [Remote host closed the connection]
noqqe has quit [Ping timeout: 264 seconds]
n0qqe is now known as noqqe
astrofog has joined #nixos
ottidmes has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @coreyoconnor opened pull request #37292 → wine: unstable to 3.4 and make "unsafe" GStreamer plugins non-default → https://git.io/vxO13
astrofog has quit [Quit: Quite]
michas__ has quit [Ping timeout: 260 seconds]
variable has quit [Quit: Found 1 in /dev/zero]
<shlevy> aszlig: Around?
ashgillman has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @shlevy pushed to binutils-2.30 « binutils: Bump default to 2.30 »: https://git.io/vxO1x
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm has joined #nixos
mounty has quit [Ping timeout: 265 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
markus1199 has joined #nixos
Supersonic112 is now known as Supersonic
Fare has joined #nixos
markus1189 has quit [Ping timeout: 246 seconds]
loonquawl has quit [Quit: loonquawl]
Fare has quit [Ping timeout: 240 seconds]
<pjan> any home-manager users in the room? rycee? I'm currently configuring home-manager by setting the HOME_MANAGER_CONFIG environment variable. Can this be done through the nixPath as well?
jason has joined #nixos
jason is now known as Guest40848
Guest40848 has left #nixos [#nixos]
Guest40848 has joined #nixos
Guest40848 has left #nixos [#nixos]
_null_ has joined #nixos
Fare has joined #nixos
variable has joined #nixos
zie[m] has joined #nixos
katona has quit [Quit: Connection closed for inactivity]
loonquawl has joined #nixos
Arcaelyx has quit [Quit: Textual IRC Client: www.textualapp.com]
spear2 has joined #nixos
srjek has quit [Ping timeout: 240 seconds]
gspia has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #37293 → pythonPackages.pushover: init at 0.3 → https://git.io/vxOyS
fouric has left #nixos ["WeeChat 1.9.1"]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #37243 → usb-modeswitch-data: 20170205 -> 20170806 → https://git.io/vxYAy
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/vxOy7
<{^_^}> → 1744ff99 by @ryantm: usb-modeswitch-data: 20170205 -> 20170806
<{^_^}> → 453a60ed by @peterhoeg: Merge pull request #37243 from ryantm/auto-update/usb-modeswitch-data
boomshroom has joined #nixos
<boomshroom> Hello!
aarvar has joined #nixos
MP2E has quit [Remote host closed the connection]
variable has left #nixos ["Found 1 in /dev/zero"]
<boomshroom> What do you guys think/know about Fuchsia and Zircon? (and how likely we could nix on it ;))
_null_ has quit [Ping timeout: 252 seconds]
_null_ has joined #nixos
nullvoid8 has quit [Quit: Konversation terminated!]
jsoo has joined #nixos
jsoo has quit [Client Quit]
jsoo has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
ryantm has joined #nixos
jsoo has quit [Quit: Mutter: www.mutterirc.com]
endformationage has quit [Quit: WeeChat 1.9.1]
schoppenhauer has quit [Ping timeout: 260 seconds]
loonquawl has quit [Quit: loonquawl]
schoppenhauer has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
jsoo has joined #nixos
jsoo has quit [Client Quit]
<{^_^}> [nixpkgs] @ryantm opened pull request #37295 → fs-uae: 2.8.3 -> 2.8.4 → https://git.io/vxO9J
<boomshroom> I found my brainfuck interpreter in Nix.
<boomshroom> Is there any way to convert an integer to it's unicode or ascii character?
eliaslfox has quit [Read error: Connection reset by peer]
s2mitrov has joined #nixos
<s2mitrov> heyo, is there a safe/good way to delete bad, recent nixos configs?
<boomshroom> s2mitrov: You mean that you know a generation won't work so you want to remove it from your boot menu?
<s2mitrov> ex. my like 4 or 5 most recent configs give me a 'failed to execute login command' thing, so i'd prefer to just delete them from the boot list so that when i hit default boot it picks my last working one
<s2mitrov> yeah
robstr has joined #nixos
<boomshroom> s2mitrov: I don't know if it works for the nixos generations, but `nix-env --delete-generations` can do that for nix-env generations.
<boomshroom> Maybe `sudo nix-env -p /nix/var/nix/profiles/system --delete-generations ${generations_to_delete}` would work?
jsoo has joined #nixos
jsoo has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #37296 → Fix fallout from #36275 → https://git.io/vxO98
<s2mitrov> boomshroom: is there some way to reorder generations instead?
robstr has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @coreyoconnor opened pull request #37297 → Add Deja-Vu fonts to jenkins environment and run as AWT headless → https://git.io/vxO92
<s2mitrov> ex. i've booted into my working generation (from 3/17), made changes and nixos-rebuild switch'd but then when i default boot i get failed to login, i'm assuming because there's some shitty config/state lurking around from a previous config?
<s2mitrov> but i'm also kinda confused since if i select the 3/17 config again, the changes i made are there
<boomshroom> s2mitrov: Not that I know of. As far as I know, you can delete arbitrary generations and change the current environment to arbitrary generations. (rollback is just a shorthand to switch to the second most recent generation)
<yrashk> whom do I talk abotu config.hardware related PR? One of my PRs has been sitting with no resolution for two months now https://github.com/NixOS/nixpkgs/pull/33794
<s2mitrov> boomshroom: is what i'm describing expected behavior? i would've assumed that doing a rebuild on a previous generation would create an entirely new one based off of that generation
<yrashk> On that note, I noticed that it's getting harder to get regular PRs (inits and updates) merged in, I have three collecting dust for varying amounts of time (https://github.com/NixOS/nixpkgs/pulls/yrashk). Is there anything can help the core team with on that end?
<{^_^}> [nixpkgs] @veprbl opened pull request #37298 → pyslurm: 20171102 -> 20170302 to fix after slurm bump → https://git.io/vxO9o
<boomshroom> s2mitrov: If you rebuild, nothing in the current or other generations should matter. Only what's currently in the configuration.nix and the files it imports.
<{^_^}> [nixpkgs] @ryantm opened pull request #37299 → fwup: 0.18.1 -> 1.0.0 → https://git.io/vxO96
<s2mitrov> thats what I thought, but it doesn't seem to be behaving that way
<boomshroom> I should mention that neither a rebuild nor a switch should impact the configuration.nix. Maybe you didn't quite remove what's causing it to fail?
<s2mitrov> the whole thing started when i added lightdm and feh to set my background on startup; it worked, but for whatever reason i couldn't launch a terminal after logging in, so i got rid of lightdm from my config, rebuilt and then i was getting 'failed to excecute login command' or whatever, so i just removed all the feh stuff from the config and that worked in that it's no longer in the config, but i can't use any of my recent configs to
<s2mitrov> login
<s2mitrov> i have to go back to the 3/17 config which for some reason has the changes i've made (which I would expect to exist only in the 3/18 configs)
<coconnor> No timezone weirdness between those two dates?
<s2mitrov> shouldn't be, i don't think
<s2mitrov> i didn't play with it, at least
<s2mitrov> https://i.imgur.com/pbrseZG.png so the bottom config there is the good one; i can boot into it, make changes, nixos-rebuild switch and everything is 'fine'
<s2mitrov> but when i reboot and select default bot (or choose any of the more recent configs) it fails
<s2mitrov> so i go back to the 3/17 one at the bottom there and it works and for whatever reason also has the changes to config i've made previously
<s2mitrov> oh
<s2mitrov> is messing with user groups stateful or something?
<coconnor> there is a part of switching NixOS configs that is stateful.
<coconnor> essentially modifies some stuff in /etc that otherwise be moved. And misc stuff like changing hte MBR
<boomshroom> When I specify multiple sources to use, how can I tell where they get extracted to in relation to eachother?
<coconnor> there are two modes for user/groups: if "mutableUsers" is enabled or not
<s2mitrov> the only other change i made was reordering stuff under my user (which I don't think could matter?) and changing the extraGroups, where it was previously `["wheel" "video" "audio" "disk"]` and i changed it to just `[ "wheel" ]`
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/0e7c9b32817 (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<coconnor> long story short: yes.
<coconnor> hmm. reordering shouldn't matter
<s2mitrov> mutableUsers is enabled by default, no?
<coconnor> I don't recall... checking
<coconnor> yes
<coconnor> huh... It's what I use but I expected the default to be declarative users by now haha
<coconnor> what does the "disk" user grant?
<s2mitrov> is there a more strict nix-collect-garbage i can run? i'm thinking lighdm maybe left some crap littered around that might be messing with boot
<s2mitrov> hell if i know, haha
nD5Xjz has quit [Ping timeout: 246 seconds]
<s2mitrov> https://qfpl.io/posts/installing-nixos/ i just copied it from here
<coconnor> huh. no idea haha
<s2mitrov> oh, ok
<s2mitrov> so i can login as root on the broken config
<coconnor> hmm
<s2mitrov> looking at the config in the most recent one, it seems to match exactly what i have in the old one
<coconnor> any files created in hte users "~/.cache"?
<s2mitrov> yeah, there're 3 files in /home/user/.cache/tarballs
<coconnor> ah. not what I'm thinking of.
<coconnor> I'd expect something specific to lightdm (which I presume is the primary thing failing)
<s2mitrov> there is a lightdm.log file under /var/log
<{^_^}> [nixpkgs] @ryantm opened pull request #37300 → gcr: 3.20.0 -> 3.28.0 → https://git.io/vxO9b
magnetophon has quit [Remote host closed the connection]
nD5Xjz has joined #nixos
robstr has joined #nixos
robstr_ has joined #nixos
vaninwagen has joined #nixos
nD5Xjz has quit [Ping timeout: 256 seconds]
<s2mitrov> https://i.imgur.com/i7IqFcE.png seems like it maybe does have something to do with lightdm/xserver?
_null_ has quit [Remote host closed the connection]
<s2mitrov> oh
<s2mitrov> hmm...
<s2mitrov> running nix-collect-garbage on the working config cleaned up nothing, but i just ran it on the 'broken' config where i'm logged in as root and it cleaned up 600 megs of crap
<{^_^}> [nixpkgs] @ryantm opened pull request #37301 → gdl: 3.26.0 -> 3.28.0 → https://git.io/vxOHm
<s2mitrov> buncha lightdm stuff in the output too, hopefully this fixes it
orivej has quit [Ping timeout: 260 seconds]
<s2mitrov> alright nvm lmao
rogue_koder has quit [Quit: Konversation terminated!]
<s2mitrov> it just deleted all my profiles, rip
ok2`` has quit [Ping timeout: 260 seconds]
newhoggy has joined #nixos
<s2mitrov> :"^) so the issue was in my reordering of stuff for my user, i managed to accidentally delete `isNormalUser = true;`
Guanin has quit [Ping timeout: 264 seconds]
<hyper_ch> hmmm, something is blocking nixos-unstable and nixos-unstable-small
<s2mitrov> anyone using feh to set their wallpaper on startup?
eliaslfox has joined #nixos
_null_ has joined #nixos
<_null_> has anyone had problems with using spectacle (kde screenshot tool). I think kde can't find it? there's a default shortcut that's there it just sorta doesn't happen. I've tried putting spectacle in services.dbus.packages and it doesn't seem to help (do I need to restart my display manager?)
<boomshroom> s2mitrov: I was. I think I stopped after switching to lightdm
<boomshroom> Let's see if my jiri derivation builds.
<boomshroom> Let's see if my jiri derivation builds.
<boomshroom> Whoops, thought this was my build terminal.
Guanin has joined #nixos
<etu[m]> hyper_ch: Yeah... The NixOS unstable age is starting to get annoying...
<etu[m]> !stuck
<s2mitrov> is there a more updated version of qutebrowser in nixos unstable?
<s2mitrov> the one on the website package search is like 3 years old
<{^_^}> [nixpkgs] @ryantm opened pull request #37302 → gecode: 3.7.3 -> 6.0.0 → https://git.io/vxOHu
<boomshroom> I'm making a non-standard derivation. I don't want to bother with all of the phases, so I'm trying to set the builder manually, however toFile doesn't let the output refer to derivation outputs. How can I get around this?
<boomshroom> More specifically, I have a list of git locations and a desired path for each. I want to copy the git repositories to their coresponding path and make that the input to the actual derivation.
newhoggy has quit [Remote host closed the connection]
<tilpner> s2mitrov - Newest is 1.2.0
<{^_^}> [nixpkgs] @ryantm opened pull request #37303 → gedit: 3.22.1 -> 3.28.0 → https://git.io/vxOH5
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 268 seconds]
Mateon3 is now known as Mateon1
<{^_^}> [nixpkgs] @dezgeg merged pull request #36795 → lkl: 2017-11-10 -> 2018-03-10 → https://git.io/vxeOO
<{^_^}> [nixpkgs] @dezgeg pushed commit from @YorikSar to master « lkl: 2017-11-10 -> 2018-03-10 »: https://git.io/vxOQU
<s2mitrov> tilpner: just added unstable to my nix-channels which has 1.10
<s2mitrov> good enough for me i guess
<adisbladis[m]> etu: Yeah -.- Tons of breakage on master recently...
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @yrashk opened pull request #37304 → xml2rfc: init at 2.9.6 → https://git.io/vxOQs
nD5Xjz has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jtojnar closed pull request #37303 → gedit: 3.22.1 -> 3.28.0 → https://git.io/vxOH5
<{^_^}> [nixpkgs] @jtojnar closed pull request #37301 → gdl: 3.26.0 -> 3.28.0 → https://git.io/vxOHm
<{^_^}> [nixpkgs] @jtojnar closed pull request #37300 → gcr: 3.20.0 -> 3.28.0 → https://git.io/vxO9b
alex`` has joined #nixos
ryantm has quit [Ping timeout: 264 seconds]
<rycee> pjan: Unfortunately it's not possible at the moment. Should be reasonably simple to change, though.
<pjan> rycee: would definitely be cleaner. I'll see of I find time to do it, but I doubt I can find some room before I'm traveling this Wed
<robstr_> Morning, I want to make `tsec` usable from a default.nix file, currently I have problems with the `setup.sh` https://github.com/jmcardon/tsec/blob/master/tsec-libsodium/jni/setup.sh , Is it the right way to run it inside the `shellHook` part ?
jml has quit [Ping timeout: 240 seconds]
eacameron has quit [Ping timeout: 240 seconds]
typetetris has quit [Read error: Connection reset by peer]
Georgyo has quit [Read error: Connection reset by peer]
gleber_ has quit [Read error: Connection reset by peer]
indika has quit [Read error: Connection reset by peer]
mmlb has quit [Quit: Ping timeout (120 seconds)]
dex1983 has quit [Quit: Ping timeout (120 seconds)]
indika_ has joined #nixos
gleber_ has joined #nixos
mudphone has quit [Write error: Connection reset by peer]
bollu has quit [Quit: Ping timeout (120 seconds)]
mudphone has joined #nixos
mmlb has joined #nixos
bollu has joined #nixos
themistocle_ has joined #nixos
Smithx10_ has joined #nixos
eacameron has joined #nixos
ma27 has joined #nixos
r0bby_ has joined #nixos
schaary_ has joined #nixos
typetetris has joined #nixos
r0bby has quit [Read error: Connection reset by peer]
themistocle has quit [Ping timeout: 240 seconds]
nliadm has quit [Ping timeout: 240 seconds]
mpickering has quit [Read error: Connection reset by peer]
Smithx10 has quit [Read error: Connection reset by peer]
schaary has quit [Read error: Connection reset by peer]
Georgyo has joined #nixos
Georgyo has quit [Changing host]
Georgyo has joined #nixos
systmkor has quit [Ping timeout: 240 seconds]
ajp has quit [Quit: No Ping reply in 180 seconds.]
jml has joined #nixos
Fuuzetsu has quit [Ping timeout: 240 seconds]
mpickering has joined #nixos
liny01 has quit [Ping timeout: 240 seconds]
andromeda-galaxy has quit [Ping timeout: 240 seconds]
Georgyo has quit [Changing host]
Georgyo has joined #nixos
jml has quit [Changing host]
jml has joined #nixos
mpickering has quit [Changing host]
mpickering has joined #nixos
ajp_ has joined #nixos
dex1983 has joined #nixos
systmkor_ has joined #nixos
niksnut has quit [Ping timeout: 240 seconds]
schaary_ is now known as schaary
r0bby_ is now known as r0bby
andromeda-galaxy has joined #nixos
niksnut has joined #nixos
liny01 has joined #nixos
nliadm has joined #nixos
contrapumpkin has quit [Ping timeout: 264 seconds]
silver_hook has quit [Ping timeout: 240 seconds]
boomshroom has quit [Quit: WeeChat 2.0]
Fuuzetsu has joined #nixos
silver_hook has joined #nixos
silver_hook has quit [Changing host]
silver_hook has joined #nixos
alpha_sh has quit [Ping timeout: 240 seconds]
troydm1 has quit [Ping timeout: 240 seconds]
alpha_sh has joined #nixos
<pjan> garbas: Re: https://github.com/NixOS/nixpkgs/commit/bf25a02027c5aae13b7e7944a32f28cefffc2b9e#diff-5274f44419e19a44108863e49e8265e8L3163 - why are you doing this in this PR? This is not updating a plugin version. You just throw it out, and break builds along the way.
orivej has joined #nixos
Fuuzetsu has quit [Ping timeout: 240 seconds]
ma27 has quit [Ping timeout: 246 seconds]
Fuuzetsu has joined #nixos
jtojnar has joined #nixos
<s2mitrov> any rust folk around?
<s2mitrov> it seems like installing rust using mozillas overlay does/should include rust-src, and i'm pretty sure i saw it in the output while nix was copying things over, but after installing i can't actually find where it is
<_null_> where would you expect rust-src to be?
<_null_> is it possible it's getting deleted after the build?
<s2mitrov> i have no clue really
<s2mitrov> there's this file in the repo https://github.com/mozilla/nixpkgs-mozilla/blob/master/rust-src-overlay.nix that i tried adding to my overlays and then installing rust-src
<s2mitrov> which worked? in that the install succeeded, but i again wasn't able to find rust-src anywhere
<_null_> shouldn't you be installing rust?
<_null_> # "nix-env -i -A nixos.latest.rustChannels.stable.rust"
<_null_> from what you linked me there
<s2mitrov> yeah, that's what i currently have
<s2mitrov> so after running `nixos.latest.rustChannels.stable.rust` install, i ended up with RLS, rustc, rustdoc, rustfm, rust-gdb, and rust-lldb
<s2mitrov> but i need the actual rust sourcecode for racer to provide autocompletion
<s2mitrov> oh wait
<s2mitrov> hmm..
<{^_^}> [nixpkgs] @FRidh merged pull request #37304 → xml2rfc: init at 2.9.6 → https://git.io/vxOQs
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/vxO5c
<{^_^}> → 3315a549 by @yrashk: xml2rfc: init at 2.9.6
<{^_^}> → 71574041 by @FRidh: Merge pull request #37304 from yrashk/xml2rfc
<s2mitrov> garbas: heyo, you around? :P i'm trying to use your rust-overlay but i'm having trouble finding where rust-src is so that i can set $RUST_SRC_PATH for racer
<tilpner> You could set RUST_SRC_PATH = latest.rustChannels.stable.rust-src in your shell.nix
<MichaelRaskin> boomshroom: you want runCommand, I think
troydm1 has joined #nixos
<s2mitrov> tilpner:how does shell.nix work? i just make a shell.nix in /etc/nixos and any configs in there would apply globally to nix-shells?
ma27 has joined #nixos
<tilpner> No, you would put that into every shell.nix :/
<s2mitrov> :x that uh, sounds tedious to say the least
<tilpner> Or you can set it globally via environment.variables
<tilpner> But that causes problems when you work with different Rust channels
<s2mitrov> i guess i could write a little script to piggy back on cargo new and spit out a shell.nix as well
alhariel has quit [Ping timeout: 260 seconds]
<tilpner> That would be pretty much useless
<tilpner> cargo has no information over what Nix dependencies to add, so all it could fill in is the crate name
<s2mitrov> i'm kinda confused now haha
<s2mitrov> am i supposed to ignore cargo entirely for rust dev on nix?
<tilpner> No
<tilpner> (You can even use rustup now IIRC)
<s2mitrov> i tried using rustup initially but without success, which is why i'm using this overlay :(
<s2mitrov> so every time you make a new project you have to also write a shell.nix for it?
<tilpner> I don't currently create many new Rust projects. I use "nix-shell -p cargo rustc" for the ones I still have around
<tilpner> :/
<{^_^}> [nixpkgs] @FRidh merged pull request #37271 → autofs: 5.1.3 -> 5.1.4 → https://git.io/vxOW4
<{^_^}> [nixpkgs] @FRidh pushed commit from @ryantm to master « autofs: 5.1.3 -> 5.1.4 »: https://git.io/vxO5F
<s2mitrov> in general though, is it normal that you have to write a shell.nix for new projects?
<tilpner> (But I have used the overlay and rustup before, so I may be able to help anyway)
<{^_^}> [nixpkgs] @sorki opened pull request #37305 → nixos manual: fix (n)of typo → https://git.io/vxO5N
<tilpner> Yes, that is normal and generally a good idea
<tilpner> It doesn't have to be for every project, but at least for every development environment
<tilpner> You could share one shell.nix between all your Rust projects
<{^_^}> [nixpkgs] @FRidh pushed commit from @ryantm to release-18.03 « autofs: 5.1.3 -> 5.1.4 »: https://git.io/vxOdL
<{^_^}> [nixpkgs] @7c6f434c merged pull request #37285 → gosmore: fix build with gcc7 → https://git.io/vxOKt
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vxOdq
<{^_^}> → d6aff3d6 by @symphorien: gosmore: fix build with gcc7
<{^_^}> → 3a9bdaa8 by @7c6f434c: Merge pull request #37285 from symphorien/gosmore
<tilpner> And for pure-Rust projects, you can even get away without any nix-shells
<{^_^}> [nixpkgs] @7c6f434c merged pull request #37279 → eigen: 3.3.3 -> 3.3.4 → https://git.io/vxOVd
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vxOdY
<{^_^}> → 8ccd0987 by @ryantm: eigen: 3.3.3 -> 3.3.4
<s2mitrov> these would be pure-rust projects :0
<{^_^}> → 71ab6b3d by @7c6f434c: Merge pull request #37279 from ryantm/auto-update/eigen
<tilpner> Okay
davidlt__ has joined #nixos
<s2mitrov> i'm just planning on working through the rust book so i don't have any complicated build/env needs or anything at the moment
<tilpner> Just install cargo and rustc, and everything should work fine
<tilpner> And as I already said, you can specify RUST_SRC_PATH globally with environment.variables
<tilpner> (And then eventually you can look into using nix-shell...)
newhoggy has joined #nixos
davidlt_ has quit [Ping timeout: 256 seconds]
davidlt__ is now known as davidlt
nD5Xjz has joined #nixos
zzamboni has joined #nixos
<s2mitrov> tilpner: I added it to my environment variables, but `echo $RUST_SRC_PATH` is still empty - do i need to do anything else?
<tilpner> Did you login again?
<tilpner> (And of course nixos-rebuild switch...)
<s2mitrov> forgot the rebuild :"^)
nD5Xjz has quit [Ping timeout: 240 seconds]
<tilpner> :/
zzamboni has quit [Ping timeout: 256 seconds]
<s2mitrov> gah
robstr has quit []
<s2mitrov> racer doesn't like nix paths apparently
<s2mitrov> https://i.imgur.com/syGc0wb.png is there a, uh, like nixpath->normalpath function or something i could use on RUST_SRC_PATH?
simukis has joined #nixos
<_null_> so silly question, how do I pass arguments to a derivation programmatically? If I'm building it I obviously can from the command line
<_null_> but say if it's a dependency I'm using
<{^_^}> [nixpkgs] @nlewo merged pull request #36801 → doctl: 1.5.0 -> 1.7.2 → https://git.io/vxeCB
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxOdw
<{^_^}> → 23947532 by @vdemeester: doctl: 1.5.0 -> 1.7.2
<{^_^}> → 1e756b70 by @nlewo: Merge pull request #36801 from vdemeester/update-doctl-172
<srk> _null_: derivations are just functions, first line typically contains a list of its arguments
<{^_^}> [nixpkgs] @nlewo merged pull request #36803 → docker-machine: 0.13.0 -> 0.14.0 → https://git.io/vxeCr
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxOdo
<{^_^}> → 24dd67db by @vdemeester: docker-machine: 0.13.0 -> 0.14.0
<{^_^}> → eb9b3676 by @nlewo: Merge pull request #36803 from vdemeester/update-docker-machine-0140
<{^_^}> [nixpkgs] @nlewo merged pull request #37035 → bar: init at version 1.11.1 → https://git.io/vxId2
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxOd6
<{^_^}> → 0bba975f by @rdnetto: bar: init at version 1.11.1
<{^_^}> → 782fbc6c by @nlewo: Merge pull request #37035 from rdnetto/master
<_null_> Yeah, I've just had trouble passing in functions
<_null_> er
<_null_> I've had trouble actually passing in teh arguments
<_null_> I'll try harder I guess
<_null_> oh, though one thing is if they have a ton of inputs can I leave some unomidifed?
<_null_> I can't type, unmodified
unlmtd has joined #nixos
<srk> _null_: I think callPackage does some magic regarding arguments but still allows you to pass (override?) some
newhoggy has quit [Remote host closed the connection]
Ke has quit [Ping timeout: 265 seconds]
newhoggy has joined #nixos
<unlmtd> iv been trying to install nixops from head on github, but its missing a bunch of .xml for the docs .. whatsup with that?
<{^_^}> [nixpkgs] @Mic92 pushed to master « telegraf: 1.5.1 -> 1.5.3 »: https://git.io/vxOFk
<unlmtd> the tarball that nixpkgs uses has all those files
<{^_^}> [nixpkgs] @Mic92 pushed to release-18.03 « telegraf: 1.5.1 -> 1.5.3 »: https://git.io/vxOFt
dalaing has left #nixos ["User left"]
<tilpner> s2mitrov - Your path looks wrong, to what did you set it in your nixos-config?
newhoggy has quit [Remote host closed the connection]
mudri has joined #nixos
nD5Xjz has joined #nixos
<sphalerite> unlmtd: use the release.nix in the repo to build it
<{^_^}> [nixpkgs] @Mic92 merged pull request #37280 → kontemplate: 1.3.0 -> 1.4.0 → https://git.io/vxOw0
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vxOFO
<{^_^}> → db2da809 by @tazjin: maintainers: Add tazjin
<{^_^}> → e7c18175 by @tazjin: kontemplate: 1.3.0 -> 1.4.0
<{^_^}> → 9765381b by @Mic92: Merge pull request #37280 from tazjin/chore/bump-kontemplate-v1.4.0
newhoggy has joined #nixos
<s2mitrov> tilpner: `environment.variables = { RUST_SRC_PATH = "${pkgs.latest.rustChannels.stable.rust-src}"; };`
<{^_^}> [nixpkgs] @Mic92 merged pull request #37305 → nixos manual: fix (n)of typo → https://git.io/vxO5N
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxOFn
<{^_^}> → d5de7bbc by @sorki: nixos manual: fix (n)of typo
<{^_^}> → b5c8839e by @Mic92: Merge pull request #37305 from sorki/docfix
<tilpner> s2mitrov - Try environment.variables.RUST_SRC_PATH = "${pkgs.latest.rustChannels.stable.rust-src}/lib/rustlib/src/rust/src";
<{^_^}> [nixpkgs] @Mic92 pushed commit from @sorki to release-18.03 « nixos manual: fix (n)of typo »: https://git.io/vxOFW
<unlmtd> sphalerite: Iv already done that, but I want to install it
<sphalerite> unlmtd: `nix-env -f release.nix -iA build.x86_64-linux` or just `nix-env -i ./result` after building it
<s2mitrov> tilpner: oh shit! it worked!
nD5Xjz has quit [Ping timeout: 260 seconds]
<s2mitrov> thanks for the help! :D
newhoggy has quit [Ping timeout: 256 seconds]
<tilpner> :)
<{^_^}> [nixpkgs] @nlewo pushed commit from @rnhmjoj to release-18.03 « noteshrink: init at 0.1.1 »: https://git.io/vxOFa
<_null_> does callPackage exist?
<{^_^}> [nixpkgs] @rycee pushed commit from @limeytexan to master « perlPackages.ConfigIniFiles: init at 2.94 »: https://git.io/vxOFi
<{^_^}> [nixpkgs] @rycee closed pull request #36983 → perlPackages.Config-IniFiles: init at 2.94 → https://git.io/vxkii
<_null_> the pill only mentions definiing it ourselves, and some nixpkgs reference it but I can't find from where. Using it as my input fails and it's not in stdenv
<tilpner> Yes, it exists. pkgs.callPackage
<_null_> okay, hm I was screwing up something else and it was giving me "attribute ‘callPackage’ missing," as the error
<_null_> but I fixed that much, it seems I need to do something about the hash?
<_null_> now I just get "opening file ‘/nix/store/[the-nix-path]/default.nix" no such file or directory
<clever> _null_: how did you run callPackage?
<_null_> I'm trying to use it on a package I'm downloading, so I'm calling it on pkgs.the-pkg
<clever> thats already been callPackage'd
<_null_> uhhhhh, okay so is there a way I can supply different arguments to it then?
<clever> .override
<clever> callPackage adds an .override function to everything it loads
<_null_> okay so I use "the-pkg.override { my-arg = true }" ?
<clever> yep
orivej has quit [Ping timeout: 268 seconds]
<_null_> awesome, thanks so much for your patience with me
<{^_^}> [nixpkgs] @rycee pushed commit from @limeytexan to master « perlPackages.PkgConfig: init at 0.19026 »: https://git.io/vxObk
<{^_^}> [nixpkgs] @rycee closed pull request #36859 → perlPackages.PkgConfig: init at 0.19026 → https://git.io/vxv17
<_null_> everything's building correctly
newhoggy has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #37297 → Add Deja-Vu fonts to jenkins environment and run as AWT headless → https://git.io/vxO92
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vxObg
<{^_^}> → 241160aa by @coreyoconnor: jenkins: Include Deja-Vu fonts in system environment to silence jenkins warning.
<{^_^}> → 28a55f5b by @coreyoconnor: jenkins: Add "java.awt.headless=true" to JDK options.
<{^_^}> → 2d28d19e by @Mic92: Merge pull request #37297 from coreyoconnor/jenkins-fonts
newhoggy has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/vxObr
<{^_^}> → 83e6969c by @coreyoconnor: jenkins: Include Deja-Vu fonts in system environment to silence jenkins warning.
<{^_^}> → d64af3e4 by @coreyoconnor: jenkins: Add "java.awt.headless=true" to JDK options.
lukec has quit [Ping timeout: 255 seconds]
larsvm_ has quit [Ping timeout: 264 seconds]
_null_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @svsdep opened pull request #37306 → gnomeExtensions.timepp: init at 440cf85dc68d9e6ba876793f13910ee6239622cf → https://git.io/vxObH
<{^_^}> [nixpkgs] @Mic92 merged pull request #37293 → pythonPackages.pushover: init at 0.3 → https://git.io/vxOyS
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/vxObp
<{^_^}> → 1b129b0b by @peterhoeg: pythonPackages.pushover: init at 0.3
<{^_^}> → e1080b0d by @peterhoeg: home-assistant: support pushover
<{^_^}> → 3336a7b8 by @Mic92: python.pkgs.pushover: there are no tests
amir_ is now known as amir
lukec has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/592fb2c5a16 (from 31 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
knupfer has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #37298 → pyslurm: 20171102 -> 20170302 to fix after slurm bump → https://git.io/vxO9o
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxONl
<{^_^}> → 8b1fba58 by @veprbl: pyslurm: 20171102 -> 20170302 to fix after slurm bump
<{^_^}> → a5551103 by @Mic92: Merge pull request #37298 from veprbl/pyslurm_bump
mounty has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed commit from @veprbl to release-18.03 « pyslurm: 20171102 -> 20170302 to fix after slurm bump »: https://git.io/vxONg
hotfuzz has joined #nixos
hotfuzz_ has quit [Ping timeout: 256 seconds]
zzamboni has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #35347 → chkcrontab: init at 1.7 → https://git.io/vAgcS
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vxON6
<{^_^}> → 8ed04b93 by @Ma27: chkcrontab: init at 1.7
<{^_^}> → b96fa84b by @dotlambda: Merge pull request #35347 from Ma27/package-chkcrontab
<{^_^}> [nixpkgs] @vcunat pushed 4 commits to master: https://git.io/vxONP
<{^_^}> → 879ffc06 by @andir: libvorbis: 1.3.5 -> 1.3.6
<{^_^}> → c89ec027 by @andir: tremor: svn-17866 -> git-562307a
<{^_^}> → 488ef9a7 by @vcunat: SDL: avoid cryptic error from /bin/sh impurity
paraseba has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @etu opened pull request #37308 → gitea: fix usage over ssh → https://git.io/vxONX
zzamboni has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @dotlambda merged pull request #37267 → CVE-2018-5146 updates (libvorbis & tremor) → https://git.io/vxOnd
rauno has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vcunat pushed to master « tremor: rename according to our docs »: https://git.io/vxONj
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-17.09: https://git.io/vxOAv
<{^_^}> → 9ca1f41d by @vcunat: tremor: rename according to our docs
<{^_^}> → b41c2fe2 by @vcunat: Merge #37267: libvorbis, tremor: CVE-2018-5146 updates + SDL build impurity.
chisui has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #37306 → gnomeExtensions.timepp: init at 2018.03.17 → https://git.io/vxObH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxOAk
<{^_^}> → 66d2ec52 by @svsdep: gnomeExtensions.timepp: init at 2018.03.17
<{^_^}> → 5ca797c7 by @Mic92: Merge pull request #37306 from svsdep/gnome-3-timepp
paraseba has joined #nixos
nD5Xjz has quit [Ping timeout: 260 seconds]
freeman42x]NixOS has joined #nixos
coot has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-18.03: https://git.io/vxOAG
<{^_^}> → ebcf130a by @vcunat: tremor: rename according to our docs
<{^_^}> → ed6e9c5e by @vcunat: Merge #37267: libvorbis, tremor: CVE-2018-5146 updates + SDL build impurity.
<{^_^}> [nixpkgs] @Mic92 merged pull request #37308 → gitea: fix usage over ssh → https://git.io/vxONX
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxOAn
<{^_^}> → fa76c9a3 by @etu: gitea: fix usage over ssh
<clefru> Is it just me or is the release-18.03 channel broken for pycurl?
<{^_^}> → a8b81d1c by @Mic92: Merge pull request #37308 from etu/gitea-working-git-over-ssh
<{^_^}> [nixpkgs] @Mic92 pushed commit from @etu to release-18.03 « gitea: fix usage over ssh »: https://git.io/vxOAW
<tilpner> Hold on, that sounds familiar
<{^_^}> [nixpkgs] @Mic92 merged pull request #37270 → heapster: fix build → https://git.io/vxOWL
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxOA8
<{^_^}> → 69093973 by @xeji: heapster: fix build
<tilpner> Someone had the same issue yesterday, but it turned out they hadn't upgraded to newest nixos-18.03
<{^_^}> → de4d861d by @Mic92: Merge pull request #37270 from xeji/p/heapster
<tilpner> $ nip nixos-18_03.python36Packages.pycurl => /nix/store/fmvi0fhiwgz0l80j2k2d0gxfdjcgq45f-python3.6-pycurl-7.19.5.1
<{^_^}> [nixpkgs] @Mic92 pushed commit from @xeji to release-18.03 « heapster: fix build »: https://git.io/vxOA0
<{^_^}> [nixpkgs] @vcunat closed pull request #36963 → curl: 7.58.0 -> 7.59.0 → https://git.io/vxTx8
nD5Xjz has joined #nixos
Ke has joined #nixos
Ke has quit [Changing host]
Ke has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #37208 → firefox, firefox-bin: 59.0 -> 59.0.1, firefox-esr: 52.7.1esr -> 52.7.2esr [Critical security fixes] → https://git.io/vxY6v
<{^_^}> [nixpkgs] @andir pushed 4 commits to master: https://git.io/vxOAK
<{^_^}> → 3d28c329 by @taku0: firefox-bin: 59.0 -> 59.0.1
<{^_^}> → 9aae5d7c by @taku0: firefox: 59.0 -> 59.0.1
<{^_^}> → d947db7e by @taku0: firefox-esr: 52.7.1esr -> 52.7.2esr
<{^_^}> [nixpkgs] @vcunat pushed commit from @NeQuissimus to release-17.09 « curl: 7.58.0 -> 7.59.0 »: https://git.io/vxOA6
larsvm has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @NeQuissimus to release-18.03 « curl: 7.58.0 -> 7.59.0 »: https://git.io/vxOAd
orivej has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [Remote host closed the connection]
mounty has quit [Ping timeout: 240 seconds]
s2mitrov has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/vxOxC
<{^_^}> → 214016c1 by @vcunat: Merge #37264: archiveopteryx: fix build w/gcc7
<{^_^}> → add347c8 by @xeji: archiveopteryx: fix build w/gcc7
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « Merge #37264: archiveopteryx: fix build w/gcc7 »: https://git.io/vxOx4
<clefru> tilpner: nix-build -A python36Packages.pycurl '<nixpkgs>' fails for me with errors in the test suit that runs after the main build
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
<tilpner> What's the content of /nix/var/nix/profiles/per-user/root/channels/nixos/.git-revision ?
<tilpner> (Assuming <nixpkgs> refers to that for you)
<clefru> tilpner: I don't pull from the channel, I have a local git checkout. 557aa6e7d7a6bc03b845098d518725c1d77af5d4 is the latest commit as of a few minutes ago
mounty has joined #nixos
<clefru> (but my other system that's pulling from the channel fails also at pycurl)
Ariakenom has joined #nixos
<clefru> looks like https://github.com/NixOS/nixpkgs/pull/37038 would fix the issue, but I am just surprised that the channel release-18.03 moved forward despite the build failure
<{^_^}> [nixpkgs] @Mic92 pushed to master « python.pkgs.pushover: tests exists, but require network »: https://git.io/vxOxw
<clever> tilpner: there is also nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
<tilpner> Oh
<clever> [clever@amd-nixos:~]$ nix-instantiate ~/apps/nixpkgs --eval -A lib.nixpkgsVersion
<clever> "18.09pre-git"
<{^_^}> [nixpkgs] @vcunat merged pull request #37264 → archiveopteryx: fix build w/gcc7 → https://git.io/vxOGO
<clever> though it doesnt really work on git repos
<tilpner> I misread your channel. You said release-18.03, but I assumed you were using nixos-18.03
<LnL> yeah that only works for channels
<LnL> the logic from nixos should probably moved to that function
<clever> LnL: it would probably need builtins.fetchGit, and even that has some issues, which ive reported
<clefru> tilpner: Isn't the release-18.03 git branch equivalent to the nixos-18.03 channel?
<tilpner> I'm not sure
<{^_^}> [nixpkgs] @vcunat closed pull request #37037 → firefox-esr: 52.6.0 -> 52.7.1 → https://git.io/vxIF9
<clefru> I always use that as synonyms nixos-18.03 = release-18.03
<Mic92> the branch is slightly ahead of the channel.
<tilpner> howoldis says nixos-18.3 is 5 hours old, but the newest release-18.03 commit is minutes old
<clefru> as a sidenote, cherrypicking the pycurl version bump (99131b4fc20f1256bdfc4c5237392434c157d234) doesn't fix my pycurl test suite errors
<tilpner> clefru - That's the one you want
<clefru> oh of course, I forgot about that branch, thanks tilpner
<clever> LnL: commitIdFromGitRepo also breaks with git work trees
<clever> LnL: the .git is a file, not a directory
<LnL> yeah that depends on .git
<clever> git work trees share a single .git and use the .git file to point to it
<LnL> fetchGit could just put the revision in .git-version
<clever> and there is the bug i reported above, if you modify even 1 file, the git revision is entirely lost
<clever> so there is no way to know what rev it was based on
<clefru> tilpner: pycurl still fails to compile locally (on channels/nixos-18.03). the package is also not on hydra, which is a bit surprising.
<clefru> tilpner: looks like the test suit is flaky as I get a different error each time I run it.
thc202 has joined #nixos
<tilpner> clefru - Try nix-build 'https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz' -A python36Packages.pycurl
<tilpner> (Just to make sure you actually were using nixos-18.03)
<clefru> tilpner: same result. flaky in the memory_mgmt_test.py/multi_memory_mgmt_test.py
<tilpner> Huh
<clefru> error: build of '/nix/store/fy9zb8gndxkawqa4frczwxkr0mxx2298-python3.6-pycurl-7.19.5.1.drv' failed
<{^_^}> [nixpkgs] @andir opened pull request #37309 → [18.03] firefox updates (59.0 -> 59.0.1, firefox-esr: 52.7.1esr -> 52.7.2esr) → https://git.io/vxOpT
<clefru> regardless of the flakyness of the tests, I don't understand why there is a channel release, but not all packages in that release a precompiled on hydra
<tilpner> That works here, but it's also a different hash. I'm on x86_64-linux
<{^_^}> [nixpkgs] @Mic92 merged pull request #37216 → qemu-vm: passing QEMU_NET_OPTS would fail → https://git.io/vxY1P
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxOpI
<{^_^}> → 33b0ad83 by @teto: qemu-vm: passing QEMU_NET_OPTS would fail
<{^_^}> → ac9818fa by @Mic92: Merge pull request #37216 from teto/qemu_comma_fix
<clefru> huch, how can this be a different hash?
<clefru> (x86_64-linux as well)
<tilpner> Differences in sandboxing and nixpkgs configuration
<clefru> I have no package overrides or similar.
<tilpner> Other than that, no idea
rumble has joined #nixos
grumble is now known as Guest75212
Guest75212 has quit [Killed (tolkien.freenode.net (Nickname regained by services))]
rumble is now known as grumble
newhoggy has joined #nixos
<jluttine> has anyone set up jekyll locally for creating sites for github pages? if someone has a working configuration and/or instructions, that'd be great. at the moment, bundix is raising weird errors so i'm quite stuck
<manveru> jluttine: sure
<clefru> tilpner: could you give me the content of your drv file? cat $(nix-instantiate 'https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz' -A python36Packages.pycurl
<clefru> )
Fare has joined #nixos
<tilpner> clefru - Here's the prettier json: tx0.co/b (raw drv here: tx0.co/c)
<manveru> jluttine: just use that with `bundix -l` to generate the Gemfile.lock and gemset.nix
<clefru> tilpner: oh nice, how did you get that to json?
<tilpner> clefru - nix show-derivation
<jluttine> manveru: ok! so i don't need github-pages gem for github pages?
stranger___ has joined #nixos
<manveru> you can add that of course
<manveru> this is just for jekyll without github
<jluttine> manveru: ah, ok. thanks
<stranger___> hi. are there any solutions to setup generic git mirrors (say via periodic pull from master repos) on nixos?
newhoggy has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #37200 → mattermost: 4.7.2 -> 4.8.0 → https://git.io/vxYlJ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxOpa
<{^_^}> → aa022487 by @ryantm: mattermost: 4.7.2 -> 4.8.0
<{^_^}> → 4d7c1cd8 by @Mic92: Merge pull request #37200 from ryantm/mattermost
<clefru> tilpner: thanks!
<clefru> tilpner: our derivations are identical. :/
<tilpner> That... is odd
<clefru> same output hash of pycurl
<clefru> /nix/store/fmvi0fhiwgz0l80j2k2d0gxfdjcgq45f-python3.6-pycurl-7.19.5.1
<tilpner> I'm using Nix 2.0
<clefru> /nix/store/wcc1mh9xxmz5awrc1i308zz7hg192n29-nix-2.0
<clefru> What puzzles me most is why don't I get this package from the binary caches?
<clever> $ curl cache.nixos.org/fmvi0fhiwgz0l80j2k2d0gxfdjcgq45f.narinfo
<clever> 404
<clever> /nix/store/fmvi0fhiwgz0l80j2k2d0gxfdjcgq45f-python3.6-pycurl-7.19.5.1 is not on the binary cache
<{^_^}> [nixpkgs] @Mic92 pushed commit from @matthewbauer to master « languagetool: 3.9 -> 4.0 »: https://git.io/vxOp7
<{^_^}> [nixpkgs] @Mic92 closed pull request #37226 → languagetool: 3.9 -> 4.0 → https://git.io/vxYyu
<tilpner> My nix hash is different, but that doesn't tell us much
<clever> something that can sometimes help
<clever> nix-build --arg config '{}' --arg overlays '[]' ...
<clever> that will disable any overrides you have, so its purely what nixpkgs defined and nothing else
thblt has joined #nixos
periklis has joined #nixos
<tilpner> That did not change the hash
<clever> clefru: and if you do the same?
thblt has quit [Remote host closed the connection]
<tilpner> If we transfer one closure over, we could use nix-diff on it
<clefru> clever: yes hash unchanged, and still failing in the flaky test suite
<clever> yeah, all i can think of is nix-diff
<clever> let me demo something that will be handy
<clever> [clever@amd-nixos:~]$ nix copy --to local?root=/tmp/fakeroot /nix/store/g85g3rb5cyzlcjganh41f7yb1dj8gd5l-hello-2.10.drv
<clever> dang, nvm
<clever> nix copy doesnt behave the same as nix-copy-closure!
<clefru> those are my build failures btw: https://pastebin.com/5pMrvQXg
<clefru> I don't think that there is much to learn from nix-diff. the tests are just flaky
<clever> what about the nix sandbox?
<{^_^}> [nixpkgs] @gebner merged pull request #37286 → exempi: 2.4.4 -> 2.4.5 → https://git.io/vxOKj
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOhL
<{^_^}> → 34682ddc by @ryantm: exempi: 2.4.4 -> 2.4.5
<{^_^}> → 9bb679aa by @gebner: Merge pull request #37286 from ryantm/auto-update/exempi
<clefru> clever: if that's a question for me, I don't understand it, sorry.
<tilpner> ~ > nix show-config | grep 'sandbox '
<tilpner> sandbox = true
<clefru> btw: "git cherry-pick 99131b4fc20f1256bdfc4c5237392434c157d234" + "nix-build '<nixpkgs>' -A python36Packages.pycurl" fetched me a prebuild pycurl from the cache
<clever> clefru: grep sandbox /etc/nix/nix.conf
<clefru> sandbox = true \n extra-sandbox-paths = \n
blankhart has quit [Ping timeout: 264 seconds]
periklis has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @gebner merged pull request #37277 → cifs-utils: 6.7 -> 6.8 → https://git.io/vxOzN
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOhY
<{^_^}> → b57b1d1a by @ryantm: cifs-utils: 6.7 -> 6.8
<{^_^}> → 83d9283b by @gebner: Merge pull request #37277 from ryantm/auto-update/cifs-utils
<{^_^}> [nixpkgs] @Mic92 merged pull request #37255 → ace: 6.4.6 -> 6.4.7 → https://git.io/vxOLr
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxOh3
<{^_^}> → 2e3da6ef by @ryantm: ace: 6.4.6 -> 6.4.7
<clefru> is there away to force a local build for a package? that is ignore the cache?
<{^_^}> → 87ddeaa1 by @Mic92: Merge pull request #37255 from ryantm/auto-update/ace
<nioncode> who's responsible for merging nixpkgs PRs? jtojnar approved my PR (https://github.com/NixOS/nixpkgs/pull/36797), but it hasn't been merged yet
<clever> clefru: --option binary-caches ""
<clefru> clever: thank you!
<clefru> pycurl-7.43.0.1 seems to also have flaky tests, but the output builds none the less
<clever> oh, there is also `nix show-derivation /nix/store/g85g3rb5cyzlcjganh41f7yb1dj8gd5l-hello-2.10.drv`
fendor has quit [Read error: Connection reset by peer]
<clefru> I'd suggest we just cherrypick the 7.43.0.1 into the release-18.03 branch
<LnL> nioncode: maybe he wanted to test the changes before merging and forgot
<{^_^}> [nixpkgs] @Mic92 merged pull request #37209 → workrave: 1.10.7 -> 1.10.20 → https://git.io/vxY66
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vxOhc
<{^_^}> → 250c19c7 by @enolan: workrave: 1.10.7 -> 1.10.20
<{^_^}> → 5b0985d0 by @enolan: workrave: fix alert sounds by including the right GST plugins
<{^_^}> → fc0a5f4c by @Mic92: Merge pull request #37209 from enolan/upgrade-workrave
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/vxOhC
<{^_^}> → 2380e307 by @enolan: workrave: 1.10.7 -> 1.10.20
<{^_^}> → 3f6c94e3 by @enolan: workrave: fix alert sounds by including the right GST plugins
<robstr_> Maybe not a nixos question, is it possible to drop all incoming packages to a specific host / port via the cmd line ? Want to test my application if it handles timeout correct
<clever> robstr_: iptables
<robstr_> clever: is networking.firewall handled with iptables ?
<clever> robstr_: yes, but you can also manually change the state at runtime
<robstr_> clever: ty
<{^_^}> [nixpkgs] @gebner merged pull request #36997 → grib-api: 1.24.0 -> 1.26.0 → https://git.io/vxIsp
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOh0
<{^_^}> → 46cf3250 by @ryantm: grib-api: 1.24.0 -> 1.26.0
<{^_^}> → d49caee2 by @gebner: Merge pull request #36997 from ryantm/auto-update/grib-api
<clever> as an example: iptables -t filter -A INPUT -p tcp --dport 80 -j DROP
<clever> that will block all backwards going to port 80, on the input of your machine
<clever> re-running it with -D instead of -A will undo
<{^_^}> [nixpkgs] @Mic92 merged pull request #37223 → mkdocs: 0.17.2 -> 0.17.3 → https://git.io/vxYDy
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxOhV
<{^_^}> → 27faba54 by @ryantm: mkdocs: 0.17.2 -> 0.17.3
<{^_^}> → da344764 by @Mic92: Merge pull request #37223 from ryantm/auto-update/mkdocs
<{^_^}> [nixpkgs] @tiramiseb opened pull request #37310 → calaos_installer: init at 3.1 → https://git.io/vxOhw
<robstr_> clever: whoo thank you :+1 I will checkout
<clever> and if you `systemctl restart firewall.service`, nixos will undo all changes and reset it back to defaults
<{^_^}> [nixpkgs] @Mic92 merged pull request #37127 → vboot_reference: 20171023 -> 20180311 → https://git.io/vxtPZ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxOhP
<{^_^}> → 3e78f03c by @thefloweringash: vboot_reference: 20171023 -> 20180311
<{^_^}> → bba3cfc5 by @Mic92: Merge pull request #37127 from thefloweringash/update-vboot-refrence
<{^_^}> [nixpkgs] @gebner merged pull request #37081 → poco: 1.8.1 -> 1.9.0 → https://git.io/vxL41
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOhX
<{^_^}> → 051807b7 by @ryantm: poco: 1.8.1 -> 1.9.0
<{^_^}> → 9538a117 by @gebner: Merge pull request #37081 from ryantm/auto-update/poco
<clefru> yippie I think that I finally understood how hydra is configured..
<clefru> https://hydra.nixos.org/job/nixos/release-18.03/nixpkgs.python36Packages.pycurl.x86_64-linux also has a build failure and that explains why the package wasn't in the cache..
<clever> and the python packages arent part of the requirement for a channel to update
<clever> for most channels, the requirement is that a small subset of tests pass, and hydra has at least tried everything (pass or fail)
<clefru> clever: thanks, now I got why the channel moved forward
<clever> for the -small channels, its a smaller subset of tests, and it doesnt wait for it to try, so it updates faster
<clever> this links to the subset of tests for each channel
ashgillman has joined #nixos
<clever> the nixos-* channels also wait for tests that ensure it cant brick a nixos machine
<clever> while the nixpkgs-* channels dont check nixos
<clever> about a year back, grub config generation was broken, and nixos-unstable refused to update, as it should have
<clever> then everybody running nixpkgs-unstable on nixos found that it ceased to boot :P
<clefru> clever: ouch! :)
<{^_^}> [nixpkgs] @gebner merged pull request #37194 → gp2c: 0.0.10 -> 0.0.10pl1 → https://git.io/vxYJc
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOhx
<{^_^}> → 3e2f544c by @ryantm: gp2c: 0.0.10 -> 0.0.10pl1
<{^_^}> → 7072d113 by @gebner: Merge pull request #37194 from ryantm/auto-update/gp2c
<{^_^}> [nixpkgs] @gebner merged pull request #37007 → hwdata: 0.309 -> 0.310 → https://git.io/vxI4a
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOhp
<{^_^}> → 640d0784 by @gebner: Merge pull request #37007 from ryantm/auto-update/hwdata
<{^_^}> → 3296b87b by @ryantm: hwdata: 0.309 -> 0.310
<clever> in that case, it was a minor path issue in grub.conf, and it could still boot if you just hit e and edit the config slightly
Synthetica has joined #nixos
<clefru> btw I diffed the working drv and the failing drv in https://pastebin.com/DwELiSa2 . the diff is analogous to the git version difference shown in https://hydra.nixos.org/build/71062783#tabs-summary
<Synthetica> I have an override to include an extra python package in another package, yet it still can't be loaded: https://pastebin.com/xyihxuEm
<Synthetica> Any pointers?
<clefru> - "checkPhase": "py.test -k \"not test_ssl_in_static_libs\" tests\n", is probably the difference causing "the problem"
newhoggy has joined #nixos
zzamboni has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #36722 → xfe: 1.37 -> 1.42 → https://git.io/vAhAw
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOjL
<{^_^}> → 56304672 by @ryantm: xfe: 1.37 -> 1.42
<{^_^}> → eec4c125 by @gebner: Merge pull request #36722 from ryantm/auto-update/xfe
<clever> clefru: there is also the nix-diff tool, which helps diff them much better
<clever> clefru: but from your diff, i can see that the test was moved to a different phase
<{^_^}> [nixpkgs] @gebner merged pull request #36723 → xpra: 2.1.3 -> 2.2.4 → https://git.io/vAhxo
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOjq
<{^_^}> → 72742bae by @ryantm: xpra: 2.1.3 -> 2.2.4
<{^_^}> → edb0d094 by @gebner: Merge pull request #36723 from ryantm/auto-update/xpra
<clever> and some inputs got changed
<clefru> clever & tilpner: thanks for the interesting discussion and your help! I suggested a cherry-pick in https://github.com/NixOS/nixpkgs/pull/37038 and did the same locally, which fixes the problem for me.
<{^_^}> [nixpkgs] @Mic92 merged pull request #37084 → nixos/window-managers: actually add evilwm to default.nix → https://git.io/vxLRH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxOjZ
<{^_^}> → c7e1dff9 by Andreas Wiese: nixos/window-managers: actually add evilwm to default.nix
<{^_^}> → 5c1c4fbb by @Mic92: Merge pull request #37084 from herrwiese/evilwm
<{^_^}> [nixpkgs] @Mic92 pushed commit from Andreas Wiese to release-18.03 « nixos/window-managers: actually add evilwm to default.nix »: https://git.io/vxOjW
brightone has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #37095 → rocksndiamonds: 4.0.1.1 -> 4.0.1.3 → https://git.io/vxL13
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxOj8
<{^_^}> → 595e412e by @ryantm: rocksndiamonds: 4.0.1.1 -> 4.0.1.3
<{^_^}> → 03908841 by @Mic92: Merge pull request #37095 from ryantm/auto-update/rocksndiamonds
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOja
<{^_^}> → 8f9f6c7a by @ryantm: libstrophe: 0.9.1 -> 0.9.2
<{^_^}> → f6487c69 by @gebner: Merge pull request #36611 from ryantm/auto-update/libstrophe
<{^_^}> [nixpkgs] @gebner merged pull request #36611 → libstrophe: 0.9.1 -> 0.9.2 → https://git.io/vAxxG
<unlmtd> what's the trick to use a different src for nixops? I cant figure out why the tarball has doc files that arent in the git repo
<unlmtd> Iv installed it locally, but now I want to "nixos" install it ...
<{^_^}> [nixpkgs] @gebner merged pull request #36592 → gzdoom: 3.1.0 -> 3.2.5 → https://git.io/vAxMw
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOji
<{^_^}> → b5b90848 by @ryantm: gzdoom: 3.1.0 -> 3.2.5
<{^_^}> → 2d332e2c by @gebner: Merge pull request #36592 from ryantm/auto-update/gzdoom
<{^_^}> [nixpkgs] @gebner merged pull request #36664 → pig: 0.14.0 -> 0.16.0 → https://git.io/vApF5
<clever> unlmtd: one min
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOjP
<{^_^}> → 32d26952 by @ryantm: pig: 0.14.0 -> 0.16.0
<{^_^}> → da4d64e1 by @gebner: Merge pull request #36664 from ryantm/auto-update/pig
<unlmtd> I guess I could just create a new repo, and copy the missing xml files from the tarball?
newhoggy has quit [Remote host closed the connection]
<unlmtd> I feel like thats not how the nixos CI does it
newhoggy has joined #nixos
newhoggy has quit [Remote host closed the connection]
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #36415 → tiled: 1.1.2 -> 1.1.3 → https://git.io/vAFFd
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOjS
<{^_^}> → 524afb85 by @dywedir: tiled: 1.1.2 -> 1.1.3
<{^_^}> → 17cb9620 by @gebner: Merge pull request #36415 from dywedir/tiled
Fare has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @gebner merged pull request #36405 → kazam: fix description and license → https://git.io/vAFEp
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOjF
<{^_^}> → e06f67a9 by @mt-caret: fix description and license
<{^_^}> → a7fea814 by @gebner: Merge pull request #36405 from mt-caret/kazam
<clever> 2018-03-18 05:37:20< sphalerite> unlmtd: `nix-env -f release.nix -iA build.x86_64-linux` or just `nix-env -i ./result` after building it
<clever> unlmtd: heh, was trying to find the time i said that, which was on march 3rd, but i found another from today
<clever> unlmtd: if you want the same in nixos's configuration.nix, ((import /path/to/nixops/release.nix {}).build.x86_64-linux)
<unlmtd> thats nix-env
<sphalerite> yes, which is a way to install stuff :)
<unlmtd> which isnt declarative
<clever> environment.systemPackages = [ ((import /path/to/nixops/release.nix {}).build.x86_64-linux) ];
<unlmtd> clever's answer is moving me forward, thanks a lot
<clever> any invocation of nix-env or nix-build can be translated into raw nix, and return the path as a value
<unlmtd> I guess the magic starts with release.nix
tmplt has quit [Read error: Connection reset by peer]
<clever> yeah, it does some things to generate a tarball with the docs pre-generated
tmplt has joined #nixos
<clever> nixops is weird and doesnt let you just override the src
<{^_^}> [nixpkgs] @Mic92 merged pull request #37033 → freenect: 0.5.5 -> 0.5.7, Enable Darwin → https://git.io/vxI7U
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vx3eL
<{^_^}> → 0175bf64 by @lukeadams: freenect: 0.5.5 -> 0.5.7
<{^_^}> → 4576ff80 by @lukeadams: freenect: enable Darwin building
<{^_^}> → bcddd8bd by @Mic92: Merge pull request #37033 from lukeadams/freenect-update
<unlmtd> thatd be cleaner, ill make my own tarball
<clever> if you load it in nix repl you should see a tarball attribute
<unlmtd> iv come a long way in nix, but Im still learning a lot
<{^_^}> [nixpkgs] @Mic92 merged pull request #37310 → calaos_installer: init at 3.1 → https://git.io/vxOhw
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx3et
<{^_^}> → c0866e19 by @tiramiseb: calaos_installer: init at 3.1
<{^_^}> → 1ec1c124 by @Mic92: Merge pull request #37310 from tiramiseb/calaos_installer
<unlmtd> the last nixconf videos really opened my mind
brightone has quit [Quit: WeeChat 2.0.1]
Neo-- has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @gebner merged pull request #35534 → zotero: 5.0.25 -> 5.0.35.1 → https://git.io/vAwQq
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vx3es
<{^_^}> → 30eb1670 by @mimadrid: zotero: 5.0.25 -> 5.0.35.1
<{^_^}> → 6fc9ee8a by @gebner: Merge pull request #35534 from mimadrid/update/zotero-5.0.35.1
Aleksejs has left #nixos ["AndroIRC - Android IRC Client ( http://www.androirc.com )"]
<kandinski> I just installed Nixos (18.03) and I want to run my work virtualbox vms as before. Is it enought o configure virtualisation.virtualbox.host.enable = true?
<clever> kandinski: yes
leotaku has quit [Ping timeout: 252 seconds]
<unlmtd> kandinski: yes. im curious what you use virtualbox for
<{^_^}> [nixpkgs] @Mic92 merged pull request #37068 → pkgs: some speech-related things → https://git.io/vxLOt
<{^_^}> [nixpkgs] @Mic92 pushed 7 commits to master: https://git.io/vx3ez
<{^_^}> → e6c63e9f by SLNOS: flite: 2.0 -> 2.1, switch to fetchFromGitHub, enable ALSA
<{^_^}> → 507d96d3 by SLNOS: speech-tools: 2.1 -> 2.4, unbreak
<{^_^}> → 77864f73 by SLNOS: eflite: cleanup expression, switch to fetchpatching from debian
kerrhau has quit [Ping timeout: 260 seconds]
<kandinski> unlmtd: work. We develop an intranet that has to work on a given version of a given OS, so we develop/test on a VM with that OS and version.
<unlmtd> I tried it once it was really heavy
<unlmtd> maybe its easier to setup, but nix changes the meaning of 'setup'
<kandinski> I know
<kandinski> that's why I'm installing Nixos on my laptop, and then I'll do the same on my personal server, etc.
<clever> i just virtualisation.virtualbox.host.enable = true; and then i can run VirtualBox and launch things
<{^_^}> [nixpkgs] @Mic92 merged pull request #37126 → tmuxp: 1.3.5 -> 1.4.0 → https://git.io/vxt6A
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx3eK
<{^_^}> → 5087dd44 by @ryantm: tmuxp: 1.3.5 -> 1.4.0
<{^_^}> → caaae34e by @Mic92: Merge pull request #37126 from ryantm/auto-update/tmuxp
mudri has quit [Ping timeout: 240 seconds]
<unlmtd> aye clever, sometime this year we might bootstrap a micronixos (I was thinking 'unixos' .. with 'u' as in micro)
<unlmtd> musl, probably runit, and mksh
<clever> unlmtd: not-os
<unlmtd> yes I know
<unlmtd> thats why im mentioning it to you
<clever> musl could probably make it smaller
<unlmtd> a fully seperate tree
<clever> as would just stripping some of the derivations
<{^_^}> [nixpkgs] @Mic92 merged pull request #37211 → mmark: init at 1.3.6 → https://git.io/vxYia
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx3eH
<{^_^}> → c99a2da0 by @yrashk: mmark: init at 1.3.6
<{^_^}> → 3dbf7a44 by @Mic92: Merge pull request #37211 from yrashk/mmark
<unlmtd> we want to make it a pure wayland tree, no Xorg by default
<clever> unlmtd: this bit of code for example, nukes the openssl dependency on perl
<clever> the perl scripts are just gone
<unlmtd> thanks Ill save it
<{^_^}> [nixpkgs] @gebner merged pull request #30263 → pythonPackages.ofxhome: 0.3.1 -> 0.3.3 → https://git.io/vdaKu
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vx3eF
<{^_^}> → 66fd7d2b by @tsaeger: pythonPackages.ofxhome: 0.3.1 -> 0.3.3
<{^_^}> → 9a49811f by @gebner: Merge pull request #30263 from tsaeger/tsaeger/ofxhome
<clever> that can be applied to almost any derivation, as long as you understand the subset of files you need to keep
John882 has joined #nixos
<clever> so without any recompile of openssl, i can just ditch the junk i dont need
<clever> and its still dynamic and depending on the right glibc
<unlmtd> were even working on something to ditch SSL
<clever> in this case, i need to generate a self-signed cert at runtime
<unlmtd> a simple HIP implementation
<unlmtd> we might want to contract you to work on the nix code, if youre interested
<unlmtd> I love nix but im not an expert :P
<clever> heh, already been hired for my nix skillz :P
<unlmtd> yea its in high demand
<unlmtd> ill come back to it when the tme comes
Fare has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #36338 → nixos home-assistant: a couple of fixes → https://git.io/vAQz7
<{^_^}> [nixpkgs] @dotlambda pushed commit from @peterhoeg to master « nixos home-assistant: a couple of fixes (#36338) »: https://git.io/vx3vn
John882 has quit [Ping timeout: 240 seconds]
<jluttine> manveru: i tried your jekyll solution now but i still get the same error as before when running bundix: "/nix/store/dns77vf9frhd2s2xvcdd47rs2l08nqin-ruby-2.4.3/lib/ruby/2.4.0/json/common.rb:156:in `parse': 409: unexpected token at ';1mwarning: unknown setting 'signed-binary-caches' (JSON::ParserError)"
<{^_^}> [nixpkgs] @lprndn opened pull request #37312 → luakit: init at 2018.08.10 → https://git.io/vx3va
<jtojnar> nioncode: yes, LnL is right, I will test it now
<LnL> jtojnar: I'm looking at it right now :)
<jtojnar> cool, LnL, I would just run `env XDG_DATA_DIRS= $(nix-build -A spaceFM)/bin/spacefm` or something
<jluttine> manveru: ah, now it seems to work after i deleted the lock file and gemset.nix. so nvm. thanks for the gist!
<mpickering> Hmm, this Qt application builds successfully but when run "This application failed to start because it could not find or load the Qt platform plugin "cocoa""
<LnL> jtojnar: it's rebuilding anyway
John882 has joined #nixos
<hyper_ch> hmmm, just tried to install nixos on a notebook... in the live iso (self generated) ethernet worked fine... after installation - no ethernet connection
la_putin has joined #nixos
la_putin_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @andir opened pull request #37313 → [17.09] firefox updates (59.0 -> 59.0.1, firefox-esr: 52.7.1esr -> 52.7.2esr) → https://git.io/vx3vb
Fare has quit [Ping timeout: 240 seconds]
<jtojnar> LnL: works for me
ashgillman has quit [Ping timeout: 240 seconds]
<LnL> hmm, well go ahead and merge/backport then :)
<{^_^}> [nixpkgs] @gebner merged pull request #36435 → ecm: 6.4.4 -> 7.0.4 → https://git.io/vAbPO
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vx3fq
<{^_^}> → 77d1fdb2 by Timo Kaufmann: ecm: 6.4.4 -> 7.0.4
<{^_^}> → faf094ad by @gebner: Merge pull request #36435 from timokau/origin/ecm-update
<{^_^}> [nixpkgs] @jtojnar pushed commit from @nioncode to master « spacefm: fix segfault by exporting shared-mime-info/share in XDG_DATA_DIRS »: https://git.io/vx3fZ
<{^_^}> [nixpkgs] @gebner merged pull request #36797 → spacefm: fix segfault by exporting shared-mime-info/share in XDG_DATA_DIRS → https://git.io/vxesI
thblt has joined #nixos
<LnL> \
John882 has quit [Quit: John882]
dbe has joined #nixos
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b881e413e39 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<dbe> You still have to do "let nixpkgs = (import <nixpkgs> {})" etc in standalone default.nix-packages, right? Actually, maybe I'm thinking about this all wrong. I have a piece of software. I want to develop this software on a nix machine, and ultimately build a package for it. What do you guys do in this situation?
<clever> dbe: i usually start my project as: with import <nixpkgs> {}; stdenv.mkDerivation { name = "name"; src = ./.; }
<clever> and if it has several components, i may switch over to newScope
<dbe> that's basically what I'm doing now. What's newScope?
<clever> getting an example...
<dbe> cool!
m0rphism has quit [Quit: WeeChat 2.0]
<clever> dbe: packages is defined on line 13
<clever> and the self on 13, will contain all of the packages that packages returns, and a callPackage function
<clever> and callPackage can find all of those things
<clever> so i can just depend on other custom packages, the same way i would if they where in nixpkgs
<clever> it also adds an overrideScope function to the whole set, so overrides can insert changes between what packages returns, and what self has
<{^_^}> [nixpkgs] @Mic92 merged pull request #37198 → nixos/sudo: fix description of sudo.wheelNeedsPassword → https://git.io/vxYcg
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx3fj
<{^_^}> → b9639d7e by @giraffito: nixos/security: fix description of sudo.wheelNeedsPassword
<{^_^}> → 705fee51 by @Mic92: Merge pull request #37198 from giraffito/patch-2
<clever> which lets others mutate the whole set without changing it
<{^_^}> [nix] @edolstra pushed to master « Fix bad XML »: https://git.io/vx3Jv
<{^_^}> [nixpkgs] @Mic92 pushed commit from @giraffito to release-18.03 « nixos/security: fix description of sudo.wheelNeedsPassword »: https://git.io/vx3JU
<{^_^}> [nixpkgs] @Mic92 pushed commit from @giraffito to release-17.09 « nixos/security: fix description of sudo.wheelNeedsPassword »: https://git.io/vx3JL
Xal has quit [Ping timeout: 246 seconds]
<dbe> hmmmmmm ok... not sure I quite get it but I'll read through it more carefully. Thanks!
Xal has joined #nixos
<{^_^}> [nixpkgs] @qknight merged pull request #37291 → Emscripten 1.37.16 to 1.37.36 → https://git.io/vxOP0
<{^_^}> [nixpkgs] @qknight pushed to master « Emscripten 1.37.16 to 1.37.36 (#37291) »: https://git.io/vx3JZ
pkill9 has joined #nixos
<{^_^}> [nix] @domenkozar closed pull request #1206 → Install from closure: wording and fallback using .bash_profile → https://git.io/vMpU8
<{^_^}> [nixpkgs] @xeji opened pull request #37315 → epoxy: fix darwin build → https://git.io/vx3J0
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vx3JE
<{^_^}> → f2032af7 by @Maxdamantus: duktape: fix installation of shared libraries
<{^_^}> → cff69fdd by @Maxdamantus: edbrowse: 3.6.1 -> 3.7.2
<{^_^}> → 711bef7b by @Mic92: Merge pull request #37077 from Maxdamantus/edbrowse
<{^_^}> [nixpkgs] @Mic92 merged pull request #37077 → edbrowse: 3.6.1 -> 3.7.2 → https://git.io/vxLCG
obadz has quit [Ping timeout: 260 seconds]
ottidmes has joined #nixos
obadz has joined #nixos
nD5Xjz has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed to master « edbrowse: use fetchFromGitHub instead of fetchurl »: https://git.io/vx3JK
MP2E has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #37064 → wine: correct install order for WoW wine build. → https://git.io/vxLmN
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx3JD
<{^_^}> → 7f112e37 by @coreyoconnor: wine: correct install order for WoW wine build.
<{^_^}> → 6ff341de by @Mic92: Merge pull request #37064 from coreyoconnor/wine-correct-install-order
<chisui> Why was nixos-unstable last updated 12 days ago?
<sphalerite> I want a shell.nix that will run zsh rather than bash, but putting shellHook = "exec zsh"; breaks --run. Any way to get both?
abcdw has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #34355 → xnbd: init at 0.4.0 → https://git.io/vNDr6
<{^_^}> [nixpkgs] @joachifm pushed 4 commits to master: https://git.io/vx3UO
<{^_^}> → c14fbcc4 by @volth: xnbd: init at 0.3.0
<sphalerite> chisui: apparently it depends on qtdeclarative which has been broken for a while
<{^_^}> → 174fe14b by @volth: xnbd: 0.3.0 -> 0.4.0
<{^_^}> → 10be0615 by @volth: xnbd: do not build html docs
Rusty1_ has joined #nixos
srjek has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #37315 → epoxy: fix darwin build → https://git.io/vx3J0
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx3UG
<{^_^}> → b6ca5726 by @xeji: epoxy: fix darwin build
<{^_^}> → aa878c2d by @Mic92: Merge pull request #37315 from xeji/epoxy-darwin-fix
<sphalerite> chisui: cool! Also for your prompt you could use $name (the shell derivation's name) rather than fiddling with $NIX_SHELL_FILE_PATH
<chisui> sphalerite: what do you mean by that?
<abcdw> Hi guys. I'm pretty new to nixos and trying to play with rust on it. I installed latest version of rust using mozilla overlay, it works, but emacs spamming with an error:eldoc error: (user-error No such directory: /nix/store/0n7zmyas042kxl5q72ikdrc4gqjcr8rj-rust-1.24.1-2018-02-27-d3ae9a9e0/lib/rustlib/src/rust/src. Please set ‘racer-rust-src-path’ or ‘RUST_SRC_PATH’)
nD5Xjz has joined #nixos
<abcdw> Do anyone faced such issue?
<sphalerite> abcdw: someone was trying to get that working just a couple hours ago, hang on
<sphalerite> samueldr: do you now get a highlight whenever someone refers to the logs? x)
humanoyd has joined #nixos
nD5Xjz has quit [Ping timeout: 256 seconds]
<abcdw> sphalerite: thanks a lot, going to try second option
leat has quit [Ping timeout: 246 seconds]
<Lisanna> Okay, here's an interesting meta-nix project: a function which gets the build log of a derivation
<Lisanna> ...I'm guessing no one has tried to implement this yet?
<sphalerite> Lisanna: in nix?
<Lisanna> yea
<Lisanna> i.e. the build logs ends up in $out
<chisui> sphalerite: cool, I'll try using $name
<clever> Lisanna: there is already `nix-store -l` and `nix log`
<sphalerite> Lisanna: but why x)
<sphalerite> Lisanna: I suppose you could just edit mkDerivation to add a "buildlog" output by default, and add `exec &> >(tee $buildlog)` to stdenv's setup.sh
<{^_^}> [nixpkgs] @peterhoeg pushed 4 commits to release-18.03: https://git.io/vx3Uj
<{^_^}> → 3ae19a36 by @Mic92: python.pkgs.pushover: there are no tests
<{^_^}> → c68ed708 by @peterhoeg: pythonPackages.pushover: init at 0.3
<{^_^}> → 0b3170b8 by @Mic92: python.pkgs.pushover: tests exists, but require network
tertle||eltret has quit [Quit: Connection closed for inactivity]
<clever> sphalerite: oh, that may help with the trouble i had doing exec 2>&1 | tee logfile
<Lisanna> sphalerite 1) because the more things you can do in nix the better 2) you want to return the result of running a test without being responsible for the contents of the log
<clever> Lisanna: that will very likely break --repeat
<Lisanna> clever only if the build log isn't deterministic
<clever> parallism and timestamps
<symphorien> Also it will add a dependency on the build tools because their hash might appear in it
<clever> though its its own output, so nix can gc that
leat has joined #nixos
<Lisanna> cool thing about this (if it's possible) is maybe you have a test that is a fixed-output derivation, and you want to get the test run log without screwing with the fixed-output-ness of the derivation
<symphorien> Well as long as you keep the log it will keep the build tool, won't it ?
<clever> symphorien: yep
<clever> Lisanna: fixed-output derivations can only have 1 output
<sphalerite> I have a build (rust on 32-bit arm) that fails when cores is set too high, because it tries to allocate more memory than you can allocate on 32-bit arm. I'd like to limit the number of cores it runs the tests with in order to fix that, what would the neatest way of doing this be?
nD5Xjz has joined #nixos
<Lisanna> clever I know... this would be a function which takes a derivation (FOD or not) as input and produces a new derivation which is just the build log
magnetophon has joined #nixos
Fare has joined #nixos
<clever> sphalerite: --cores or nix.conf build-cores?, or patch it to scale-back $NIX_BUILD_CORES based on ram?
<Lisanna> now, this is only possible if it's possible to run nix log in the nix sandbox... that likely lives in /nix/var. does /nix/var info get copied into runInLinuxVM? ah, probably not, right?
<clever> yeah, no recursive nix
Xal has quit [Ping timeout: 240 seconds]
<sphalerite> right now I'm thinking something like preCheck = ''min() { echo $(( $1<$2 ? $1 : $2)) ; } ; export NIX_BUILD_CORES=$(min $NIX_BUILD_CORES 8)'';
<clever> sphalerite: that sounds good, maybe replace the 8 with something based on free -g
Xal has joined #nixos
<sphalerite> it's not a memory issue, it's an address space issue
davidlt_ has joined #nixos
<clever> is this process or thread parallism?
<sphalerite> thread apparently :p
<clever> ah
<clever> then a hard-coded limit for 32bit makes sense
<clever> i also just had a random thought
nD5Xjz has quit [Ping timeout: 240 seconds]
<clever> the spectre/meltdown changes, require that the 3-4gig range isnt mapped anymore
<clever> could that allow that range to be used by userland??
<clever> 4gig of userland memory in 32bit!
davidlt has quit [Ping timeout: 240 seconds]
<clever> hmmm, my desktop locked up in the middle of a ghc rebuild, and after reset, it locked up in the middle of nixos-rebuild
<clever> hdd light is solid on, no reply to arp
<sphalerite> is there a way to check word size in nixpkgs?
<sphalerite> because i'm guessing the same problem will occur on i686
<clever> i think so
<clever> where was lib.platforms defined...
<sphalerite> oh derp it was is32bit not is32Bit
<clever> ah
<clever> error: attribute 'is32bit' missing, at (string):1:1
<clever> nix-repl> stdenv.is64bit
<clever> true
<clever> i only see a 64bit flag on my end
<nioncode> jtojnar: sweet thanks! would you mind also reviewing my other PR at https://github.com/NixOS/nixpkgs/pull/36387?
<sphalerite> clever: stdenv.hostPlatform.is32bit
<clever> ah, much more
<abcdw> sphalerite: I installed rust overlay in ~/.config/nixpkgs... , but I trying to set environment variable in /etc/nixos/configuration.nix and it fails. How to bypass it?
<clever> abcdw: configuration.nix doesnt load those overlays by default
<clever> you have to nixpkgs.overlays = [ (import /path/to/overlay) ];
<jtojnar> nioncode: LGTM
<abcdw> clever: thx, will try
abcdw_ has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #37316 → qutebrowser: patch scripts → https://git.io/vx3To
ixxie has joined #nixos
Ariakenom has quit [Ping timeout: 240 seconds]
Aleksejs has joined #nixos
<{^_^}> [nixpkgs] @ryantm closed pull request #37302 → gecode: 3.7.3 -> 6.0.0 → https://git.io/vxOHu
abcdw has quit [Ping timeout: 260 seconds]
<ottidmes> weird, I am getting infinite recursion with nix-env, but only when I set `-I nixpkgs-overlays=`, how could my overlays prevent recursion :S (my NIX_PATH has a nixpkgs-overlays entry)
<sphalerite> ottidmes: by using self when you should be using super
<{^_^}> [nixpkgs] @ryantm closed pull request #37117 → slurm: 17.11.3 -> 17.11.4 → https://git.io/vxt34
Ariakenom has joined #nixos
<clever> sphalerite: dang, X is still broken
<clever> amdgpu doesnt even change the res in text mode
qknight has joined #nixos
<ottidmes> sphalerite: That would only make sense when I would have set my overlays to use overlays, but I set it to empty, i.e. no overlays, but it might be defaulting to some other location with outdated overlays, I will check that
<sphalerite> ottidmes: yeah it uses ~/.config/nixpkgs/overlays by default
qknight has quit [Client Quit]
<sphalerite> where "by defaults" includes "if the NIX_PATH entry doesn't exist"
<sphalerite> ottidmes: try --arg overlays []
vaninwagen has quit [Quit: Connection closed for inactivity]
<clever> sphalerite: ahh, fixed
abcdw_ has quit [Quit: Page closed]
<ottidmes> sphalerite: I would have thought `pathOverlays = try <nixpkgs-overlays> "";` would have failed when I set it like that and I have nothing in ~/.config/nixpkgs, but your suggestion is better (does not depend on any defaulting behavior) and works, so I will be using that instead, thanks
zzamboni has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @shlevy pushed to binutils-2.30 « Disable tests on llvm. »: https://git.io/vx3kZ
<{^_^}> [nixpkgs] @jtojnar pushed commit from @nioncode to master « conky: provide option to build with pulseaudio support »: https://git.io/vx3kC
<sphalerite> ottidmes: if you want to avoid all defaulting behaviour, consider importing pkgs/top-level/default.nix rather than default.nix which passes on to pkgs/top-level/impure.nix
xcmw has joined #nixos
abcdw has joined #nixos
xcmw has quit [Client Quit]
<{^_^}> [nixpkgs] @jtojnar merged pull request #36387 → conky: provide option to build with pulseaudio support → https://git.io/vAdrZ
ryantm has joined #nixos
<abcdw> clever, sphalerite thanks a lot for help. solved the problem by nixpkgs.overlays = [ (import /home/abcdw/.config/nixpkgs/overlays/rust-overlay.nix) ]; and environment.variables.RUST_SRC_PATH = "${pkgs.latest.rustChannels.stable.rust-src}/lib/rustlib/src/rust/src";
<ottidmes> sphalerite: I know, it is just strange, I did not get this loop with nixos-rebuild with the same argument, I cannot explain what is the cause at this point. I actually only need to overwrite overlays with nixos-rebuild
aanderse has quit [Ping timeout: 240 seconds]
<clever> ottidmes: nixos-rebuild uses the overlays set in nixpkgs.overlays = [ ... ];
<{^_^}> [nixpkgs] @ryantm opened pull request #37317 → perl-Test-File-Contents: 0.21 -> 0.23 → https://git.io/vx3kK
<ottidmes> clever: It does, but does it not start out with the defaults, e.g. nixpkgs-overlays defined in NIX_PATH
<clever> it defaults to just []
<{^_^}> [nixpkgs] @ryantm closed pull request #37317 → perl-Test-File-Contents: 0.21 -> 0.23 → https://git.io/vx3kK
michas_ has joined #nixos
oida has quit [Ping timeout: 268 seconds]
Fare has quit [Ping timeout: 240 seconds]
coot has quit [Quit: coot]
<ottidmes> clever: I am quite sure it caused problems, will double check
nD5Xjz has joined #nixos
oida has joined #nixos
<mpickering> how can I check what modules come with cmake? I am interested in FindGDAL which appears to be included in cmake
<nioncode> jtojnar: thanks! last one (I promise): https://github.com/NixOS/nixpkgs/pull/36884 I have a few questions on this one, which are documented in the PR
<clever> ottidmes: there is also a bug where nixos will fail due to problems in the default overlays, but never actually obey them
<clever> its loading them somewhere it shouldnt, and not really using the result
humanoyd has quit [Quit: WeeChat 2.0.1]
<ottidmes> clever: there is another where the manual says it supports overlays.nix, but when you use it as nixpkgs-overlays it has to be directory, which I will double check as well, if it still does that I will check if there is already an issue out for that
<{^_^}> [nixpkgs] @ryantm opened pull request #37318 → phonon-qt4: 4.9.1 -> 4.10.0 → https://git.io/vx3kA
<jtojnar> nioncode: patchelf can be buggy, modifying ELF files is not really possible in general, fortunately most ELF files are reasonable enough
nD5Xjz has quit [Ping timeout: 260 seconds]
<jtojnar> sometimes it will work if you disable stripping or use patchelfUnstable
<jtojnar> nioncode: direct download should be fine, if the URL is public and does not change
<{^_^}> [nixpkgs] @lheckemann closed pull request #34019 → dnsmasq module: test config on system build → https://git.io/vN06L
<nioncode> jtojnar: the link should be static imo since the version info is part of the link. only question is if it's allowed to directly download, for other packages I saw that the user must use prefetch-url manually
<jtojnar> nioncode: I think it is used if the link requires registration or the site explicitly forbids it
<ottidmes> clever: I had the bug with nixpkgs-overlays where it would fail with nixos-rebuild when I removed one my overlay files in my config, it would complain on rebuild that it was no longer available, even though my new config never referenced the removed file any more, which explicitly setting overlays to empty fixed for me, but I cannot reproduce it anymore (maybe because I am now on Nix 2.0)
abcdw has quit [Ping timeout: 260 seconds]
Ariakenom has quit [Ping timeout: 240 seconds]
<nioncode> jtojnar: ok, I rebased and pushed, could you please review again?
<jtojnar> nioncode: you are setting interpreter only for p4merge.bin but wrapping *.bin, why is that?
nD5Xjz has joined #nixos
<nioncode> jtojnar: yep, that's wrong, let me fix that
logzet has joined #nixos
<jtojnar> also please use https links
<robstr_> Is the `oracle jdk` not availible ?
<{^_^}> [nixpkgs] @ryantm opened pull request #37319 → libsForQt5.phonon: 4.9.1 -> 4.10.0 → https://git.io/vx3Ix
<ottidmes> robstr_: It is available
<ottidmes> robstr_: You just need to manually download its src
<nioncode> jtojnar: done and done
<ottidmes> robstr_: Due to licensing
<robstr_> ottidmes: Ok, but it is not availible as nixpkgs
<symphorien> !unfree
<{^_^}> You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
<symphorien> robstr_: ^
<robstr_> symphorien: ty
<ottidmes> robstr_: So like symphorien says, you have to enable nixpkgs.config.unfree, and then you can just e.g. add pkgs.oraclejdk8
nD5Xjz has quit [Ping timeout: 264 seconds]
<ottidmes> Ehh meant nixpkgs.config.allowUnfree = true;
<robstr_> ottidmes: is it possible to do this inside my stdenv.mkDerivation block ?
<symphorien> I doubt that
<ottidmes> robstr_: Not that I am aware of, that would basically force others to use unfree, breaking the whole point of that flag
Fare has joined #nixos
<jtojnar> nioncode: I am not sure if it will work though, AFAIK QT does not have stable ABI
<robstr_> ottidmes: Ok, I'm trying to build my dev env for a specific project, is there another recommended way ?
<ottidmes> robstr_: Ah, I just thought of a hacky way to do it, but the recommend way is to just setup your nixpkgs configuration correctly with allowUnfree = true;
<symphorien> let pkgs = import <nixpkgs> { config = { allowUnfree = true; }; }; in
<symphorien> When you are the user, you can do whatever you want
<ottidmes> symphorien: Yeah, was about to paste that, but I would consider that the hacky way, not recommended if you want to do it properly
<symphorien> Well for a shell.nix if find it perfectly legitimate
Ariakenom has joined #nixos
<nioncode> jtojnar: Qt has strict ABI compatibility for major versions, so it should work imo. I spent a few hours trying to get it to run with the p4v provided Qt libraries, but I failed
<clever> nioncode: if you install anything qt based with nix-env, its libraries wind up in ~/.nix-profile/lib/ and can break other versions
<clever> nioncode: i have an issue open about that
<symphorien> For inclusion in a larger scheme, when you are not user but provide a facility, this is problematic, granted
Ross has quit [Quit: ZNC - http://znc.in]
<nioncode> clever: that's why I am now using the system provided Qt libs and hoping for ABI compatibility, which worked so far
<clever> nioncode: the error is at least clear about the version#'s causing the issue, but less clear on where they came from
Ross has joined #nixos
<robstr_> ottidmes: Unfortunately, we cannot download file jdk-8u161-linux-x64.tar.gz automatically.
risciii has joined #nixos
Fare has quit [Ping timeout: 256 seconds]
<clever> robstr_: gentoo solved the issue in a bit of a different way, there is a list of license files in the package manager
srjek|home has joined #nixos
<risciii> hi, is CMU sphinx speech-recognition toolkit packaged for nixos?
<clever> robstr_: and you are supposed to read them, and put them into a list of licenses you have accepted
<clever> robstr_: then emerge can download packages for things you have accepted
<robstr_> clever: -.-
<clever> and if oracle changes the licenes, a new licenes is added to the package manager, and you must read that and add it to the accepted list
nD5Xjz has joined #nixos
<robstr_> why is this so strange, openjdk works out of the bix
<MichaelRaskin> risciii: packaged, yes, working — maybe
<robstr_> clever: is there an alternative way ? / hack arround this
<jtojnar> nioncode: does the package work now?
srjek has quit [Ping timeout: 252 seconds]
<clever> robstr_: i havent really used gentoo in a year or 2, so id have to look at how it does the download again
<{^_^}> [nixpkgs] @Mic92 merged pull request #37134 → uget: 2.2.0 -> 2.2.1 → https://git.io/vxty2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx3Lx
<{^_^}> → 854ab33b by @ryantm: uget: 2.2.0 -> 2.2.1
<{^_^}> → a8e86e21 by @Mic92: Merge pull request #37134 from ryantm/auto-update/uget
<robstr_> clever: I see, but thank you :+1
<nioncode> jtojnar: yes, I have been using it on my machine for the past week
nD5Xjz has quit [Ping timeout: 248 seconds]
<risciii> nvm, didn't find it
stranger___ has quit [Quit: Connection closed for inactivity]
<clever> einfo "Oracle requires you to download the needed files manually after"
<clever> robstr_: maybe i'm mis-remembering things some, or oracle's licenses was different
<clever> robstr_: i see messages in the jdk package that parallel what nix has to say
<clever> though the gentoo one at least mentions the oracle archives, so you can find old versions
<{^_^}> [nixpkgs] @ryantm opened pull request #37320 → polyml56: 5.6 -> 5.7.1 → https://git.io/vx3tm
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #37159 → matrix-synapse: 0.26.0 -> 0.26.1 → https://git.io/vxqoe
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx3tY
<{^_^}> → cef5ed1b by @Ralith: matrix-synapse: 0.26.0 -> 0.26.1
<{^_^}> → bcbe9e98 by @Mic92: Merge pull request #37159 from Ralith/matrix-synapse
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Ralith to release-18.03 « matrix-synapse: 0.26.0 -> 0.26.1 »: https://git.io/vx3tZ
<robstr_> clever: thank you for checking
freeman42x]NixOS has joined #nixos
<Lisanna> ...thinking about fixed-output derivations, and had an idea: it would be nice if you could have a FOD with multiple possible outputHashes (As opposed to currently where you just get one). This is still safe since you still have to prove that you know about all of the possible outcomes.
nD5Xjz has quit [Ping timeout: 246 seconds]
<clever> Lisanna: it would be easyer to make a fixed-output derivation that returns a single directory, then have a non-fixed derivation that splits it into many outputs
<clever> then if you only depend on an output of the 2nd, it will be able to gc the unused parts
<Lisanna> clever the intended usecase is more "the result could be one of these possibilities, but I'm not sure which"
<clever> ah, yeah, nix isnt really capable of that
<Lisanna> I know, this is a theoretical feature idea :)
<Lisanna> I think that having it would not violate any of the core principles of nix though
<{^_^}> [nixpkgs] @Mic92 merged pull request #37027 → ipset: 6.35 -> 6.36 → https://git.io/vxI6d
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx3tw
<{^_^}> → e33c221c by @ryantm: ipset: 6.35 -> 6.36
<{^_^}> → df538c82 by @Mic92: Merge pull request #37027 from ryantm/auto-update/ipset
<ottidmes> clever: NIX_PATH contains nixpkgs-overlays=/etc/nixpkgs/overlays.nix and gives error: opening directory '/etc/nixpkgs/overlays.nix': Not a directory, which does not match the description found here: https://nixos.org/nixpkgs/manual/#sec-overlays-install
<ottidmes> I guess I will just have to make an issue for that, but have to go now
<clever> pathOverlays = try <nixpkgs-overlays> "";
<clever> if pathOverlays != "" && pathExists pathOverlays then overlays pathOverlays
<clever> # it's a file, so the result is the contents of the file itself
<clever> import path;
<ottidmes> clever: yeah, I know, I know, I have checked the source code before, yet why then does it fail?
<clever> ottidmes: what line#'s does it give with --show-trace?
justanotheruser has joined #nixos
<ottidmes> clever: Last line before error: while evaluating 'overlays' at /wheel/fork/nixpkgs/pkgs/top-level/impure.nix:47:18, called from /wheel/fork/nixpkgs/pkgs/top-level/impure.nix:59:61:
<{^_^}> [nixpkgs] @gebner merged pull request #35542 → cfr: 0_101 -> 0_125 → https://git.io/vAwNH
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vx3t5
<{^_^}> → afb505fb by @volth: cfr: 0_101 -> 0_125
<{^_^}> → 8ba914a2 by @gebner: Merge pull request #35542 from volth/patch-108
<ottidmes> clever: Almost as if isDir is broken, and returns true on a file
<clever> ottidmes: and does that file exist?
Fare has joined #nixos
roberth has quit [Ping timeout: 246 seconds]
<ottidmes> clever: readlink -f /etc/nixpkgs/overlays.nix gives /wheel/proj/nixcfg-shared/config/overlays.nix, which exists
<clever> can you try "builtins.pathExists /etc/nixpkgs/overlays.nix" and `builtins.pathExists (/etc/nixpkgs/overlays.nix + "/.")` in `nix repl` ?
<garbas> pjan: looks like this package was not listed in pkgs/misc/vim-plugins/vim-plugin-names.
<{^_^}> [nixpkgs] @ryantm opened pull request #37321 → pommed_light: 1.50lw -> 1.51lw → https://git.io/vx3tA
<ottidmes> clever: huh, both give true
<clever> ottidmes: i suspect isDir is broken on symlinks
<ottidmes> clever: Guess so
<ottidmes> clever: really have to go now, thanks for helping me debug the issue, will make an issue for it later today
<clever> yep
<garbas> pjan: i'll open a pr with a new update and this package
michas__ has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
<garbas> s2mitrov: i would do something similar for every project https://github.com/maurer/holmes/blob/master/shell.nix
michas_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #37322 → deepin-gtk-theme: 17.10.5 -> 17.10.6 → https://git.io/vx3qc
nD5Xjz has joined #nixos
zzamboni has joined #nixos
Fare has joined #nixos
nD5Xjz has quit [Ping timeout: 260 seconds]
chisui has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #37323 → mate-sensors-applet: 1.20.0 -> 1.20.1 → https://git.io/vx3q7
stanibanani has joined #nixos
ma27 has quit [Ping timeout: 246 seconds]
sahabi has quit [Ping timeout: 252 seconds]
ma27 has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37325 → unixODBCDrivers.psql: 09.05.0210 -> 10.01.0000 → https://git.io/vx3mO
xcmw has joined #nixos
<Lisanna> omg
LangeOortjes has quit [Read error: Connection reset by peer]
<Lisanna> I'm such a bad person
nD5Xjz has joined #nixos
<clever> Lisanna: at least you didnt brick 100's of network cards: https://lwn.net/Articles/304105/
<{^_^}> [nixpkgs] @dezgeg merged pull request #37233 → acpica-tools: 20180209 -> 20180313 → https://git.io/vxY9N
<{^_^}> [nixpkgs] @dezgeg pushed commit from @matthewbauer to master « acpica-tools: 20180209 -> 20180313 »: https://git.io/vx3mn
<Lisanna> I have invented a way to check if a fixed-output derivation's build succeeds or fails in Nix
<clever> Lisanna: there was already a trick in the chrome expressions, to have a non-fixed fixedoutput derivation
<MichaelRaskin> Without IFD?
<clever> it made use of md5 hash collisions
<Lisanna> (there are certain builtins that I need to be kept away from)
<Lisanna> MichaelRaskin IFD was the first method I tried, it doesn't work
<clever> tryEval?
<Lisanna> clever tried that too, also doesn't work
<clever> exec?
<Lisanna> wat
<clever> builtins.exec
<Lisanna> (do not know what that is)
<Lisanna> ...maybe? Never heard of it until now
<clever> its hidden by default, to keep it out of your hands :P
<Lisanna> haha
<MichaelRaskin> And now you have ruined the plan
<clever> :D
Oo[m] has joined #nixos
<clever> Lisanna: nix repl --option allow-unsafe-native-code-during-evaluation true
nD5Xjz has quit [Ping timeout: 240 seconds]
<clever> this un-hides builtins.exec
<clever> the 1st argument is a list
<Lisanna> You call builtins.pathExists on the outPath of the FOD. Of course, maybe it just hasn't been attempted to be built yet. So, you also need an indicator derivation that you only build when attempting to build the FOD.
<clever> arg 0 is a program
<clever> Lisanna: aha, builtins.exec must print a nix expression to stdout
<Lisanna> possible return values of this theoretical function are "success", "failure", and "unknown" (hasn't been attempted yet)
<clever> which nix will parse, and return as-if you did import on it
stanibanani has quit [Ping timeout: 240 seconds]
<clever> Lisanna: if you call pathExists on anything with dependencies, it throws an error
<{^_^}> [nixpkgs] @ryantm closed pull request #37320 → polyml56: 5.6 -> 5.7.1 → https://git.io/vx3tm
<Lisanna> (of course you have to unsafeDiscardStringContext it)
<clever> then nix wont even bother trying to build it
<Lisanna> well, that's the idea: trying ot build a FOD that fails ruins your entire day. the assumption is that the build attempt of the FOD happens somewhere else / sometime else
<clever> Lisanna: oh, also, when a derivation fails to build, nix leaves the failed output in /nix/store/!
<clever> its just not registered as valid
<clever> so no proper nix tool will read it
<Lisanna> clever ...would pathExists find it?
<clever> and it gets deleted automatically if its in the way
<clever> GC also eats those first
<clever> yeah, pathExist would find it
<Lisanna> ...oh. darn.
loonquawl has joined #nixos
<clever> nix leaves those behind, so you can inspect why it failed
<Lisanna> hey wait a second...
<clever> a fixed-output derivation may leave html in the .tar.gz
<MichaelRaskin> Really, if you can attempt the build elsewhere, just write the outcome somewhere outside the store
<Lisanna> MichaelRaskin ugh, that's extra infrastructure
<clever> Lisanna: importnative may also be of interest to you
<clever> Lisanna: i think that lets you write your own primops in c++
<MichaelRaskin> Triggering the build is extra infrastructure anyway, no?
<clever> which can then do anything you want
<Lisanna> clever for failed FODs nix will also create an additional output with the actual hash that it ended up being, so that if you fix the expression and build again it'll already be there
<Lisanna> so, if you know what both of those are, you can call pathExists on both
<clever> Lisanna: only in certain modes, there is a special prefetch flag you have to set
<Lisanna> oh, darn
<{^_^}> [nixpkgs] @mpickering opened pull request #37326 → open-orienteering-mapper: init at 0.8.1 → https://git.io/vx3YB
<clever> Lisanna: but you could maybe use readFile on the potentially invalid output of a FOD
<clever> to just read it, wether it worked or not
<Lisanna> clever so IFD from the outPath of the derivation, with unsafeDIscardStringContext?
<{^_^}> [nixpkgs] @ryantm closed pull request #37319 → libsForQt5.phonon: 4.9.1 -> 4.10.0 → https://git.io/vx3Ix
<clever> Lisanna: maybe, after trying the FOD and letting it pass or fail
freeman42x]NixOS has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @ryantm opened pull request #37327 → jetbrains.pycharm-community: 2017.3.3 -> 2017.3.4 → https://git.io/vx3Yw
<Lisanna> another possibility: construct multiple FODs each with a different candidate outputHash. Then pathExists on all of them - if one of them exists, you know which one it is. If none of them exists, then assume that it hasn't been attempted yet.
<Lisanna> if you write your code bad then it's possible that there's an outputHash that you missed, and you won't be able to distinguish that case from "not attempted"
<Lisanna> clever yes I've seen that code :)
ma27 has quit [Ping timeout: 240 seconds]
Fare has quit [Ping timeout: 248 seconds]
testuser has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
<Lisanna> wait, nvm, my idea won't work for the reason you gave earlier - the path is still created even if the FOD fails. so I would need to also insert an indicator in the outPath
<Lisanna> unless there's a way to also check if the path is valid
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to release-18.03: https://git.io/vx3O3
<{^_^}> → 6daee8c3 by @dotlambda: pythonPackages.tmdb3: 0.6.17 -> 0.7.2
<{^_^}> → 5e4411f4 by @dotlambda: pythonPackages.tmdb3: move expression
ma27 has joined #nixos
newhoggy has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #37250 → Python fixes → https://git.io/vxOTQ
<{^_^}> [nixpkgs] @dotlambda pushed 26 commits to master: https://git.io/vx3OK
<{^_^}> → b549f18b by @dotlambda: pythonPackages.CommonMark: move expression
<{^_^}> → d7d4ce73 by @dotlambda: pythonPackages.CommonMark: 0.6.3 -> 0.7.5
<{^_^}> → 9f276ccd by @dotlambda: pythonPackages.bleach: 2.1.2 -> 2.1.3
risciii has quit [Ping timeout: 248 seconds]
<testuser> hi guys, is there a simple way to update a variable (precisely the version) of a certain package when doing nixos-rebuild? I would like to rebuild the system with an updated version of the package?
<clever> testuser: you must override the src, and its recomended to also override the name
<clever> setting the version variable will have no real effect
newhoggy has quit [Ping timeout: 240 seconds]
<testuser> clever, okay, so do I need to write a new .nix package with updated version, then link it into the configuration.nix ?
<clever> you can use overrides to change it without a new file
<{^_^}> [nixpkgs] @peterhoeg pushed to release-18.03 « nixos home-assistant: a couple of fixes (#36338) »: https://git.io/vx3O5
<clever> nixpkgs.config.packageOverrides = pkgs: { hello = pkgs.hello.overrideAttrs (drv: { src = pkgs.fetchurl { ... }; }); };
<{^_^}> [nixpkgs] @dotlambda pushed 24 commits to release-18.03: https://git.io/vx3OF
<{^_^}> → 9dfac949 by @dotlambda: pythonPackages.CommonMark: move expression
<{^_^}> → 090ca7e4 by @dotlambda: pythonPackages.CommonMark: 0.6.3 -> 0.7.5
<{^_^}> → f9def2f4 by @dotlambda: pythonPackages.readme_renderer: 17.2 -> 17.4
zzamboni has quit [Quit: Leaving.]
<Lisanna> MichaelRaskin actually your suggestions sounds easier at this point tbh
larsvm has quit [Ping timeout: 264 seconds]
leotaku has joined #nixos
nD5Xjz has joined #nixos
<Lisanna> I'll just have the build threads dump the evaluation result (success or fail) to some state directory, and import the results from that out-of-band
stanibanani has joined #nixos
risciii has joined #nixos
<Lisanna> build result*
zzamboni has joined #nixos
<testuser> clever, http://dpaste.com/0YR2CEX, I'm getting "error: undefined variable ‘name’ at /etc/nixos/configuration.nix:271:51", why isn't the name previously set recognized?
<clever> testuser: you need to use drv.name there
<clever> oh
<clever> or use rec { on line 2
<clever> rec allows you to refer to other keys in the same set
<tobiasBora> Hello, (sorry, if I don't answer you, that's just because I'm in a place with bad internet connexion, but I'll read your messages anyway latter)
<leotaku> is it possible to override a services attributes in nix similar to how it works with packages?
risciii has quit [Client Quit]
<testuser> clever, ok the config is valid now, but the system is not picking the override up; it's still building the old version, the environment.systemPackages = with pkgs; [ bacula ... ]; is used.
<clever> testuser: can you pastebin the entire configuration.nix file?
rauno has joined #nixos
<testuser> clever, I have secrets in there, so I would rather not, can I copy-paste whatever is needed?
<clever> testuser: you could also just delete the lines that have the secrets
<leotaku> I just need to make some slight edits to a service and do not want to copy+paste the definition from nixpkgs.
nD5Xjz has quit [Ping timeout: 268 seconds]
<clever> testuser: i also prefer writing my files so that the secrets are all in secrets.nix: https://github.com/cleverca22/nixos-configs/blob/master/core.nix#L79
<tobiasBora> I'd like to know, does nix provide a way to create a binary cache between several computers? I'd be curious to know how difficult it would be to create a "community binary cache" for armv7.
<clever> tobiasBora: currently, you need to setup every machine as a seperate binary cache, and configure every machine to ask every other machine
<tobiasBora> clever: hum… and would it be possible to create a central binary cache that then asks to other machines, to centralize the list of servers?
<clever> tobiasBora: thats what i plan for this to turn into: https://github.com/cleverca22/cachecache
<testuser> clever, it appears that if I change the ${drv.name} into the "bacula-9.0.6", everything is fine, the variable is not resolved properly.
<clever> testuser: ah yeah, drv.name refers to the old name
rauno has quit [Ping timeout: 256 seconds]
<clever> so you need rec { and ${name} to refer to the name you just set
<testuser> clever, why does the drv.name refer to the old name?
chrios_ has quit [Ping timeout: 240 seconds]
<clever> testuser: the drv attrset is all of the old values
stanibanani has quit [Ping timeout: 256 seconds]
<testuser> clever, is this just for the drv attrset or any name I chose ?
<tobiasBora> clever: oh nice thank you for the sharing. And meanwhile, is it possible to automatically send the builds to a centralized binary cache at each new compilation?
<fearlessKim[m]> wideland url is broken on master. I just updated the url with the correct one url = "http://launchpad.net/widelands/build${version}/build${version}/+download/widelands-build${version}-src-gcc7.tar.bz2"; with wget from my shell it works but not from nix-build, any idea why ?
<fearlessKim[m]> (download stays stuck at 0%)
<clever> tobiasBora: not really, you should probably just use hydra for this kind of thing
<clever> tobiasBora: overrideAttrs takes a function that accepts 1 argument (typically called drv), and it will call that function with the original attributes
<clever> testuser: oops, ^
<clever> testuser: and it will then use the result of that function to modify some attrs
<tobiasBora> clever: hydra's code you mean? I'll give it a look thanks. Does hydra provide any way to "check" that the binaries are honnestly build, for example by trying to send the same build on several clients and see the result?
<clever> tobiasBora: not currently
<clever> tobiasBora: hydra is more used to build things automatically, on an array of trusted machines, and then pull the results back to 1 central place
<clever> then the slaves can GC safely and you dont loose anything
<clever> tobiasBora: also, not a lot of the compilers are able to produce bit-perfect results, so such checks can falsely fail
<testuser> clever, I have one more question that I always wanted to know: when debugging the package installation and entering nix-shell, after manually executing unpackPhase/patchPhase (which is fine), before executing the next script configurePhase, I need to cd into the directory to where the package was download. Why is that, why doesn't unpachScript already cd into the dir ?
chrios_ has joined #nixos
<clever> tobiasBora: but you can review things with `nix-build foo.nix -A bar --repeat 2`, as root, it will build it 3 times, and tell you if it differs
<clever> testuser: genericBuild will automatically do the cd after running the unpackPhase
Synthetica has quit [Quit: Connection closed for inactivity]
<leotaku> is what I want do do possible? lib.mkOverride looks promising
<clever> leotaku: you can do it with mkForce
<leotaku> clever: is there any documentation on that? if not can you explain what it does?
<clever> leotaku: you can set just about any option in nixos with mkForce and it will ignore other values set in other modules
<{^_^}> [nixpkgs] @Mic92 opened pull request #37328 → Jetbrains update → https://git.io/vx3sT
<clever> leotaku: for example, services.mysql.enable = lib.mkForce false;
rauno has joined #nixos
<{^_^}> [nixpkgs] @Mic92 closed pull request #37327 → jetbrains.pycharm-community: 2017.3.3 -> 2017.3.4 → https://git.io/vx3Yw
<clever> that will forciably disable mysql, even if other things wanted it on
<rauno> hey, does nixos have some support for OCFS2 filesystem ?
<manveru> rauno: is that in a kernel driver?
<tobiasBora> clever: ok thank you. Just, not sure to see what you mean by "slaves can gc safely". and it's too bad that two compilers send different outputs on the same input, even with the same compiler
<clever> tobiasBora: the hydra will copy all outputs to itself once built, so there is no need to keep the results on the build slaves
<ottidmes> clever: I am using a gitignore with a set of secret files, how do you deal with files? secrets folder or something?
<rauno> manveru, wiki says OCFS2 (version 2) was integrated into the version 2.6.16 of Linux kernel.
y0no has joined #nixos
kitemikaze has quit [Read error: Connection reset by peer]
<clever> ottidmes: i just keep all the secrets in secrets.nix, which is in .gitignore
<clever> ottidmes: and then i just let secrets = import ./secrets.nix; in everywhere
<manveru> rauno: then it should work :)
<testuser> clever, thank you that explains it fully. One more thing, when manually executing the phases in nix-shell, when doing installPhase, the script will return an error since it doesn't have access to the /nix store: http://dpaste.com/0P3FTGM ? Any ideas how to be able to manually execute installScript to see why it's failing?
kitemikaze has joined #nixos
<ottidmes> clever: so you inline all your secret files? I guess I do not actually have non-text secret files, so it should be possible
<clever> testuser: the configurePhase uses $prefix to tell the package where to install itself
<clever> testuser: so youll want to export prefix=/path/you/can/write/to before you configure
<clever> ottidmes: there is also an openvpn config file, which is seperately in .gitignore
<fearlessKim[m]> hum nevermind the new url worked after a few trials
jmiven has quit [Quit: co'o]
<rauno> manveru, okay, i think nixos is missing some packages for it..
<rauno> even thou it might have a driver in kernel
jmiven has joined #nixos
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #37323 → mate-sensors-applet: 1.20.0 -> 1.20.1 → https://git.io/vx3q7
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx3sQ
<{^_^}> → e7be332a by @romildo: mate-sensors-applet: 1.20.0 -> 1.20.1
<{^_^}> → af5e72f4 by @Mic92: Merge pull request #37323 from romildo/mate
<manveru> rauno: does mount not like it?
<{^_^}> [nixpkgs] @Mic92 merged pull request #37283 → slic3r-prusa3d: 1.38.7 -> 1.39.1 → https://git.io/vxOo1
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx3sA
<{^_^}> → ef83f9ed by @thorstenweber83: slic3r-prusa3d: 1.38.7 -> 1.39.1
<{^_^}> → 6f7a23ba by @Mic92: Merge pull request #37283 from thorstenweber83/slic3r-prusa3d-1.39.1
<{^_^}> [nixpkgs] @dotlambda merged pull request #37147 → pythonPackages.thumbor: fix build → https://git.io/vxqto
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vx3sh
<{^_^}> → 23e66895 by @Ma27: pythonPackages.thumbor: 6.3.2 -> 6.4.2; fix build
iyzsong-x has quit [Ping timeout: 260 seconds]
<{^_^}> → 024acca3 by @dotlambda: Merge pull request #37147 from Ma27/fix-thumbor
<ottidmes> clever: the isDir is not just broken for symlinks, it will always succeed as long as the path before /. exists
<{^_^}> [nixpkgs] @dotlambda pushed commit from @Ma27 to release-18.03 « pythonPackages.thumbor: 6.3.2 -> 6.4.2; fix build »: https://git.io/vx3Gv
<manveru> rauno: might be that it needs a `sudo modprobe ocfs2` first to try it
<clever> ottidmes: :O
<{^_^}> [nixpkgs] @Mic92 merged pull request #37322 → deepin-gtk-theme: 17.10.5 -> 17.10.6 → https://git.io/vx3qc
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx3Gk
<{^_^}> → fb6c5352 by @romildo: deepin-gtk-theme: 17.10.5 -> 17.10.6
<{^_^}> → 250527c0 by @Mic92: Merge pull request #37322 from romildo/upd.deepin-gtk-theme
zzamboni has quit [Quit: Leaving.]
<manveru> rauno: you can add it to `boot.kernelModules` to make sure it works after reboot as well, or `boot.initrd.extraKernelModules` if you need to boot from it...
<rauno> yep, but still, it probably needs some extra package also
<clever> and this is how nixos auto-detects what filesystems you have, and configures what manveru mentioned automatically
<rauno> well ocfs2 or gfs2 they have clustering software also..they are cluster aware filesystems..
knupfer has quit [Quit: knupfer]
<rauno> so probably only having driver doesnt do the trick in this case
knupfer has joined #nixos
<clever> rauno: and this one manages setting up services:
<manveru> https://oss.oracle.com/projects/ocfs2/files/source/v1.4/ seems to have some kind of utility for it
nD5Xjz has joined #nixos
ryanartecona has joined #nixos
<michas__> Hi I tried to use the jetbrains-toolbox (https://www.jetbrains.com/toolbox/app/) on nixos. I used `patchelf --set-interpreter /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/ld-linux-x86-64.so.2 --set-rpath /nix/store/y76fs08y8wais97jjrcphdw2rcaka1qa-fuse-2.9.7/lib:/nix/store/4csy6xvbrqxkp3mk6ngxp199xkr476lj-glib-2.54.3/lib:/nix/store/r43dk927l97n78rff7hnvsq49f3szkg6-zlib-1.2.11/lib jetbrains-toolbox` to fix the binary. It
<michas__> now runs, but it now complains because it is not able to write to some temporyary directory it creates. Did I miss something obvious?
spear2 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @coreyoconnor opened pull request #37329 → transmission: refactor preStart into script. → https://git.io/vx3Gp
nD5Xjz has quit [Ping timeout: 256 seconds]
ryanartecona has quit [Client Quit]
<michas__> (Not sure if it is a good idea to us that toolbox. It will mainly download other application, but those should be plain java, so there is probably no need to "fix" them.)
<tobiasBora> clever: ok thank you very much, I'll give a look to hydra, thanks
<{^_^}> [nixpkgs] @Mic92 merged pull request #37230 → vassal: 3.2.15 -> 3.2.17 → https://git.io/vxYS1
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vx3ZU
<{^_^}> → a71ce8f8 by @matthewbauer: vassal: 3.2.15 -> 3.2.17
<{^_^}> → 99959634 by @Mic92: Merge pull request #37230 from matthewbauer/auto-update/vassal
<{^_^}> [nixpkgs] @ryantm opened pull request #37330 → libsForQt5.qscintilla: 2.9.4 -> 2.10.3 → https://git.io/vx3ZT
Lisanna has quit [Quit: Lisanna]
ixxie has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
newhoggy has joined #nixos
User_ has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #37331 → appdaemon: 3.0.0b4 -> 3.0.0 → https://git.io/vx3Zc
sahabi has joined #nixos
newhoggy has quit [Ping timeout: 240 seconds]
User_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @dotlambda pushed to master « pythonPackages.netdisco: 1.2.4 -> 1.3.1 »: https://git.io/vx3ZK
EldenPxz has joined #nixos
<aszlig> shlevy: yep
knupfer has quit [Remote host closed the connection]
endformationage has joined #nixos
jensens has joined #nixos
<foldingcookie> what controls laptop hibernate-on-lid on nixOS? I didn't expect it to be a thing without installing acpid but perhaps systemd has agglomerated that functionality now?
<{^_^}> [nixpkgs] @ryantm opened pull request #37333 → qtkeychain: 0.7.0 -> 0.8.0 → https://git.io/vx3Zd
zzamboni has quit [Quit: Leaving.]
<MichaelRaskin> Yes
<{^_^}> [nixpkgs] @srhb merged pull request #37272 → nixos/manual: fixed example config for networking.interfaces → https://git.io/vxOWX
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/vx3ZA
<{^_^}> → d69e0d99 by @erictapen: nixos/manual: fixed example config for networking.interfaces
<{^_^}> → 45241c5c by @srhb: Merge pull request #37272 from erictapen/manual-networking
<MichaelRaskin> More specifically, systemd-logind
<foldingcookie> ah
rauno has quit [Ping timeout: 240 seconds]
<MichaelRaskin> And if I remember correctly, with fresh systemd releases it is quite annoying to configure…
<foldingcookie> beautiful
ilovezfs_ has joined #nixos
<MichaelRaskin> This is the easy part from the time I still tolerated systemd.
<{^_^}> [nixpkgs] @dezgeg pushed 13 commits to master: https://git.io/vx3n3
<{^_^}> → 6f5a0bde by @lopsided98: uboot: add Rock64 support
<{^_^}> → 58045472 by @lopsided98: uboot: 2017.11 -> 2018.03, cross fixes
<{^_^}> → 0264c9bb by @lopsided98: maintainers: add lopsided98
<foldingcookie> MichaelRaskin: thanks!
<MichaelRaskin> I am trying to understand whether it will still work
zzamboni has joined #nixos
<foldingcookie> hm, seems to not, unless it requires a reboot after "nixos-rebuild switch"
<MichaelRaskin> That might be — it might need a restart of logind
<MichaelRaskin> systemctl --version is 230 or 237?
<foldingcookie> no idea, I need to reboot first because my machine suspended and doesn't come back from that ;)
<MichaelRaskin> Oh. I see.
<foldingcookie> hmm, seems to work after a reboot
<foldingcookie> contents end up in /etc/systemd/logind.conf
ma27 has quit [Ping timeout: 240 seconds]
<foldingcookie> and no more suspend-on-lid :)
<MichaelRaskin> This is the hard part about that working (in case of 237)
<MichaelRaskin> That was after I stopped caring, though.
<foldingcookie> 237 here
<foldingcookie> what's the difficulty?
Sonarpulse has joined #nixos
<MichaelRaskin> Well, at some point NixOS shipped 237 _without_ that commit
<MichaelRaskin> Then at some point some fixes for stupid defaults stopped working.
<foldingcookie> right
<MichaelRaskin> Turned out systemd stopped reading configuration from any place other than the place where it installs it by default.
<foldingcookie> classy
<MichaelRaskin> And the commit in question was some patching over that.
<{^_^}> [nixpkgs] @LnL7 pushed to master « gnu-apl: fix clang build »: https://git.io/vx3nN
mudri has joined #nixos
nD5Xjz has joined #nixos
rauno has joined #nixos
ma27 has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37334 → libsForQt5.quazip: 0.7.1 -> 0.7.3 → https://git.io/vx3cT
<zie[m]> would PR's against the nixOS manual to use the new nix search command instead of nix-env -qa be welcome?
<{^_^}> [nixpkgs] @teto opened pull request #37335 → widelands: fix launchpad url → https://git.io/vx3cW
<{^_^}> [nixpkgs] @pSub pushed to master « zim: 0.67 -> 0.68 »: https://git.io/vx3cg
nD5Xjz has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @pSub pushed to release-17.09 « zim: 0.67 -> 0.68 »: https://git.io/vx3c6
<{^_^}> [nixpkgs] @pSub pushed to release-18.03 « zim: 0.67 -> 0.68 »: https://git.io/vx3cM
<{^_^}> [nixpkgs] @dezgeg closed pull request #32553 → Add SOPINE / PINE A64-LTS bootloader → https://git.io/vbRMA
<{^_^}> [nixpkgs] @dezgeg closed pull request #36340 → u-boot: 2017.11 -> v2018.03-rc3 → https://git.io/vAQap
<{^_^}> [nixpkgs] @dezgeg closed pull request #36232 → uboot: 2017.11 -> 2018.03, cross fixes, Rock64 support → https://git.io/vAS9t
<{^_^}> [nixpkgs] @LnL7 pushed to release-18.03 « gnu-apl: fix clang build »: https://git.io/vx3cd
<{^_^}> [nixpkgs] @dezgeg merged pull request #37149 → chromium: 65.0.3325.146 -> 65.0.3325.162 → https://git.io/vxqqb
<{^_^}> [nixpkgs] @dezgeg pushed commit from @YorikSar to master « chromium: 65.0.3325.146 -> 65.0.3325.162 »: https://git.io/vx3cx
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/47b581b346a (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
<testuser> clever, thank you, that works.
<{^_^}> [nixpkgs] @dezgeg pushed 4 commits to unstable-aarch64: https://git.io/vx3CT
<{^_^}> → 4c9ec659 by @dezgeg: OVMF: Reformat a bit for readability
<{^_^}> → 13cd089f by @dezgeg: edk2: Reformat a bit for readability
<{^_^}> → 2765242f by @dezgeg: edk2, OVMF: Build on aarch64
zzamboni has quit [Quit: Leaving.]
<elvishjerricco> Huh. TIL there's an 18.03-darwin
<sphalerite> zie[m]: I'm sure they would, but I don't think they'd actually be merged until the nix command line interface is stable
<zie[m]> sphalerite: ah, right. the docs do say it's expiremental, so that makes sense.
EldenPxz has quit [Quit: Leaving]
zzamboni has joined #nixos
zzamboni has quit [Read error: Connection reset by peer]
zzamboni has joined #nixos
joepie91___ has joined #nixos
joepie91 has quit [Excess Flood]
<sphalerite> elvishjerricco: let today be the day you learn that there's a 17.09-darwin too :p
<elvishjerricco> sphalerite: ... Oh! :P
<elvishjerricco> sphalerite: Is it just a variant of nixos-18.03 tailored for Darwin?
dhess has quit [Quit: ZNC - http://znc.in]
prismate has joined #nixos
<sphalerite> I don't know what it's actually for though :D
prismate has left #nixos ["WeeChat 0.3.8"]
<{^_^}> [nixpkgs] @ryantm opened pull request #37336 → librdf_rasqal: 0.9.32 -> 0.9.33 → https://git.io/vx3Cw
<{^_^}> [nixpkgs] @LnL7 merged pull request #37182 → samtools: make gcc dependency explicit → https://git.io/vxm96
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/vx3CM
<{^_^}> → 92c5097c by @mbode: samtools: make gcc dependency explicit
<{^_^}> → 3b52f78e by @LnL7: Merge pull request #37182 from mbode/samtools_gcc
<{^_^}> [nixpkgs] @LnL7 merged pull request #37165 → spass: make gcc dependency explicit → https://git.io/vxmff
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/vx3CD
<{^_^}> → 9dc0f229 by @mbode: spass: make gcc dependency explicit
<{^_^}> → 38c4c3ac by @LnL7: Merge pull request #37165 from mbode/spass_gcc
justbeingglad has joined #nixos
oida has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to release-18.03: https://git.io/vx3CH
<{^_^}> → b506cdbf by @mbode: spass: make gcc dependency explicit
<{^_^}> → dda33d69 by @mbode: samtools: make gcc dependency explicit
boomshroom has joined #nixos
<boomshroom> Hello!
<coconnor> howdy
oida has joined #nixos
<boomshroom> If I have a derivation with multiple sources, how do I configure them all to be in the right path?
<boomshroom> Ideally, I'd like it to be reusible for different inputs and different paths.
justbeingglad has left #nixos [#nixos]
<testuser> how can I reference $out in configureFlags, I'm getting the following when I build the package: "configure flags: --disable-static --prefix=/nix/store/icv4akj4q27jjimq89ill93wl0rrqfhd-bacula-9.0.6 --with-sqlite3=/nix/store/vk9416l2cv1xy1vckm6ygq0f717kgb5i-sqlite-3.22.0-dev --with-postgresql=/nix/store/khz84zphhqyszfjwqdqmlja6s4g8klpv-postgresql-9.6.7 --with-logdir=\$out/log --with_working_dir=\$out/working
<testuser> configure: error: unrecognized option: `--with_working_dir=$out/working'"
<testuser> The $out is not translated properly.
newhoggy has joined #nixos
<mpickering> boomshroom: The way I have been told to do this before is in unpackPhase, cp the inputs into the main src
mudri has quit [Ping timeout: 256 seconds]
<testuser> I'm using the following: http://dpaste.com/0B0X3CT
<michas__> Here some more details on my jetbrains issue: https://stackoverflow.com/q/49350957
<mpickering> testuser: I think $out isn't expanded when using configureFlags
<mpickering> set it in preConfigure
<boomshroom> mpickering: The problem is that each source also has a path tied to it and I'm not sure how to associate each path with each source.
<mpickering> *set the option
<mpickering> example?
<boomshroom> mpickering: here's my current overlay that doesn't work: https://gist.github.com/boomshroom/ee71a70cc15f9473146ce305dbcacf1e
lassulus has quit [Ping timeout: 276 seconds]
newhoggy has quit [Ping timeout: 246 seconds]
<testuser> mpickering, the following doesn't work: http://dpaste.com/06TTCXN - any ideas ?
nD5Xjz has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mpickering> You need to set all the configureFlags in preConfigure
fendor has joined #nixos
dan_b has joined #nixos
<sphalerite> boomshroom: there's a `srcs = [ multiple source derivations ]` thing but I don't know how to actually use it
xcmw has joined #nixos
<boomshroom> sphalerite: Neither do I, which is why I was bypassing it.
<mpickering> I don't understand the example sorry
nD5Xjz has quit [Ping timeout: 246 seconds]
zzamboni has quit [Read error: Connection reset by peer]
zzamboni has joined #nixos
<boomshroom> mpickering: jiri (fuchsia's build tool) reads a manifest with a list of dependencies and where they should go in the working path.
<boomshroom> Since the manifest isn't deterministic, I'm recreating it in Nix.
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #34444 → lib: Fix #30902 → https://git.io/vN7Yj
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to master: https://git.io/vx3lt
<{^_^}> → 4c52e34c by @Ericson2314: stdenv: Clean up check meta args
<{^_^}> → c26252af by @Ericson2314: lib, stdenv: Check `meta.platforms` against host platform and be open world
<{^_^}> → eae19f3c by @Ericson2314: release-lib: Adapt to work with new meta.platforms
coot has joined #nixos
<boomshroom> I just made the builder call a build function, and now I have to fix the shas
<fendor> someone here having experience with haskell-ide-engine and nix?
dan_b has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #37337 → Meta check 18.03 → https://git.io/vx3lC
<mpickering> fendor: I have
<mpickering> but always ask your question
<mpickering> boomshroom: So it works fine for you? I'm not sure I see the problem .. :)
ma27 has quit [Ping timeout: 265 seconds]
<boomshroom> The main problem was that builtins.toFile doesn't like derivation outputs in its source, so I moved the real code to a build value and called that from the builder.
<boomshroom> Now however, I have a different problem.
sasoiliev has joined #nixos
<sasoiliev> Hi all
<sasoiliev> I'm trying to set up NixOS on my box and I'm having a little trouble with the 'nixos-rebuild switch' command
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sasoiliev> Is my understanding that 'nixos-rebuild switch' is supposed to 1) take immediate effect and 2) remain in effect after rebooting?
<boomshroom> sasoiliev: Correct. That said there are somethings which are difficult to swap post-boot which is why current-system and booted-system are both used.
<symphorien> Yes, except for environnement variables and settings related to xorg which need a login/logout/restart at least
<boomshroom> Also, applications that are already running will keep running until exited and relaunched.
<symphorien> The list of non restarted services is printed by nixos rebuild
<boomshroom> Found my problem: libgit has a folder with a dummy submodule and it's confusing nix.
<sasoiliev> Right, so I wanted to set up NetworkManager (I'm setting up a laptop) as per https://nixos.org/nixos/manual/index.html#sec-networkmanager, so I added the 'networking.networkmanager.enabled = true;' in configuration.nix and then did a 'nixos-rebuid switch'
vaninwagen has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 97 commits to gnome-3.28: https://git.io/vx3lh
<{^_^}> → 566e08ba by @jtojnar: deja-dup: remove unneeded rpath fixup
<{^_^}> → d37c7ff8 by @jtojnar: meson: fix rpath fixup
<{^_^}> → fe835eca by @jtojnar: epiphany: remove unneeded rpath fixup
ma27 has joined #nixos
mightybyte has joined #nixos
<boomshroom> It should be safe to just disable submodules entirely for that repo
<sasoiliev> The command succeeds, but I have two issues - 1) after switching the network-manager service is not running and 2) after reboot it is not even available (systemctl start network-manager says 'unit not found')
<mightybyte> Would it be possible to make nix commands (mainly I'm thinking of nix-build, nix-shell, and nix-env) default to not trying to connect to the internet if all the dependencies are available locally?
dnovosel has joined #nixos
muzzy has joined #nixos
<boomshroom> mightybyte: I don't see anything in nix-build --help that would suggest so, but I agree that it could be useful. Maybe post an issue on the github repo?
<symphorien> sasoiliev: does nixos rebuild says it will build network manager or something related ?
<symphorien> Maybe you miswrote your configuration.nix
<symphorien> You can use nixos-option to actually query how your configuration.nix is parsed
<boomshroom> `mkdir: command not found` Gosh darnit!
<mightybyte> boomshroom: Ok, I'll do that.
zzamboni has quit [Quit: Leaving.]
<sasoiliev> symphorien: I don't think it builds anything, it downloads the bits and finishes successfully.
<mightybyte> boomshroom: Any idea what repo I should open that issue on?
nD5Xjz has joined #nixos
<symphorien> Does it download nm then ?
<sasoiliev> it does, yes
xcmw has joined #nixos
<boomshroom> mightybyte: That's a nix specific issue rather than one for the package repo, so https://github.com/NixOS/nix
<sasoiliev> if I say 'systemctl start network-manager' it does start and works
<sasoiliev> (at least until I reboot the machine)
<symphorien> Troubling
<symphorien> Can you paste your configuration.nix ?
<sasoiliev> sure, 1 sec
guillaum1 has joined #nixos
_null_ has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37338 → spaceFM: 1.0.5 -> 1.0.6 → https://git.io/vx34e
<guillaum1> can I replace `nix-shell -A something` with `nix run ??? something`?
<guillaum1> Same question for stuff packages with python / haskell. `nix run 'python27.withPackages (pkgs : with pkgs; [pkgs.pillow])'` fails with "error: don't know what to do with argument 'python27.withPackages (pkgs : with pkgs; [pkgs.pillow])'"
<sasoiliev> symphorien: https://pastebin.com/KiYfErqK
nD5Xjz has quit [Ping timeout: 240 seconds]
lassulus has joined #nixos
magnetop` has joined #nixos
zzamboni has joined #nixos
ma27 has quit [Ping timeout: 256 seconds]
magnetophon has quit [Ping timeout: 256 seconds]
zzamboni has quit [Read error: Connection reset by peer]
zzamboni has joined #nixos
<boomshroom> For some reason, my build function gets smushed to a single line, despite being made with a concat seperator of a newline.
dnovosel has quit [Ping timeout: 240 seconds]
<symphorien> sasoiliev: so if you switch to this conf, the unit is found, but when you reboot it is not found anymore
<symphorien> Do I understand correctly ?
<sasoiliev> That's right. After a reboot I need to do 'nixos-rebuild switch' again to have the nm available again (plus the need to manually start it).
<symphorien> This means that your bootloader configuration is wrong
<sasoiliev> And that goes for all (or most) of the confgiurations I did in configuration.nix
<symphorien> You boot into the wrong generatio
<sasoiliev> OK, how can I boot into the correct one?
<symphorien> Compare /run/current-system after switching and after rebooting (these are symlinks) to be sure
<symphorien> nixos-rebuild switch should ensure that, but if you misconfigured it it may have no effect
<symphorien> Legacy/uefi problems and so on
<leotaku> When I define a new service unit/copy and edit one from nixpkgs, should I just be able to put it into "imports = [ ... ]" and have it work?
<leotaku> Or is there something more complicated I have to be aware of?
<symphorien> No idea if this could mess things up but you have both grub conf and systemd-boot conf
<sasoiliev> Ah, right, I will look into this, thanks
rihards has joined #nixos
<symphorien> If you use grub, the menu will conveniently show you which generation you boot into
<symphorien> For systemd-boot, no idea
Sonarpulse has quit [Ping timeout: 276 seconds]
Arcaelyx has joined #nixos
newhoggy has joined #nixos
sasoiliev has quit [Ping timeout: 260 seconds]
<leotaku> most of the stuff seems to work, but nix is unable to find pkgs.runtimeShell which seems to work with the service definitions from nixpkgs
<leotaku> What could I be doing wrong?
zzamboni has quit [Read error: Connection reset by peer]
newhoggy has quit [Ping timeout: 256 seconds]
zzamboni has joined #nixos
xeji has joined #nixos
troydm1 has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
troydm has joined #nixos
<symphorien> leotaku: did you take the module from a more recent version of nixpkgs ?
<{^_^}> [nixpkgs] @jtojnar pushed 44 commits to gnome-3.28: https://git.io/vx3B8
<{^_^}> → 8ed3a8e8 by @hedning: gvfs: fix build
<{^_^}> → 18fc5c09 by @hedning: gnome3.gnome-characters: fix build
<{^_^}> → 3ac5e247 by @jtojnar: gnome3.gucharmap: clean up
<leotaku> symphorien: oh, I've found the problem, Indeed i copied from the master branch. my checkout uses stdenv.shell
<leotaku> symphorien: thanks
sigmundv has joined #nixos
romildo has joined #nixos
<xeji> anyone know what's wrong with hydra? error 500 ...
romildo has quit [Client Quit]
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « spaceFM: 1.0.5 -> 1.0.6 »: https://git.io/vx3B1
<{^_^}> [nixpkgs] @obadz merged pull request #37338 → spaceFM: 1.0.5 -> 1.0.6 → https://git.io/vx34e
<MichaelRaskin> Database needs a restart again, apparently
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to release-18.03 « spaceFM: 1.0.5 -> 1.0.6 »: https://git.io/vx3BQ
sigmundv has quit [Remote host closed the connection]
jsoo has joined #nixos
nD5Xjz has joined #nixos
roberth has joined #nixos
Ke has quit [Ping timeout: 264 seconds]
alexteves has joined #nixos
srjek_ has joined #nixos
jsoo has quit [Client Quit]
<xeji> should be self-restarting :-)
robstr_ has quit [Quit: WeeChat 1.9.1]
nD5Xjz has quit [Ping timeout: 264 seconds]
srjek has joined #nixos
srjek|home has quit [Ping timeout: 240 seconds]
leat has quit [Ping timeout: 240 seconds]
sigmundv has joined #nixos
srjek_ has quit [Ping timeout: 276 seconds]
leat has joined #nixos
alexteves has quit [Quit: Leaving]
sigmundv has quit [Ping timeout: 264 seconds]
alexteves has joined #nixos
LangeOortjes has joined #nixos
mounty has quit [Ping timeout: 240 seconds]
<infinisil> Hey, does anybody happen to know if there's a way to run commands when certain network interfaces get available?
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-17.09: https://git.io/vx30O
<{^_^}> → 6dbd7bac by @taku0: firefox-esr: 52.6.0esr -> 52.7.2esr
<{^_^}> → 6e9f59c1 by @vcunat: rust, cargo: fix /bin/sh build-time impurity
<infinisil> In my case that would be some custom routes with `ip route`
shout-user93 has joined #nixos
<shout-user93> hey, coming back to nix on macOS after a while - I understand that nix-darwin is a thing, but more a general question. when I run nix --version all I get is 2.0 - is there a way to see a more specific version?
<shout-user93> nix-env --version gives me the same message
mounty has joined #nixos
<{^_^}> [nixpkgs] @obadz merged pull request #36458 → Vault: 0.9.4 -> 0.9.5, fix test → https://git.io/vANcz
<{^_^}> [nixpkgs] @obadz pushed commit from @NeQuissimus to master « vault: Fix test »: https://git.io/vx30a
<clever> shout-user93: ls -l ~/.nix-profile/bin/nix
<shout-user93> ~/.nix-profile is an empty file
<clever> shout-user93: which nix
<clever> and then ls -l tat
<clever> that*
<shout-user93> hmm
<shout-user93> looks like /nix/var/nix/profiles/default/bin/nix
<clever> yeah, thats roots profile
<clever> ls -l that path
<shout-user93> looks like this: lrwxr-xr-x 1 root wheel 14 Mar 18 12:11 /nix/var/nix/profiles/default ->
<shout-user93> whoops: -> default-3-link
<clever> ls -lh /nix/var/nix/profiles/default/bin/nix
zzamboni has quit [Quit: Leaving.]
<shout-user93> ah, and then I did that, and I'm seeing something...
<shout-user93> so /nix/store/xmi4fylvx4qc79ji9v5q3zfy9vfdy4sv-nix-2.0/bin
<pikajude> i cannot build any haskell packages on macos with a recent commit :/
<pikajude> not sure which
<shout-user93> can I map that hash over xmi4fylvx4qc79ji9v5q3zfy9vfdy4sv over to a commit?
<clever> shout-user93: not easily
<clever> normally there is a hash after the 2.0
<pikajude> no, the hash in the nix store is just a hash of all the build inputs
<clever> shout-user93: nix-store --query --deriver /nix/store/xmi4fylvx4qc79ji9v5q3zfy9vfdy4sv-nix-2.0
<pikajude> nothing to do with the actual source rev
<clever> shout-user93: what does this say?
<shout-user93> unknown-deriver
<clever> ah, its been GC'd, or maybe its the initial one you installed
<shout-user93> probably the initial one
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-18.03: https://git.io/vx30Q
<{^_^}> → ac2378d8 by @taku0: firefox-esr: 52.6.0esr -> 52.7.2esr
<{^_^}> → 54804435 by @taku0: nss: 3.34.1 -> 3.35; cacert.certdata2pem: 20160104 -> 20170717
<shout-user93> I didn't exactly do a clean install here
<clever> you could just upgrade it, then youll know what version it is
<clever> sudo -i
<shout-user93> I had 1.1 and followed the instructions
katona has joined #nixos
<clever> nix-env -iA nixpkgs.nixStable2
<clever> i think
<shout-user93> ah, I just did nix nix-upgrade
<shout-user93> perhaps that caused an issue
<{^_^}> [nixpkgs] @jtojnar pushed 44 commits to gnome-3.28: https://git.io/vx30A
<{^_^}> → 22398326 by @hedning: gvfs: fix build
<{^_^}> → 21c9d97d by @hedning: gnome3.gnome-characters: fix build
<{^_^}> → e28cceff by @jtojnar: gnome3.gucharmap: clean up
<shout-user93> nix-env -iA nixpkgs.nixStable (without the 2) is running
<clever> what version did it say it was installing?
nD5Xjz has joined #nixos
mudri has joined #nixos
<shout-user93> replacing old 'nix-2.0' \n installing 'nix-2.0'
<clever> ah, it should at least have the deriver this time
<{^_^}> [nixpkgs] @ryantm opened pull request #37340 → unbound: 1.6.8 -> 1.7.0 → https://git.io/vx3EJ
<shout-user93> then later /nix/store/isrf97h8jqyx9p51frjdmz2609a88252-nix-2.0 - but still says unknown-deriver...
<clever> but we know your running whats in nixpkgs, so thats simpler
<clever> one sec
<clever> nix-instantiate --eval '<nixpkgs>' -A nixStable.src.urls
<clever> shout-user93: that gives you the url to the exact source you just installed
<shout-user93> awesome, thanks
<disasm> fpletz: I think I remember you mentioning you had a good way of sharing nixops state between members of a team. If so, could you give me some advice?
nD5Xjz has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @obadz pushed commit from Moritz Küttel to master « projectlibre: init at 1.7.0 »: https://git.io/vx3EC
alex`` has quit [Quit: WeeChat 2.0.1]
<{^_^}> [nixpkgs] @jlesquembre opened pull request #37341 → terminus: init at 1.0.0-alpha.41 → https://git.io/vx3EB
<{^_^}> [nixpkgs] @obadz pushed 2 commits to master: https://git.io/vx3E0
<{^_^}> → 335394ff by Moritz Küttel: add myself (Mogria) to maintainers list
<{^_^}> → d17e6f2c by Moritz Küttel: add the CPAL-1.0 license
<{^_^}> [nixpkgs] @obadz closed pull request #24466 → projectlibre: init at 1.6.2 → https://git.io/vSGN7
<boomshroom> I'm trying to unpack a set of sources into specific paths to prepare for a build. Currently, my build function gets squashed into a single line when I try to call it from the builder.
<clever> boomshroom: can you gist your entire nix file?
<symphorien> boomshroom: do you know about the srcs attribute: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/graphics/meshlab/default.nix#L9 ?
<NickHu_> Anyone know what's up with nixos-unstable? It hasn't been updated for 12 days now
<boomshroom> symphorien: I know it exists, I don't know how to use it.
coot has quit [Quit: coot]
<symphorien> if I understand the example I grepped for you, you specify sourceRoot = "thenameoftherootfolderofonesrc";
<symphorien> the build will cd it
<boomshroom> I already posted a previous version. When trying to update the gist I get a 405 error/
<symphorien> and then the other source is available at ../somename
<clever> boomshroom: can you link the gist again?
<{^_^}> [nixpkgs] @ryantm opened pull request #37342 → xorg.utilmacros: 1.19.1 -> 1.19.2 → https://git.io/vx3uU
<clever> boomshroom: and what are you running when it gets flattened to one line?
<boomshroom> makeGoPath, when called with the manifest file, flattens all the mkdirs and cps onto a single line before calling it from builder.
<clever> is the problem happening in nix-build or nix-shell?
joepie91___ is now known as joepie91
xeji has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @pSub pushed to master « icmake: 9.02.06 -> 9.02.07 »: https://git.io/vx3uZ
<boomshroom> clever: both. When I print it out with builtins.trace, it outputs with newlines (and tabs).
<{^_^}> [nixpkgs] @pSub pushed to release-18.03 « icmake: 9.02.06 -> 9.02.07 »: https://git.io/vx3ul
<{^_^}> [nixpkgs] @obadz closed pull request #25747 → neo4j: 3.1.2 -> 3.1.4 → https://git.io/v9HS2
<clever> it needs to be properly quoted in the bash level
<clever> oh
<clever> i see your problem
<clever> line 55
<clever> $build drops all \n's
<clever> you want "$build"
<clever> also, runCommand does things without having to even make a builder
<clever> if you are setting builder, your doing it wrong
<clever> you pretty much never need to do that
<{^_^}> [nixpkgs] @pSub pushed to master « homebank: 5.1.7 -> 5.1.8 »: https://git.io/vx3ug
<boomshroom> clever: If that's the case, I'd suggest documenting runCommand at least as well as builder.
<clever> boomshroom: if you do runCommand "name" {} "bash script"
<clever> it will run "bash script" in bash, and expects it to produce $out
<clever> edited to correct a typo
<{^_^}> [nixpkgs] @pSub pushed to release-18.03 « homebank: 5.1.7 -> 5.1.8 »: https://git.io/vx3uX
<boomshroom> Why can you edit my gist, but not me?!
<clever> i clicked the fork button
<clever> so i'm editing a copy that i own
<boomshroom> I clicked the edit button and when I hit submit, it gave me a 405 error.
<clever> i also replaced builder with buildCommand in the 2nd derivation
<clever> the stdenv will eval the buildCommand for you
<clever> also, runCommand sets up PATH for you
<clever> so you dont need ${coreutils} anymore
<boomshroom> buildCommand, is definately nicer than setting builder manually.
<{^_^}> [nixpkgs] @obadz closed pull request #27138 → gildas: init at jul17a → https://git.io/vQ2qw
<clever> runCommand is just a helper to set buildCommand for you
<NickHu_> Hmm, I'm noticing an issue whereby I do a nix-channel --update, and it doesn't actually seem to update the channel despite giving me the downloading and unpacking channels output...
<clever> NickHu_: each user has his own channels, and root's are available to all users
<clever> NickHu_: check `nix-channel --list` as each user
<NickHu_> I understand that clever; I am trying to install something from nixpkgs-unstable
rardiol1 has joined #nixos
<NickHu_> I even removed it, added it under a different alias, and then did a nix-channel --update (all as my local user)
<NickHu_> But nix-env -iA nixpkgs-unstable.blah doesn't recognise the attribute path
<clever> NickHu_: how are you installing it?
<NickHu_> nix-env -ivA nixpkgs-unstable.pandoc --- error: attribute 'nixpkgs-unstable' in selection path 'nixpkgs-unstable.pandoc' not found
<clever> what does nix-channel --list say?
<NickHu_> ah it says it's at the alias nixpkgs
<clever> the man page tells you how to set the name when you add
<NickHu_> But still, it tries to install 2.0.6, which isn't the latest version on nixpkgs-unstable
<NickHu_> So I am still suspicious it isn't updating the channel properly
<boomshroom> Now I'm seeing `cp: cannot create {regular file,directory} '...' Permission denied` About once per top level file in git2go.
<NickHu_> I have tried issuing nix-channel --update as both my user and as root
<{^_^}> [nixpkgs] @ryantm opened pull request #37343 → libv4l: 1.12.3 -> 1.14.2 → https://git.io/vx3zf
<clever> boomshroom: you need to chmod -R +w $out
<clever> boomshroom: the stuff your copying is read-only, and gets in the way of more copies
nD5Xjz has joined #nixos
<clever> NickHu_: why do you think nixpkgs-unstable has something newer then 2.0.6?
<boomshroom> Should I do that before anything else, before making each directory, or before copying each directory?
<clever> boomshroom: probably after each copy
<clever> boomshroom: you could also speed it up by just doing the chmod on what you just copied
<clever> boomshroom: or finding a cp flag to override the chmod bits
<NickHu_> Got confused because in master, pandoc really is at version 2.1.2
<NickHu_> I see that
<clever> NickHu_: the branches on this repo coresponde to the channels
<clever> NickHu_: and all of the master based channels are 2 days or older, QT broke things
vaninwagen has quit [Ping timeout: 256 seconds]
<NickHu_> I see
nD5Xjz has quit [Ping timeout: 264 seconds]
<boomshroom> When build command is run, where is the pwd relative to the (copied) source directory.
<NickHu_> Was it a big problem? I'm interested in how Qt broke things
tos9 has joined #nixos
<clever> boomshroom: you can just insert a pwd and ls -ltrh into there to find that
<clever> boomshroom: it should be a temp dir under /tmp, which nix will nuke when its done
<tos9> Hi (first time using nix in quite a long while). If I want to have some perl modules available for irssi (for plugins), does that mean I have to override its definition
<clever> tos9: yeah, thats how i would handle things
<tos9> It appears to not be able to see them if I just `nix-env -i` them (which I guess makes sense)
<boomshroom> I ask because it can't find the directory jiri wants to build under.
<clever> tos9: wrapProgram or makeWrapper can be used to modify the PERLPATH when starting irssi
<tos9> clever: Cool -- any chance yo... aha, ok, will look for an example of those
justbeingglad has joined #nixos
<boomshroom> Ah, I need to copy the source directory to the build directory.
<clever> boomshroom: the unpackPhase handles that for you, but the buildCommand disables all of that
fendor has quit [Ping timeout: 246 seconds]
srdqty has quit [Ping timeout: 265 seconds]
<boomshroom> `python: command not found` You didn't say I needed python! You specifically asked for cmake, go, ninja, and git.
srdqty has joined #nixos
<clever> and thats why nix exists, to find the un-documented deps!
<clever> and then clearly document them in the nix expression
nix-noob has joined #nixos
<[Leary]> I've got pkgs.rxvt_unicode in my environment.systemPackages and services.urxvtd.enable = true. ps -e | grep urxvtd shows a running .urxvtd-wrapped instance, yet urxvtc fails with "unable to connect to the rxvt-unicode daemon: Connection refused".
<[Leary]> urxvtc starts working if I manually start a second urxvtd instance from terminal, but that really shouldn't be necessary. Is there something else I need to do in my config?
hyperbolic_ has joined #nixos
<MichaelRaskin> Who is the owner of urxvtd instance?
<hyperbolic_> what's this "signed-binary-caches" warning I keep getting, and how do I get rid of it?
<[Leary]> My non-root user in both cases, MichaelRaskin.
<boomshroom> Does nix-shell set the $src variable?
<clever> boomshroom: if src is set on the derivation, yes
<clever> hyperbolic_: are you on nixos?
<boomshroom> derp, I was running the wrong derivation.
<{^_^}> [nixpkgs] @ryantm opened pull request #37344 → v8_6_x: 6.2.414.27 -> 6.6.335 → https://git.io/vx3gs
<hyperbolic_> clever: yes.
<clever> hyperbolic_: did you recently try to upgrade to nix 2.0?
<hyperbolic_> I'm reinstalling nixos.
<clever> hyperbolic_: ah, the error should be safe to ignore at that time
<clever> hyperbolic_: it happens if the nix.conf is from nix 1.11, and your running nix 2.0
<hyperbolic_> I did switch it to unstable, so maybe that's it.
zzamboni has joined #nixos
newhoggy has joined #nixos
muzzy has quit [Ping timeout: 256 seconds]
justbeingglad has quit [Ping timeout: 260 seconds]
coot has joined #nixos
dsop has joined #nixos
<dsop> hey, i am first time user of nixos, coming from gentoo and arch. I wonder how problematic it is to run nixos on an unstable channel
<dsop> or is that waht most people in here do
<{^_^}> [nixpkgs] @ryantm opened pull request #37345 → varnish: 5.2.1 -> 6.0.0 → https://git.io/vx32E
<NickHu_> dsop: nixos-unstable is pretty stable, and it's rolling release which is familiar if you're used to arch
<NickHu_> Plus the way nixos is structured makes rolling back a breeze
<dsop> NickHu_: thank you. Okay will go for it then :)
nD5Xjz has joined #nixos
ryantm has quit [Quit: Lost terminal]
<symphorien> dsop: nixos-unstable-small and nixpkgs-unstable on the other hand are mostly untested and unfit for nixos
<symphorien> !channel
<symphorien> !channels
<symphorien> !which channel
<symphorien> here is a longer discussion, dsop ^
alex`` has joined #nixos
<srid> will I ever be able to embed i3 config in nix configuration.nix? (like I can already do with tmux and neovim)?
nD5Xjz has quit [Ping timeout: 240 seconds]
<MichaelRaskin> Well, you can write arbitrary /etc/ files…
<symphorien> srid: environment.etc."i3/config".text = ''your config" ?
<ottidmes> srid: If you can configure i3 to look for its config in /etc then you could, or if you use something like home-manager, or you could even just write your own systemd service / activation script linking your /nix/store located config to the needed location, so there are plenty of ways
muzzy has joined #nixos
newhoggy has quit [Remote host closed the connection]
zzamboni has quit [Quit: Leaving.]
newhoggy has joined #nixos
<srid> Interesting, I didn't know about `environment.etc`
roberth has quit [Ping timeout: 264 seconds]
zzamboni has joined #nixos
newhoggy has quit [Ping timeout: 256 seconds]
loonquawl has quit [Quit: loonquawl]
<{^_^}> [nixpkgs] @vcunat pushed to master « projectlibre: meta fixes »: https://git.io/vx3VL
reinzelmann has quit [Quit: Leaving]
jensens has quit [Ping timeout: 240 seconds]
blankhart has joined #nixos
<kandinski> I just left my computer installing virtualbox overnight (I wanted the Oracle extensions), and it seems it worked but I don't have a virtualbox binary, though the VBox* set of binaries are there. How can I access the virtualbox GUI?
<the-kenny> kandinski: VirtualBox ist the name of the binary
<kandinski> of course, thanks
blankhart has quit [Ping timeout: 256 seconds]
newhoggy has joined #nixos
clefru has quit [Quit: Leaving]
paraseba_ has quit [Quit: EliteBNC - http://elitebnc.org (Auto-Removal: idle account/not being used)]
nD5Xjz has joined #nixos
blankhart has joined #nixos
zzamboni has quit [Quit: Leaving.]
sigmundv has joined #nixos
dan_b has joined #nixos
nD5Xjz has quit [Ping timeout: 260 seconds]
fendor has joined #nixos
fendor has quit [Client Quit]
<{^_^}> [nixpkgs] @LnL7 pushed to master « guile-lint: disable tests on darwin »: https://git.io/vx3wh
fendor has joined #nixos
<{^_^}> [nixpkgs] @LnL7 pushed to release-18.03 « guile-lint: disable tests on darwin »: https://git.io/vx3rt
<fendor> hi, when using stack with the `--nix` flag, stack downloads some indices and fails with a rather non-descriptive error msg, any ideas why?
<infinisil> fendor: can't help much without the error
<tos9> I'm trying to install a package which exists on nixos but which appears not to when using nix on darwin -- how do I see why that is?
<infinisil> tos9: Packages meta.platforms attribute usually does that
<boomshroom> tos9: It's possible to try installing it anyway with an environment variable to enable broken builds.
<tos9> infinisil: thanks! OK, that does appear to only be set to linux (https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/python/pypy/2.7/default.nix#L141), but I have no idea why
<tos9> boomshroom: a ha, ok, yeah that sounds like probably what I want to do
<infinisil> fendor: That is indeed an odd error, what I'd do is update to latest versions, delete the stateful directories, no idea why that occurs
leat has quit [Ping timeout: 240 seconds]
<fendor> infinisil, already deleted ~/.stack and stack via nix-env -e and reinstalled it, collected garbage in between
<tos9> boomshroom: do you know what that envvar is perchance?
<fendor> just to be sure: `which stack` -> `/home/baldr/.nix-profile/bin/stack`
<infinisil> fendor: reinstalling and garbage collection does absolutely nothing on nixos, it's going to be the same result
zzamboni has joined #nixos
<fendor> infinisil, well, generally nice
<fendor> infinisil, so, what should i uninstall?
<fendor> *remove
<infinisil> No idea, maybe try with different resolvers
civodul has joined #nixos
<fendor> infinisil, did so
<fendor> different project between lts 7.9 and 11.1
<infinisil> Are you unstable?
<fendor> yes
<fendor> emotionally
<boomshroom> tos9 export NIXPKGS_ALLOW_BROKEN=1
<infinisil> hah
alex`` has quit [Quit: WeeChat 2.0.1]
<fendor> hehe, so, install from stable, makes sense
loonquawl has joined #nixos
<infinisil> tos9: or --option config '{ allowBroken = true; }' should work too
<infinisil> fendor: yeah would be worth a try
<fendor> infinisil, thx, will try that
<tos9> boomshroom, infinisil Nice! Thanks, build's starting, now to wait 2 hours and see if it fails 10 seconds before the end :D
<fendor> infinisil, still not fixed :(
<infinisil> fendor: Opening an issue would be nice then
boomshroom is now known as boomshroom-away
<fendor> infinisil, ok, will do that tomorrow
<fendor> see ya
<boomshroom-away> I'll be heading out soon. Be back tonight.
newhoggy has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 240 seconds]
srjek|home has joined #nixos
fendor has quit [Ping timeout: 260 seconds]
zearen has joined #nixos
leat has joined #nixos
srjek has quit [Ping timeout: 276 seconds]
nD5Xjz has joined #nixos
srjek|home has quit [Ping timeout: 252 seconds]
hiratara has quit [Ping timeout: 252 seconds]
hiratara has joined #nixos
srjek has joined #nixos
nD5Xjz has quit [Ping timeout: 240 seconds]
srjek|home has joined #nixos
knupfer has joined #nixos
srjek has quit [Ping timeout: 240 seconds]
sigmundv has joined #nixos
nuncanada has joined #nixos
nD5Xjz has joined #nixos
zzamboni has quit [Quit: Leaving.]
newhoggy has joined #nixos
nix-noob has left #nixos [#nixos]
nD5Xjz has quit [Ping timeout: 240 seconds]
testuser has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
infinisil has joined #nixos
hyperbolic_ has quit [Quit: Page closed]
magnetop` has quit [Remote host closed the connection]
magnetop` has joined #nixos
nD5Xjz has joined #nixos
validatOr699 has joined #nixos
<{^_^}> [nixpkgs] @LnL7 merged pull request #37141 → pythonPackages.tkinter: fix darwin build → https://git.io/vxtbD
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/vx3Kj
<{^_^}> → af0f9fa2 by @knedlsepp: pythonPackages.tkinter: fix darwin build
<{^_^}> → b3c6cb6d by @LnL7: Merge pull request #37141 from knedlsepp/fix-python-tkinter-on-darwin
<{^_^}> [nixpkgs] @LnL7 pushed commit from @knedlsepp to release-18.03 « pythonPackages.tkinter: fix darwin build »: https://git.io/vx36U
nD5Xjz has quit [Ping timeout: 260 seconds]
testuser has joined #nixos
knupfer has quit [Ping timeout: 265 seconds]
hiratara has quit [Quit: ZNC - http://znc.in]
davidlt_ is now known as davidlt
hiratara has joined #nixos
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
<{^_^}> [nixpkgs] @ryantm closed pull request #37123 → tiled: 1.1.2 -> 1.1.3 → https://git.io/vxtV9
infinisil has joined #nixos
katona has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @flokli opened pull request #37346 → sqldeveloper: 17.4.0.355.2349 -> 17.4.1.054.0712 → https://git.io/vx36R
magnetop` has quit [Ping timeout: 240 seconds]
mudri has quit [Ping timeout: 260 seconds]
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
infinisil has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<{^_^}> [nixpkgs] @knedlsepp opened pull request #37347 → python3Packages.pycurl: fix darwin build → https://git.io/vx3im
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/vx3iW
<{^_^}> → 940fab42 by @vcunat: Merge #37335: wideland: fix build and .desktop
<{^_^}> → c146f603 by @rardiol: widelands: fix launchpad url
fyuuri has joined #nixos
<{^_^}> [nixpkgs] @danielfullmer opened pull request #37348 → mythtv: 0.27.4 -> 29.1 → https://git.io/vx3iR
mudri has joined #nixos
<fyuuri> When I install google-chrome using nix-env from nixpkgs it does not work (there is no error message, the command just returns immediately). When I install it from nixos using the declarative way it work. Does anybody have the same problem?
<ottidmes> fyuuri: Nothing in the journal as well?
zearen has quit [Ping timeout: 240 seconds]
<rawtaz> `journalctl`
<{^_^}> [nixpkgs] @vcunat merged pull request #37335 → widelands: fix launchpad url → https://git.io/vx3cW
<ottidmes> fyuuri: Do you start them both the same way? Both via the console?
<fyuuri> NOthing. Yes i start them both using the console
nD5Xjz has joined #nixos
<symphorien> you can try strace -f to figure this out
<fyuuri> My channel is https://nixos.org/channels/nixpkgs
<symphorien> do which google-chrome point to the same store path in bith cases ?
<fyuuri> I cant find that anymore in the channel index. Only nixpkgs-unstable.
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « Merge #37335: wideland: fix build and .desktop »: https://git.io/vx3ib
amir has quit [Read error: Connection reset by peer]
nD5Xjz has quit [Ping timeout: 246 seconds]
coot has quit [Quit: coot]
michas__ has quit [Remote host closed the connection]
zearen has joined #nixos
ambro718 has quit [Ping timeout: 240 seconds]
amir has joined #nixos
<{^_^}> [nixpkgs] @badi opened pull request #37349 → nextcloud: 13.0.0 -> 13.0.1 → https://git.io/vx3P1
zzamboni has quit [Quit: Leaving.]
simukis has quit [Ping timeout: 256 seconds]
<Guanin> is there any way to increase the timeout for a mountpoint?
<Guanin> I have a large btrfs fs and sometimes, it needs longer than the 90 seconds, which causes systemd to kill the mount
loonquawl has quit [Remote host closed the connection]
loonquawl has joined #nixos
dhess has joined #nixos
<ottidmes> Guanin: Did you already look into x-systemd.mount-timeout?
<{^_^}> [nixpkgs] @badi opened pull request #37351 → unifi: 5.6.30 -> 5.6.36 → https://git.io/vx3Xp
nD5Xjz has joined #nixos
<ottidmes> Guanin: There is also TimeoutSec: https://www.freedesktop.org/software/systemd/man/systemd.mount.html
<Guanin> I know that there is a way to set it for systemd, but I'd like to know the "nix way", if there is any
<Guanin> oh wait, I can set x-systemd.mount-timeout by the mount options, or?
<ottidmes> Guanin: Yeah I guess so, so that would be: https://nixos.org/nixos/options.html#filesystems+options
<pcarrier> what's the closest to a manpage experience for nixos config? everything has types and descriptions and the online manual is fine but I'd love a CLI to explore, grep, etc.
<Guanin> Thanks, ottidmes :)
<pcarrier> I remember seeing some CLI tools but I can't find anything anymore
<dhess> How do I get nix-build to fetch from a private GitHub repo? I've created an SSH keypair for this purpose, added the public one to my GitHub account, and then put the private one in ~root/.ssh/id_ed25519 on the host where I'm running nix-build, but I'm getting "Host key verification failed" when nix-build tries to fetch the URL
<dhess> My Hydra can fetch private GitHub repos using a similar setup just fine
mguex has left #nixos ["WeeChat 2.0"]
nD5Xjz has quit [Ping timeout: 240 seconds]
<symphorien> pcarrier: man configuration.nix
<ottidmes> Guanin: I double checked and indeed, they talk about fstab options, which is what fileSystems.<name>.options are, which in turn are dynamically converted to mount units by systemd
<Guanin> The service file looks good, too - So I'll notice the next time my server will be rebooted :)
<pcarrier> @symphorien do you know if that's functionaly derived from the checkout I nixos-install switch to?
<symphorien> I think so
<pcarrier> /nix/store/i40qla5sf52rd6shamdhpbddx4mjams9-nixos-manpages/share/man/man5/configuration.nix.5
<pcarrier> OK looks like there's some docbook I'd need to track
<ottidmes> dhess: Someone (I guess avnik given the username) posted this on the IRC some time ago, I haven't had the need yet so I haven't tried it for myself, but it might help you out: https://gist.github.com/avnik/ef7dd2f420733834abd026d3dd70db7f
<{^_^}> [nix] @bchallenor opened pull request #1987 → Dockerfile: 1.11.14 -> 2.0 → https://git.io/vx31u
<dhess> ottidmes: whoa, I hope it's easier than that :)
<{^_^}> [nixpkgs] @dotlambda closed pull request #37349 → nextcloud: 13.0.0 -> 13.0.1 → https://git.io/vx3P1
<dhess> I'm using Nix 2.0 and it looks like maybe its built-in fetchGit supports this
<ottidmes> dhess: Could be, haven't used that either yet :P
<pcarrier> Nix 2.0 is in 18.03 that's "about to" release
<dhess> ottidmes: thanks for the link in any case
<pcarrier> so it's not necessarily a bad idea to start using it already
<pcarrier> been on it for a few months and there are some nice usability improvements in a few places :)
<pcarrier> (probably way more than I've found)
<pcarrier> symphorien: yup confirmed generated on the fly in the nixos system-wide derivation
rihards has quit [Quit: rihards]
<elvishjerricco> the improvements to the store abstraction alone make nix 2.0 well worth it to me
<pcarrier> (I just changed some description and nixos-install switched, the build took a bit of time and the change made it to the manpage)
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
infinisil has joined #nixos
<dhess> hmm builtins.fetchGit at least tries to hit github, but says "Repository not found"
<dhess> basically looks like this: https://github.com/NixOS/nixpkgs/issues/35383
mk-fg has quit [Ping timeout: 264 seconds]
<[Leary]> Does anyone have a usage example for nix-prefetch-git? Can't find any documentation for it. I'm using fetchgit in packageOverrides to pull source for something from a repo, but it's a pain to have to grab the hash from the error every time.
tg has quit [Excess Flood]
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
<dhess> oh yay! using an ssh://git@github.com/... URL worked!
<dhess> that is sweet
tg has joined #nixos
acarrico has quit [Ping timeout: 256 seconds]
<dhess> one drawback is that builtins.fetchGit does not take a sha256 argument.