gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || 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
<ZaraChimera> How well does Nix integrate with Linux distributions? Would I need to create shortcuts and menu entries manually after installing packages, for example.
justanotheruser has quit [Ping timeout: 245 seconds]
<Profpatsch> joepie91_to_go: Down from 2550 to nearly 2350 in one evening. :)
fragamus has quit [Read error: Connection reset by peer]
<Lisanna> ugh I hate openssh so much, it refuses to let me share a private key with a unix group which is really screwing up my remote building
<clever> ZaraChimera: if a program generates a .desktop file, it will be in ~/.nix-profile/share/applications after you nix-env -i it
<clever> ZaraChimera: you will need to somehow convince your DE to look in there
justanotheruser has joined #nixos
sorixelle has joined #nixos
pacmeister has joined #nixos
kyren has quit [Read error: Connection reset by peer]
kyren has joined #nixos
init_6 has joined #nixos
<ZaraChimera> Okay, I'll see if I can locate how to make Plasma look in my .nix-profile location.
<rizary> so i got this working here: https://gist.github.com/Rizary/a6c57fb027877fbbe321473db8af36a4 but when i run `nix-build backend.nix` it doesn't show anything and also didn't generate the `result` folder.
<rizary> when i put `{ inherit (pkgs.haskellPackages) auth-service; }`, should the haskellPackages contains my `auth-service` package?
roconnor has joined #nixos
camsbury has joined #nixos
joepie91_to_go has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 260 seconds]
matthewbauer has quit [Remote host closed the connection]
matthewbauer has joined #nixos
<rotaerk> sigh, haskell-mode just doesn't work for me
<rotaerk> at least, the haskell layer of spacemacs doesn't seem to
<rotaerk> might be able to get it to work, with a lot of effort working out the kinks, but certainly doesn't just work out of the box
<Profpatsch> Okay, <2350 issues, I’m going to bed. gn8 ;)
<rotaerk> :P
rschm has quit [Remote host closed the connection]
rschm has joined #nixos
<Orbstheorem> Hi, I'm trying to use `nix build` to build a local derivarion
<Orbstheorem> I'm in the folder with the `default.nix` file, but when I run `nix build`, I get `error: cannot auto-call a function that has an argument without a default value ('stdenv')`
<clever> Orbstheorem: the file must be loaded with callPackage
<clever> Orbstheorem: nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'
<Orbstheorem> I wanted to try nix 2.0 :)
<Orbstheorem> `nix build` instead of `nix-build`
<clever> you can also put the above string into a new nix file, and run `nix build -f newfile.nix`
<Orbstheorem> oh, okay ^^
<clever> -E is just a shortcut to avoid having to write a 1 line file
Ariakenom has quit [Quit: Leaving]
Lisanna has quit [Remote host closed the connection]
Maxdaman1us has joined #nixos
<{^_^}> [nixpkgs] @ghuntley opened pull request #42469 → zerotier: added option to customise the port used → https://git.io/f4S0J
Maxdamantus has quit [Ping timeout: 268 seconds]
illabout has joined #nixos
illabout has quit [Remote host closed the connection]
tenten8401 has joined #nixos
<tenten8401> Anyone here know if there's a declarative way to get ocserv working on NixOS?
illabout has joined #nixos
<tenten8401> Wanting to set up a VPN server for personal use but I can't find a package at all for it
illabout has quit [Remote host closed the connection]
Maxdaman1us is now known as Maxdamantus
illabout has joined #nixos
pacmeister has quit [Ping timeout: 276 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
justbeingglad has joined #nixos
phreedom has quit [Ping timeout: 250 seconds]
phreedom_ has joined #nixos
ericsagnes has quit [Ping timeout: 255 seconds]
tenten8401 has quit [Ping timeout: 260 seconds]
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #42470 → dmraid: patch to fix users of dmraid → https://git.io/f4S0Q
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42471 → openlibm: 0.5.5 -> 0.6.0 → https://git.io/f4S07
pie_ has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnovosel has quit [Ping timeout: 245 seconds]
ericsagnes has joined #nixos
markus1189 has joined #nixos
silver has quit [Read error: Connection reset by peer]
camsbury has quit [Quit: WeeChat 2.0]
markus1199 has quit [Ping timeout: 248 seconds]
hamishmack has joined #nixos
mounty has joined #nixos
nvh^ has quit [Ping timeout: 265 seconds]
hamishmack has quit [Client Quit]
<Orbstheorem> So, I'm trying to make a derivation for this: https://github.com/payonel/ocvm (so far I got: https://paste.gnugen.ch/raw/AvlW ). When trying to build using this command `nix build -f =(echo "with import <nixpkgs> {}; callPackage $(pwd)/default.nix {}") -vv` I get the message `No package 'lua5.3' found` on the build phase, it's comming from pkgconfig I pressume. How can I debug the build? that is, how can I
<Orbstheorem> ”manually execute the build steps” to figure the problem?
hamishmack has joined #nixos
jb55 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42472 → openfst: 1.6.7 -> 1.6.8 → https://git.io/f4SEC
pie_ has quit [Read error: Connection reset by peer]
<clever> Orbstheorem: lua5_3 has a lua.pc file, but pkg-config is looking for lua5.3.pc
<clever> Orbstheorem: so you have to set the makeflag lua to nothing, but then the makefile automatically adds 5.2, so you have no option but to patch the makefile
<{^_^}> [nixpkgs] @Phreedom pushed to master « amarok: fix building against Qt-5.11 »: https://git.io/f4SER
blonkhart has quit [Ping timeout: 268 seconds]
<Orbstheorem> Okay, I'm trying to check how it works in other distros to see how to properly fix upstream
<clever> lua can also be patched, to have 2 .pc files
blonkhart has joined #nixos
<Orbstheorem> So, in debian they use lua5.3, are there any policy/name conventions on library names?
<Orbstheorem> Perhaps we should add lua5.3.pc?
<clever> yeah, adding a lua5.3.pc would also solve the issue
<clever> and keepign the lua.pc would allow existing things to continue to work
phreedom_ has quit [Remote host closed the connection]
<rotaerk> hrm, wasn't there something like /etc/nixos/configuration.nix but specific to the user
<clever> rotaerk: ~/.config/nixpkgs/config.nix has nixpkgs config
phreedom has joined #nixos
ndowens04 has joined #nixos
<rotaerk> ahh thanks
mkoenig has joined #nixos
blonkhart has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #42470 → dmraid: patch to fix users of dmraid when using musl → https://git.io/f4S0Q
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/f4SEo
<ndowens04> think i sorta figured out what is going on with mosh, it complains that LANG=en_US.UTF-8 isn't available but it is what is set in configuration.nix
roconnor has quit [Ping timeout: 264 seconds]
illabout has quit [Ping timeout: 260 seconds]
xy3_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @roosemberth opened pull request #42473 → lua5.3/pkgconfig: add lua5.3.pc → https://git.io/f4SE1
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42474 → mopidy-iris: 3.21.1 -> 3.21.3 → https://git.io/f4SE9
blonkhart has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42475 → lxqt.obconf-qt: 0.12.0 -> 0.13.0 → https://git.io/f4SEd
<{^_^}> [nixpkgs] @matthewbauer opened pull request #42476 → Boost cross compilation fixes → https://git.io/f4SEN
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42477 → neofetch: 4.0.2 -> 5.0.0 → https://git.io/f4SEj
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos
andymandias has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42478 → nagios: 4.3.4 -> 4.4.0 → https://git.io/f4Su4
matthewbauer has quit [Ping timeout: 248 seconds]
andymandias has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
iyzsong has joined #nixos
<ndowens04> person in #mosh helped me, it was simply a PATH issue on mosh
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42479 → neomutt: 20180512 -> 20180622 → https://git.io/f4SuX
matthewbauer has joined #nixos
hiratara has joined #nixos
<Orbstheorem> ndowens04: I had a similar problem, but it was fixed by updating my path
<ndowens04> yup thats what this person told me it sounded like Orbstheorem
<Orbstheorem> ^^
sbdchd has quit [Remote host closed the connection]
matthewbauer has quit [Ping timeout: 264 seconds]
lassulus_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42480 → mate.mate-user-guide: 1.20.0 -> 1.20.1 → https://git.io/f4SuF
<{^_^}> [nixpkgs] @matthewbauer merged pull request #42476 → Boost cross compilation fixes → https://git.io/f4SEN
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/f4SuA
lassulus has quit [Ping timeout: 256 seconds]
lassulus_ is now known as lassulus
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42481 → mate.mate-session-manager: 1.20.0 -> 1.20.1 → https://git.io/f4SzU
hiratara has quit [Quit: ZNC - http://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42482 → mbedtls: 2.10.0 -> 2.11.0 → https://git.io/f4SzO
ndowens04 has quit [Quit: WeeChat 2.1]
matthewbauer has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42483 → mate.mate-screensaver: 1.20.0 -> 1.20.1 → https://git.io/f4Szc
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42484 → lxqt.lxqt-l10n: 0.12.0 -> 0.13.0 → https://git.io/f4Szl
matthewbauer has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42485 → mate.mate-terminal: 1.20.0 -> 1.20.1 → https://git.io/f4Sz4
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42486 → lxqt.libsysstat: 0.4.0 -> 0.4.1 → https://git.io/f4SzE
Jason_Grossman has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42487 → lxqt.lxqt-themes: 0.12.0 -> 0.13.0 → https://git.io/f4Sz7
<Orbstheorem> I just found that `enableDebugging` is not in nixpkgs manual. Reading the definition I see that it's intended be be used with nix-build, is there an index of such handy functions somewhere or do I have to read all nixpkgs? :P
matthewbauer has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42488 → mate.mate-sensors-applet: 1.20.1 -> 1.20.2 → https://git.io/f4Sgf
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42489 → libpfm: 4.10.0 -> 4.10.1 → https://git.io/f4Sgk
matthewbauer has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42490 → mate.mate-system-monitor: 1.20.0 -> 1.20.1 → https://git.io/f4SgG
pie_ has joined #nixos
justbeingglad has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42491 → hwinfo: 21.53 -> 21.55 → https://git.io/f4SgB
nixosbootloop has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42492 → jackett: 0.8.1070 -> 0.8.1138 → https://git.io/f4SgV
Sonarpulse has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
philippD has joined #nixos
hamishmack has joined #nixos
<nixosbootloop> I have an issue with xserver continuously trying to restart and failing after a fresh install of Nixos 18.03 on a Dell G7 (w/ gtx1060 and i7-8750H): https://youtu.be/CZsdksPh3pw
<nixosbootloop> not sure what to do
tzemanovic has quit []
<init_6> read logs?
<nixosbootloop> A previous suggestion from here told me to replace init in grub with /bin/bash but that didn't seem to work.
<nixosbootloop> init_6: So use an ubuntu live usb or something to mount this partition and look at the logs?
tzemanovic has joined #nixos
<nixosbootloop> hm if I'm doing that anyway, I guess I could modify the systemd service for X11 to only try starting once
blonkhart has quit [Ping timeout: 264 seconds]
<init_6> disable x11 from systemd and try start by hands
tmaekawa has joined #nixos
<init_6> + enable x11 logs if it`d not enabled
<init_6> or read console output
<nixosbootloop> init_6: Alright, I'll download ubuntu and burn it to a usb then try that
<nixosbootloop> err put it on*
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42493 → libcouchbase: 2.9.0 -> 2.9.2 → https://git.io/f4SgS
endformationage has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42494 → imagemagick7: 7.0.7-35 -> 7.0.8-2 → https://git.io/f4Sgb
ihar has quit [Quit: WeeChat 2.0]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
philippD has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42495 → lxqt.libfm-qt: 0.12.0 -> 0.13.1 → https://git.io/f4S2J
Sonarpulse has quit [Ping timeout: 245 seconds]
rschm has quit []
steell_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42496 → leatherman: 1.4.1 -> 1.4.2 → https://git.io/f4S2B
justbeingglad has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42497 → kotlin: 1.2.41 -> 1.2.50 → https://git.io/f4S2z
phdoerfler has joined #nixos
robstr has joined #nixos
<MichaelRaskin> Lisanna: does openssh also notice ACLs?
andymandias has quit [Ping timeout: 260 seconds]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
justbeingglad has left #nixos [#nixos]
andymandias has joined #nixos
pie__ has joined #nixos
pie_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #38316 → Fix where Vulkan validation layer JSON files are placed by the nixpkgs install phase → https://git.io/vx6rw
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/f4S2A
inquisitiv3 has joined #nixos
Jason_Grossman has joined #nixos
worldofpeace has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42498 → kubernetes: 1.10.4 -> 1.10.5 → https://git.io/f4SaU
blankhart has quit [Ping timeout: 260 seconds]
Drakonis has quit [Remote host closed the connection]
pie__ has quit [Quit: Leaving]
Aleksiers is now known as Aleksejs
tmaekawa has quit [Quit: tmaekawa]
pie_ has joined #nixos
myshoe has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42499 → gzdoom: 3.4.0 -> 3.4.1 → https://git.io/f4Sao
srl295 has quit [Quit: Connection closed for inactivity]
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zauberpony opened pull request #42500 → hcloud: 1.4.0 -> 1.5.0 → https://git.io/f4SaD
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42501 → guake: 3.2.2 -> 3.3.0 → https://git.io/f4SaF
orivej has joined #nixos
nixosbootloop has quit [Quit: Page closed]
codygman has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42502 → guitarix: 0.37.0 -> 0.37.1 → https://git.io/f4SVk
<inquisitiv3> I'm having trouble building the `simple` derivation from Nix pills 7.
<inquisitiv3> I can't see where the error is.
<clever> inquisitiv3: add set -x to the builder script
<inquisitiv3> clever: On which line in the script?
<clever> inquisitiv3: line 1
<inquisitiv3> clever: The build still fails
<inquisitiv3> Or is `set -x` for debugging?
<clever> its only debug
<inquisitiv3> I'll update the gist
<inquisitiv3> clever: I've updated the gist with the output.
<clever> /nix/store/3dd1r98sw1i8vy85i24jdan8qiswdxjv-simple_builder.sh: line 3: mkdir: command not found
<inquisitiv3> I edited the files that there already there.
<clever> it didnt make $out
<clever> so it cant write to $out/simple
<clever> your missing the $ on coreutils
<clever> export PATH="coreutils/bin:$gcc/bin"
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42503 → fwts: 18.05.00 -> 18.06.02 → https://git.io/f4SVW
pie__ has joined #nixos
<inquisitiv3> clever: Thanks! I saw that now.
<clever> the stdenv builder also does `set -e`, which causes bash to abort at the first problem
<clever> rather then trying to continue, and cause more confusing problems down the road
pie_ has quit [Read error: Connection reset by peer]
<inquisitiv3> clever: Thanks for the help! I restarted the Nix REPL and ran the build again. It's a success! :D
MercurialAlchemi has joined #nixos
<clever> :D
<Jason_Grossman> clever++
<{^_^}> clever's karma got increased to 6
pie__ has quit [Read error: Connection reset by peer]
<clever> stdenv.mkDerivation { name = "simple"; buildCommand = "mkdir $out ; gcc ${./simple.c} -p $out/simple"; } would also have the identical effect
pie__ has joined #nixos
<inquisitiv3> clever: I've yet to be introduced to `stdenv.mkDerivation` :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42504 → gromacs: 2018.1 -> 2018.2 → https://git.io/f4SVw
fader has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
agander has joined #nixos
codygman has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/db0da282c37 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42505 → folly: 2018.06.11.00 -> 2018.06.18.00 → https://git.io/f4SVD
<init_6> about thinkfan nix show version 0.9.3. but there https://github.com/vmatare/thinkfan is new fork with new features. How to install it in nixos?
palo has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42506 → gmailieer: 0.6 -> 0.9 → https://git.io/f4SVh
pie__ has quit [Remote host closed the connection]
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
pie__ has joined #nixos
pie__ has quit [Client Quit]
nvh^ has joined #nixos
nvh^ has quit [Client Quit]
hph^ has joined #nixos
mounty has quit [Quit: Konversation terminated!]
<rizary> I have build project using ghc822 in nixos, i override several packages including Cabal-2.3.0.0 it builds succesfully, but when i do ghc-pkg list, I am still using Cabal-2.0.1.0. How to change the 2.0 version? I found https://github.com/NixOS/nixpkgs/blob/deeeb5002c1ca27ca685e191f659e11f5ff01f4f/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix#L45 this
tzemanovic has joined #nixos
<rizary> does the `jailbreak-cabal` is for function `doJailBreak`? how to use atleast Cabal-2.2.0.0 as mentioned in that repo?
b has quit [Quit: Lost terminal]
tzemanovic has quit [Ping timeout: 248 seconds]
testuser has joined #nixos
andymandias has quit [Ping timeout: 240 seconds]
tzemanovic has joined #nixos
andymandias has joined #nixos
Xiro` has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
goibhniu has joined #nixos
<inquisitiv3> clever: I got another build that fails.
<inquisitiv3> But this time I'm sure that it isn't a typo, because I've copied the files from the pills.
<inquisitiv3> I'm trying to package `GNU hello world` with the instructions from § 8.1. But I get an error message some time after starting the build with `nix-build hello.nix`.
<inquisitiv3> Can you reproduce this?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42507 → godot: 3.0.3 -> 3.0.4 → https://git.io/f4SwM
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42508 → gpodder: 3.10.2 -> 3.10.3 → https://git.io/f4Swy
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42509 → flyway: 5.1.1 -> 5.1.3 → https://git.io/f4SwH
rardiol1 has quit [Ping timeout: 264 seconds]
aszlig has quit [Quit: Kerneling down for reboot NOW.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42511 → docker_compose: 1.20.1 -> 1.21.2 → https://git.io/f4Sw5
aszlig has joined #nixos
hxrts has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42512 → dialog: 1.3-20171209 -> 1.3-20180621 → https://git.io/f4Sre
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42513 → lxqt.compton-conf: 0.3.0 -> 0.4.0 → https://git.io/f4Srk
<infinisil> inquisitiv3: Well what's the error?
hxrts has quit [Ping timeout: 264 seconds]
<inquisitiv3> infinisil: Whoops, seems that I missed to post the error.
<inquisitiv3> I've just included the part that seems to generate the error. Should I include all the output?
<{^_^}> [nixpkgs] @andir merged pull request #42409 → libtorrentRasterbar: fix build, restructure → https://git.io/f4yHB
<{^_^}> [nixpkgs] @andir pushed 3 commits to master: https://git.io/f4Sr0
rprije has joined #nixos
tv has joined #nixos
<infinisil> Oh I've seen that error before
agander has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42514 → debootstrap: 1.0.102 -> 1.0.103 → https://git.io/f4SrV
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42515 → cryptsetup: 2.0.2 -> 2.0.3 → https://git.io/f4Sro
<infinisil> inquisitiv3: #35572
<{^_^}> https://github.com/NixOS/nixpkgs/issues/35572 (by vitiral, closed): Nix Pill 8.1 fails with "ar: Command not found"
<{^_^}> [nixpkgs] @dukzcry opened pull request #42516 → nvidia-x11: pass kernel.modDirVersion → https://git.io/f4Sr1
goibhniu has quit [Ping timeout: 245 seconds]
xy3_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42517 → conan: 1.4.4 -> 1.4.5 → https://git.io/f4SrA
<inquisitiv3> infinisil: Is that a issue number on Github?
thc202 has joined #nixos
<inquisitiv3> I looked into the nixpkgs repo but I couldn't find it.
<MichaelRaskin> inquisitiv3 : the bot gave a link afterwards
<inquisitiv3> MichaelRaskin: Thanks! I didn't see it.
mariatsji has joined #nixos
<inquisitiv3> infinisil: Thanks for the help! :)
<infinisil> :)
Ariakenom has joined #nixos
sorix has joined #nixos
sorixelle has quit [Ping timeout: 276 seconds]
justbeingglad has joined #nixos
<{^_^}> [nixpkgs] @basvandijk opened pull request #42518 → strongswan-swanctl: adapt options to strongswan-5.6.3 → https://git.io/f4SoK
rprije has quit [Ping timeout: 276 seconds]
illabout has joined #nixos
vcunat has joined #nixos
tzemanovic has quit [Ping timeout: 265 seconds]
sorix has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<FruitieX> Hey what's the current status of Wayland on NixOS? Any easy way to migrate a 18.03 install over from X without messing around too much?
<FruitieX> Can I just enable gdm and gnome3 and expect Gnome to run under Wayland?
<{^_^}> [nixpkgs] @basvandijk opened pull request #42519 → cherry-pick strongswan-5.6.3 on release-18.03 → https://git.io/f4Sop
tzemanovic has joined #nixos
rprije has joined #nixos
jD91mZM2 has joined #nixos
patrl has joined #nixos
<infinisil> FruitieX: Pinging kyren, who just recently set up wayland on NixOS
<{^_^}> [nixpkgs] @andir opened pull request #42520 → [18.03] kubernetes: 1.9.1 -> 1.9.8 → https://git.io/f4SKc
<jD91mZM2> A nixos-rebuild switch (without --upgrade) just decided to rebuild a bunch of what looks like unrelated packages again
joepie91_to_go has joined #nixos
fendor has joined #nixos
rihards has joined #nixos
<flyx> has anyone a working setup with nginx and pam authentication? I try to make it work but always get „authentication failure“ without a message about what is failing
andymandias has quit [Ping timeout: 256 seconds]
<flyx> I get an error when I enter an unknown user or a wrong password saying what's wrong, but when I enter correct user and password, it just says „authentication failure“
<flyx> pam config is like security.pam.services."radicale".unixAuth = true;
<flyx> and nginx extraConfig is like auth_pam "Restricted Zone"; auth_pam_service_name "radicale";
andymandias has joined #nixos
<flyx> this post claims that nginx must be able to read /etc/shadow to do the authentication: https://www.reddit.com/r/NixOS/comments/76irgt/pam_auth_without_revealing_etcshadows/
<flyx> any way to do that in the config?
phdoerfler has quit [Quit: Leaving.]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/49a16a290e6 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
rprije has quit [Ping timeout: 260 seconds]
joepie91_to_go has quit [Ping timeout: 240 seconds]
<flyx> as I understand it, this problem prevents every process that is not run as root from using pam. there must be a fix for that, or not?
rardiol1 has joined #nixos
tzemanovic has quit [Ping timeout: 248 seconds]
notdaniel has joined #nixos
logzet has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @bkchr to release-18.03 « nvidia_x11: 390.48 -> 390.67 »: https://git.io/f4S6D
<{^_^}> [nixpkgs] @LnL7 merged pull request #42424 → pgmanage: remove deprecated postage alias → https://git.io/f4Svt
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/f4S6d
orivej has quit [Ping timeout: 240 seconds]
tzemanovic has joined #nixos
patrl has quit [Quit: WeeChat 2.0]
stranger___ has joined #nixos
<stranger___> hi. what do you think??? https://github.com/NixOS/nixpkgs/pull/41222
agander has joined #nixos
aarvar has joined #nixos
agander_ has joined #nixos
agander has quit [Ping timeout: 276 seconds]
b has joined #nixos
<infinisil> stranger___: Gonna test it
<infinisil> Looks good though
gwang has joined #nixos
gwang has quit [Client Quit]
<{^_^}> [nixpkgs] @bricewge opened pull request #42521 → virtmanager: add dconf dependency → https://git.io/f4SPL
<infinisil> Unrelated: Here's a tiny command to convert a derivation name that gives you an "invalid character" error into a valid one (for scripts): tr -cs '+-._?=[:alnum:]' -
justanotheruser has quit [Ping timeout: 276 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
inquisitiv3 has quit [Ping timeout: 264 seconds]
hamishmack has joined #nixos
<stranger___> infinisil: good, thanks!
<infinisil> Unrelated: Here's a tiny command to convert a derivation name that gives you an "invalid character" error into a valid one (for scripts): sed 's/^\.*//' | tr -cs '+-._?=[:alnum:]' -
<infinisil> ^^ Now with leading dot removal, which are invalid also. Putting it like this so people might find it in the logs
agander_ has quit [Ping timeout: 240 seconds]
phdoerfler has joined #nixos
posco_ has joined #nixos
Turion has joined #nixos
posco has quit [*.net *.split]
posco_ is now known as posco
ajs124 has joined #nixos
jD91mZM2 has quit [Ping timeout: 248 seconds]
andymandias has quit [Ping timeout: 256 seconds]
<infinisil> stranger___: Is it not possible to merge the default settings and the interface specific settings?
m0rphism has quit [Quit: WeeChat 1.9.1]
andymandias has joined #nixos
phdoerfler has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42522 → aws-sdk-cpp: 1.4.65 -> 1.4.70 → https://git.io/f4SXQ
<{^_^}> [nixpkgs] @LnL7 opened pull request #42523 → gfortran: fix darwin build on hydra → https://git.io/f4S1v
sorixelle has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42525 → chirp: 20180611 -> 20180614 → https://git.io/f4S1t
Ralith_ has quit [Ping timeout: 256 seconds]
MercurialAlchemi has quit [Ping timeout: 265 seconds]
Ralith_ has joined #nixos
hxrts has joined #nixos
logzet has quit [Remote host closed the connection]
orivej has joined #nixos
stanibanani has joined #nixos
<{^_^}> [nixpkgs] @ip1981 opened pull request #42526 → Mutable users vs authorizedKeysFiles → https://git.io/f4S1B
Ralith_ has quit [Ping timeout: 255 seconds]
Ralith_ has joined #nixos
silver has joined #nixos
sbdchd has joined #nixos
justanotheruser has joined #nixos
hxrts has quit [Ping timeout: 255 seconds]
yyadavalli has joined #nixos
<stranger___> infinisil: thx! not sure i know a way to do that. so i've put a warn into interfaces option. also imho explicit is better than implicit in that particular case. i open ports granularly, don't want say port 22 be open on all interfaces
Ralith__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42527 → audit: 2.8.3 -> 2.8.4 → https://git.io/f4S1M
Ralith_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42528 → cfr: 0.128 -> 0.130 → https://git.io/f4S19
<infinisil> stranger___: Ah yes, I left a suggestion for a different wording on that description
yyadavalli has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
inquisitiv3 has joined #nixos
<stranger___> infinisil: fixed, thanks!
justbeingglad has quit [Ping timeout: 265 seconds]
<infinisil> stranger___: Some nitpicking, ask here if you're not sure what I mean
MercurialAlchemi has joined #nixos
<stranger___> infinisil: indeed, sorry
<hodapp> raaaawr... going to try to package a program that's on Sourceforge and uses QMake
<hodapp> this could be interesting.
<hodapp> don't quite understand why I always see qmake listed in 'nativeBuildInputs'
__monty__ has joined #nixos
<infinisil> hodapp: nativeBuildInputs is for build machine dependencies, which qmake seems to be, judging from the name at least
<infinisil> hodapp: Same as cmake and make
<hodapp> infinisil: hm, then why do I always seem to see cmake instead in buildInputs?
<infinisil> hodapp: That's just wrong, and was either done before nativeBuildInputs was really there, or by people who didn't know :)
<hodapp> that's probably something that should be documented somewhere considering that ~95% of my normal Nixpkgs workflow consists of grepping for the nearest example I can find, and copying it
<infinisil> Also, there seems to be a qmake hook, I suggest just ripgrepping for qmake through nixpkgs to find other packages who use it
<infinisil> Heh yes
<infinisil> Pretty sure it is documented though, /me goes looking
<infinisil> nativeBuildInputs is documented in this section: https://nixos.org/nixpkgs/manual/#ssec-stdenv-dependencies
<infinisil> Not cmake specific though
<hodapp> yeah, that requires a bit too much interpretation to ever translate to something obvious unless it was just so obvious you didn't really need the docs in the first place
<joepie91> I think a good documentation goal would be "make it easier to implement based on documentation, than based on copypasting examples"
<joepie91> I suspect that the copypasting is a major factor in the widespread inconsistencies in nixpkgs
<hodapp> yel;
<hodapp> er. yes; I have a very difficult time brigding between documentation and actual working examples
<symphorien> about inconsistencies: what is the better way in a package: adding lib as an argument or using stdenv.lib ?
<infinisil> symphorien: I honestly don't know what the point of stdenv.lib is at all
<hodapp> as a guess, clangStdenv.lib may also be a thing that differs
juhe has joined #nixos
vaninwagen has joined #nixos
<symphorien> this would be strange
<{^_^}> [nixpkgs] @jtojnar closed pull request #42515 → cryptsetup: 2.0.2 -> 2.0.3 → https://git.io/f4Sro
sir_guy_carleton has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 6 commits to master: https://git.io/f4SDO
<{^_^}> [nixpkgs] @mkaito opened pull request #42529 → mesa: point pkgconfig at $drivers → https://git.io/f4SDc
tzemanovic has quit []
<{^_^}> [nixpkgs] @jtojnar merged pull request #40923 → Remove libgsystem → https://git.io/vhfcY
<{^_^}> [nixpkgs] @7c6f434c pushed to master « libreoffice: cleanup and update »: https://git.io/f4SD4
logzet has joined #nixos
roconnor has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/444d3d53b3e (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
roconnor_ has joined #nixos
roconnor has quit [Ping timeout: 260 seconds]
sorixelle has quit [Ping timeout: 255 seconds]
<juhe> Hello, does gcc-arm-embedded support for aarch64? I.e. can I use it to crosscompile u-boot for aarch64?
<rizary> hi, i'm using simple `haskellPackage.override` to override some package, but I got error as in the following gists (including my default.nix)
alexteves has joined #nixos
<rizary> according to the error, it should not happened if i'm using Cabal-2.2.0.0.
<rizary> is there a way to specifically told ghc822 to just relying on `Cabal-2.2.0.0`?
<rizary> I already tried `doJailbreak` on servant package, but then I can't build `auth-api` package due to ghc's packagedb not found. I can build the servant though.
roconnor_ has quit [Ping timeout: 265 seconds]
mariatsji has quit [Remote host closed the connection]
Turion has quit [Ping timeout: 268 seconds]
roconnor_ has joined #nixos
fendor_ has joined #nixos
fendor has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/f4SSz
<{^_^}> [nixpkgs] @LnL7 merged pull request #42523 → gfortran: fix darwin build on hydra → https://git.io/f4S1v
Turion has joined #nixos
<Myrl-saki> Anyone here uses nixops?
<infinisil> I do
<infinisil> ,ask
<{^_^}> Just ask your question. It's the best way to know if anybody can help.
<Myrl-saki> infinisil: deployment.ec2.securityGroupIds = [ resources.ec2SecurityGroups.ssh-security.groupId ]; gets me a not-str error.
<infinisil> Could that value be null?
<Myrl-saki> infinisil: Yep.
<Myrl-saki> infinisil: It'sa uniq type, and it's a nullOr type.
<Myrl-saki> I know that it's a null, but I don't know how to make it not a null.
<infinisil> Ah
<Myrl-saki> Wait, actually, I'm not sure if it's a null.
<Myrl-saki> I guess I can try using abort.
<infinisil> resources = ... in a nixops file
<Myrl-saki> deployment.ec2.securityGroupIds = abort (toString resources.ec2SecurityGroups.mongodb-security.groupId );
<Myrl-saki> error: evaluation aborted with the following error message: ''
<Myrl-saki> That means `null`, right?
<Myrl-saki> nix-repl> toString null
<Myrl-saki> ""
<Myrl-saki> infinisil: Oh yeah, what do you mean by that?
<infinisil> > toString null
<{^_^}> ""
<infinisil> Myrl-saki: Top level attribute
<Myrl-saki> I have..
<Myrl-saki> mongodb =
<Myrl-saki> { resources, ... }:
<Myrl-saki> And..
<Myrl-saki> resources.vpcSubnets.skynet-vpc-subnet = { resources, ... }: {
<gchristensen> what is the exact not-str error you see?
<Myrl-saki> Err, I meant to post the ec2SecurityGroups declaration.
<infinisil> What's the problem with just setting the groupId?
<Myrl-saki> error: The option value `deployment.ec2.securityGroupIds.[definition 1-entry 1]' in `/home/myrl/Development/skynet/ops/network-ec2.nix' is not of type `string'.
<Myrl-saki> infinisil: description = "The security group ID. This is set by NixOps.";
<infinisil> Oh
<gchristensen> are you doing a nixops deploy with --include?
<Myrl-saki> Nope.
<infinisil> Oh, it gets set above
<Myrl-saki> Oh yeah, I'm using it with VPC.
<infinisil> No idea, I'd just dig through the nixops source code to find where it tries to assign it
andymandias has quit [Ping timeout: 256 seconds]
<Myrl-saki> infinisil: The Python side?
justanotheruser has quit [Ping timeout: 256 seconds]
<infinisil> Ye
<Myrl-saki> Hmm
<Myrl-saki> There doesn't seem to be any. Huh.
<Myrl-saki> I'm confused. :x
andymandias has joined #nixos
<Myrl-saki> If you search `groupId` in the .py there's nothing much. Must be something with my version.
<Myrl-saki> def get_physical_spec(self):
<Myrl-saki> return {'groupId': self.security_group_id}
<Myrl-saki> There's this, I guess?
illabout has quit [Ping timeout: 245 seconds]
fresheyeball has quit [Remote host closed the connection]
<Myrl-saki> I'm, uh. Really confused right now.
fresheyeball has joined #nixos
<fresheyeball> clever: you around?
iyzsong has quit [Read error: Connection reset by peer]
<Myrl-saki> infinisil: I think they forgot to add it?
<infinisil> No idea
roconnor_ has quit [Ping timeout: 264 seconds]
<Myrl-saki> infinisil: I'm taking a look at vpc_subnet.py, and there's way more mention of subnetId than groupId in ec2_security_group.py.
<fresheyeball> is nixops deploy supposed to be deterministic? as in, it can be run more than once and have the same effect?
MercurialAlchemi has quit [Ping timeout: 240 seconds]
<infinisil> That's called idempotent btw
<joepie91> well, you could also call it deterministic in this situation :P
<fresheyeball> infinisil: I fear using that word, since I have been accused of using it wrong :P
<fresheyeball> so yeah, is nixops deply supposed to be idempotent?
<Myrl-saki> joepie91: (Real life) deterministic is more of `forall x, y, s, s'. x = y => f(s, x) = f(s', y)`
<joepie91> as I understand it, deterministic = given the same inputs, it consistently produces the same outputs... whereas idempotent = applying an operation any non-zero amount of times to something will always produce the same resulting state, whether it's once or a hundred times
<{^_^}> [nixpkgs] @fpletz pushed 5 commits to master: https://git.io/f4SHm
<infinisil> joepie91++
<{^_^}> joepie91's karma got increased to 1
<LoneTech> yep. so deterministic will produce the same result given the same inputs; idempotent will reach a steady state, so repeated applications don't matter.
* joepie91 considers whether idempotency is a strict subset of determinism
<Myrl-saki> oe
<Myrl-saki> joepie91: I guess?
<infinisil> Idempotent: forall x . f(f(x)) = f(x)
<Myrl-saki> joepie91: It maps {absorb} -> {absorb}
<Myrl-saki> Where absorb is the absorption element.
<joepie91> I *think* you can't end up with an idempotent system unless the operation itself is also deterministic
justanotheruser has joined #nixos
<infinisil> Deterministic: forall x y . x = y => f(x) = f(y)
* infinisil thinks
<{^_^}> [nixpkgs] @pSub merged pull request #42508 → gpodder: 3.10.2 -> 3.10.3 → https://git.io/f4Swy
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/f4SHZ
<fresheyeball> well I have a weird thing
<fresheyeball> when I deploy to a fresh vm is succeeds
<fresheyeball> but if I run the command a second time ACME fails
<{^_^}> [nixpkgs] @pSub merged pull request #42519 → cherry-pick strongswan-5.6.3 on release-18.03 → https://git.io/f4Sop
<{^_^}> [nixpkgs] @pSub pushed 3 commits to release-18.03: https://git.io/f4SHW
<Myrl-saki> Oh wait. I was wrong with the {absorb} -> {absorb} lol
<Myrl-saki> Hmm
<joepie91> fresheyeball: anyway! to answer your question, yes, I believe that NixOps is meant to be idempotent
<joepie91> it isn't necessarily though :)
<fresheyeball> I can debug it probably, but this violates me expectation of idempotency
npmccallum has joined #nixos
<fresheyeball> my* expectation
<joepie91> I've run into some issues with ACME support in nginx where it will consistently fail on the first deploy with a new hostname
<joepie91> but an immediate redeploy fixes it
<joepie91> few other cases like that
<fresheyeball> joepie91: I have the opposite lol
<joepie91> but that's not so much down to NixOps as it is down to the software that runs on the system
<fresheyeball> first deploy works, subsequent deploys fai
<joepie91> (at least in my case)
<joepie91> hm
<joepie91> error details?
daughertyh90 has joined #nixos
<infinisil> joepie91: According to SO: "Idempotency does not imply determinacy (as a function can alter state on the first call while being idempotent on subsequent calls), but all deterministic functions are inherently idempotent (as there is no internal state to persist between calls)."
<__monty__> That doesn't sound right. (+1) is not idempotent.
<Myrl-saki> infinisil: A stricter idempotent is nullipotent, FWIW.
<infinisil> __monty__: That's a good point..
<Myrl-saki> Which is what I believe is implied by the first statement.
<Myrl-saki> And yeah, I agree with __monty__ on this.
<Myrl-saki> Hmm
<Myrl-saki> How about
<Myrl-saki> "Idempotent functions have a fixedpoint"
asuryawanshi has joined #nixos
<__monty__> Still don't see how a non-deterministic function could be idempotent, unless const (rand) counts, i.e. always return a value that is random but fixed.
asuryawa_ has joined #nixos
<Myrl-saki> __monty__: U'm duvukd ug a ghyldhg gyy.
<Myrl-saki> I'm giving it a thought too*
<fresheyeball> so it looks like a type error being thrown by python
<fresheyeball> any idea how I could get around this?
<hodapp> uhm, how do I make a derivation show *exactly* what it is trying to run?
<__monty__> Myrl-saki: I guess my counter example proves a non-deterministic function can be idempotent though...
<hodapp> nix-shell -v 6 is showing a lot of extra stuff... but still not the actual command
<{^_^}> [nixpkgs] @fpletz pushed to master « snapcast: init at 0.14.0 »: https://git.io/f4SHD
<hodapp> and particularly, qmake is throwing some errors and I'd like to see the actual flags being passed
asuryawanshi has quit [Ping timeout: 256 seconds]
asuryawa_ has quit [Remote host closed the connection]
daughertyh90 is now known as __holden__
<infinisil> __monty__: Brain-melting! Let me know if you have a proof
<__monty__> infinisil: Proof of?
chaoflow has joined #nixos
<infinisil> That a non-deterministic function can't be idempotent
<__monty__> infinisil: But my counter example proves it CAN.
<__monty__> Kinda undermined my own point with the example.
chaoflow has quit [Client Quit]
pie_ has joined #nixos
simukis has joined #nixos
Mateon3 has joined #nixos
<{^_^}> [nixpkgs] @Phreedom pushed to master « calligra: fix building against Qt-5.11 »: https://git.io/f4SHN
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
AluisioASG has quit [Remote host closed the connection]
[Leary] has quit [Ping timeout: 268 seconds]
AluisioASG has joined #nixos
<infinisil> Oh
asuryawanshi has joined #nixos
Lears has joined #nixos
asuryawanshi has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @bhipple opened pull request #42530 → pythonPackages.plaid-python: init at 2.3.0 → https://git.io/f4SQk
<fresheyeball> how can I findout the statePath for a service?
<jluttine[m]> Is there some kind of "nixos-chroot" kind of command? I have nixos already installed, I'm now modifying hardware configuration by booting from a live usb stick. I'd like to use nixpkgs on my installed system, not the one on the live usb..
mariatsji has joined #nixos
<jluttine[m]> I have done this before somehow, I think..
kier has quit [Remote host closed the connection]
<symphorien> maybe nixos-enter ?
<jluttine[m]> Maybe! Thanks, looks good.
kier has joined #nixos
hph^ has quit [Ping timeout: 240 seconds]
rardiol1 has quit [Remote host closed the connection]
<Myrl-saki> nixos-eater sounds like a cool name for an OS replacement program.
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/170937eb4f3 (from 50 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<{^_^}> [nixpkgs] @Zimmi48 opened pull request #42531 → Mark more unfree licenses as unfree. → https://git.io/f4SQ6
<jluttine[m]> After nixos-enter, nixos-install --root / faiks because no such directory: /run/user/0/tmp.XXXXXXXXX
<jluttine[m]> What's the correct way to create /run/user and then /run/user/0 ?
<symphorien> you can set TMPDIR to another location
<symphorien> or TEMPDIR or TEMP
<fresheyeball> grr, I can't seem to locate the config.json for my mattermost install
<jluttine[m]> Why is nixos-install asking for root password? Never done that before. I have immutable users
<jluttine[m]> And why is it installing for i386-pc.. This sounds very suspicious..
<fresheyeball> I know its in the statePath, but I can't figure out how to determine its location
<symphorien> grub always install for i386pc
rardiol1 has joined #nixos
<jluttine[m]> Network doesn't work inside nixos-enter env
<jluttine[m]> Hmm..
<infinisil> fresheyeball: nix-instantiate --eval '<nixpkgs/nixos>' -A config.services.mattermost.statePath ?
<infinisil> Also, I see it sets WorkingDirectory to that in the systemd unit, so `systemctl cat mattermost` should show it tooo
<makefu> you can also use nixos-option services.mattermost.statePath
<infinisil> > nixos.config.mattermost.statePath
<{^_^}> attribute 'mattermost' missing, at (string):150:1
<infinisil> > nixos.config.services.mattermost.statePath
<{^_^}> "/var/lib/mattermost"
<fresheyeball> nice!
<fresheyeball> I have not yet learned about nix-instantiate
<fresheyeball> I know it exists, but haven't invested the time yet
<{^_^}> [nixpkgs] @xeji merged pull request #42380 → libxml2: add enableStatic argument → https://git.io/f4yvh
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/f4S7k
<infinisil> It's very neat for evaluating things :)
<{^_^}> [nixpkgs] @7c6f434c merged pull request #42531 → Mark more unfree licenses as unfree. → https://git.io/f4SQ6
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/f4S7I
<infinisil> Also, the -A has auto-completion
<infinisil> Which makes it a bit nicer in that aspect than nixos-option
<infinisil> makefu: Also, do you know why nixos-option sometimes just doesn't return anything? E.g. the above nixos-option command just silently fails with exit code 1 for me
asuryawanshi has joined #nixos
<makefu> infinisil: it fails with error 1 if it is unable to find the attribute, `
<makefu> `nixos-option services.mattermost.statePath` works for me
<infinisil> Hmm weird.., the nix-instantiate one works
<infinisil> Oh wait, it directly uses /etc/nixos/configuration.nix ???
logzet has quit [Ping timeout: 255 seconds]
<makefu> i think it uses your system config, yes
<infinisil> Ah no it does use the proper path, not hardcoded /etc/nixos/configuration.nix
<infinisil> But I still have no idea why it fails for me
<nh2[m]> I'm trying to upgrade a Go application, consul-alerts, to a newer version. I get `cannot find package "github.com/aws/aws-sdk-go/aws" in any of: ...` How do I deal with stuff like that?
mariatsji has quit [Remote host closed the connection]
<infinisil> nh2[m]: I'm not sure when go2nix is required, but it would certainly work if you used it
<{^_^}> [nixpkgs] @xeji merged pull request #42237 → mate.mate-icon-theme: 1.20.0 -> 1.20.1 → https://git.io/fI5D7
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-icon-theme: 1.20.0 -> 1.20.1 (#42237) »: https://git.io/f4S7r
<{^_^}> [nixpkgs] @xeji merged pull request #42204 → spice-vdagent: 0.17.0 -> 0.18.0 → https://git.io/ffl9C
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « spice-vdagent: 0.17.0 -> 0.18.0 (#42204) »: https://git.io/f4S76
<{^_^}> [nixpkgs] @xeji merged pull request #41991 → mate.mate-desktop: 1.20.3 -> 1.21.0 → https://git.io/vhifA
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-desktop: 1.20.3 -> 1.21.0 (#41991) »: https://git.io/f4S7X
agander_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40525 → Bazel 0.13 → https://git.io/vpQXy
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/f4S7F
troydm 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]
<{^_^}> [nixpkgs] @xeji closed pull request #40205 → bazel: 0.12.0 -> 0.13.0 → https://git.io/vpibO
<jluttine[m]> how can i use nixos-install to install from some specific channel? unstable in particular..
endformationage has joined #nixos
<nh2[m]> infinisil: I succeeded by adding a deps.nix as mentioned in https://nixos.org/nixpkgs/manual/#sec-language-go
<{^_^}> [nixpkgs] @xeji merged pull request #42267 → fldigi: 4.0.16 -> 4.0.17 → https://git.io/fY16f
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/f4S5e
<{^_^}> [nixpkgs] @xeji merged pull request #42282 → efivar: 35 -> 36 → https://git.io/fY1h9
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « efivar: 35 -> 36 (#42282) »: https://git.io/f4S5U
<{^_^}> [nixpkgs] @xeji merged pull request #42251 → kcgi: 0.10.5 -> 0.10.6 → https://git.io/fqtSH
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « kcgi: 0.10.5 -> 0.10.6 (#42251) »: https://git.io/f4S5Y
Turion has quit [Quit: Leaving.]
<infinisil> jluttine[m]: -I nixpkgs=https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz
<infinisil> nh2[m]: go2nix can generate that automatically, somehow
Jason_Grossman has quit [Ping timeout: 240 seconds]
agander_ has quit [Quit: Leaving]
agander_ has joined #nixos
agander_ is now known as agander
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @Phreedom pushed to master « quassel: fix building against Qt-5.11 »: https://git.io/f4S50
<jluttine[m]> infinisil: thanks!
<nh2[m]> infinisil: thanks! I managed manually in my case, it wasn't many deps
<nh2[m]> is there a nix feature to include extra nix.conf options via environment variables or so?
<nh2[m]> With nix < 2 one could control remote builders with env vars, with nix 2 this no longer works
<{^_^}> [nixpkgs] @xeji merged pull request #42444 → shards: 0.8.0 -> 0.8.1 → https://git.io/f4SYk
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « shards: 0.8.0 -> 0.8.1 (#42444) »: https://git.io/f4S5o
<nh2[m]> one has to pass --builder now or set a config setting
<infinisil> There is --option <name> <value>
<nh2[m]> I mean --builders
<{^_^}> [nixpkgs] @xeji merged pull request #42417 → Xaw3d: 1.6.2 -> 1.6.3 → https://git.io/f4SeL
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « Xaw3d: 1.6.2 -> 1.6.3 (#42417) »: https://git.io/f4S56
<nh2[m]> this makes it a harder to use remote builders with nixops where I can't just pass --builders to `nixops deploy`
<nh2[m]> infinisil: it looks I also can't pass `--option` to nixops deploy
<nh2[m]> infinisil: oh, looks like I can! Can't find it documented though
<infinisil> man nix.conf for all the options
<nh2[m]> actually, it is documented, I just didn't spot it. So thanks infinisil !
<infinisil> Np :)
<{^_^}> [nixpkgs] @xeji closed pull request #42439 → xmlsec: 1.2.25 -> 1.2.26 → https://git.io/f4SqO
hxrts has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42461 → php: 7.2.6 -> 7.2.7 → https://git.io/f4ScD
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « php: 7.2.6 -> 7.2.7 (#42461) »: https://git.io/f4S57
philippD has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42485 → mate.mate-terminal: 1.20.0 -> 1.20.1 → https://git.io/f4Sz4
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-terminal: 1.20.0 -> 1.20.1 (#42485) »: https://git.io/f4S5x
<{^_^}> [nixpkgs] @7c6f434c reopened pull request #42439 → xmlsec: 1.2.25 -> 1.2.26 → https://git.io/f4SqO
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/f4S5j
<{^_^}> [nixpkgs] @7c6f434c merged pull request #42439 → xmlsec: 1.2.25 -> 1.2.26 → https://git.io/f4SqO
<{^_^}> [nixpkgs] @thorstenweber83 opened pull request #42532 → keepassxc: fix build → https://git.io/f4Sde
xy3_ has quit [Ping timeout: 256 seconds]
phdoerfler has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42257 → ocaml: 4.07.0+beta2 -> 4.07.0+rc1 → https://git.io/fY8ut
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « ocaml: 4.07.0+beta2 -> 4.07.0+rc1 (#42257) »: https://git.io/f4Sdt
hxrts has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42414 → gitkraken: 3.6.3 -> 3.6.4 → https://git.io/f4ybD
<{^_^}> [nixpkgs] @xeji pushed commit from @megheaiulian to master « gitkraken: 3.6.3 -> 3.6.4 (#42414) »: https://git.io/f4Sd4
agander has quit [Read error: Connection reset by peer]
andymandias has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @danbst closed pull request #20839 → module system: better option pretty-printing (add quotes when necessary) → https://git.io/v1ZIo
<philippD> Why is ghc842 missing on unstable-small? It was replaced by ghc843 which breaks my build. Is there a safe way of enforcing a lower bound the ghc version?
andymandias has joined #nixos
agander has joined #nixos
xy3_ has joined #nixos
knupfer has joined #nixos
elasticdog has quit [Ping timeout: 264 seconds]
<__monty__> Upper bound you mean?
phdoerfler has quit [Quit: Leaving.]
elasticdog has joined #nixos
asuryawanshi has quit [Ping timeout: 265 seconds]
asuryawanshi has joined #nixos
realrokka has quit [Ping timeout: 240 seconds]
anderslundstedt has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42528 → cfr: 0.128 -> 0.130 → https://git.io/f4S19
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « cfr: 0.128 -> 0.130 (#42528) »: https://git.io/f4SFf
roconnor_ has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #40997 → gmailieer: 0.6 -> 0.8 → https://git.io/vhTUJ
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « gmailieer: 0.6 -> 0.9 (#42506) »: https://git.io/f4SFm
<{^_^}> [nixpkgs] @xeji merged pull request #42506 → gmailieer: 0.6 -> 0.9 → https://git.io/f4SVh
<{^_^}> [nixpkgs] @xeji merged pull request #42517 → conan: 1.4.4 -> 1.4.5 → https://git.io/f4SrA
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « conan: 1.4.4 -> 1.4.5 (#42517) »: https://git.io/f4SFO
<{^_^}> [nixpkgs] @xeji merged pull request #42514 → debootstrap: 1.0.102 -> 1.0.103 → https://git.io/f4SrV
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « debootstrap: 1.0.102 -> 1.0.103 (#42514) »: https://git.io/f4SFG
<{^_^}> [nixpkgs] @xeji merged pull request #42498 → kubernetes: 1.10.4 -> 1.10.5 → https://git.io/f4SaU
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « kubernetes: 1.10.4 -> 1.10.5 (#42498) »: https://git.io/f4SFC
<{^_^}> [nixpkgs] @dotlambda merged pull request #42404 → restic: 0.9.0 → 0.9.1 → https://git.io/f4yic
<{^_^}> [nixpkgs] @dotlambda pushed commit from @eliasp to master « restic: 0.9.0 → 0.9.1 (#42404) »: https://git.io/f4SFl
realrokka has joined #nixos
asuryawanshi has quit [Ping timeout: 276 seconds]
blankhart has joined #nixos
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #42533 → keepassxc: use qt5.9 instead of latest qt5 → https://git.io/f4SF6
asuryawanshi has joined #nixos
blankhart has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42357 → stellarium: 0.16.1 -> 0.18.0 → https://git.io/f8Tn0
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to master « stellarium: 0.16.1 -> 0.18.0 (#42357) »: https://git.io/f4SFP
<{^_^}> [nixpkgs] @xeji merged pull request #42382 → x2goclient: fix build with qt 5.11 → https://git.io/f4yJi
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/f4SFH
steell_ has joined #nixos
ThatOtherGuy has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Synthetica9 closed pull request #42533 → keepassxc: use qt5.9 instead of latest qt5 → https://git.io/f4SF6
asuryawanshi has quit [Ping timeout: 240 seconds]
kisik21 has joined #nixos
LogicAside has quit [Ping timeout: 276 seconds]
<kisik21> Hi there! Sitting in installation prompt now... Does anyone know how to use a keyfile on a flash drive/SD card/removable block device assuming I use LVM-on-LUKS?
<philippD> __monty__: I need the ghc version to be at least 8.4.1 but I don't want to change each time a minor version is released. I also don't want to run on HEAD
<kisik21> I encountered some guides for Arch, but these were Arch-specific (mkinitcpio encrypt hook)
<{^_^}> [nixpkgs] @xeji merged pull request #42381 → keepassxc: fix build with qt 5.11 → https://git.io/f4yJl
<{^_^}> [nixpkgs] @xeji pushed commit from @averelld to master « keepassxc: fix build with qt 5.11 (#42381) »: https://git.io/f4SFp
<__monty__> philippD: Ah, I thought you wanted to upper bound < 843 since that breaks your build.
roconnor_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji closed pull request #42532 → keepassxc: fix build → https://git.io/f4Sde
<philippD> __monty__ no, ghc842 beeing absent breaks my build since I depended on that exact version
fresheyeball has quit [Quit: WeeChat 2.0]
asuryawanshi has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> hey out there
<hodapp> hiya
<fresheyeball> so after putting much effor into getting nixops running on digital ocean
<fresheyeball> I have another roadblock
<fresheyeball> after doing a deploy rebooting the vm fails
<philippD> __monty__: I know that Nix doesn't support versions but there has to be some way to do this. Like specifying something like ghc84 which always points to the newest minor version in the 8.4 range
<fresheyeball> it dies with "mount: mounting /dev/vda1 on /mnt-root failed: No such file or directory"
<kisik21> fresheyeball: check the /mnt-root directory
steell_ has quit [Ping timeout: 245 seconds]
<fresheyeball> kisik21: what do you mean? / how?
<{^_^}> [nixpkgs] @xeji merged pull request #42423 → treewide: http -> https → https://git.io/f4SvL
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/f4Sbm
<kisik21> fresheyeball: you lost your hard drive somewhere...
<kisik21> Maybe forgot to load some modules?
asuryawanshi has quit [Ping timeout: 256 seconds]
asuryawanshi has joined #nixos
xy3_ has quit [Ping timeout: 255 seconds]
<__monty__> philippD: I'm not very experienced so I don't know. I think you should be able to make an overlay with version 841 and above, then use the overlay instead of just nixpkgs? That wouldn't be automatic though : /
notdaniel has quit [Remote host closed the connection]
<philippD> yeah, that wouldn't help me
kisik21 has quit [Ping timeout: 245 seconds]
<philippD> I would still have to have my CI builds breaks and then just bump the version
<philippD> that's stupid
asuryawanshi has quit [Ping timeout: 264 seconds]
xy3_ has joined #nixos
asuryawanshi has joined #nixos
cpc26 has joined #nixos
<fresheyeball> imports = [ <nixpkgs/nixos/modules/profiles/qemu-guest.nix> ];
<fresheyeball> what does this do?
<clever> fresheyeball: yes
<fresheyeball> hi clever !
mariatsji has quit [Remote host closed the connection]
<fresheyeball> I am still fighting with digital ocean
cpc26 has quit [Client Quit]
<clever> fresheyeball: that adds the qemu-guest.nix file from $NIX_PATH to your imports
<fresheyeball> apparently after deploying the vm can no longer restart
<fresheyeball> clever: https://imgur.com/a/1zm2IkB
mariatsji has joined #nixos
<clever> fresheyeball: you need to take the stuff from hardware-configuration.nix that was required for booting and put that into your nixops config
roconnor_ has joined #nixos
<fresheyeball> imports = [ <nixpkgs/nixos/modules/profiles/qemu-guest.nix> ];
<fresheyeball> boot.loader.grub.device = "/dev/vda";
<fresheyeball> fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
<fresheyeball> that is what is there in the droplet
<clever> does it have a /boot?
<fresheyeball> do I need the `imports` thing as well?
<clever> its not a qemu guest
<clever> thats a side-effect of you doing the install inside qemu
<fresheyeball> yes there is a /boot directory in the droplet (I have a fresh infection0
asuryawanshi has quit [Ping timeout: 265 seconds]
agander has quit [Quit: Leaving]
<clever> is /boot a dir or a filesystem?
kisik21 has joined #nixos
<fresheyeball> dir
<clever> what error do you see on the DO console?
<fresheyeball> that is the error I see if I reboot after deploying
<clever> fresheyeball: you need to include the drivers for vda in boot.initrd.availableKernelModules
<clever> fresheyeball: run nixos-generate-config and look at the hardware-configuration.nix it generates
<fresheyeball> woah, that is differnt
<fresheyeball> its a uuid now for example
<clever> vda1 is simpler then the uuid
<clever> both work, but vda1 is more predictable
<fresheyeball> still this is more to copy over
<fresheyeball> let me try this
<fresheyeball> clever: the new version doesn't show boot.loader.grub
<fresheyeball> should I be concerned?
kisik21 has quit [Ping timeout: 265 seconds]
<clever> nixos-generate-config doesnt include that, but you still need it
<clever> it expects that to be in the configuration.nix file
<fresheyeball> its not haha
<fresheyeball> infect put it in hardware-configuration.nix not configuration.nix
<clever> ah
<fresheyeball> clever: do I need to put that line back before deploying?
<fresheyeball> (back on the droplet side)
<clever> nixops ignores the config on the droplet
<fresheyeball> deploying
<fresheyeball> lets see if it can reboot now
frank87_ has joined #nixos
<fresheyeball> this has been a ton of learning atleast
frank87 has quit [Read error: Connection reset by peer]
kisik21 has joined #nixos
<__monty__> philippD: Yeah, I'm turning up nothing : /
<fresheyeball> clever: woo! she rebooted!
<clever> fresheyeball: :D
<fresheyeball> clever: I really owe you one for teaching me this new skill
<clever> fresheyeball: next, youll want to break the required config into 2 groups, the generic stuff like fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };, which you can put into a digital_ocean.nix file, and then the per-droplet stuff like the IP
<{^_^}> [nixpkgs] @xeji merged pull request #42263 → gdbm: 1.14.1 -> 1.15 → https://git.io/fY1wg
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to staging « gdbm: 1.14.1 -> 1.15 (#42263) »: https://git.io/f4SNI
<clever> fresheyeball: then your nixops file can be: { hostname = { imports = [ ./digital_ocean.nix ./hostname_ip_cfg.nix ]; .... }; }
<clever> and if you decide to make a 2nd droplet, you can reuse the digital_ocean.nix and base the new hostname_ip_cfg.nix on the existing example
<fresheyeball> makes sense
juhe has quit [Remote host closed the connection]
<fresheyeball> clever: actually, how do thing merge that way?
<fresheyeball> is it just // ?
<clever> every option in nixos has its own merge rules
<clever> so it depends on the type of the option
robstr has quit [Quit: WeeChat 1.9.1]
<clever> for boolean types, it will throw an error if they dis-agree
<hodapp> if one packages a tool, and the tool's source code contains examples and miscellaneous other code, is it customary to put this in the output directory too?
<clever> for int types, it throws an error if you set it twice
<clever> for lists, it just concats them
<hodapp> stuff that isn't built, just stuff that the user might need/want
<clever> in the case of a set like fileSystems, it will recursively merge the values within
<clever> hodapp: yeah, that could go into $out/share/
<hodapp> okay
<{^_^}> [nixpkgs] @xeji pushed 2 commits to release-18.03: https://git.io/f4SNB
<__monty__> clever: Any way to install/depend on *any* ghc above a certain version?
kisik21 has quit [Ping timeout: 255 seconds]
<clever> __monty__: not really, you have to just pick one from haskell.packages.ghc821
<__monty__> (Because ghcs sometimes disappear. ghc842 for instance.)
<__monty__> Can nix reflect on attribute names?
<clever> __monty__: builtins.attrNames
<clever> > builtins.attrNames pkgs.haskell.packages
<{^_^}> [ "ghc7103" "ghc7103Binary" "ghc802" "ghc821Binary" "ghc822" "ghc842" "ghc843" "ghcHEAD" "ghcjs" "ghcjs710" "ghcjs80" "ghcjs82" "ghcjs84" "integer-simple" ]
<__monty__> Ah, great. So you could add a ghc84 to an overlay that selects a ghc84x?
<clever> yeah
<__monty__> philippD: ^ Only thing I could think of.
<__monty__> clever: Would something like this be accepted in nixpkgs? I wouldn't mind taking a swing at it, doesn't seem hard.
<clever> __monty__: if it was in nixpkgs, it would be much simpler, just a ghc84 alias that is updated by a maintainer when the thing it points to breaks
<clever> and hydra will complain if anybody breaks it
<__monty__> Wouldn't the maintainer get mad at us for the extra burden?
<clever> its 1 extra line
<__monty__> Well, one extra line for every range we can think of wanting, ghc7, ghc8, ghc82, ghc84...
<hodapp> well, that's annoying. the application only wants to look for examples in two places: $HOME/Examples, and $PWD/Examples... can makeWrapper by chance add a custom command to start a binary from a certain directory?
<clever> hodapp: i think it has a pre script, check the source of wrapProgram
kisik21 has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #41644 → minikube: bundle kvm2 driver → https://git.io/vhupE
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/f4SNX
<hodapp> hmm, I see --run
xy3_ has quit [Quit: WeeChat 1.9.1]
<__monty__> clever: A new utility function could "easily" allow for custom lower *and* upper bounds, working for ghcjs as well. Still think it's too complicated? I'll just give it a shot for personal use, can always PR if it turns out useful.
asuryawanshi has joined #nixos
<clever> __monty__: yeah, a PR sounds good, then we can see what others think
kisik21 has quit [Ping timeout: 240 seconds]
xy2_ has joined #nixos
<hodapp> w00t, wrapProgram worked fine with --run "cd $out/share" here, that was easy
asuryawanshi has quit [Ping timeout: 248 seconds]
<infinisil> hodapp: So everytime anybody runs the app it cd's them to /nix/store/<hash>-<name>/share ??
<{^_^}> [nixpkgs] @xeji merged pull request #42507 → godot: 3.0.3 -> 3.0.4 → https://git.io/f4SwM
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « godot: 3.0.3 -> 3.0.4 (#42507) »: https://git.io/f4SAf
<hodapp> infinisil: inside the wrapper yes
<hodapp> the side effect is the annoyance that File / Open starts there
<hodapp> but I'm open to other suggestions. the app doesn't appear to have any configuration that tells it where to look
<clever> patch the app?
<{^_^}> [nixpkgs] @xeji merged pull request #42428 → tmuxinator: 0.10.1 -> 0.11.3 → https://git.io/f4SfB
<{^_^}> [nixpkgs] @xeji pushed commit from @michaelpj to master « tmuxinator: 0.10.1 -> 0.11.3 (#42428) »: https://git.io/f4SAL
<hodapp> if users complain (besides me, because all I do is complain) maybe I will
<{^_^}> [nixpkgs] @xeji merged pull request #42500 → hcloud: 1.4.0 -> 1.5.0 → https://git.io/f4SaD
<{^_^}> [nixpkgs] @xeji pushed commit from @zauberpony to master « hcloud: 1.4.0 -> 1.5.0 (#42500) »: https://git.io/f4SA3
<{^_^}> [nixpkgs] @Hodapp87 opened pull request #42534 → structure-synth: init at v1.5 → https://git.io/f4SAG
asuryawanshi has joined #nixos
fendor_ has quit [Ping timeout: 276 seconds]
<hodapp> ruaaaargh, I should package the Blender exporters for Yafaray, Appleseed, and LuxCoreRender, but Blender plugins scare me
<hodapp> well, that and this would need to wait until my PRs for those 3 renderers have made it in
asuryawanshi has quit [Ping timeout: 264 seconds]
<__monty__> hodapp: (Just an aside.) Why do you want to use alternative renderers? I thought Cycles was state-of-the-art?
civodul has joined #nixos
kisik21 has joined #nixos
<philippD> When running nix-repl I get the following error Message: error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied
<philippD> What is going on here?
<clever> philippD: nix-repl links against nix1 which cant auto-detect NIX_REMOTE
<clever> nix 2 auto-detects it, so the env var is no longer set
<clever> either `export NIX_REMOTE=daemon` first or switch to `nix repl`
<philippD> ok, is there a nix2 repl?
<philippD> ok, thanks
<clever> its also handy to have both, you can use nix-repl to force things to run in 1 for backwards compat testing, and nix repl for forward compat
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42369 → phpPackages.composer: 1.6.3 -> 1.6.5 → https://git.io/f4DPc
<{^_^}> [nixpkgs] @xeji pushed commit from @caugner to master « phpPackages.composer: 1.6.3 -> 1.6.5 (#42369) »: https://git.io/f4SAD
<__monty__> clever: Is there a builtin to go back from a string to something you can use as a field projector?
asuryawanshi has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42384 → phpPackages.imagick: 3.4.3RC1 -> 3.4.3 → https://git.io/f4yUT
<{^_^}> [nixpkgs] @xeji pushed commit from @caugner to master « phpPackages.imagick: 3.4.3RC1 -> 3.4.3 (#42384) »: https://git.io/f4SAN
kisik21 has quit [Ping timeout: 245 seconds]
kisik21 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42377 → phpPackages.psysh: init at 0.9.6 → https://git.io/f4DjL
<{^_^}> [nixpkgs] @xeji pushed commit from @caugner to master « phpPackages.psysh: init at 0.9.6 (#42377) »: https://git.io/f4SxI
<clever> > let key = "hello"; in pkgs.${key}
<{^_^}> "<derivation /nix/store/84sxm540ssjq9k98xdcwc6hw6mrx972k-hello-2.10>"
mounty has joined #nixos
<clever> __monty__: like that?
phdoerfler has joined #nixos
<__monty__> clever: Ah, knew I'd seen something like this in the manual somewhere, thanks.
<philippD> Is there a built in reverse function?
<clever> you can also pkgs."ghc-${version}" for ex
<{^_^}> [nixpkgs] @xeji merged pull request #42385 → phpPackages.apcu: {4.0.7,5.1.8} -> {4.0.7,5.1.11} → https://git.io/f4yTL
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/f4Sx3
<__monty__> clever: That needs a different format though, right? 8.4.1 instead of 841, so you'd have to convert to or from because the attrNames are in one and the version'd have to be in the other.
<clever> yeah, it would have to match the existing format, ghc841
Drakonis has joined #nixos
<__monty__> But pkgs."ghc-8.4.1", right?
<clever> i dont think that one exists
<__monty__> Then what did you mean by pkgs."ghc-${version}"? Or was the - a slip-up?
<clever> more an example of how you can insert variables into a key
<clever> then an actual key
chessai has joined #nixos
<__monty__> Ah, got it, that's actually very useful because I was still thinking of having a version string but then pkgs.${version} would be nonsensical.
mariatsji has quit [Ping timeout: 248 seconds]
<__monty__> s/useful/helpful is more what I meant to say.
fresheyeball has quit [Quit: WeeChat 2.0]
hph^ has joined #nixos
<hodapp> __monty__: I don't like how it more or less forces me to go through Blender and store things in their abomination of a file format.
seku has quit [Quit: Leaving]
<hodapp> would rather the renderer be a separate piece, and my scene be something simpler and text-based (even though the geometry won't be) that is actually amenable to things like diffing and version control and has some chance of being human-grokkable
asuryawanshi has joined #nixos
<__monty__> hodapp: Hmm, can you do that with blender? Sounds like you want something more like openscad/brl-cad.
stranger___ has quit [Quit: Connection closed for inactivity]
<hodapp> can I do what with Blender? have my scene in a sane file format? I don't think so
<hodapp> OpenSCAD may help with geometry (though I still need some interactive modeling functionality that's not from a DSL) but it falls over as soon as you do any sort of recursion/iteration... BRL-CAD, dunno, but it's more for industrial CAD and that's a separate thing completely
<__monty__> Then why are you packaging blender exporters?
<__monty__> There's also implicit cad.
<hodapp> still need a renderer.
shabius has joined #nixos
<hodapp> as for the exporters: because it's a thing that people may need (possibly including me, even if I want to avoid Blender)
<{^_^}> [nixpkgs] @xeji merged pull request #42422 → pgmanage: 10.1.1 -> 10.3.0 → https://git.io/f4SeN
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/f4Sxh
<hodapp> the issue of how I can make my geometry procedurally is one that looks like it's fairly well covered in between: Curv, libfive, ImplicitCAD, Ruckus (the DSL in Racket), OpenSCAD, and some homespun tools I wrote
<hodapp> but I still need a renderer.
<__monty__> Can Cycles not be used standalone btw?
<Ralith> what sort of renderer do you want?
asuryawanshi has quit [Ping timeout: 240 seconds]
rihards has quit [Quit: rihards]
<hodapp> Ralith: an open-source, global illumination, physically-based one, of which there are a couple like Appleseed and LuxCoreRenderer
<hodapp> __monty__: don't know that it can in any useful sense.
<{^_^}> [nixpkgs] @xeji merged pull request #42365 → chrony: disable the whole timesyncd module when chronyd is enabled → https://git.io/f4DuG
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/f4SpT
<Ralith> I'm sure you can export from one of those DSLs to a conventional triangle format and use any number of tools from there
<hodapp> that's what I'm talking about doing
<{^_^}> [nixpkgs] @xeji merged pull request #42366 → chrony: disable the whole timesyncd module when chronyd is enabled (cherry-pick on release-18.03) → https://git.io/f4Du8
<{^_^}> [nixpkgs] @xeji pushed 2 commits to release-18.03: https://git.io/f4SpL
<__monty__> hodapp: Hmm, seems like it's at least possible. It's also integrated into other 3d modelling programs.
<hodapp> __monty__: it might be but it's not clear to me what it gets me over, say, Appleseed or LuxCoreRender
<hodapp> which are both pretty excellent renderers of the same sort as Cycles
<__monty__> Just another option.
andymandias has quit [Ping timeout: 260 seconds]
<hodapp> "Cycles standalone has a XML API, which is used for mesh data and shader/settings import. There is no real API documentation at the moment, as the API is subject to change, but you can check the source code to get an idea"
<hodapp> yeah, that is the sort of thing that is why I tend to shy away from Blender
<hodapp> I'll still likely be using it for the 3D modeling part of things because it's still pretty top-notch for that
<samueldr> with a remote build (buildMachines = ...) I'm getting `copying path ... from 'ssh://...'...` then `error: out of memory`
asuryawanshi has joined #nixos
<samueldr> the file copied is 2.3GB, I know the remote machine isn't out of memory, so it must be the local machine
<samueldr> I wouldn't have expected the local machine to copy the file in-memory
<__monty__> hodapp: Would be a cool project to implement a better api in haskell ; )
<hodapp> __monty__: yeah, you should start on that.
<__monty__> samueldr: For remote builds the local downloads everything, then transfers to remote which builds and then transfers back.
<hodapp> appleseed has a C++/Python API, but not much in the way of docs yet either
asuryawanshi has quit [Ping timeout: 240 seconds]
mahalel_ has joined #nixos
<samueldr> __monty__: looks like it copies everything into memory
<samueldr> as in, the final product
<samueldr> instead of "streaming" it to the FS :/
<__monty__> hodapp: Not really into 3d rendering so I'm gonna pass.
<__monty__> samueldr: Nix isn't exactly smart when it comes to memory usage.
<samueldr> in my case, remote finished building, it's the final product that's causing me pain :S
<hodapp> __monty__: you wouldn't be doing much 3D rendering, just code-archaelogy!
andymandias has joined #nixos
<__monty__> hodapp: But I have no motivation to maintain : /
<hodapp> __monty__: aaaaaaaand neither do I
<hodapp> I'll just use another renderer with a documented format
ThatOtherGuy has joined #nixos
LogicAside has joined #nixos
the_real_plumps has joined #nixos
asuryawanshi has joined #nixos
hotfuzz_ has joined #nixos
<{^_^}> [nixpkgs] @leenaars opened pull request #42535 → krop: init -> 0.5.0 → https://git.io/f4SpS
hotfuzz has quit [Ping timeout: 264 seconds]
<elvishjerricco> samueldr: I think there was a change that got merged recently for streaming stuff instead of holding it in memory. Dunno if it's in 2.0.4.
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4c4e26b6aa2 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
asuryawanshi has quit [Ping timeout: 260 seconds]
jensens has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #42536 → slurm: 17.11.5 -> 17.11.7, pyslurm: 20180427 -> 20180604 → https://git.io/f4Spx
<samueldr> elvishjerricco: I'm pretty sure it's related to the copy from build machine to the local machine, which I think means the PR I linked to is related
<samueldr> and if so, looks like it isn't merged or closed
<samueldr> (I'm currently building with the fix)
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #42537 → nixos/transmission: allow prestart to create directories → https://git.io/f4Sph
<{^_^}> [nixpkgs] @xeji pushed 5 commits to release-18.03: https://git.io/f4Spj
<{^_^}> [nixpkgs] @xeji merged pull request #42427 → Cherry-pick pgmanage-10.3.0 on release-18.03 → https://git.io/f4Svi
asuryawanshi has joined #nixos
matthewbauer has joined #nixos
myshoe has quit [Quit: Lost terminal]
kisik21 has quit [Ping timeout: 276 seconds]
kisik21 has joined #nixos
<hodapp> hm. I guess I should wait for Curv to do a release rather than do a PR around some arbitrarily chosen git commit
<hodapp> there is 0.1 but it is missing some bugfixes
phdoerfler1 has joined #nixos
phdoerfler has quit [Ping timeout: 240 seconds]
asuryawanshi has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f115a926496 (from 33 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<rardiol1> Is there some way to know what thing installed in the user env is using a qt version that cause incompatibility?
<hodapp> what sort of incompatibility do you mean?
<clever> rardiol1: and nix-store -q --tree ~/.nix-profile
m0rphism has joined #nixos
Lisanna has joined #nixos
knupfer has quit [Ping timeout: 255 seconds]
chessai has quit [Ping timeout: 240 seconds]
<rardiol1> clever: thanks
asuryawanshi has joined #nixos
knupfer has joined #nixos
nickname2 has joined #nixos
datakurre has quit [Ping timeout: 260 seconds]
<nickname2> hi all. trying to use ensime on neovim, but I get this error: " A dependency is missing, please `pip install sexpdata websocket-client` and restart Vim"
<nickname2> an clue?
datakurre has joined #nixos
Dezgeg has quit [Ping timeout: 256 seconds]
<symphorien> nickname2: https://ensime.github.io/editors/vim/install/ describes what to do
<nickname2> symphorien: yes, I tried that
kisik21 has quit [Ping timeout: 245 seconds]
<nickname2> although I don't get the "recompile" part
<nickname2> I rebuilt the nixos configuration, if that's what they mean
kisik21 has joined #nixos
<nickname2> (did you just approve my pull request for the epson? :P )
<symphorien> are you installing neovim with nix-env ?
<symphorien> (yes for the pull request :) )
<nickname2> symphorien: nope, it's in configuration.nix
<symphorien> can you introduce a syntax error in you overlay file and try to rebuild ?
datakurre has quit [Ping timeout: 260 seconds]
<symphorien> if no error is raised, then your file is not read
<symphorien> this would explain.
phdoerfler1 has quit [Quit: Leaving.]
seequ has quit [Ping timeout: 240 seconds]
troydm has joined #nixos
asuryawanshi has quit [Ping timeout: 260 seconds]
<nickname2> oh for the moment I stuck it inside configure.nix itself ^_^
<symphorien> ah ok
datakurre has joined #nixos
<symphorien> can you paste it ?
<palo> matthewbauer: I just looked at nix-bundle, nice idea ! I read you want to create AppImages out of a nix file. Out of curriosity, did you manage to run a AppImage under NixOS ? I never made it work.
Drakonis has quit [Quit: Leaving]
toby1851 has joined #nixos
<__monty__> Hmm, if we could get people so far as to write nix derivations to generate flatpaks and the like that'd be awesome. Nix packagers for free ; )
inquisitiv3 has quit [Remote host closed the connection]
<clever> palo: i have used the arx mode of nix-bundle to make an app that works on any linux distro, including nixos
<clever> palo: its essentialy a bash script that extracts and runs a static elf inside a .tar
<tilpner> palo - You can run some AppImages using appimage-run, which is probably only available on master right now
asuryawanshi has joined #nixos
Dezgeg has joined #nixos
<palo> uh tilpner and clever this is news to me.
<palo> good news :D
seequ has joined #nixos
kisik21 has quit [Ping timeout: 265 seconds]
stanibanani has quit [Ping timeout: 260 seconds]
<clever> palo: the tricky part, is that you need things like /etc/resolv.conf and such in the sandbox for stuff to work, and on nixos, those are symlinks to the host store, so things break when you overwrite /nix with a new mount
<samueldr> the copy (download) isn't over, but there is already improvement in which my SBC doesn't go down (due to load) when copying
<clever> palo: so it has to copy before setting up the sandbox
<palo> clever: I see
<matthewbauer> yeah i don't think appimage is supported at all in nixos. but why would you need it when you already have the Nix package manager?
<clever> palo: and in my case, the entire bundle was ~200mb in size, and there is a ~30+ second delay just starting it, because it has to un-tar the entire thing on every start
<clever> palo: so i only used the arx bundle as an installer
<tilpner> matthewbauer - To use applications that are currently not packaged in nixpkgs, either due to lack of time or packaging difficulties
<clever> palo: and then i have more custom stuff, that runs the sandbox without bundles, to give faster launch times
kisik21 has joined #nixos
<palo> clever: I see
* tilpner gets stuck playing on the iohk site again
<{^_^}> [nixpkgs] @symphorien opened pull request #42538 → agedu: init at 20180522.5b12791 → https://git.io/f4Sjc
<palo> I have other stuff in mind. For example one thing is to create a puredate binary which has a specific older version, that supports video output, together with some configuration that makes it smoother to work. In this case a nix-pkg (which I almost finished) exporting as an AppImage for other computers (which don't run NixOS) is a real time-saver
<palo> s/puredate/puredata/
seequ has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5ac6ab091a4 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
kisik21 has quit [Ping timeout: 240 seconds]
asuryawanshi has quit [Ping timeout: 240 seconds]
toby1851 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #41871 → mariadb: provide multiple src url mirrors → https://git.io/vhwWj
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/f4Sjw
rardiol1 has quit [Ping timeout: 248 seconds]
rardiol1 has joined #nixos
asuryawanshi has joined #nixos
simukis has quit [Quit: simukis]
<{^_^}> [nixpkgs] @xeji closed pull request #40638 → slurm: 17.11.5 -> 17.11.6 → https://git.io/vpbMG
<Lisanna> hmm, what should I do if a hydra jobset gets stuck in evaluation?
<Lisanna> "Evaluation running since: 52s ago" :/
<Lisanna> it evalautes and starts building fine locally
<Lisanna> tried restarting hydra-evaluator
<Lisanna> last message it prints when it starts is "starting evaluation of jobset ..."
nickname2 has quit [Ping timeout: 260 seconds]
asuryawanshi has quit [Ping timeout: 268 seconds]
<clever> Lisanna: if you check `ps -eH x`, what does the tree look like around the evaluator?
<clever> Lisanna: and is it using cpu?
asuryawanshi has joined #nixos
<kyren> FruitieX: regarding earlier with gnome3 and gdm and wayland.. unfortunately no, gdm by default (I think?) runs wayland, but the gnome3 session doesn't
<Lisanna> no, it doesn't appear to be using any significant cpu
knupfer has quit [Ping timeout: 265 seconds]
logzet has joined #nixos
<clever> Lisanna: and if you check `ps aux | grep 6378` do you see a nix-daemon?
kisik21 has joined #nixos
<Lisanna> yeah
<Lisanna> clever "root 6398 0.0 0.0 93988 5628 ? SNsl 21:41 0:00 nix-daemon 6378"
<clever> Lisanna: is that one busy?, what are its children?
<kyren> FruitieX: I was able to run gnome3 in wayland from a terminal though by following the advice in https://github.com/NixOS/nixpkgs/issues/5071
<Lisanna> clever it doesn't appear to have any children
<clever> Lisanna: ls -l /proc/6398/fd/
<clever> Lisanna: does it have any open .lock files?
logzet has quit [Remote host closed the connection]
<clever> Lisanna: can you link your release.nix?
<clever> Lisanna: also, if you use an ssh based url in the hydra ui, then hydra will use the .ssh/id_rsa in the hydra user, so you dont have to leak your password in configs
asuryawanshi has quit [Ping timeout: 276 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<Lisanna> I've run into this problem once before, and the solution was to restart
matthewbauer has quit [Read error: Connection reset by peer]
<Lisanna> I can take that hydra-evaluator command and run it manually under the hydra user and it will run
<clever> Lisanna: not sure what the issue is then, all you can try is to manually run hydra-eval-jobs with the args from https://lpaste.net/6367929829735530496 (mind the quotes around the --arg) and then strace that
asuryawanshi has joined #nixos
<Lisanna> clever that's the thing, when I do that it works fine
<clever> check its env too, /proc/PID/environ
matthewbauer has joined #nixos
<Lisanna> clever of the daemon or the hydra-eval-jobs?
seequ has joined #nixos
<clever> Lisanna: hydra-eval-jobs
<Lisanna> clever I'm stracing the live process and the only thing printed is "futex(0x1a0db210, FUTEX_WAIT, 2147483648, NULL"
jensens has quit [Read error: Connection reset by peer]
<Lisanna> I can't see anything particularly interesting in /proc/6378/environ
asuryawanshi has quit [Ping timeout: 256 seconds]
<clever> Lisanna: out of ideas for now then
<Lisanna> guess I'll just kick my box and file a bug and hope someone who works on hydra has an epiphany and happens to see the thing causing the problem one day
<Lisanna> oh, if I kill the process hydra prints the log to the evaluation errors
<clever> what does that log say?
<Lisanna> it was having trouble DLing the nixexprs.tar.xz
<clever> ah
<Lisanna> warning: unable to download 'https://d3g5gsiof5omrk.cloudfront.net/nixos/18.03/nixos-18.03.132684.f3c913d466f/nixexprs.tar.xz': Timeout was reached (28); retrying in 293 ms
<Lisanna> so it was just stuck trying to do that
<Lisanna> wish hydra showed the eval log while it was evaluating :/
asuryawanshi has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
imalsogreg has joined #nixos
<Lisanna> so now I've gotta figure out why it's having trouble downloading the nixexprs even though it works fine when I run the eval command manually
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to master « nixos/npm: add `npm` to the system closure by default (#42420) »: https://git.io/f49eH
<{^_^}> [nixpkgs] @xeji merged pull request #42420 → nixos/npm: add `npm` to the system closure by default → https://git.io/f4Sea
<{^_^}> [nixpkgs] @xeji merged pull request #42413 → ivan: 052 -> 053 → https://git.io/f4yQK
<{^_^}> [nixpkgs] @xeji pushed commit from @nonfreeblob to master « ivan: 052 -> 053 (#42413) »: https://git.io/f49e5
<{^_^}> [nixpkgs] @marsam opened pull request #42539 → 1password: fix sha256 hash → https://git.io/f49eF
<Lisanna> purged hydra's .cache and now it's working
<Lisanna> ugh
asuryawanshi has joined #nixos
<Lisanna> my tarball-ttl is set to 0, I wonder if that has anything to do with it
<{^_^}> [nixpkgs] @xeji merged pull request #42402 → [18.03] geary: 0.12.1 -> 0.12.2 → https://git.io/f4yrw
<{^_^}> [nixpkgs] @xeji pushed 5 commits to release-18.03: https://git.io/f49ej
<{^_^}> [nixpkgs] @xeji merged pull request #42336 → streamlink: 0.12.1 -> 0.13.0 → https://git.io/flF5l
<{^_^}> [nixpkgs] @xeji pushed commit from @jfrankenau to master « streamlink: 0.12.1 -> 0.13.0 (#42336) »: https://git.io/f49vf
<{^_^}> [nixpkgs] @xeji merged pull request #42386 → ocamlPackages.merlin: 3.0.5 -> 3.1.0 → https://git.io/f4yqe
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « ocamlPackages.merlin: 3.0.5 -> 3.1.0 (#42386) »: https://git.io/f49vU
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @xeji merged pull request #42355 → autokey: init at 0.94.1 → https://git.io/flhbJ
<{^_^}> [nixpkgs] @xeji pushed commit from @Pneumaticat to master « autokey: init at 0.94.1 (#42355) »: https://git.io/f49vm
asuryawanshi has quit [Ping timeout: 240 seconds]
vcunat has quit [Quit: Leaving.]
sorixelle has joined #nixos
chris| has quit [Quit: ZNC 1.6.5 - http://znc.in]
chris| has joined #nixos
asuryawanshi has joined #nixos
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @leenaars to master « Update message to reflect nix 2.0 availability of imperative nix-update (#36123) »: https://git.io/f49v0
<{^_^}> [nixpkgs] @xeji merged pull request #36123 → Update message to reflect nix 2.0 availability of imperative nix-update → https://git.io/vAXa2
asuryawanshi has quit [Ping timeout: 256 seconds]
kisik21 has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/93532944b13 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
alexteves has quit [Remote host closed the connection]
kisik21 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42415 → curl: disable default CA bundle → https://git.io/f4yjJ
<{^_^}> [nixpkgs] @xeji pushed 2 commits to staging: https://git.io/f49vi
kisik21 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42391 → gitlab-runner: 10.8.0 -> 11.0.0 → https://git.io/f4ylj
<{^_^}> [nixpkgs] @xeji pushed commit from @bachp to master « gitlab-runner: 10.8.0 -> 11.0.0 (#42391) »: https://git.io/f49v5
<{^_^}> [nixpkgs] @xeji merged pull request #42342 → ocamlPackages.cppo: 1.5.0 -> 1.6.4 → https://git.io/flbky
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « ocamlPackages.cppo: 1.5.0 -> 1.6.4 (#42342) »: https://git.io/f49vF
<{^_^}> [nixpkgs] @xeji merged pull request #42400 → gopass: override GOPASS_CONFIG to fix completion generation → https://git.io/f4ywB
<{^_^}> [nixpkgs] @xeji pushed commit from @flokli to master « gopass: override GOPASS_CONFIG to fix completion generation (#42400) »: https://git.io/f49fk
xy2_ has quit [Ping timeout: 264 seconds]
Ariakenom has quit [Quit: Leaving]
<Lisanna> clever do you have any references to any documentation on the --store flag?
hamishmack has joined #nixos
Zer000 has joined #nixos
palo has quit [Ping timeout: 268 seconds]
<Lisanna> clever might need to start a new section with some notes on this flag... from my testing, every time I use it with nix-build, it always seems to need to upload some data to the remote, even if the same command has succeeded in the past
anderslundstedt has joined #nixos
asuryawanshi has joined #nixos
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
Jason_Grossman has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #42497 → kotlin: 1.2.41 -> 1.2.50 → https://git.io/f4S2z
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/f49fV
<Zer000> Folks I need a little bit of help. I have added package for a qt5 based audio application called MusE. I just imported this file into my config's list of packages: http://dpaste.com/3MTWSHB.txt and it works. I then wanted to add it to nixpkgs and make a pull request, but when I did so (please see: https://github.com/Zer0-/nixpkgs/commit/6e89491fa179decb116297354bb9c1e734cb31e1) on top of nixpkgs master the program fails to run! The output it gives is this:
asuryawanshi has quit [Ping timeout: 265 seconds]
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
asuryawanshi has joined #nixos
<Lisanna> clever I added an issue for documenting this use case: https://github.com/NixOS/nix/issues/2253
<{^_^}> [nixpkgs] @xeji merged pull request #42403 → i3status-rust: 0.9.0.2018-03-31 -> 0.9.0.2018-06-22 → https://git.io/f4y6z
<{^_^}> [nixpkgs] @xeji pushed commit from @Moredread to master « i3status-rust: 0.9.0.2018-03-31 -> 0.9.0.2018-06-22 (#42403) »: https://git.io/f49fd
thc202 has quit [Ping timeout: 264 seconds]
<clever> Lisanna++
<{^_^}> Lisanna's karma got increased to 1
<clever> Lisanna: if you are leaving a result symlink in the current dir, then src = ./. has to re-upload that current directory
<Lisanna> clever yeah, I'm not using any src = ./.
<Lisanna> and when I do I always pass --no-out-link
asuryawanshi has quit [Ping timeout: 256 seconds]
pie_ has quit [Ping timeout: 264 seconds]
imalsogr` has joined #nixos
imalsogreg has quit [Ping timeout: 260 seconds]
<averell> Zer000: you're not the first one (https://github.com/NixOS/nixpkgs/issues/24256)
jb55 has quit [Quit: WeeChat 2.1]
pie_ has joined #nixos
andymandias has quit [Ping timeout: 260 seconds]
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #42541 → WIP: casync: init at 2-152-ge4a3c5e → https://git.io/f49JL
<Zer000> averell, I was looking at that issue. I'm not experienced enough with qt to know what the issue is, also supposedly it's "fixed" but I am using up to date master branch and it still fails. Btw I built using nix-build -A muse from the root of my nixpkgs clone.
Lisanna has quit [Quit: Lisanna]
init_6 has quit []
Lisanna has joined #nixos
foldingcookie has quit [Remote host closed the connection]
<averell> i was only going by by https://github.com/NixOS/nixpkgs/issues/24256#issuecomment-328349797 it won't work locally and from the store. and workaround is probably to add libXi manually? not sure
<Zer000> ah in that issue I am told that starting the application like that is not expected to work. I suppose I will add to my configuration.nix and test like that and still make a PR
andymandias has joined #nixos
<{^_^}> [nixpkgs] @nh2 opened pull request #42542 → consul-alerts: 0.3.3 -> 0.5.0 → https://git.io/f49JV
asuryawanshi has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @ajs124 opened pull request #42543 → init targetcli and dependencies for lio iscsi target management → https://git.io/f49Jy
sorixelle has quit [Ping timeout: 245 seconds]
asuryawanshi has joined #nixos
rprije has joined #nixos
<bgamari> Is there any way to profile nix's memory usage?
qz has quit [Quit: WeeChat 2.1]
qz has joined #nixos
<clever> bgamari: `NIX_COUNT_CALLS=1` will profile the function calls, which kinda does it
<bgamari> what about heap usage?
<clever> bgamari: i have been planning on adding more object allocation based profiling
<bgamari> that would be amazing
<bgamari> currently nix-daemon is thrashing the life out of my builder server
<bgamari> and I have no idea why
<clever> ah, thats less in the nix language and more in the store library, seperate from what ive been working on
<bgamari> it's unclear
<bgamari> perhaps
blankhart has joined #nixos
<bgamari> it seems to be evaluating
asuryawanshi has quit [Ping timeout: 264 seconds]
jmeredith has joined #nixos
<{^_^}> [nixpkgs] @Zer0- opened pull request #42544 → MusE: add new package at version 3.0.2 → https://git.io/f49JA
<clever> bgamari: nix-daemon never deals with actual nix expressions
<bgamari> alright then
* bgamari has no idea how to debug this in that case
<samueldr> fwiw, the PR linked earlier did fix the out of memory error when copying from the builder
asuryawanshi has joined #nixos
<clever> bgamari: is this involving haskell derivations?
<bgamari> is there any way to disable daemon usage for a single `nix build` invocation?
<samueldr> (oh, this isn't related to what's being talked about here)
<bgamari> clever, yes
qz has quit [Client Quit]
<bgamari> at least then I could strace it
<clever> bgamari: if you run a build as root, it doesnt use the daemon
testuser has quit [Ping timeout: 256 seconds]
<waynr> is there a way to set alternative download locations for a given nix package?
<clever> and when dealing with ghc, it has to have the entire NAR (basically the tar of the /nix/store path) in a single std::string
<clever> bgamari: so you wind up with a 1gig std::string in ram
* bgamari has far more than that currently
qz has joined #nixos
<bgamari> but yes, that no doubt doesn't help
<clever> bgamari: and nix may have 2 or 3 copies of that string
<bgamari> ahh
<bgamari> alright then
ericsagnes has quit [Ping timeout: 264 seconds]
<joepie91> mumble mumble out of memory bugs mumble
asuryawanshi has quit [Ping timeout: 264 seconds]
trevthedev has joined #nixos
trevthedev has quit [Changing host]
trevthedev has joined #nixos
<clever> bgamari: it may also help to split the task up, nix-instantiate, then nix-store -r /nix/store/foo.drv
asuryawanshi has joined #nixos
<clever> bgamari: to see which half of the job is to blame
<trevthedev> hi
<samueldr> (not combative or angry here) any work to follow for memory on nix? any recommendations as a user to help the developers with this?
<samueldr> trevthedev: hi!
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<Myrl-saki> The `groupId` of ec2SecurityGroups doesn't seem to be getting set.
<Myrl-saki> (nixops)
asuryawanshi has quit [Ping timeout: 240 seconds]
<joepie91> seconding samueldr's question; it's increasingly unclear to me where the memory usage is actually coming from
<clever> joepie91: split the job up with instantiate and realize, and then see which half is to blame
<joepie91> I was thinking more granular documentation than that :)
asuryawanshi has joined #nixos
<clever> joepie91: thats just the first phase, what you do after that depends on which side is to blame
matthewbauer has quit [Read error: Connection reset by peer]
<bgamari> clever, mmm
matthewbauer has joined #nixos
<samueldr> oh, and note that my question was hugely open-ended, I feel like we need to downgrade the nix developer's machines :)
<joepie91> heh