python476 has quit [(Ping timeout: 260 seconds)]
<tilpner> If I'm reading the docs right, it might even interpret the timestamp at read-time, so every 24 hours, starting from 6 hours into the future
mpcsh has joined #nixos
<mpcsh> tilpner Infinisil sorry yall, had a hiccup with my irc bouncer - last I saw was tilpner say "No, it's OnCalendar"
<tilpner> mpcsh - No, it's OnCalendar, according to the configuration.nix manpage
<Infinisil> Repeating what i said: Have you had a closer look at `man systemd.time` already? I'm pretty sure there's a way to specify "every 6 hours"
<tilpner> You should probably just define multiple daily timestamps :/
<mpcsh> Infinisil: yeah my understanding is it's just 6h
<mpcsh> but it looks like tilpner is right - I think OnCalendar can only take absolute timestamps
<tilpner> I didn't quite say that
<tilpner> Quoting from systemd.time(7), "Note that a relative timestamp is also accepted where a timestamp is expected"
<tilpner> If I'm reading the docs right, it might even interpret the timestamp at read-time, so every 24 hours, starting from 6 hours into the future
<mpcsh> tilpner: that'd make sense
<mpcsh> but it refuses to start the timer after running nixos-rebuild
<tilpner> Paste config and error
<mpcsh> however, "0/6:00:00" works
<tilpner> Oh?
<tilpner> No!
<tilpner> I told 20 minutes ago to try +6h :/
<mpcsh> wait what? that sentence confused me
<tilpner> *I told you 20 minutes ago to try "+6h" :/
<mpcsh> oh right, sorry, I had to change the file back to create that error output because the "0/6:00:00" worked
<mpcsh> +6h didn't work either - lemme paste it
<mpcsh> (I did try it 20 mins ago when you told me)
<mpcsh> ah, it's the same error
<mpcsh> for 6h or +6h
<tilpner> Huh, systemctl status nixos-upgrade?
<WinchellsM> Does `~/.nix-defexpr` stand for `nix default expression`?
<WinchellsM> i.e., serving as the default expression to be evaluated when running nix-env
<WinchellsM> Without an -f argument
<WinchellsM> ?
<tilpner> Pfft, failed to parse calendar specification :(
<tilpner> Sounds like a good explanation, WinchellsM
<tilpner> (But I have no doc to back it up)
<tilpner> "--file ... Specifies the Nix expression ... default is ~/.nix-defexpr"
<mpcsh> tilpner: yeah, so I think it has to be absolute?
<tilpner> mpcsh - It?
<tilpner> Oh, sorry, read "obsolete" :c
<mpcsh> tilpner: system.autoUpgrade.dates
<mpcsh> haha
<tilpner> But where is that specified in the docs?
<tilpner> systemd.timer(5) doesn't seem to say so
<mpcsh> tilpner: "Defines realtime (i.e. wallclock) timers with calendar event expressions. See systemd.time(7) for more information on the syntax of
<mpcsh> calendar event expressions. Otherwise, the semantics are similar to OnActiveSec= and related settings."
<tilpner> Oh, so timestamps are not calendar events? That would explain it
<mpcsh> Maybe?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/v5i8y
<NixOS_GitHub> nixpkgs/master 6a17c5a Shea Levy: libappstream-glib: Properly set rpath
NixOS_GitHub has left #nixos []
<mpcsh> idk I really don't feel like diving deep into systemd's time semantics
<mpcsh> All I know is "0/6:00:00" works
<mpcsh> oh huh, so it actually looks like "0/6:00:00" means "every hour that is divisible by 6, on the hour"
<mpcsh> interesting
<mpcsh> I mean that works for me so whatever :)
ktf has joined #nixos
<WinchellsM> But ~/.nix-defexpr just has two symlinks: one to channels and the other to channels_root
U007D has quit [(Ping timeout: 240 seconds)]
<WinchellsM> So what expression does nix-env find?
<WinchellsM> From ~/.nix-defexpr?
thc202 has quit [(Ping timeout: 248 seconds)]
ktf has quit [(Ping timeout: 246 seconds)]
<WinchellsM> I'm assuming it somehow winds up in a default.nix somewhere from those two symlinks
<WinchellsM> Or maybe the rule is that it just uses `~/.nix-defexpr/channels/nixos/nixpkgs`
<WinchellsM> and hence `~/.nix-defexpr/channels/nixos/nixpkgs/default.nix`
<tilpner> WinchellsM - The names channels and channels_root are ignored
<tilpner> I misplaced the link that explains this well...
<tilpner> Uhm. If you have .nix-defexpr/{a/{ab, ac}, b/{bd}}, it's effectively mapped to { ab = import ~/.nix-defexpr/a/ab {}; ac = import ~/.nix-defexpr/a/ac; bd = import ~/.nix-defexpr/b/bd {}; }
<tilpner> So then you could nix-env -iA ac.hello
<tilpner> Note that .nix-defexpr also accepts text files. Mine looks like nixpkgs.nix stable.nix unstable.nix
<tilpner> (~/.nix-defexpr/stable.nix. Here the names are not ignored...)
jellowj has quit [(Ping timeout: 240 seconds)]
<julm> Does anyone know a way to avoid that the packages used by nixops to provide a host be garbage collected? Running nixops in a: nix-shell -p nixops --indirect --add-root gcroots/dep --run is not enough
apostolis has joined #nixos
jellowj has joined #nixos
<apostolis> Is there a way to tell nixos to use a specific package version? It keeps downloading alex-3.2.2 which has a problem.
tmaekawa has quit [(Quit: tmaekawa)]
lambdamu has joined #nixos
lambdamu has quit [(Client Quit)]
lambdamu has joined #nixos
ericsagnes has joined #nixos
ris has quit [(Ping timeout: 260 seconds)]
<julm> well, at least for now, I can save a few packages from the GC, by commenting out atexit.register(self._delete) in SelfDeletingDir
mpcsh has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
tmaekawa has joined #nixos
jsgrant has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fuzzy-id opened pull request #29166: Minor fixes plus rework of submodule section (master...fix-manual2) https://git.io/v5iRc
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fuzzy-id closed pull request #29166: Minor fixes plus rework of submodule section (master...fix-manual2) https://git.io/v5iRc
NixOS_GitHub has left #nixos []
bennofs has quit [(Read error: Connection reset by peer)]
Supersonic112 has quit [(Disconnected by services)]
ktf has joined #nixos
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fuzzy-id opened pull request #29167: Rework of submodule section plus minor fixes (master...fix-manual2) https://git.io/v5iR9
NixOS_GitHub has left #nixos []
oida_ has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
oida has quit [(Ping timeout: 260 seconds)]
apostolis has quit [(Quit: WeeChat 1.9)]
fuzzy_id has quit [(Ping timeout: 252 seconds)]
lambdamu_ has joined #nixos
jb55 has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
lambdamu has quit [(Ping timeout: 252 seconds)]
Wizek has quit [(Quit: Connection closed for inactivity)]
ktf has quit [(Ping timeout: 255 seconds)]
jellowj has quit [(Quit: WeeChat 1.7.1)]
countoren has joined #nixos
<countoren> hi, im trying to install purescript from nix packge manager: get me this error: build of ‘/nix/store/mhll3p0fnlc71gr4hm6wmz0cql1qh4vk-purescript-0.11.6.drv’ failed. Any help?
<tilpner> That error message really doesn't tell us anything
<countoren> Language/Haskell/HsColour/Classify.hs:52:18: warning: [-Wtabs] Tab character found here, and in six further locations. Please use spaces instead. [ 6 of 16] Compiling Language.Haskell.HsColour.Colourise ( Language/Haskell/HsColour/Colourise.hs, dist/build/Language/Haskell/HsColour/Colourise.o ) running tests Package has no test suites. haddockPhase installing Installing executable(s) in /nix/store/a9mnf1y8iyn5m6rnjgy4315gj4
<tilpner> That doesn't either. But the fact that purescript isn't cached suggests it's broken. Let me see if there are any issues
<countoren> yes that what i was thinking. ok thanks.
<tilpner> Nope, purescript compiles fine here
<tilpner> (where here == 17.09)
<countoren> you are compiling it on nixos or the package manager?
<countoren> i have the package manager running on osx
<tilpner> That is an invalid question. Nix the package manager compiles it on NixOS
mpcsh has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<countoren> let me rephrase, are you running it on nixos or another os?
<tilpner> On NixOS
pie_ has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
vaibhavsagar_ has joined #nixos
<countoren> thanks it worked
Mateon3 has joined #nixos
Mateon3 is now known as Mateon1
leat has quit [(Ping timeout: 248 seconds)]
MarcelineVQ has quit [(Remote host closed the connection)]
ktf has joined #nixos
MarcelineVQ has joined #nixos
ktf has quit [(Ping timeout: 252 seconds)]
vaibhavsagar_ has quit [(Quit: Leaving)]
garbas has quit [(Quit: WeeChat 1.7.1)]
vaibhavsagar has joined #nixos
scribble_ has quit [(Remote host closed the connection)]
scribbler has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #29168: gopherclient: init at 2016-10-02 (master...gopherclient) https://git.io/v5i6w
NixOS_GitHub has left #nixos []
scribbler has quit [(Ping timeout: 248 seconds)]
countoren has quit [(Quit: Page closed)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/v5i66
<NixOS_GitHub> nixpkgs/master 1550242 Dan Peebles: yubikey-manager: 3.1 -> 4.0...
NixOS_GitHub has left #nixos []
jb55 has joined #nixos
<peterhoeg> Hey all. Does anybody know how to manually rebuild the manual to check on some doc changes I made?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vaibhavsagar opened pull request #29170: znc: fix network example configuration (master...fix-znc-network-example) https://git.io/v5iiR
NixOS_GitHub has left #nixos []
leat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vaibhavsagar opened pull request #29171: znc: open firewall with configured port (master...znc-open-firewall) https://git.io/v5iiM
NixOS_GitHub has left #nixos []
justanotheruser has joined #nixos
ktf has joined #nixos
iyzsong has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/694529e45d (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
<disasm> peterhoeg: if it's in nixpkgs/doc you just cd in that dir and run nix-build
jb55 has quit [(Ping timeout: 248 seconds)]
ktf has quit [(Ping timeout: 240 seconds)]
<disasm> or nix-build doc in nixpkgs works as well
<disasm> then xdg-open result/share/doc/nixpkgs/manual.html
oida has joined #nixos
oida_ has quit [(Ping timeout: 240 seconds)]
iyzsong has quit [(Ping timeout: 260 seconds)]
jb55 has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
stepcut has quit [(Remote host closed the connection)]
mkoenig has quit [(Ping timeout: 240 seconds)]
jluttine has quit [(Ping timeout: 248 seconds)]
Nergal has joined #nixos
vaibhavsagar_ has joined #nixos
vaibhavsagar_ has quit [(Client Quit)]
jb55 has quit [(Ping timeout: 248 seconds)]
ktf has joined #nixos
elninja44 has joined #nixos
ktf has quit [(Ping timeout: 246 seconds)]
vaibhavsagar has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
vaibhavsagar has joined #nixos
<peterhoeg> disasm: indeed it is - thanks a lot!
mfiano has quit [(Quit: WeeChat 1.9)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v5i1G
<NixOS_GitHub> nixpkgs/master a9a3af4 Peter Hoeg: manual: steam on nouveau also requires newStdCpp
NixOS_GitHub has left #nixos []
Ivanych has joined #nixos
mfiano has joined #nixos
mfiano is now known as Guest74385
<eqyiel[m]> disasm: do you know if the manual has an attribute path? it would be cool to add it as the document root of a virtualhost for easy access
rtjure has quit [(Ping timeout: 240 seconds)]
Guest74385 has quit [(Client Quit)]
mfiano_ has joined #nixos
mfiano_ is now known as axion
rtjure has joined #nixos
axion is now known as Guest41667
Guest41667 has quit [(Quit: WeeChat 1.9)]
jsoo has joined #nixos
jsoo has quit [(Client Quit)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/15502421c7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
rauno has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #29100: odp-dpdk: 1.12.0.0 -> 1.15.0.0 (master...master) https://git.io/v5ocO
NixOS_GitHub has left #nixos []
orivej has quit [(Ping timeout: 248 seconds)]
orivej has joined #nixos
scribbler has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v5i1Q
<NixOS_GitHub> nixpkgs/master 758c597 Peter Hoeg: kget: init at 20170903
NixOS_GitHub has left #nixos []
ktf has joined #nixos
scribbler has quit [(Ping timeout: 240 seconds)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
ktf has quit [(Ping timeout: 246 seconds)]
mfiano has joined #nixos
mfiano has quit [(Client Quit)]
mfiano has joined #nixos
ThatDocsLady has joined #nixos
griff_ has joined #nixos
ThatDocsLady has quit [(Read error: Connection reset by peer)]
griff_ has quit [(Ping timeout: 248 seconds)]
MoreTea has joined #nixos
ktf has joined #nixos
MoreTea has quit [(Client Quit)]
ktf has quit [(Ping timeout: 246 seconds)]
rtjure has quit [(Ping timeout: 248 seconds)]
rtjure has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos []
<taaperotassu> my polybar doesnt show my wifi.. at arch linux it needed wireless_tools .. wondering whats the same package in nixos. To show my wifi module.
<clever> taaperotassu: what does "type iwlist" say when ran?
<clever> taaperotassu: nixos will automatically install wirelesstools if you networking.wireless.enable = true;
<clever> 1004 ++ optionals config.networking.wireless.enable [
<clever> q
<clever> 1005 pkgs.wirelesstools # FIXME: obsolete?
jsgrant has quit [(Quit: jsgrant)]
jsgrant has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #29158: pythonPackages.ofxclient and pythonPackages.osprofiler: remove argparse from requirements (master...ofxclient) https://git.io/v5iYb
NixOS_GitHub has left #nixos []
FRidh has joined #nixos
jsgrant has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to release-17.09: https://git.io/v5iDQ
<NixOS_GitHub> nixpkgs/release-17.09 45e518d Frederik Rietdijk: Merge pull request #29158 from nlewo/ofxclient...
NixOS_GitHub has left #nixos []
jsgrant has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/v5iD7
<NixOS_GitHub> nixpkgs/staging dab3272 Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #29079: python.buildEnv: install out and lib outputs (master...buildenv-python) https://git.io/v5rU4
NixOS_GitHub has left #nixos []
ericsagnes has quit [(Ping timeout: 252 seconds)]
ahawkins has joined #nixos
markus1189 has joined #nixos
markus1189 is now known as predator11
predator11 is now known as predator117
freeman42x has quit [(Ping timeout: 255 seconds)]
<jasom> How does nix deide where a name ends and a version begins? I have created two packages named lisp-1am-20141106-git and lisp-3bmd-20161204-git and installing one replaces the other (I assume because it thinks the -3* and -1* start a version string)
Nergal has quit [(Ping timeout: 240 seconds)]
<joachifm> jasom: see builtins.parseDrvName
Guest35041 has joined #nixos
jluttine has joined #nixos
Guest35041 has quit [(Remote host closed the connection)]
zeus_ has quit [(Remote host closed the connection)]
MarkusBarthlen has joined #nixos
<sphalerite> jasom: yep it's a bit of a pain. I'm not sure but maybe using an underscore instead would work
JosW has joined #nixos
<jasom> is there any agreed-upon convention for packages that start with a number?
ktf has joined #nixos
<jasom> hmm, I guess if I removed the lisp- it would solve things that start with a number; I can check if there are any that have internal words that start with a number. Or just use underscores
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #29173: [WIP] go: buildGoPackage: 1.8 -> 1.9 (master...golang) https://git.io/v5iy2
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29170: znc: fix network example configuration (master...fix-znc-network-example) https://git.io/v5iiR
NixOS_GitHub has left #nixos []
griff_ has joined #nixos
<srhb> Hum, has anyone else seen this? http://nixpaste.lbr.uno/qd5f4FV3
elninja44 has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to release-17.09: https://git.io/v5iyH
<NixOS_GitHub> nixpkgs/release-17.09 19dad71 Peter Simons: Allure & LambdaHack: disable failing Hydra builds
NixOS_GitHub has left #nixos []
ktf has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/v5iyA
<NixOS_GitHub> nixpkgs/master 9b61184 Peter Simons: Agda: disable broken build
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to release-17.09: https://git.io/v5iyx
<NixOS_GitHub> nixpkgs/release-17.09 f456d20 Peter Simons: Agda: disable broken build
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #29174: fd: 2.0.0 -> 3.0.0 (master...fd) https://git.io/v5iSm
NixOS_GitHub has left #nixos []
griff_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 3 new commits to master: https://git.io/v5iS3
<NixOS_GitHub> nixpkgs/master 2dff799 Peter Hoeg: sane-backends: support parallel building
<NixOS_GitHub> nixpkgs/master 67c949a Peter Hoeg: sane-backends: 1.0.25 -> 1.0.27...
<NixOS_GitHub> nixpkgs/master af1f991 Peter Hoeg: sane-frontends: boy scout cleanups
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/v5iSn
<NixOS_GitHub> nixpkgs/master 398b364 Peter Simons: ghc: remove obsolete 8.0.1 version
NixOS_GitHub has left #nixos []
fuzzy_id has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
ktf has joined #nixos
<sphalerite> jasom: package names can start iwht a number afaik
<sphalerite> well to be more precise, derivation names definitely can
<sphalerite> (tested with nix-build --no-out-link -E 'with import <nixpkgs> {}; runCommand "12345" {} "touch $out"' )
<sphalerite> oh yeah, TimePath, someone said you had a nice expression for riot? Would you care to share? :)
<TimePath> uh, sure
<TimePath> have to look for it
<TimePath> I'm not personally using it
ktf has quit [(Ping timeout: 246 seconds)]
MoreTea has joined #nixos
endformationage has quit [(Quit: WeeChat 1.9)]
<TimePath> I'd send a PR, but it's technically impure, and packaging node apps is messy
eacameron has joined #nixos
<TimePath> the way it manages dependencies is also brittle, if versions conflict
eacameron has quit [(Ping timeout: 240 seconds)]
<sphalerite> Cool, thanks
<TimePath> I use a similar technique to create docker images for a node app at work
<TimePath> one issue we ran into is when some development dependency pulls in a different version of some third party module to what a production dependency does
takle has joined #nixos
<TimePath> since it's packaged with webpack, the wrong dev version makes it into prod :)
timor has joined #nixos
zeus_ has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
<Ralith> sphalerite: see :P
zeus_ has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/v5i9E
<NixOS_GitHub> nixpkgs/master 21bac5c Itai Zukerman: plex: 1.7.5 -> 1.8.4
<NixOS_GitHub> nixpkgs/master 9f34890 Daiderd Jordan: Merge pull request #29163 from izuk/plex...
NixOS_GitHub has left #nixos []
<srhb> Does anyone have Steam working on 17.09 or unstable?
free_beard has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/v5i92
<NixOS_GitHub> nixpkgs/release-17.09 29363f2 Itai Zukerman: plex: 1.7.5 -> 1.8.4...
NixOS_GitHub has left #nixos []
<sphalerite> Ralith: so seequ did oversell it a bit :D :p
Phillemann has joined #nixos
<Phillemann> To find out if a package with a certain name exists, I currently do nix-env -qaP | grep name. But that takes some time. Is there a faster way to find out on the command line?
Myrl-saki has joined #nixos
<Myrl-saki> So
<Myrl-saki> Does anyone know how `wine` receives `nixpkgs.config`
<TimePath> sphalerite: I think he was just happy to not be downloading all the node_modules every damn time :)
<sphalerite> TimePath: that is nice
stepcut has joined #nixos
<sphalerite> Myrl-saki: this is just a guess, but probably in all-packages.nix
<Myrl-saki> Checking.
oida_ has joined #nixos
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Lassulus opened pull request #29175: namecoin: 0.3.80 -> unstable-2017-09-09 (master...namecoin) https://git.io/v5i9r
NixOS_GitHub has left #nixos []
<srhb> Phillemann: I think you can use nix-index or nox for that purpose, unfortunately they're both quite brittle in presence of broken packages.
<TimePath> sphalerite: things could be better if upstream committed a package-lock.json
<TimePath> would get rid of the version impurity
<sphalerite> can't we just make our own?
<TimePath> you can if you like
oida has quit [(Ping timeout: 248 seconds)]
<TimePath> that's what node2nix effectively does anyway
stepcut has quit [(Ping timeout: 240 seconds)]
<Ralith> TimePath: for comparison, https://github.com/Ralith/riot-electron-nix
<Ralith> more work to update, but pure
<TimePath> Ralith: and also only works off releases
<Ralith> this is what I use
<TimePath> not dev branches
<Ralith> riot's buggy enough as it is :P
<sphalerite> Maybe I'll just stick to the browser app after all
<TimePath> that's what I currently do
<Ralith> (you also need unstable for current electron
<Ralith> )
<TimePath> ^ the last line of every lisp program
<Ralith> it's easy enough to build it against unstable
<Ralith> anyway zzz
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29162: openafsClient: 1.6.20.2 -> 1.6.21 (master...openafs-client-1.6.21) https://git.io/v5iCq
NixOS_GitHub has left #nixos []
MP2E has quit [(Quit: sleep)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hiberno opened pull request #29176: rofi-pass: 1.5.0 -> 1.5.1 (master...update-rofi-pass) https://git.io/v5iHe
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5iHv
<NixOS_GitHub> nixpkgs/release-17.09 32e85cd timor: openafsClient: 1.6.20.2 -> 1.6.21...
NixOS_GitHub has left #nixos []
klaas_ has joined #nixos
oida has joined #nixos
<aristid> good morning from the release sprint :D
<srhb> aristid: Morning!
oida_ has quit [(Ping timeout: 248 seconds)]
<Phillemann> Is the next release going to include the latest Linux kernel?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #29177: haskell: fix build of attoparsec-data (master...fix-attoparsec-data) https://git.io/v5iHq
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29174: fd: 2.0.0 -> 3.0.0 (master...fd) https://git.io/v5iSm
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nlewo opened pull request #29178: pythonPackages.nilearn: 0.2.5 -> 0.3.1 (master...nilearn) https://git.io/v5iHZ
NixOS_GitHub has left #nixos []
griff_ has joined #nixos
<aristid> Phillemann: who needs such extravagancies?
<srhb> I figured out the Steam issue. I needed to override the chrootenv with newStdcpp = true; for some reason.
<srhb> I think this might need to be the default..
<sphalerite> or just not an option anymore
<srhb> True.
<fuzzy_id> argh! still no public registration for NixCon
<fuzzy_id> or is it just me?
<aristid> fuzzy_id: there should be more than enough free spaces, i think, so no idea
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
ambro718 has joined #nixos
griff_ has quit [(Ping timeout: 248 seconds)]
Wizek has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthiasbeyer opened pull request #29179: audacity: 2.1.2 -> 2.1.3 (master...update-audacity) https://git.io/v5iHw
NixOS_GitHub has left #nixos []
<fuzzy_id> artistid: Great, so no need to become nervous. :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/v5iH1
<NixOS_GitHub> nixpkgs/master 79c9adc Eelco Dolstra: nifskope: Fix build...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to release-17.09: https://git.io/v5iHD
<NixOS_GitHub> nixpkgs/release-17.09 d04de20 Eelco Dolstra: nifskope: Fix build...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp closed pull request #28981: nginx service: enable websocket proxy support with recommendedProxySe… (master...nginx-websocket) https://git.io/v5uV9
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5iHN
<NixOS_GitHub> nixpkgs/master 0d206c0 Franz Pletz: nixos/release: xmonad isn't release-critical
NixOS_GitHub has left #nixos []
<srhb> sphalerite: Does this look sensible? https://github.com/NixOS/nixpkgs/pull/29180
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/v5iHh
<NixOS_GitHub> nixpkgs/release-17.09 c25f2b3 Franz Pletz: nixos/release: xmonad isn't release-critical...
NixOS_GitHub has left #nixos []
ktf has joined #nixos
fuzzy_id has quit [(Ping timeout: 246 seconds)]
<sphalerite> srhb: the change looks sensible. What exactly do you mean by a dedicated graphics setup though?
<srhb> sphalerite: I mean someone using eg. only an Nvidia card, never intel.
<sphalerite> ah right
<srhb> The issue doesn't appear to affect those, so I just want to make sure the fix doesn't bother them either.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-17.09: https://git.io/v5iQJ
<NixOS_GitHub> nixpkgs/release-17.09 fbe46c7 Rob Vermaas: Snapper: use gcc5, as there is not upstream patch for gcc6
NixOS_GitHub has left #nixos []
<sphalerite> Hm, my flatmate has a desktop machine running purely on nvidia graphics. Maybe I could test it on his by installing nixos on my external hard drive
<sphalerite> Although we probably have people running nixos on their desktops already
<srhb> sphalerite: That sounds like a lot of work, perhaps some other people in the issue I linked can be helpful. :)
<sphalerite> taaperotassu: hm, polybar's wifi thing works out of the box for me
<TimePath> dedicated desktop nvidia user present
<sphalerite> srhb: it isn't that much work with nixos ;)
<sphalerite> but yes, that would be simpler :D
<TimePath> though it's a really old card, not sure if it matters
<sphalerite> don't think it does
<sphalerite> taaperotassu: I'll have a look and see if I can work out why it might not be working for you
<srhb> sphalerite: Well, thank you for offering, I might poke you if no one responds. :)
<srhb> TimePath: I don't think it does :)
bennofs has joined #nixos
<TimePath> cool, how do I pull a PR on github again?
deltasquared has joined #nixos
* TimePath is used to people working within the same repository
thc202 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-17.09: https://git.io/v5iQ3
<NixOS_GitHub> nixpkgs/release-17.09 c651a0c Rob Vermaas: gnupg: add gnupg2 alias/symlink for 2.2. Otherwise signing commits with git break.
NixOS_GitHub has left #nixos []
<srhb> TimePath: Erm, something like git fetch pr/25957/HEAD
<TimePath> I'll just do the obvious thing and add your fork as a remote if it comes to that
<deltasquared> howdy folks, I was curious as to how nixos runs the process of setting up the "link farms" in generated profiles. is it just a simple merge of all the directories in a profile's component packages, or is there something more intelligent going on
<srhb> Ugh, I forgot to do it on a branch... Messy.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #29181: riot-web: 1.12.2 -> 1.12.3 (master...riot-web-1.12.3) https://git.io/v5iQn
NixOS_GitHub has left #nixos []
<deltasquared> srhb: rip
<TimePath> I operate in detached head mode more than most
<srhb> deltasquared: I blame the hangover...
<srhb> Best time to contribute, amirite
<srhb> :|
<deltasquared> srhb: just don't drink and dd
<deltasquared> for the love of god
<deltasquared> I usually just sudo chmod the disk node to my admin user before doing anything with dd, one more layer of confirmation
<sphalerite> the number of times I've used dd with of=/dev/sda since getting this laptop is terrifying
<srhb> :D
<deltasquared> sphalerite: ever dd a USB drive full of portfolio exercises?
<deltasquared> I had to redo that in a week -_-
<sphalerite> (because it doesn't have an internal disk, so the first USB stick will show up as sda)
<deltasquared> sphalerite: no internal disk? is it an emmc or something
<sphalerite> deltasquared: nope… and I also keep reasonable backups
ktf has quit [(Ping timeout: 246 seconds)]
<TimePath> `git fetch origin pull/25957/head` doesn't seem to take
<sphalerite> deltasquared: err, no internal *ATA* disk
<deltasquared> sphalerite: I learned since then, needless to say
takle has joined #nixos
<TimePath> doing the raw git thing
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FPtje opened pull request #29182: haskellPackages.ghc-proofs: Disable hydra builds for ghc<8.2 (master...fix-ghc-proof) https://git.io/v5iQE
NixOS_GitHub has left #nixos []
<sphalerite> it's nvme :D
<deltasquared> lucky sh- err.... lucky you. :P
<sphalerite> thankfully of=/dev/nvme0n1 is rather awkward so it wouldn't even occur to me to write that :D
jsgrant has quit [(Quit: jsgrant)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 2 new commits to master: https://git.io/v5iQg
<NixOS_GitHub> nixpkgs/master 08a3d80 Rob Vermaas: Snapper: use gcc5, as there is not upstream patch for gcc6...
<NixOS_GitHub> nixpkgs/master 5dcf5d6 Rob Vermaas: gnupg: add gnupg2 alias/symlink for 2.2. Otherwise signing commits with git break....
NixOS_GitHub has left #nixos []
<deltasquared> eh, like dd is really effective on SSDs anyway
jsgrant has joined #nixos
<deltasquared> well, I guess against script kiddies it'd be useful
<sphalerite> I've only really used it to write images to USB sticks
<sphalerite> lots of images to lots of USB sticks
<deltasquared> archiso, every time...
bennofs has quit [(Ping timeout: 248 seconds)]
<TimePath> I've used it to take files apart
<srhb> TimePath: I got the number wrong, it's 29180 -- but I still can't get it to work with the pull thing.
<srhb> Weird.
zeus_ has joined #nixos
<TimePath> I just added a remote
<TimePath> should have tried that first; it always works :)
<deltasquared> so yeah, anyone got any ideas wrt my question up there (I admit there wasn't a question mark...), I wanted to play around with the idea to generate home directories in a tmpfs on a non-nix system, and I thought I'd learn from the best as it were :P
<sphalerite> srhb: each pr has a "head" ref and a "merge" ref. I'm not sure which is which, but my intuition would be that "merge" is what the PR wants to merge into "head"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/v5iQo
<NixOS_GitHub> nixpkgs/staging c86eb1d Vladimír Čunát: stdenv bootstrap: fix evaluation...
NixOS_GitHub has left #nixos []
<srhb> Aha
<srhb> git fetch upstream pull/29180/head
<deltasquared> sphalerite: oh, so that'd explain what's going on when I try to git fetch into a bare
<srhb> Because in this case head is lowercase, obviously
<srhb> So this should be cleanest: git fetch upstream pull/29180/head:steampatch
<srhb> Should give you a steampatch branch
<sphalerite> (I only know this because I've been fiddling with git ls-remote for a thing recently)
<deltasquared> steam huh... what broke this time
<TimePath> I just checked out in detached head mode
<srhb> TimePath: :)
<TimePath> don't need no branches
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #29183: haskell: fix grakn-0.2.0 (master...fix-grakn) https://git.io/v5iQ6
NixOS_GitHub has left #nixos []
<Infinisil> deltasquared: Regarding your generating home, have you checked out home-manager?
<srhb> deltasquared: Something something newStdcpp wrt. intel setups.
<sphalerite> deltasquared: just making the newStdLib or whatever it's called no longer an option/always on
<TimePath> srhb: yes it does work when the MR # is right ;P
<avn> pull/$number/head is a common github feature?
<srhb> avn: Yeah.
<deltasquared> Infinisil: got a link, I'm still not accustomed to where everything nix-related lives
jsgrant has quit [(Client Quit)]
<srhb> For some reason it's not *right there* on the PR page, which drives me nuts.
<srhb> I should make an alias..
jsgrant has joined #nixos
<srhb> TimePath: I think it took five minutes or something like that to build here, for the record.
<avn> very nice feature, never heard about it before
<srhb> avn: It is nice. :)
<TimePath> srhb: I'm currently fetching all the other changes I don't have
<srhb> TimePath: Thanks for helping :)
zeus_ has quit [(Ping timeout: 255 seconds)]
<TimePath> srhb: I can also take the card out entirely and just use the intel integrated if need be
<TimePath> which is actually just as fast as my old card
<deltasquared> TimePath: what GPU you got there
<TimePath> really old nvidia GTS 250
<Infinisil> deltasquared: everything nix-related to home-manager? The only thing you need is ~/.config/nixpkgs/home.nix which defines your home, (and you need the package of course, which can be done in configuration.nix or config.nix)
<sphalerite> TimePath: I have a 9800GT in my old desktop :p
<deltasquared> Infinisil: I meant the program source code
<TimePath> sphalerite: I will never understand model numbers :P
<sphalerite> oh yeah, the other option besides adding a whole remote for it is just `git fetch https://github.com/srhb/nixpkgs nixos-unstable` and then it'll set the FETCH_HEAD ref
<TimePath> until they adopt something more semver
<Infinisil> deltasquared: Ah, well this doesn't matter where, you just need to reference is when creating the package with (import path/to/checkout { inherit pkgs; };)
<deltasquared> TimePath: I had fun trying to help someone who was a *little* bit inexperienced on #archlinux trying to use an RX Vega 56, which was a little bit experimental...
<sphalerite> TimePath: what I'd really like is if manufacturers would just name their stuff according to a (year, high-end/mid-range/low-end) scheme
griff_ has joined #nixos
<deltasquared> Infinisil: I should emphasise, *non-nix system* in the above :P I wish to study the modus operandi
<TimePath> sphalerite: deal
<srhb> TimePath: I was able to test intel myself :)
<srhb> TimePath: And intel/bumblebee on nvid
<srhb> I just can't test dedicated only.
<Infinisil> deltasquared: Ohh, you mean not even nix is available?
<deltasquared> Infinisil: nope. I wish to learn from the ideas in it
<TimePath> deltasquared: that's part of the reason I haven't upgraded
<Infinisil> deltasquared: I see
<deltasquared> buggerit, I'll look up the source code in the derivation... what's the git repo for unstable again
<TimePath> the new stuff probably won't work, and when it does work, it will be more affordable
<deltasquared> TimePath: hence I got my brother to get an RX 580.
<deltasquared> which is *somewhat loud* through walls -_-
<sphalerite> TimePath: I finally got the nvidia graphics in my laptop working after 5 months of owning it the other day
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #29184: yabar: minor derivation improvements (master...yabar/install-hooks) https://git.io/v5iQN
NixOS_GitHub has left #nixos []
<TimePath> It took me a few hours to find the right nvidia blob I needed
<sphalerite> It turns out that if the nvidia driver is loaded while the GPU is powered off, it will gladly hang the kernel while waiting for a response from it
<TimePath> thankfully it's in nixpkgs
<TimePath> O.o
<srhb> sphalerite: ...nice
<TimePath> yeah this is gonna be a while
<sphalerite> so until they fix that with a proper timeout or something, I have to ensure that the GPU is powered on when I start X or suffer
<TimePath> I switched to git nixpkgs in august
<TimePath> haven't updated since
<sphalerite> (I can safely turn it off once X is running)
<srhb> TimePath: Do you want me to rebase it onto some other channel?
<sphalerite> TimePath: that sounds… suboptimal
<TimePath> I could probably do that
<srhb> TimePath: Yeah, it should apply just fine on basically any channel.
<TimePath> but if I test it on an older version, who's to say it works on the newest?
<srhb> True enough, but if it works at all I think there's a good chance. :)
<sphalerite> deltasquared: archiso doesn't seem to be in nixpkgs?
<srhb> But yeah, 17.09 or unstable is better here.
<TimePath> I need to update anyway, right? :P
<srhb> Yes! :D
<sphalerite> oh, it's for building images not putting them on devices
<TimePath> I was tracking nixos-unstable
<deltasquared> sphalerite: whaddya talking about, who said I was looking for it in there
<TimePath> just, the one in august
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/v5i7U
<NixOS_GitHub> nixpkgs/release-17.09 5f15a9f Vladimír Čunát: stdenv bootstrap: fix evaluation...
NixOS_GitHub has left #nixos []
<sphalerite> that's what nixos is for :p
<sphalerite> TimePath: oh right august… I haven't caught up with the calendar in my head, I was thinking august last year
<TimePath> sphalerite: spoiler: there's an august in every year
<sphalerite> whoa whoa whoa whoa hold on
<sphalerite> what
<deltasquared> grah, which subdir is home-manager under... not sure if it'd go under applications, data, misc or something else
<TimePath> at least in the gregorian calendar
<Infinisil> deltasquared: You puttin home-manager in nixpkgs?
<sphalerite> deltasquared: I just have ~/projects
<sphalerite> oh wait
<deltasquared> Infinisil: no, just trying to find the derivation expression in nixpkgs
<Infinisil> deltasquared: I don't think it's there afaik
<TimePath> these paths will be fetched (1657.85 MiB download, 6065.06 MiB unpacked):
<deltasquared> Infinisil: -_- darn
athan has quit [(Remote host closed the connection)]
<TimePath> that's after however much it just downloaded
<Infinisil> deltasquared: I guess it's because it's in delevopment and often changing it makes sense to use a checkout and pull to update
<deltasquared> Infinisil: well if it ain't in the unstable nixpkgs, where would it be hiding
<TimePath> as an entirely separate project?
<deltasquared> well no-one's giving me pointers so I guess I'll google
<Infinisil> deltasquared: It's not in nixpkgs as said
<deltasquared> https://github.com/rycee/home-manager < this the right one
<deltasquared> ?
<Infinisil> Yes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markus2342 opened pull request #29185: oprofile: 1.1.0 -> 1.2.0 (master...update-oprofile) https://git.io/v5i7l
NixOS_GitHub has left #nixos []
<deltasquared> just reading the bit about the dconf store... uggh, why did gnome decide to replicate the windows registry -_-
<TimePath> so they can sell you the ccleaner equivalent? :>
<deltasquared> TimePath: REEEEEE
<deltasquared> thinking about it, I must be half asleep still, I should have just googled it first
<deltasquared> TimePath: seriously though, all those "cleaner" products... fml
<Infinisil> rm is all you need right
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
<TimePath> no you need -r
<Infinisil> and /
<deltasquared> you forgot --no-preserve-root :>
<TimePath> .. beat me
<sphalerite> dd is the way
<Infinisil> I personally prefer wipefs -a /dev/*
<sphalerite> OTT there should be a nicer way to write images to USB sticks on the command line
<TimePath> hook one of those up to bash's "unknown command" hook
<deltasquared> it amuses me that dd'ing to /dev/mem would probably cause your system to crash quickly enough that a reboot would likely be fine
<Infinisil> sphalerite: What's so not nice about dd?
<TimePath> that it doesn't ever do what you think it does
<TimePath> it operates in blocks, not bytes
<sphalerite> Infinisil: dd if=stuff.iso of=/dev/sda bs=4M oflag=direct status=progress
<TimePath> it is very fast though
<sphalerite> it's just such a mouthful
<TimePath> and `status=progress` is new
<TimePath> the old way to do that was with `pv` or `while` and sending `SIGUSR2`
thblt has joined #nixos
<sphalerite> and if I get the of wrong I'm screwed
<Infinisil> sphalerite: function writetodisk() { dd if=$0 of=$1 ... } ?
<TimePath> yes, it's mostly a frontend issue
<sphalerite> absolutely
<Infinisil> agreed
* TimePath wonders if there's some repository out there of wrappers around common utilities to provide a nicer CLI
<Infinisil> similar to how gpg has existed for so long and the CLI is not very nice but nobody wrote a better frontend?
<TimePath> well, people already have scripts using it, so most of the time you have to stay compatible
<sphalerite> I should write a wrapper that makes the block size big and checks that nothing on the block device is mounted, maybe also checks the device name and asks me to confirm
<TimePath> or use a different executable name
<deltasquared> status=progress which version of coreutils did that appear? that would have saved me reaching for the pipe for | pv
<deltasquared> so many times
<sphalerite> Infinisil: what's wrong with gpg's cli?
freeman42x has joined #nixos
<TimePath> deltasquared: going to guess <8 months ago?
<Infinisil> sphalerite: I admittedly haven't used it too much, but I heard people say that a lot
<deltasquared> TimePath: welp, I guess that shows I never freaking read man pages
<sphalerite> deltasquared: it's had it at least since I started using nixos in October
<TimePath> nope, it was in ubuntu 16.04
<sphalerite> oh nice, coreutils's homepage links to our hydra :D https://www.gnu.org/software/coreutils/coreutils.html
<Infinisil> deltasquared: You definitely should start, it's often the best documentation you can find
<deltasquared> Infinisil: I only obtain working knowledge most of the time
<sphalerite> af2a4ed22594badd2719c0123441d69b17bd8328 Federico Simoncelli <fsimonce@redhat.com> Fri Sep 26 17:12:32 2014 +0000 dd: new status=progress level to print stats periodically
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FPtje opened pull request #29186: haskellPackages.hol: Fixed build (master...fix-hol) https://git.io/v5i7Q
NixOS_GitHub has left #nixos []
<deltasquared> as in, I read them enough to find out what I need. I don't read them exhaustively
<sphalerite> so the commit has existed since 2014
<Infinisil> deltasquared: Ah right, about the same mostly, I even believe they're intended to be used like this
<sphalerite> v8.24 was the first version of coreutils to include status=progress
<Infinisil> Sometimes when I really need to dig a bit deeper or just feel like it I'm reading a man-page more thouroughly from the beginning
<deltasquared> NAME pinky - lightweight finger
<deltasquared> lel
<sphalerite> and 8.24 was released (or at least the tarball was uploaded) 2015-07-03
<TimePath> these paths will be fetched (840.94 MiB download, 3152.23 MiB unpacked):
<sphalerite> so it's been around for a hilwe :D
<deltasquared> TimePath: hope you've got data limits to spare
<TimePath> deltasquared: no limits
<sphalerite> I get distracted way too easily
<sphalerite> I was writing my little prefetch tool then I went off sleuthing for how long status=progress has existed
<TimePath> I was writing a parser before I ended up in here
<Infinisil> sphalerite: Getting distracted is my speciality
<deltasquared> Infinisil: I'd like to wager I'm good at that too :P
<TimePath> welp, now there's three of us
<TimePath> what could possibly go wrong?
<Infinisil> Nice to see other distractionists
<sphalerite> hm
<sphalerite> I like Haskell a great deal but sometimes… Like how do I take off the newline at the end of a string
<Infinisil> You can't
<Infinisil> because it's immutable :P
<TimePath> you build a new string without the new line?
<sphalerite> Infinisil: by take off the newline at the end of a string I mean get a new string that doesn't have the newline at the end
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<sphalerite> TimePath: yes but how do I do that quickly and easily
* TimePath hasn't done much haskell
erictapen has joined #nixos
<Infinisil> `init` drops the last element of a list
<TimePath> something something take the tail and the rest
<deltasquared> do values in haskell have to be completely independent? in other langs I'd just use a string segment view (lifetimes/GC permitting)
<sphalerite> Infinisil: fair enough. Although that feels wrong because I'm not checking if it's an actual newline :D
<Infinisil> sphalerite: Are you using actual Strings or Data.Text?
<TimePath> maybe throw in an assertion
<sphalerite> uuuh Text actually
<sphalerite> Perfect!
<sphalerite> It's also just my complete lack of knowledge about the libraries I'm using :D
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vanschelven opened pull request #29187: python.pkgs.recaptcha-client: disable broken versions (release-17.09...recaptcha-client) https://git.io/v5i5Y
NixOS_GitHub has left #nixos []
<taktoa> sphalerite: there's, like, 10-20 Haskell modules, that if you memorize their contents, will vastly speed up your development time in Haskell
<Infinisil> sphalerite: Also see here: https://www.haskell.org/hoogle/?hoogle=strip
<sphalerite> wait no, it's a ByteString >.>
<sphalerite> taktoa: do you have a list? :D
<taktoa> I could probably come up with one
<sphalerite> that would be brilliant
<TimePath> I tried that approach to java; but there are so many included classes...
<deltasquared> something something gorilla holding banana and entire jungle
<sphalerite> I feel like I've just spent so much time on the concepts that I don't know shit about the library x)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #29188: haskell: fix build of hw-xml (master...fix-hw-xml) https://git.io/v5i5Z
NixOS_GitHub has left #nixos []
<sphalerite> Good think ByteString has stripSuffix too
<TimePath> I'd like to use nix in more places if it were a general purpose language
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-17.09: https://git.io/v5i5c
<NixOS_GitHub> nixpkgs/release-17.09 8d5fc1b Rob Vermaas: dmd: mark as broken
NixOS_GitHub has left #nixos []
<Infinisil> TimePath: That's not what nix is for though, it's not a general purpose language
<TimePath> I'm aware, hence why I have not :)
<sphalerite> TimePath: I don't know... It's nice to write, but really lacks types
<TimePath> I've seen it mentioned a few times in here
<TimePath> it has the right level of abstraction for type checking though
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to master: https://git.io/v5i5l
<NixOS_GitHub> nixpkgs/master 18695b5 Rob Vermaas: dmd: mark as broken...
NixOS_GitHub has left #nixos []
<deltasquared> TimePath: see I would have thought that nix exprs would have had inferred typing under the hood
<deltasquared> like, mkDerivation returns an appropriate type
<deltasquared> or whatever it was
ktf has joined #nixos
bennofs has joined #nixos
pie_ has joined #nixos
<sphalerite> aww, nix-instantiate --eval doesn't work with process substitution
<Infinisil> nixos modules is the only thing that gets type checked
<Infinisil> as in, declaring option services.xserver.enable = true; can't be anything other than a boolean
scribbler has joined #nixos
<Infinisil> and services.xserver.enble would throw an error because it doesn't exist
Jackneilll has joined #nixos
<Infinisil> but that's all part of the module system, nothing built into the lanugage
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aristidb pushed 1 new commit to master: https://git.io/v5i5R
<NixOS_GitHub> nixpkgs/master 450685e Aristid Breitkreuz: v8: remove unused old versions
NixOS_GitHub has left #nixos []
<TimePath> that's fine with me
ericsagnes has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aristidb pushed 1 new commit to release-17.09: https://git.io/v5i5z
<NixOS_GitHub> nixpkgs/release-17.09 370e2e7 Aristid Breitkreuz: v8: remove unused old versions
NixOS_GitHub has left #nixos []
<TimePath> there are two bigger issues anyway
<TimePath> 1: performance
<TimePath> 2: distribution
<Infinisil> You mean because not checking types makes it fast? And what about distribution?
<TimePath> I mean that nix currently only runs to generate the .drv files
<TimePath> it doesn't have to care about running for a long period of time
ktf has quit [(Ping timeout: 255 seconds)]
<TimePath> and so, if it's 2x as slow as it could be, it doesn't really matter
ison111 has quit [(Ping timeout: 240 seconds)]
<TimePath> there's no pressing need to make it faster
<TimePath> most of the time gets spent running other processes anyway
scribbler has quit [(Ping timeout: 252 seconds)]
<Infinisil> Right
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/v5i5H
<NixOS_GitHub> nixpkgs/master bcd382f Eelco Dolstra: tribler: 7.0.0-beta -> 7.0.0-rc2...
NixOS_GitHub has left #nixos []
<TimePath> 2: there's no way to get a single file to give to people to run
<TimePath> again, because it hasn't been needed
<Infinisil> Wait you still talking about type-checking?
<TimePath> that's only a 3 in priority imo :)
<TimePath> actually make that 4
<Infinisil> Ahh
<TimePath> to do anything useful, you'd need a C ffi within nix
<Infinisil> Okay i got it, was a bit confused. But why would you want to use nix for that anyways?
<TimePath> I dunno, just a bit of fun?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FPtje opened pull request #29189: haskellPackages.wai-secure-cookies: Fixed build (master...fix-wai-secure-cookies) https://git.io/v5idf
NixOS_GitHub has left #nixos []
<TimePath> probably easier to borrow the syntax and compile it to some other target language
eacameron has quit [(Ping timeout: 248 seconds)]
ison111 has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
<TimePath> srhb: steam is finally being built
pie_ has quit [(Ping timeout: 240 seconds)]
<TimePath> Turtle? what?
<taktoa> I mostly use Turtle to avoid process
deltasquared has left #nixos ["my internets, no!"]
* TimePath looks up what turtle actually is
<taktoa> `inprocWithErr` is so much nicer than initializing some crazy struct containing every detail anyone would want out of a launched process
<TimePath> ah, turtle as in shell
cfricke has joined #nixos
<taktoa> I didn't spend too much time thinking about that list, it was just a dump of stuff I use commonly off the top of my head
<taktoa> TimePath: I think there's an argument to be made that Nix should be a real language
<taktoa> for instance, imagine if, instead of the tower of babel we have with language specific package managers, they were all nix scripts
<taktoa> so like the Cabal resolver would be a Nix expression
<TimePath> on the other hand I like that we don't duplicate effort, and just shell out to what exists
<aminechikhaoui> Hi all, any idea why the public registration for NixCon <https://registration.nixcon2017.org/> is not available ? when I try to register it shows "No public registration yet."
<taktoa> TimePath: yes, I'm talking about a world in which we could somehow get everyone to adopt Nix and drink the koolaid
<TimePath> everything in nix would be sweet though
<TimePath> ^^
<TimePath> I'd push nix as a requirement on some projects I'm involved on if there was windows support
<taktoa> yeah that's definitely the hardest part. mingw-w64 only takes you so far
<TimePath> if it even works
<TimePath> there was a period where cross compiling broke
<TimePath> but yes, native builds too
<TimePath> nix is in the ideal position to be the ultimate cross compiling toolchain
<taktoa> definitely
<TimePath> I've even though about replacing build systems with nix
vandenoever has quit [(Ping timeout: 248 seconds)]
<taktoa> TimePath: I spent last summer working on that as my job :)
ShalokShalom_ has joined #nixos
<TimePath> and? impedance match?
<taktoa> getting Haskell packages to build incrementally by exploding the GHC module build graph into derivations
<TimePath> mismatch?
LnL has quit [(Quit: exit 1)]
<TimePath> ah, dependency scanning
<taktoa> it was very difficult; I got some stuff working but ultimately came to the conclusion that we need recursive Nix to do this properly
<sphalerite> taktoa: awesome, thanks! I've been writing a little tool and using System.Process.Typed for calling external stuff, do you know how that compares to turtle?
<TimePath> well, I got recursive cmake working, so recursive nix can't be that difficult considering it's more of a real language
freeman42y has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #29190: haskell: fix build of LambdaHack (master...fix-LambdaHack) https://git.io/v5idx
NixOS_GitHub has left #nixos []
<taktoa> TimePath: recursive Nix = run nix-build inside a nix-build sandbox; a patch exists for it but was never merged and has now bitrotten
<taktoa> sphalerite: on the spectrum from DSL to library, seems like typed-process leans closer to the "library" end than turtle
<TimePath> taktoa: recursive cmake = run cmake inside a cmake build with a different toolchain
ShalokShalom has quit [(Ping timeout: 240 seconds)]
<TimePath> a patch exists for multiple toolchains but was never merged and has now bitrotten
<taktoa> rip
<Infinisil> aminechikhaoui: There is only a public registration if less than 150 of the top contributors signed up, they have priority
zarel has joined #nixos
ahawkins has quit [(Quit: Connection closed for inactivity)]
<TimePath> cool stuff not being merged tends to happen if it only benefits a few
freeman42x has quit [(Ping timeout: 240 seconds)]
<TimePath> especially if the alternative is something like "just run it twice from your shell"
Fendor has joined #nixos
<sphalerite> Infinisil: I don't think it would say "no public registration yet" if that were the case
<sphalerite> Infinisil: and there are only 39 participants listed on http://nixcon2017.org/participants.html
<aminechikhaoui> Infinisil: ah I see
<taktoa> TimePath: fwiw I know of at least 3 industrial users of Nix that REALLY want recursive Nix (well, to be precise they really want incremental Haskell builds)
<aminechikhaoui> lame I'm not in the top 150 contributors :D
<aminechikhaoui> next year goal
<sphalerite> aminechikhaoui: someone was asking earlier, apparently opening it was something to do manually
LnL has joined #nixos
<TimePath> taktoa: isn't a more pragmatic solution to generate whatever build file haskell projects use from one defined in nix instead?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aristidb pushed 1 new commit to release-17.09: https://git.io/v5iFm
<NixOS_GitHub> nixpkgs/release-17.09 f6dffbf Aristid Breitkreuz: v8: fix 5.4 build
NixOS_GitHub has left #nixos []
<aminechikhaoui> sphalerite: hm so maybe someone missed to open it up ?
<TimePath> with "some way" to obtain the previous state
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aristidb pushed 1 new commit to master: https://git.io/v5iFO
<NixOS_GitHub> nixpkgs/master 4592a6d Aristid Breitkreuz: v8: fix 5.4 build
NixOS_GitHub has left #nixos []
<sphalerite> aminechikhaoui: or maybe it's not planned to open yet
<sphalerite> aminechikhaoui: it would certainly be nice if they made it clear what time registration opens at :/
freeman42y has quit [(Ping timeout: 240 seconds)]
freeman42x has joined #nixos
<TimePath> actually..
<taktoa> TimePath: no, because then you have to implement the semantics of cabal in Nix
<taktoa> recursive Nix allows you to simply replace GHC with an invocation of nix-build
<TimePath> taktoa: what if we stripped all programs of whatever module system they use, and force the user to specify that within nix, which then handles prepending it to the source files?
<aminechikhaoui> sphalerite: yeap
<taktoa> basically gives Nix the power to safely do ccache-like things
scribbler has joined #nixos
<taktoa> TimePath: then you break all tooling and you don't get incremental builds "for free". this is similar to the Bazel approach.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5iF0
<NixOS_GitHub> nixpkgs/master 72673e6 Jörg Thalheim: arm-frc-linux-gnueabi-binutils: mark as broken
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5iFE
<NixOS_GitHub> nixpkgs/release-17.09 ee1aba6 Jörg Thalheim: arm-frc-linux-gnueabi-binutils: mark as broken...
NixOS_GitHub has left #nixos []
scribbler has quit [(Remote host closed the connection)]
<TimePath> right, how could I forget
<TimePath> fixing all the tools isn't going to happen
<taktoa> implementing that, fixing all the tools, and porting projects over to it is a hell of a lot harder than getting recursive nix merged :P
<TimePath> indeed
oida_ has joined #nixos
reinzelmann has joined #nixos
<TimePath> import scanning it is, then
<taktoa> TimePath: ghc -M doesn't support Template Haskell
scribbler has joined #nixos
scribbler has quit [(Remote host closed the connection)]
<taktoa> and Cabal knows nothing of modules
scribbler has joined #nixos
<taktoa> it just calls ghc --make
scribbler has quit [(Remote host closed the connection)]
<TimePath> I meant if we wanted a pure nix build system
freeman42x has quit [(Quit: Leaving)]
<taktoa> ah, yes
<TimePath> back to previous topic
<TimePath> currently I have some issues with that + cmake + a custom language
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29181: riot-web: 1.12.2 -> 1.12.3 (master...riot-web-1.12.3) https://git.io/v5iQn
NixOS_GitHub has left #nixos []
<taktoa> TimePath: oh, btw, my original intention was to make anything that generates Ninja build incrementally through Nix
oida has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FPtje opened pull request #29191: tests/elk: Fixed failing build on i686. (master...fix-test-elk-i686) https://git.io/v5iF7
NixOS_GitHub has left #nixos []
<taktoa> including CMake builds
MarkusBarthlen has quit [(Remote host closed the connection)]
<taktoa> unfortunately, it turns out that the semantics of Ninja (in particular, depfile) are ill-suited for this purpose
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vanschelven opened pull request #29192: Trying a less disruptive patch for Cuneiform (release-17.09...cuneiform) https://git.io/v5iFd
NixOS_GitHub has left #nixos []
<taktoa> but it would've been cabal2ninja + ninja2nix
<TimePath> I hit this bug: https://cmake.org/Bug/view.php?id=12619
<sphalerite> Jeez, the CUDA toolkit is huge
freeman42x has joined #nixos
<aristid> sphalerite: it contains multiple compilers and an eclipse IDE, i think
<sphalerite> >_> all that just to compile blender with cuda
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #29192: Trying a less disruptive patch for Cuneiform (release-17.09...cuneiform) https://git.io/v5iFd
NixOS_GitHub has left #nixos []
<taktoa> TimePath: although I didn't come out of the project with very much progress towards incremental builds, I did make a nice library for dealing with Ninja in Haskell: https://hackage.haskell.org/package/language-ninja
<TimePath> I think I've seen this before actually :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29191: tests/elk: Fixed failing build on i686. (master...fix-test-elk-i686) https://git.io/v5iF7
NixOS_GitHub has left #nixos []
Isorkin_ has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
__Sander__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5ibL
<NixOS_GitHub> nixpkgs/release-17.09 b31807a Falco Peijnenburg: tests/elk: Fixed failing build on i686....
NixOS_GitHub has left #nixos []
cfricke has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29185: oprofile: 1.1.0 -> 1.2.0 (master...update-oprofile) https://git.io/v5i7l
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to release-17.09: https://git.io/v5iba
<NixOS_GitHub> nixpkgs/release-17.09 7b106c7 Markus Mueller: oprofile: 1.1.0 -> 1.2.0...
<NixOS_GitHub> nixpkgs/release-17.09 ab4a242 Jörg Thalheim: oprofile: fix hardcoded rm/cp paths...
NixOS_GitHub has left #nixos []
Infinisil has quit [(Quit: leaving)]
vandenoever has joined #nixos
Infinisil has joined #nixos
ris has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fadenb opened pull request #29193: radarr: 0.2.0.778 -> 0.2.0.846 (master...rardarr_0.2.0.846) https://git.io/v5ibh
NixOS_GitHub has left #nixos []
<joko> Hello, if I want to add a runtime dependency on a package, shouldn't I use buildInputs?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #29194: haskell: introduce failOnAllWarnings (master...haskell-failOnAllWarnings) https://git.io/v5iNe
NixOS_GitHub has left #nixos []
klaas_ has quit [(Ping timeout: 260 seconds)]
<sphalerite> Has anyone got blender with CUDA-accelerated cycles rendering working on nixos?
<taktoa> TimePath: lol you've gotten me sufficiently fired up about recursive Nix that I'm writing a comment/rant on https://github.com/NixOS/nix/issues/13
__Sander__ has quit [(Ping timeout: 260 seconds)]
<sphalerite> I've got blender supposedly with cuda support using `NIXPKGS_ALLOW_UNFREE=1 nix-shell -p 'blender.override { cudaSupport = true; }'` but it doesn't detect any compute devices. I'm running it with primusrun
zeus_ has joined #nixos
<thblt> Hi! Stupid question: where are attribute names (as opposed to packages names) defined? I've GitHub-searched the nixpkgs repository, yet couldn't find a single reference to poppler_gi, except as a dependency.
<sphalerite> Oh, and it says `CUDA cuInit: Unknown error`
<sphalerite> thblt: top-level ones are in pkgs/top-level/all-packages.nix
python476 has joined #nixos
<thblt> sphalerite: thanks!
zeus_ has quit [(Ping timeout: 264 seconds)]
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5iN2
<NixOS_GitHub> nixpkgs/master 87eafdc Jörg Thalheim: perlPackages.Apache-Test: 1.38 -> 1.40...
NixOS_GitHub has left #nixos []
Acou_Bass has quit [(Ping timeout: 240 seconds)]
reinzelmann has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5iN6
<NixOS_GitHub> nixpkgs/release-17.09 0f9cda0 Jörg Thalheim: perlPackages.Apache-Test: 1.38 -> 1.40...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29155: perl-ApacheTest: mark broken (master...perl-ApacheTest-broken) https://git.io/v56hk
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 240 seconds)]
freeman42x has quit [(Ping timeout: 260 seconds)]
erictapen has joined #nixos
stanibanani1 has joined #nixos
dejanr_home has joined #nixos
dejanr has quit [(Ping timeout: 255 seconds)]
ToxicFrog has quit [(Ping timeout: 248 seconds)]
athan has joined #nixos
oahong has quit [(Ping timeout: 248 seconds)]
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
b has joined #nixos
scribbler has joined #nixos
oida has joined #nixos
oida_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-17.09: https://git.io/v5iAy
<NixOS_GitHub> nixpkgs/release-17.09 c90698c Rob Vermaas: seeks: use gcc5, no upstream patch/version available that builds with gcc6
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29193: radarr: 0.2.0.778 -> 0.2.0.846 (master...rardarr_0.2.0.846) https://git.io/v5ibh
NixOS_GitHub has left #nixos []
scribbler has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5iAF
<NixOS_GitHub> nixpkgs/release-17.09 2b1521b Tristan Helmich: radarr: 0.2.0.778 -> 0.2.0.846...
NixOS_GitHub has left #nixos []
freeman42x has joined #nixos
iyzsong has joined #nixos
<sphalerite> hm, nixos-rebuild build-vm isn't working for me on nixos-unstable
<sphalerite> the resulting VM starts booting, then runs mke2fs (why?) and seems to hang there
<sphalerite> That is, a nixos-unstable VM built with nixos-rebuild from 17.03 won't run
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5ixf
<NixOS_GitHub> nixpkgs/master 003833f hiberno (Christian Lask): rofi-pass: 1.5.0 -> 1.5.1
<NixOS_GitHub> nixpkgs/master 6d3ca5f Jörg Thalheim: Merge pull request #29176 from hiberno/update-rofi-pass...
NixOS_GitHub has left #nixos []
<sphalerite> Any ideas? Has this stuff changed in a way that would make them incompatible?
<sphalerite> copumpkin: I think you might know stuff about this?
jsgrant has quit [(Quit: jsgrant)]
dejanr_home has quit [()]
__Sander__ has joined #nixos
jsgrant has joined #nixos
dejanr has joined #nixos
stanibanani1 has left #nixos []
jsgrant has quit [(Client Quit)]
jsgrant has joined #nixos
Neo-- has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] timor opened pull request #29196: mpich2: 1.4 -> 3.2 (master...mpich2-3.2) https://git.io/v5ixa
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
stanibanani1 has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
stanibanani1 has quit [(Ping timeout: 240 seconds)]
stanibanani1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/v5ipe
<NixOS_GitHub> nixpkgs/master 0d8e157 Sander van der Burg: zsnes: restrict building to x86-based Linux platforms only, znses' core is written in x86 asm code
NixOS_GitHub has left #nixos []
zeus_ has joined #nixos
free_beard has quit [(Remote host closed the connection)]
zeus_ has quit [(Ping timeout: 246 seconds)]
erictapen has quit [(Ping timeout: 252 seconds)]
Isorkin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vanschelven opened pull request #29198: PyBrain: Mark as broken (release-17.09...pybrain) https://git.io/v5ipa
NixOS_GitHub has left #nixos []
<srhb> TimePath: Did it run? :)
<srhb> TimePath: Oh, I see you replied to the PR. Thanks! :-)
mizu_no_oto has joined #nixos
stanibanani1 has quit [(Ping timeout: 252 seconds)]
Infinisil has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-17.09: https://git.io/v5ip7
<NixOS_GitHub> nixpkgs/release-17.09 2ccdac8 Rob Vermaas: shaderc: mark as broken
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to master: https://git.io/v5ip5
<NixOS_GitHub> nixpkgs/master b7ac21f Rob Vermaas: shaderc: mark as broken...
NixOS_GitHub has left #nixos []
<hyper_ch> what package contains the file binary to check the character encoding of a file?
<srhb> hyper_ch: file
<aanderse> because on my system kodi is using mariadb lib, not mysql lib
<aanderse> i would like kodi to use mysql, not mariadb
eacameron has joined #nixos
ktf has joined #nixos
<vandenoever> hyper_ch: file
jensens has joined #nixos
<vandenoever> hyper_ch: file --mime-encoding default.nix
civodul has joined #nixos
jsgrant has quit [(Quit: jsgrant)]
eacameron has quit [(Ping timeout: 255 seconds)]
ktf has quit [(Ping timeout: 255 seconds)]
jensens has quit [(Remote host closed the connection)]
phinxy has joined #nixos
<ben> how much effort is it to compile haskell to statically linked binaries that'll run outside of nixos?
stanibanani1 has joined #nixos
phinxy has left #nixos []
<ben> my naive approach gets me as far as ld complaining about not finding anything in libc
jsgrant has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] moretea opened pull request #29199: mcrl2: Force use of gcc5 to prevent compilation errors (master...mcrl2) https://git.io/v5ihB
NixOS_GitHub has left #nixos []
jsgrant has quit [(Client Quit)]
jsgrant has joined #nixos
<JosW> Amsterdam Meetup how is it going?
athan has quit [(Ping timeout: 252 seconds)]
<JosW> see lots of activity on pr's :)
<disasm> eqyiel[m]: it does not, but you can always do let manual = import /path/to/nixpkgs/doc and then do something with manual.
jensens has joined #nixos
<jluttine> wtf.. i get "The option 'foo.bar' defined in '/path/to/something.nix' does not exist" error, although i only have foo.bar defined for options, not in config. and this error should be raised the other way around, when i define it in config but there's no option definition for it
athan has joined #nixos
<jluttine> what am i misunderstanding
Infinisil has joined #nixos
<jluttine> i have a default defined for it in options, that's why i'm not giving any value in config
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vanschelven opened pull request #29200: python-unicorn: include explicit dependency on python 2 during build (release-17.09...unicorn) https://git.io/v5ijt
NixOS_GitHub has left #nixos []
<makefu> jluttine: you have a code snippet?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #29199: mcrl2: Force use of gcc5 to prevent compilation errors (master...mcrl2) https://git.io/v5ihB
NixOS_GitHub has left #nixos []
jsgrant has quit [(Quit: jsgrant)]
jsgrant has joined #nixos
<silver_hook> How do I make KTP (KDE Telepathy) work? Are there missing deps to the packages or a meta package I’m missing?
stanibanani2 has joined #nixos
stanibanani1 has quit [(Ping timeout: 255 seconds)]
stepcut has joined #nixos
jsgrant has quit [(Client Quit)]
jsgrant has joined #nixos
ShalokShalom_ is now known as ShalokShalom
zeus_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5ijp
<NixOS_GitHub> nixpkgs/master fd1e362 Matthias Beyer: audacity: 2.1.2 -> 2.1.3...
<NixOS_GitHub> nixpkgs/master accb333 Jörg Thalheim: Merge pull request #29179 from matthiasbeyer/update-audacity...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5ijj
<NixOS_GitHub> nixpkgs/master 8f3f64e Jörg Thalheim: python.pkgs.unicorn: disable python3...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-17.09: https://git.io/v5PeJ
<NixOS_GitHub> nixpkgs/release-17.09 eb970de Rob Vermaas: xonsh: use python 3.5
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vanschelven opened pull request #29201: python-simple-hipchat: 0.1.0 => 0.4.0 (master...python-simple-hipchat) https://git.io/v5PeL
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29200: python-unicorn: include explicit dependency on python 2 during build (release-17.09...unicorn) https://git.io/v5ijt
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to release-17.09: https://git.io/v5Pem
<NixOS_GitHub> nixpkgs/release-17.09 27e4249 Matthias Beyer: audacity: 2.1.2 -> 2.1.3...
<NixOS_GitHub> nixpkgs/release-17.09 02dd90a Jörg Thalheim: python.pkgs.unicorn: disable python3...
NixOS_GitHub has left #nixos []
<freeman42x> how is this possible :( ? it error-ed just on installing stack2nix and cabal2nix: https://paste2.org/
zeus_ has quit [(Ping timeout: 246 seconds)]
<freeman42x> I thought Nix can not fail in normal circumstances
ison111 has quit [(Ping timeout: 240 seconds)]
<Infinisil> freeman42x: That is indeed the paste2.org homepage
stanibanani1 has joined #nixos
stanibanani2 has quit [(Ping timeout: 248 seconds)]
<silver_hook> How code installing the package kdesu doesn’t seem to install the kdesu executable?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29201: python-simple-hipchat: 0.1.0 => 0.4.0 (master...python-simple-hipchat) https://git.io/v5PeL
NixOS_GitHub has left #nixos []
tmaekawa has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to release-17.09: https://git.io/v5Pew
<NixOS_GitHub> nixpkgs/release-17.09 f3522ed Klaas van Schelven: python-simple-hipchat: 0.1.0 => 0.4.0...
<NixOS_GitHub> nixpkgs/release-17.09 ee539d6 Jörg Thalheim: python.pkgs.python_simple_hipchat: move out of python-packages...
NixOS_GitHub has left #nixos []
<freeman42x> Infinisil, hahaha, sorry lol
jensens has quit [(Ping timeout: 252 seconds)]
<freeman42x> Infinisil, there you go: https://paste2.org/0AFI4ZX4
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29171: znc: open firewall with configured port (master...znc-open-firewall) https://git.io/v5iiM
NixOS_GitHub has left #nixos []
<freeman42x> silver_hook, there is a separate package for kdesu
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/v5Pe7
<NixOS_GitHub> nixpkgs/master 6e1eedd Sander van der Burg: vice: 2.2 -> 3.1 + fix build procedure
NixOS_GitHub has left #nixos []
<Infinisil> freeman42x: No idea what the problem is, you could try with different channels
<freeman42x> Infinisil, that is the main 17.03 channel though :(
stanibanani2 has joined #nixos
stanibanani1 has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-17.09: https://git.io/v5Peh
<NixOS_GitHub> nixpkgs/release-17.09 2252998 Rob Vermaas: Missing semicolon
NixOS_GitHub has left #nixos []
<stanibanani2> I am trying to add a second entry to grub, but the grub.extraEntries option doesn't work at all for some reason
<stanibanani2> is this a bug?
<freeman42x> stanibanani2, could you share that configuration bit with us? http://nixpaste.lbr.uno/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-17.09: https://git.io/v5PvJ
<NixOS_GitHub> nixpkgs/release-17.09 9ec0e86 Rob Vermaas: Missing self reference
NixOS_GitHub has left #nixos []
<silver_hook> freeman42x: I do have `kdesu` in my configuration.nix – that’s why I wonder
<stanibanani2> i also noticed that the grub.extraFiles options doesn't add any files att all to /boot
<stanibanani2> freeman42x: sure
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aristidb pushed 1 new commit to master: https://git.io/v5PvU
<NixOS_GitHub> nixpkgs/master 3dea197 Aristid Breitkreuz: ispc: use newer version and LLVM 4.0 due to bug in clang++ 3.9 wrapper (see #29204)
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gwitmond opened pull request #29205: Silently ignored networking.nameservers setting #29202 (master...1709-hackathon) https://git.io/v5PvT
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aristidb pushed 1 new commit to release-17.09: https://git.io/v5Pvk
<NixOS_GitHub> nixpkgs/release-17.09 4d40df4 Aristid Breitkreuz: ispc: use newer version and LLVM 4.0 due to bug in clang++ 3.9 wrapper (see #29204)
NixOS_GitHub has left #nixos []
<freeman42x> silver_hook, you have kdesu ah! I think I had this issue that I installed kdesu and it did not contain the actual executable
<stanibanani2> freeman42x: http://nixpaste.lbr.uno/PGlw6rRM?nix
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/7eb1a42de4 (from 21 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5f15a9f53e (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<freeman42x> stanibanani2, I don't see anything obviously wrong with it, maybe someone else could help. Maybe trying some divide-and-conquer on the problem might help, dunno :(
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] roberth opened pull request #29206: NixOS Manual: document assertions and warnings (master...nixos-manual-assertions-warnings) https://git.io/v5Pvq
NixOS_GitHub has left #nixos []
<silver_hook> freeman42x: Any idea how you fixed it or did it just pop up at some point?
scribbler has joined #nixos
<freeman42x> silver_hook, I never fixed it haha. I needed it for changing the properties of a program to start using root - when closing the properties window after changing that it was throwing error that it could not find kdesu
ris has quit [(Ping timeout: 246 seconds)]
<freeman42x> silver_hook, someone noticed that kdesu executable was not even part of the package
HoloIRCUser2 has joined #nixos
<silver_hook> Neat
SuprDewd has joined #nixos
<freeman42x> silver_hook, yeah, got to love how Linux just works (from UX, drivers, etc. POV) in comparison to Windows, right? heh
<silver_hook> Yeah. It’s just sometimes things get odd …but it’s usually a human error.
<silver_hook> ;)
<freeman42x> silver_hook, I installed NixOS with default KDE - kdesu is not there -> PEBKAC
<freeman42x> such a weird morphism
scribbler has quit [(Ping timeout: 252 seconds)]
<silver_hook> freeman42x: Right, I did that as well :) But then installed kdesu and it’s not there so ⇒ not PEBKAC :(
mkoenig has joined #nixos
<freeman42x> silver_hook, it is PEBKAC... but it is not YOUR PEBKAC :) it is the PEBKAC of the guy who broke it
<stanibanani2> freeman42x: turns out I never had grub enabled (grub.enable = true) :S and now that I am scared. How did grub even work all this time?
<freeman42x> stanibanani2, it is best not to question how some things work haha
hotfuzz_ has joined #nixos
<freeman42x> but the good part is that once you figure out how these work, you can just move your configuration to another laptop and press a button then go have fun and when you come back your OS has all the software/drivers etc. installed
<freeman42x> did that from physical machine to NixOS inside VMWare and it worked great
<Infinisil> Does anybody happen to know what's 'the way' to automatically mount devices when they're connected? An udev rule? Because the arch article on udev rules says you shouldn't use mount in an udev rule
<stanibanani2> freeman42x: oh god now grub doesn't even work "Embedding is not possible. GRUB can only be installed in this setup by using blocklists."
hotfuzz has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 2 new commits to master: https://git.io/v5Pvu
<NixOS_GitHub> nixpkgs/master 72b48de Rob Vermaas: Missing semicolon
<NixOS_GitHub> nixpkgs/master 9ca079f Rob Vermaas: Missing self reference
NixOS_GitHub has left #nixos []
<freeman42x> stanibanani2, I had the exact same issue, let's see if I can find the solution for it
nix-gsc-io`bot has joined #nixos
<sphalerite> Infinisil: if it's a specific device, a udev rule that makes udev report the device to systemd combined with an .mount unit should do the trick
<freeman42x> stanibanani2, I needed to partition it this way for it to work: http://i.imgur.com/5nVwxj5.png
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/0f9cda064d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<stanibanani2> freeman42x: oh, but are you on a UEFI or a lagacy BIOS mobot?
<freeman42x> stanibanani2, maybe this was the solution? `Boot USB has to be named NIXOS_ISO to work` or do you have it installed already?
<sphalerite> Infinisil: actually just a mount unit might be enough
<freeman42x> stanibanani2, no idea what I was on
<freeman42x> possibly on drugs - but I don't do drugs haha
<sphalerite> freeman42x: are you sure it's grub you're currently booting with?
<freeman42x> silver_hook, see if this `nix-env -iA nixos.kdeFrameworks.kdesu` gets you kdesu
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 2 new commits to release-17.09: https://git.io/v5Pfq
<NixOS_GitHub> nixpkgs/release-17.09 cfbb20c Sander van der Burg: zsnes: restrict building to x86-based Linux platforms only, znses' core is written in x86 asm code...
<NixOS_GitHub> nixpkgs/release-17.09 3c148e1 Sander van der Burg: vice: 2.2 -> 3.1 + fix build procedure...
NixOS_GitHub has left #nixos []
<stanibanani2> freeman42x: the only way my partition scheme differs from yours is that my boot partition is 600MB instead of 500MB, so my problem is probably caused by something else. But thank for the help any way! :)
<silver_hook> freeman42x: Nope. Still command not found.
M1k3y has joined #nixos
<freeman42x> sphalerite, stanibanani2 yeah, this are my GRUB settings: http://nixpaste.lbr.uno/9Mi_N6Ku?nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-17.09: https://git.io/v5PfW
<NixOS_GitHub> nixpkgs/release-17.09 7f47214 Rob Vermaas: mpich2: use gfortran 5
NixOS_GitHub has left #nixos []
<sphalerite> freeman42x: I mean are you sure that you've been booting with up to now
<sphalerite> since you apparently didn't have grub enabled
<sphalerite> and not systemd-boot
<M1k3y> Hello together. I'm trying to get gitlab to run on my (freshly installed) server. Are there some switches I'm missing to get the integrated webserver to run? Config: https://pastebin.com/irywYcKE
<freeman42x> sphalerite, why are you saying grub is not enabled? `boot.loader.grub.enable = true;` is in the config? what am I not understanding?
<sphalerite> oh wait I misread
<sphalerite> it's stanibanani2 who didn't have grub enabled
<sphalerite> stanibanani2: are you sure you're using grub?
MoreTea has quit [(Ping timeout: 246 seconds)]
<stanibanani2> sphalerite: I am sure that I have not been running grub, until now
<stanibanani2> and am now trying to install grub
griff_ has quit [(Quit: griff_)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to master: https://git.io/v5Pf2
<NixOS_GitHub> nixpkgs/master 2c056b1 Rob Vermaas: mpich2: use gfortran 5...
NixOS_GitHub has left #nixos []
<sphalerite> Do you need a feature from grub? Why not just stick with what you have?
<sphalerite> (which is given the limited information I have probably systemd-boot)
<stanibanani2> sphalerite: I want to add extra entries
<sphalerite> aaah right
mattcode has joined #nixos
<stanibanani2> I don't get this warning though "grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible." I don't even want to a BIOS boot setup, I want UEFI, so why is trying to force BIOS on me? =-O
<sphalerite> boot.loader.grub.efiSupport
<sphalerite> You can add extra entries with systemd-boot too though
<sphalerite> Just stick an extra file in /boot/loader/entries
<stanibanani2> sphalerite: yeah I have enabled efiSupport, it still doesn't listen :(
<sphalerite> (Or wherever your ESP is mounted/loader)
<stanibanani2> sphalerite: really? I tried to add an entry to /boot/loader/entries but didn't work for some reason :/
zeus_ has joined #nixos
<sphalerite> What did you name the file and what did it contain?
<stanibanani2> menuentry "Super Grub2Disk" {
<stanibanani2> chainloader /EFI/super_grub2_disk_x86_64.EFI
<stanibanani2> }
<stanibanani2> something like that
<stanibanani2> and i gave it a randomname with extension .conf
<sphalerite> That's a grub boot entry, not a systemd-boot entry
<stanibanani2> in that case i have been using a version of grub all this time, bc that's what all the other entries looked like
<sphalerite> Copy one of the existing entries and replace "linux path/to/kernel" with "efi path/to/supergrubstuff"
<stanibanani2> strange
<sphalerite> And remove the initrd line
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/2ccdac8c9e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7b83df2338 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/v5PJC
<NixOS_GitHub> nixpkgs/master 345e570 Sander van der Burg: fs-uae: 2.8.0 -> 2.8.3
NixOS_GitHub has left #nixos []
zeus_ has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to release-17.09: https://git.io/v5PJ4
<NixOS_GitHub> nixpkgs/release-17.09 59b18eb Sander van der Burg: fs-uae: 2.8.0 -> 2.8.3...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5PJ0
<NixOS_GitHub> nixpkgs/master 4a810fb Franz Pletz: borgbackup: fix build with python36...
NixOS_GitHub has left #nixos []
<sphalerite> stanibanani2: grub menu entries shouldn't be in /boot/loader…
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
<stanibanani2> sphalerite: then I probably used systemd boot
<sphalerite> then the other entries shouldn't look like that
<stanibanani2> then I was probably wrong about what they looked like
<sphalerite> haha ok
<stanibanani2> they dissapeared when I started installing grub so I couldn't check
<sphalerite> Anyway, if you want to go back to systemd-boot, try putting http://nixpaste.lbr.uno/l2xCeeg2?text in an entry file
MoreTea has joined #nixos
<jluttine> is there some nice way to get an attribute value if it exists and some other value if not. {foo=42}.bar would raise an error but i'd like something like that but so that it works even if bar is not in the attribute set
<sphalerite> jluttine: the "or" keyword
<yorick> jluttine: lib.hasAttr?
<sphalerite> `foo.bar or "not found"` will return foo.bar if foo has bar in it, otherwise "not found"
<jluttine> sphalerite: ok, thanks!
<stanibanani2> sphalerite: ty! I will try to make grub2 work (bc its cool with the background feature as well) but at least I know that there is a backup way of booting
<hyper_ch> what package contains the file binary to check the character encoding of a file?
<M1k3y> someone here used GitLab on nixos before? I just can't get it to work.
jsgrant has quit [(Quit: jsgrant)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/v5PJh
<NixOS_GitHub> nixpkgs/master 631abf8 Sander van der Burg: tomcat: bump versions
NixOS_GitHub has left #nixos []
<tilpner> hyper_ch - Just the "file" binary? The attribute name is... "file"
darlan has joined #nixos
darlan has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to release-17.09: https://git.io/v5PUv
<NixOS_GitHub> nixpkgs/release-17.09 726f45a Sander van der Burg: tomcat: bump versions...
NixOS_GitHub has left #nixos []
<sphalerite> so… I want to use an encrypted key file on my ESP to decrypt my main partitions, rather than having another LUKS-encrypted partition (which is my current setup, and is slow) as the key. Does anyone know of existing facilities for this, or will I have to hack it myself?
mudri has joined #nixos
arximboldi has joined #nixos
scribbler has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/v5PU8
<NixOS_GitHub> nixpkgs/master bf9b88f Sander van der Burg: fs-uae: build on x86 linux only
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to release-17.09: https://git.io/v5PUB
<NixOS_GitHub> nixpkgs/release-17.09 71f0a68 Sander van der Burg: fs-uae: build on x86 linux only...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 4 new commits to release-17.09: https://git.io/v5PU0
<NixOS_GitHub> nixpkgs/release-17.09 6830087 Niklas Hambüchen: glusterfs service: Ensure dirs needed by `glusterfind` exist...
<NixOS_GitHub> nixpkgs/release-17.09 49da03d Niklas Hambüchen: glusterfs: Fix wrong xattr package: xattr -> pyxattr....
<NixOS_GitHub> nixpkgs/release-17.09 f0a12b8 Niklas Hambüchen: glusterfs: Patch upstream bug preventing glusterfind from running....
NixOS_GitHub has left #nixos []
scribbler has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markus2342 opened pull request #29207: desmume: fix build with gcc6 by adding debian patch (master...fix-desmume-gcc6) https://git.io/v5PUw
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
<clever> sphalerite: hmmm, i dont think /boot is mounted by the initrd until after it mounts /
<sphalerite> oh right
<sphalerite> I'll stick it in the initrd then
<sphalerite> whatever really
<clever> sphalerite: so you need to either embed it into the initrd (which also puts it in the store), or add some custom commands to mount ESP, read, umount
<sphalerite> yeah I don't mind it being in the store since it's encrypted
mudri has quit [(Ping timeout: 248 seconds)]
<clever> it also means any non-root user can read it, while the machine is on
Itkovian has joined #nixos
<Infinisil> Umm, is the fileSystem option not being merged? I want to add some attributes to the autogenerated hardware-configuration.nix, but it says that the device is not specified
<clever> Infinisil: can you gist both files?
<Infinisil> Ohh never mind
<clever> trailing / ?
<Infinisil> gisting it made me realize that i didn't include the auto-generated one
<clever> ah
eacameron has quit [(Ping timeout: 260 seconds)]
cfricke has joined #nixos
cfricke has quit [(Client Quit)]
<sphalerite> clever: yes but it's encrypted so I'm fine with that
<timor> viric: are you there?
<clever> sphalerite: only issue is if you ever let somebody get a shell, and things like nix-serve
<sphalerite> clever: I trust my passphrase :p the only reason I have a key file is so that I don't have to retype the passphrase twice (once for the root pool, once for swap)
<clever> i use lvm to fix that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v5PTT
<NixOS_GitHub> nixpkgs/master b310053 Daiderd Jordan: fox-1.6: add missing frameworks
NixOS_GitHub has left #nixos []
<clever> luks -> lvm -> (root + swap)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] akamaus opened pull request #29209: tensorflow for python3.6 (release-17.09...tf-17.09) https://git.io/v5PTI
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/v5PTm
<NixOS_GitHub> nixpkgs/release-17.09 4e1bc40 Daiderd Jordan: fox-1.6: add missing frameworks...
NixOS_GitHub has left #nixos []
<sphalerite> clever: yeah, but I didn't want the extra layer and I can't really implement that after the fact :p
<sphalerite> actually since I trust my passphrase I could also just modify the stage-1 script to read the passphrase and pass it into cryptsetup from there
iyzsong has quit [(Ping timeout: 252 seconds)]
<Infinisil> sphalerite: Ohh, it's actually quite slow for me too, am too decrypting key luks partition first, then the main partitions with that key
<sphalerite> yeah, I'm pretty sure it's because of the key luks partition setup
<Infinisil> But why would that be so slow?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aristidb pushed 1 new commit to master: https://git.io/v5PTB
<NixOS_GitHub> nixpkgs/master 628578f Aristid Breitkreuz: v8: fix v3 builds by switching to GCC 5 (mksnapshot segfaults with GCC 6)
NixOS_GitHub has left #nixos []
<sphalerite> because it's deriving a key from 1MB of data rather than 50
<sphalerite> that's my guess anyway
<Infinisil> I personally use a 1MB partitin filled with random data as the key, and if luks doesn't limit this, it's used as the full key
<sphalerite> 50 bytes*
* Infinisil looks for an option to limit the key size
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4d40df403b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<sphalerite> Infinisil: it doesn't use that key for disk decryption/encryption
<sphalerite> but for decrypting the key that decrypts the disk contents :p
<sphalerite> (which is done in order to allow adding/removing keys from the luks container)
<clever> so the performance penalty is only when unlocking
<sphalerite> yeah
<sphalerite> but it does take several seconds from me having typed the passphrase to booting
zarel has quit [(Quit: Leaving)]
<clever> but in theory, if somebody was to image your entire drive, and then obtain your password at any point in the future, they can decrypt the luks header in that image
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aristidb pushed 1 new commit to release-17.09: https://git.io/v5PTg
<NixOS_GitHub> nixpkgs/release-17.09 302b5af Aristid Breitkreuz: v8: fix v3 builds by switching to GCC 5 (mksnapshot segfaults with GCC 6)
NixOS_GitHub has left #nixos []
<clever> and even if you have since changed the luks passphrase, the master key is the same, and they can read any current files, if they re-image your drive
<sphalerite> although I should probably check that that's really the cause of the slowness
<sphalerite> time for some set -x goodness
gcharnock has joined #nixos
<sphalerite> aah no I can't because then my music will stop D:
<sphalerite> maybe I should set up a VM to test the performance so I can keep listening to music
<Infinisil> I have my music running on a server, streaming via http -> Can listen to it on any device :D
<sphalerite> still have to interrupt it to switch
<sphalerite> I have my music synced to my phone via syncthing. Less fancy, but it works offline too :p
<Infinisil> Would that work on an iPHone too?
<Infinisil> Never mind, I'll google
silver_hook has quit [(Quit: Konversation terminated!)]
<sphalerite> never mind, I don't need to do anything with a VM
<sphalerite> I can just make a file as a luks container and try decrypting it with my existing key partition
<Infinisil> (syncthing doesn't work for iOS)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markus2342 opened pull request #29210: dmenu-wayland: git-2014-11-02 -> git-2017-04-07 fix build (master...fix-dmenu-wayland-build) https://git.io/v5PT5
NixOS_GitHub has left #nixos []
<sphalerite> yep, takes about 3 seconds
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v5PTN
<NixOS_GitHub> nixpkgs/master 92163ec Daiderd Jordan: glslviewer: fix darwin build
NixOS_GitHub has left #nixos []
<Infinisil> Why would it take that long though
<sphalerite> actually it takes 3 seconds with the passphrase "hello" too :(
<sphalerite> key derivation
<Infinisil> what's that?
martinb has joined #nixos
<Infinisil> derive the key from the passphrase?
<clever> turning the ascii string into a key that is used to decrypt the luks header
HoloIRCUser2 has quit [(Ping timeout: 248 seconds)]
<sphalerite> yeah
<sphalerite> it's intentionally slow
<clever> the slower it is, the longer it will take to brute-force the passphrase
<clever> and its a one-time cost (per boot) for the end-user
<Infinisil> but 3 seconds on a nGHz machine?
<Infinisil> Seems a bit excessive
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
sellout-1 has quit [(Ping timeout: 240 seconds)]
<sphalerite> Infinisil: it's a reasonable amount of time for the person who knows the passphrase to wait once per boot
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/v5Pkv
<NixOS_GitHub> nixpkgs/release-17.09 07602a9 Daiderd Jordan: glslviewer: fix darwin build...
NixOS_GitHub has left #nixos []
<sphalerite> it's an unreasonable time for an attacker to wait 1 billion times
<Infinisil> But on the other hand, if you were to be able to crack it by bruteforcing, it wouldn't matter much if it was 1 seconds or 3
<tilpner> It appears you can set the number of iterations, so you have precise control over the security/speed tradeoff
<sphalerite> tilpner: oh sweet, I knew that but not that it can be done while adding a key
<sphalerite> so if I remove the key and re-add it with fewer iterations my boot will be faster
<Infinisil> Ohh, just saw this: --iter-time option on luksFormat
<sphalerite> of course, the slowest part is still me typing the passphrase xD
<sphalerite> Also. Startup finished in 20.630s (firmware) + 9.548s (loader) + 15.396s (kernel) + 3.457s (userspace) = 49.031s
<sphalerite> I am disappointed in Dell's firmware
<tilpner> sphalerite - What's the advantage of having the key partition over just a passphrase?
<sphalerite> tilpner: because I have two partitions encrypted with the same key and don't want ot type the passphrase twice
freeman42x[nix] has joined #nixos
<tilpner> Oh, okay
<sphalerite> tilpner: also, the nvidia solution isn't reliable :(
<sphalerite> s/solution/workaround/
<tilpner> Oh no, what happened?
<tilpner> It's been working okay here. Doesn't turn off reliably, if that's what you mean
Sonarpulse has quit [(Ping timeout: 240 seconds)]
<sphalerite> When I start a second X server it's not starting the systemd unit and as such doesn't run the power on script
<sphalerite> so what's really needed is a wrapper for the X server
<sphalerite> actually no, what's really needed is a fix for the bug
<tilpner> Did Nvidia support respond back yet?
<Infinisil> What's the go-to solution on NixOS for mounting disks automatically when they're connected?
<clever> sphalerite: another idea i just had, modify the luks code within nixos, to go one of 2 new routes
<Infinisil> I have 3 USB disks I want mounted to /foo /bar and /baz when they're plugged it
<Infinisil> in*
<clever> sphalerite: route 1: tell the name of each passphrase, and allow putting the same name on 2 devices
<tilpner> And why are you starting a second X server? Of course it doesn't run the poweron if you don't use the display-manager unit
<clever> sphalerite: then bash can read one passphrase, and feed it to cryptsetup twice
<sphalerite> clever: yeah, I mentioned that idea earlier but it's not useful as I just discovered
<sphalerite> it still takes 3s with a passphrase rather than the partition
<clever> sphalerite: route 2, modify it to just blindly use the passphrase on all configured luks devices, and to keep asking for passphrases in a loop until everything is unlocked
<clever> ahh
<clever> i see, just doing the cryptopen for 2 devices is costly
<sphalerite> so the only real workaround is to use fewer key iterations
<sphalerite> and I might as well stick to the keypartition setup
<sphalerite> Infinisil: did you read my messages earlier?
<Infinisil> sphalerite: Hold on, checking
<sphalerite> tilpner: no, nothing from then
<sphalerite> them*
<Infinisil> sphalerite: Ah found it, hmm
<sphalerite> tilpner: and I start a second X server through my display manager — because I have a separate user for all my important stuff and for proprietary software I don't trust
<sphalerite> it's the functionality you access through "switch user" in KDE and GNOME
<sphalerite> so nothing really unusual
<Infinisil> sphalerite: I'll have a look into man systemd.mount
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] FPtje opened pull request #1566: scripts/nix-copy-closure.in: Automatically flush STDERR handle (1.11-maintenance...1.11-maintenance) https://git.io/v5PIO
NixOS_GitHub has left #nixos []
eacameron has quit [(Ping timeout: 246 seconds)]
ktf has joined #nixos
scribbler has joined #nixos
<freeman42x> any ideas why this is depending on future nix thingie? https://i.imgur.com/36RegnR.png
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to 1.11-maintenance: https://git.io/v5PIz
<NixOS_GitHub> nix/1.11-maintenance b3ad7c5 Falco Peijnenburg: scripts/nix-copy-closure.in: Automatically flush STDERR handle...
<NixOS_GitHub> nix/1.11-maintenance f217acd Eelco Dolstra: Merge pull request #1566 from FPtje/1.11-maintenance...
NixOS_GitHub has left #nixos []
<Infinisil> Maybe, just maybe, it's really simple
<freeman42x> Infinisil, I did something stupid again didn't I?
<tilpner> freeman42x - How did you install it? 18.03 is just the name for the next release, so current unstable would be called like that too
<Infinisil> freeman42x: Ohh, didn't even see your message sry :P, was talking about the thing I'm doing, your name has the same coloring as the bots
<freeman42x> tilpner, Infinisil I just added `stack2nix` to the main configuration file and run `nixos-rebuild switch`
<tilpner> freeman42x - And what channel are you on?
<freeman42x> my .nix-channels is empty
<tilpner> Okay, what nixpkgs are you on?
<freeman42x> the one in /root/ I mean and I am running the command as root
<freeman42x> tilpner, how can I tell that? :)
scribbler has quit [(Ping timeout: 240 seconds)]
<tilpner> There's no universal way to tell that. Usually looking at your channels would do it, but you seem to have destroyed those
<Infinisil> (rebooting)
Infinisil has quit [(Remote host closed the connection)]
<tilpner> What's your NIX_PATH then?
<freeman42x> tilpner, nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels$
<tilpner> ... It's still set up to use channels. Are you sure you're not using them anymore?
<freeman42x> tilpner, how can I tell?
<freeman42x> tilpner, I did run nix-channels --update
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fadenb opened pull request #29211: graylogPlugins: update existing and add new plugins (master...graylog_plugins) https://git.io/v5PLZ
NixOS_GitHub has left #nixos []
<tilpner> And what did that output?
<tilpner> Or, what does nix-channel --list output?
<freeman42x> tilpner, I don't recall
<freeman42x> listing them returns empty
mudri has joined #nixos
<tilpner> Just to be sure, cat $USER/.nix-channels ?
<freeman42x> running update prints: `unpacking channels...`
<freeman42x> tilpner, I checked, the file is empty
<freeman42x> that just prints nothing
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 48 new commits to release-17.09: https://git.io/v5PLu
<NixOS_GitHub> nixpkgs/release-17.09 dd978b3 Kamil Chmielewski: yEd: 3.17 -> 3.17.1...
<NixOS_GitHub> nixpkgs/release-17.09 586d902 AndersonTorres: mcomix: fixup...
<NixOS_GitHub> nixpkgs/release-17.09 9d7ee2e Andraz Brodnik: Add gosu...
NixOS_GitHub has left #nixos []
<tilpner> Ugh. Output ot nixos-version then?
<tilpner> *of
<freeman42x> tilpner, yep! you found the problem: 18.03pre114421.799435b7ca (Impala)
<freeman42x> that probably happened when I made the unstable mistake..
<freeman42x> can nix be downgraded using nix? haha
<freeman42x> nixos I mean heh
<tilpner> That took entirely too long. It's weird that you don't know what channel you're on, when you're on unstable
jellowj has joined #nixos
<freeman42x> `It's weird that you don't know what channel you're on, when you're on unstable`
<tilpner> You should try to figure out/fix your channels setup, if you ever want to upgrade them
<freeman42x> because I was on unstable but then I removed the channel from the file
<freeman42x> I didn't knew it upgraded the nixos itself
<freeman42x> tilpner, I have no channels set up - I don't understand
<freeman42x> I just need to somehow tell nix to not use that higher os version
<tilpner> NixOS needs nixpkgs to function. You need to somehow specify what version nixpkgs to use. You don't have to use channels for that, it's just the default solutions
<tilpner> *what version of
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #29212: prometheus-collectd-exporter service: init module (master...prometheus-collectd) https://git.io/v5PLo
NixOS_GitHub has left #nixos []
<ambro718> How does one use nix-shell to get a C++ compiler in path?
<tilpner> You could just re-add the nixos channel with a lower version, then rebuild
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v5PLK
<NixOS_GitHub> nixpkgs/master 259e73d Daiderd Jordan: perl-moose: fix darwin build
NixOS_GitHub has left #nixos []
<tilpner> ambro718 - nix-shell -p gcc
<freeman42x> tilpner, in the .nix-channels?
<ambro718> thanks
<tilpner> freeman42x - You don't need to edit that file manually, you can use the nix-channel command
<freeman42x> tilpner, yes, I know I don't need to edit it manually but it is easier to do that some times
Acou_Bass has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/v5PLX
<NixOS_GitHub> nixpkgs/release-17.09 3307386 Daiderd Jordan: perl-moose: fix darwin build...
NixOS_GitHub has left #nixos []
<tilpner> So probably something like nix-channel --add https://nixos.org/channels/nixos-17.09 nixos
<freeman42x> is 17.09 stable?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/cf9c0199dc (from 77 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<tilpner> I'm not sure, actually. It's not "unstable" anymore, as you saw, and I haven't had any problems with it (not more than with 17.03), but the ISOs are still for 17.03
nix-gsc-io`bot has quit [(Client Quit)]
<tilpner> You can just use 17.03 instead of 17.09, if you want to
<freeman42x> tilpner, I see, thank you for your help :) I hope this works
zarel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fadenb opened pull request #29213: pythonPackages.phonenumbers: 8.8.0 -> 8.8.1 (master...pythonPackages.phonenumbers_8.8.1) https://git.io/v5PLN
NixOS_GitHub has left #nixos []
<freeman42x> tilpner, I'll trust them since it was not marked unstable anymore :)
<joepie91> obligatory note that support for non-latest versions is generally non-existent, and usually only the latest stable gets eg. security updates
<joepie91> 17.03 seems to still get hydra builds though
<tilpner> joepie91 - So is 17.09 stable or not?
<joepie91> no clue, to be honest
<tilpner> joepie91 - And if it is, why does the download page still advertise 17.03
<joepie91> I just see it having a channel
<joepie91> it has a release- channel which suggests that it's been promoted to stable
<tilpner> Yeah, I considered that stable for my purposes, but when freeman42x asked if it was stable... I couldn't source that
<joepie91> oh
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 3 new commits to master: https://git.io/v5Pte
<NixOS_GitHub> nixpkgs/master 1ab2b06 Tim Steinbach: linux: 4.9.48 -> 4.9.49
<NixOS_GitHub> nixpkgs/master 9c723d4 Tim Steinbach: linux: 4.12.11 -> 4.12.12
<NixOS_GitHub> nixpkgs/master 80486ba Tim Steinbach: linux: 4.13 -> 4.13.1
NixOS_GitHub has left #nixos []
<joepie91> official release is sept 28
<tilpner> freeman42x - ^
<joepie91> tilpner: okay, this clarifies the timeline: https://groups.google.com/forum/#!topic/nix-devel/vILGXXbeCPg
<joepie91> Timeline:
<joepie91> - 2017-08-30: branch off release-17.09 branch
<joepie91> - 2017-09-28: release 17.09
stanibanani2 has quit [(Ping timeout: 240 seconds)]
<joepie91> so yeah, 17.03 is still latest stable
<freeman42x> I see thank you, I offer myself as guinea pig for testing it until it is released :p
<joepie91> 17.09 is just getting prepared for a stable release :)
<joepie91> presumably that'll at least mean a feature freeze
ik has joined #nixos
stanibanani1 has joined #nixos
<tilpner> Thanks for the link
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] timor opened pull request #29214: ParaView: 4.0.1 -> 5.4.0 (master...paraview-5.4.0) https://git.io/v5PtO
NixOS_GitHub has left #nixos []
Arcaelyx has joined #nixos
Infinisil has joined #nixos
<Infinisil> Ugh, why does this take hours to figure out
<Infinisil> I still don't have any USB's automatically ounted
<Infinisil> I set fileSystems."/foo".options = [ "nofail" ]; which creates foo.mount at boot time, but it fails to succeed
ik has quit [(Remote host closed the connection)]
griff_ has joined #nixos
<Infinisil> Command that gets run is mount /dev/disk/by-uuid/... /foo -t vfat -o x-systemd.mount-timeout=infinity,retry=10000
<Infinisil> Which fails with "wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error." which isn't very helpful
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/v5Ptj
<NixOS_GitHub> nixpkgs/master 397fc0d Sander van der Burg: fast-cli: fix build
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to release-17.09: https://git.io/v5Pqv
<NixOS_GitHub> nixpkgs/release-17.09 471bea8 Sander van der Burg: fast-cli: fix build...
NixOS_GitHub has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ToxicFrog has joined #nixos
Myrl-saki has quit [(Ping timeout: 240 seconds)]
__Sander__ has quit [(Quit: Konversation terminated!)]
<freeman42x> I need to create a github issue for this, since stack2nix fails on 17.08beta also
<freeman42x> is there an easy way to check whether a nix configuration/build has been fixed in another channel?
<tilpner> Trying the other channels or looking at GH issues/PRs
<tilpner> Note that you don't have to switch your entire system to try a package from another channel
<freeman42x> is there no place where I could see if the package is built ok on other channels?
<freeman42x> tilpner, ah yeah, but I forgot how to do that
<freeman42x> can I try it in nix-shell?
<tilpner> You can try to navigate Hydra, but it can be quite confusing
<freeman42x> does Hydra build all packages part of a channel?
<tilpner> No
MoreTea has quit [(Ping timeout: 240 seconds)]
<tilpner> If you don't want to setup other channels locally (just try them out quickly), you can use e.g. nix-shell -I nixpkgs=https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz -p stack2nix
<freeman42x> tilpner, the nix-shell will remove the package on gc?
<tilpner> Yes, the second one with nix-env will not
<freeman42x> tilpner, I see, cheers!
<tilpner> freeman42x - FWIW, stack2nix did not compile on unstable for me
Troupal has joined #nixos
<freeman42x> tilpner, https://paste2.org/0AFI4ZX4
<freeman42x> looking at the error... I can't find any glob package on 17.08
Infinisil has quit [(Quit: Lost terminal)]
<freeman42x> there is a glob2 package though
<freeman42x> *17.09
mudri has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] AndersonTorres opened pull request #29215: jupp: init at 3.1 (master...upload/jupp) https://git.io/v5Pmt
NixOS_GitHub has left #nixos []
endformationage has joined #nixos
ktf has quit [(Ping timeout: 240 seconds)]
ison111 has joined #nixos
mudri has joined #nixos
jb55 has joined #nixos
k2s has joined #nixos
orivej has quit [(Ping timeout: 252 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/8d5fc1beda (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
k2s has quit [(Quit: Leaving)]
gcharnock has quit [(Quit: Page closed)]
Sonarpulse has joined #nixos
Radivarig has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/07602a9176 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #29216: linux_custom: Allow custom modDirVersion (master...kernel_custom_moddir) https://git.io/v5PY8
NixOS_GitHub has left #nixos []
<Radivarig> I'm trying to nixos-install from current official iso, both minimal an graphical gives me the same error: "cannot copy /nix/store/..-nixos-artwork-2015-02-27/share/artwork/gnome/Gnome_Dark.png to /boot", there is an issue from June 14th that is closed https://github.com/NixOS/nixpkgs/issues/26565. Any suggestions?
Infinisil has joined #nixos
zraexy has quit [(Remote host closed the connection)]
stanibanani1 has quit [(Ping timeout: 248 seconds)]
zraexy has joined #nixos
<Infinisil> So, turns out you can add the x-systemd.automount option to a mount, then when the specific directory is accessed, it's automatically mounted
<tilpner> Radivarig - You have multiple choices: Try not to hit the path that requires the Gnome_Dark.png, by setting boot.loader.grub.splashImage to something else, or use a newer version of nixpkgs where this is fixed
<Infinisil> boot.loader.splashImage = null disables the image and makes it text only
<tilpner> Radivarig - If you instead wanted to try to install the not-quite-released-yet 17.09, you can add "-I nixpkgs=https://nixos.org/channels/nixos-17.09" to your nixos-install invocation
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2b1521bfc7 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
<Radivarig> Infinisil, tilpner, thank you, trying that atm
<tilpner> (Though we probably would have to fix your channels afterwards. Maybe they get copied over, so we should set them before installing?)
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
Infinisil has quit [(Quit: Lost terminal)]
stanibanani1 has joined #nixos
reinzelmann has joined #nixos
Infinisil has joined #nixos
eacameron has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
stanibanani1 has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
<clever> Infinisil: systemd-automount breaks a number of things for me
scribbler has joined #nixos
<clever> Infinisil: i often leave a shell cd'd into a nfs mount for hours, and then when i try to run anything nix in that directory, it hard fails
<clever> Infinisil: because systemd un-mounted the directory from under me
<Infinisil> clever: Have you tried TimeoutIdleSec?
<Infinisil> Oh, it's disabled by default, so that shouldn't be a problem
freeman42x[nix] has quit [(Ping timeout: 260 seconds)]
scribbler has quit [(Ping timeout: 255 seconds)]
nwuensche has joined #nixos
phreedom has quit [(Ping timeout: 248 seconds)]
<Infinisil> It works perfectly for me though, using it for /boot on usb sticks, only need to be mounted for rebuilds
<nwuensche> Hi! So I want to add a file to cron, and I used services.cron.cronFiles = [ "cron-file" ]; However, when I build, I get the error : cat: cron-file: Permission denied. I chmod 0777'ed the file, but I still get the error
<tilpner> nwuensche - "cron-file" isn't a path as far as Nix is concerned
<tilpner> (Where does cron-file live?)
<nwuensche> tilpner: I just replaced it. It would be /home/nwuensche/cronjobs for me
<tilpner> And that still doesn't work?
<tilpner> Oh, misread that
<Infinisil> nwuensche: So you have [ "${home/nwuensche/cronjobs/cron-file}" ] there?
<tilpner> What happens with [ /home/nwuensche/cronjobs ]?
<tilpner> (Assuming cronjobs is a file)
<nwuensche> Infinisil: I tried it without [ "/home/nwuensche/cronjobs"]
<nwuensche> Sorry, I meant with, of course
<Infinisil> phew, was very confused for a second there
<Infinisil> Yeah that probably doesn't work because the file wants to be read by the nix build user, which is in a sandbox and everything
<Infinisil> By using "${path}" it imports the file during the evaluation phase into the nix store and it should be accessible
<tilpner> Infinisil - Wouldn't leaving off the quotes do that too?
<clever> Infinisil: ah, for /boot on usb that sounds like less of an issue
<Infinisil> tilpner: Importing into the store automatically only happens when it's in string interpolation
<Infinisil> Otherwise it's just a path value
<nwuensche> Infinisil, tilpner: I use the version without quotes now. Thank you! However, when I crontab -l, it still says that there is no crontab
<tilpner> Oh, so all the times it imported a path value was just coincidencental, doing string interpolation somewhere down the path?
<Infinisil> Oh, so [ /home/nwuensche/cronjobs ] works? I'm gonna have to check the source if it's done intentionally
<Infinisil> tilpner: Since it worked without that for nwuensche I'm not so sure anymore
<tilpner> Let's check the manual!
<Infinisil> Am on it :D
mudri has quit [(Ping timeout: 248 seconds)]
<nwuensche> Could there be a problem with the syntax that causes crontab not to work?
<tilpner> Infinisil - Maybe it's just any non-store path that ends up in derivations environment?
mudri has joined #nixos
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<tilpner> "A path (e.g., ../foo/sources.tar) causes the referenced file to be copied to the store; its location in the store is put in the environment variable. The idea is that all sources should reside in the Nix store, since all inputs to a derivation should reside in the Nix store."
magnetophon has joined #nixos
orivej has joined #nixos
<Infinisil> tilpner: Maybe
<Infinisil> tilpner: But, look at this: In a nix-repl: `./test` vs `"${./test}"`
stanibanani1 has joined #nixos
<tilpner> Yes, that supports your theory, but I couldn't find it in the manual
scribbler has joined #nixos
<Infinisil> Yeah, I'm investigating a bit more
odi has joined #nixos
<tilpner> Infinisil - "Previously, Nix optimised expressions such as "${expr}" to expr. Thus it neither checked whether expr could be coerced to a string, nor applied such coercions. This meant that "${123}" evaluatued to 123, and "${./foo}" evaluated to ./foo (even though "${./foo} " evaluates to "/nix/store/hash-foo "). Nix now checks the type of antiquoted expressions and applies coercions." -- 1.6.1 notes
Radivarig has quit [(Ping timeout: 246 seconds)]
* tilpner ironically fails at escaping a quote about antiquotation
<Infinisil> Heh
<Infinisil> So, this means "${./foo}" and ./foo are indeed different?
stanibanani1 has left #nixos []
<Infinisil> Am a bit confused now
<tilpner> Yes, it seems like it. We kind of forgot nwuensche here...
jellowj has quit [(Ping timeout: 248 seconds)]
<Infinisil> Oh right :P, but I don't know much about cron stuff, I have always used systemd timers instead
<Infinisil> Oh and I just found out, cronFiles is indeed passed as a derivation attribute
hc has quit [(Read error: Connection reset by peer)]
<tilpner> Infinisil - Then again, if there is no difference between "/path" and /path, why did ["/home/nwuensche/cronjobs"] not work and [ /home/nwuensche/cronjobs ] work?
hc has joined #nixos
jellowj has joined #nixos
stanibanani2 has joined #nixos
stanibanani2 has left #nixos []
<tilpner> nwuensche - Please try Infinisils suggestion
<Infinisil> tilpner: Pretty sure that's because of the sandbox, "/home/nwuensche/cronjobs" doesn't exist there
<tilpner> But /home/nwuensche/cronjobs doesn't exist there either
<Infinisil> and since /home/nwuesche/cronjobs is a path, and this is passed as an attribute to the derivation, it gets imported into the store, I think (by the thing you quoted)
Radivarig has joined #nixos
<nwuensche> Infinisil: I will try systemd timers :)
eacameron has joined #nixos
Radivarig_ has joined #nixos
<tilpner> Infinisil - Huh, that's true if /path is a path and "/path" is a string. Which I wasn't sure about, given that the path type in Nix is just any string that begins with /
<tilpner> Or that's what I thought...
griff_ has quit [(Quit: griff_)]
magnetophon has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<Infinisil> tilpner: Ah, that's the nixos module system though
odi has quit [(Ping timeout: 240 seconds)]
<tilpner> Yes, I was confusing the nixpkgs and Nix terms "path"
JosW has quit [(Quit: Konversation terminated!)]
magnetophon has joined #nixos
<Infinisil> Understandable
<Radivarig_> Infinisil, tilpner, I've managed to install finally. Setting splashImage to null worked, but then I've hit what I think is this issue https://github.com/NixOS/nixpkgs/issues/23926, so I extended efi boot from 512 to 1gb and it worked. Thanks :)
stanibanani1 has joined #nixos
<Infinisil> Radivarig_: Nice :D
<tilpner> My /boot is 512M and never filled up
Radivarig has quit [(Ping timeout: 252 seconds)]
<Infinisil> My /boot was 200MB and did fill up
<tilpner> Unless your omission of "MB"/"M" was correct, and you were talking about KB or B
takle has joined #nixos
python476 has quit [(Ping timeout: 248 seconds)]
<Infinisil> tilpner: 200KB? I'm pretty sure it was MB, why do you think otherwise?
<Radivarig_> 512MB or 500MiB
<Infinisil> Ah
<tilpner> Yes, I was talking about Radivarigs statement
kuznero has joined #nixos
kuznero has left #nixos []
<tilpner> But I'm using systemd-boot, which is apparently much smaller
kuznero has joined #nixos
kuznero has quit [(Client Quit)]
kuznero has joined #nixos
<Infinisil> tilpner: Could you have a look how full /boot is for you? e.g. with `df`
<tilpner> /dev/sda1 510984 67272 443712 14% /boot
<tilpner> Or /dev/sda1 500M 66M 434M 14% /boot for humans
<tilpner> And that's a few generations
<freeman42x> since stack2nix is broken on any channel... is there anything like stack2cabal? haha
nwuensche has quit [(Ping timeout: 260 seconds)]
<freeman42x> then I can go stack2cabal -> cabal2nix -> nix build haha
<tilpner> domenkozar - ^?
takle has quit [(Ping timeout: 240 seconds)]
reinzelmann has quit [(Ping timeout: 246 seconds)]
<tilpner> (Sorry, should've checked away time before ping)
<tilpner> Infinisil - Now that I think about it, wouldn't the grub overhead be constant?
* tilpner was probably talking nonsense
Radivarig_ has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #29194: haskell: introduce failOnAllWarnings (master...haskell-failOnAllWarnings) https://git.io/v5iNe
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/v5PGP
<NixOS_GitHub> nixpkgs/master 09bdd62 Bas van Dijk: haskell: fix build of LambdaHack
<NixOS_GitHub> nixpkgs/master 7cd5ff6 Peter Simons: Merge pull request #29190 from LumiGuide/fix-LambdaHack...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/v5PG1
<NixOS_GitHub> nixpkgs/master 40b1516 Bas van Dijk: haskell: fix grakn-0.2.0
<NixOS_GitHub> nixpkgs/master 2b7fac2 Peter Simons: Merge pull request #29183 from LumiGuide/fix-grakn...
NixOS_GitHub has left #nixos []
mudri has quit [(Ping timeout: 248 seconds)]
nwuensche has joined #nixos
<tilpner> Infinisil - tx0.co/Aa2Z
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #29186: haskellPackages.hol: Fixed build (master...fix-hol) https://git.io/v5i7Q
NixOS_GitHub has left #nixos []
stanibanani1 has quit [(Ping timeout: 240 seconds)]
<nwuensche> Infinisil: So I tried this, but the timer doesn't show up in systemctl list-timers --all: systemd.timers.lowbatterytimer.timerConfig = {
<nwuensche> OnBootSec="0h";
<nwuensche> OnUnitInactiveSec="5min";
<nwuensche> };
<nwuensche> systemd.services.lowbatterytimer = {
<nwuensche> serviceConfig = {
<nwuensche> Type = "oneshot";
<nwuensche> ExecStart = "/run/wrappers/bin/lowbattery";
<nwuensche> #ExecStart = "/run/current-system/sw/bin/echo 400 > /sys/class/backlight/intel_backlight/brightness";
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/v5PGS
<NixOS_GitHub> nixpkgs/master a759faf Bas van Dijk: haskell: fix build of hw-xml
<NixOS_GitHub> nixpkgs/master dc9c2c7 Peter Simons: Merge pull request #29188 from LumiGuide/fix-hw-xml...
NixOS_GitHub has left #nixos []
<nwuensche> };
<nwuensche> enable = true;
<nwuensche> };
<tilpner> nwuensche - Paste with gist.githib.com next time
<nwuensche> I wanted to, but I was in the wrong window...
<tilpner> (Get an IRC client that warns you when trying to paste more than one line)
nckx has quit [(Quit: Restarting my GuixSD server — https://gnu.org/s/guix)]
zarel has quit [(Quit: Leaving)]
MasterKermitEdq has joined #nixos
python476 has joined #nixos
<Infinisil> nwuensche: https://git.io/v5PGj
<Infinisil> Minimal timer ^^
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/v5PZv
<NixOS_GitHub> nixpkgs/master 5d57aae Falco Peijnenburg: haskellPackages.wai-secure-cookies: Fixed build
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #29189: haskellPackages.wai-secure-cookies: Fixed build (master...fix-wai-secure-cookies) https://git.io/v5idf
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/v5PZJ
<NixOS_GitHub> nixpkgs/master 7d71472 Falco Peijnenburg: haskellPackages.ghc-proofs: Disable hydra builds for ghc<8.2
<NixOS_GitHub> nixpkgs/master ce481d2 Peter Simons: Merge pull request #29182 from LumiGuide/fix-ghc-proof...
NixOS_GitHub has left #nixos []
M1k3y has quit [(Quit: Page closed)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/v5PZk
<NixOS_GitHub> nixpkgs/master c910bbb Bas van Dijk: haskell: fix build of attoparsec-data...
<NixOS_GitHub> nixpkgs/master a037526 Peter Simons: Merge pull request #29177 from LumiGuide/fix-attoparsec-data...
NixOS_GitHub has left #nixos []
oida_ has joined #nixos
taktoa has quit [(Remote host closed the connection)]
landi has joined #nixos
nckx has joined #nixos
<landi> Hi kind folk of nixos! I'm just starting with nixos and there's something I just can't figure out:
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar closed pull request #29167: Rework of submodule section plus minor fixes (master...fix-manual2) https://git.io/v5iR9
NixOS_GitHub has left #nixos []
<landi> I'm not getting menus in many qt applications such kate or qtcreator.
<landi> vlc (which I think uses qt as well) works though ...
oida has quit [(Ping timeout: 240 seconds)]
<landi> Maybe this is covered in a faq I didn't notice?
MasterKermitEdq has quit [(Quit: Page closed)]
Fendor has quit [(Ping timeout: 248 seconds)]
reinzelmann has joined #nixos
phreedom has joined #nixos
<tilpner> Are you on KDE?
<landi> No
<landi> I installed kate and qt-creator using nix-env
<tilpner> By menu you mean the things that contain "File Edit View", etc., right?
<nwuensche> Infinisil: The timer works now, but I can't use zenity in it. It just says: cannot open display: :0.0
stanibanani1 has joined #nixos
stanibanani1 has left #nixos []
<landi> tilpner: correct
<Infinisil> nwuensche: Did you set the User property?
<Infinisil> nwuensche: Not sure what is required for X stuff to work with systemd services
<landi> tilpner: not quite actually. It's the pop-ups that appear when you click file edit ...
<Infinisil> landi: What WM?
<landi> The menu is there but when I click on an entry it depresses but no pop-up appears
<landi> Infinisil: xmonad
<nwuensche> Infinisil: How can I set the user?
<landi> Infinisil: (I'm using the same config I used other distros sucessfully without this issue.)
<tilpner> landi - Those work for me on i3. The only KDE/QT-specific setting I have is QT_QPA_PLATFORMTHEME = "gtk2";
<tilpner> landi - Other distros? What config are you talking about?
ris has joined #nixos
<landi> tilpner: let me try this out. What I meant is that my xmonad config - when used on ubuntu and gentoo - did not affed the menu pop-ups from appearing.
<tilpner> landi - If you want to try that out: environment.variables = { QT_QPA_PLATFORMTHEME = "gtk2"; };
<tilpner> Or set it locally for just kate
<landi> I set it locally and lauched both kate and qtcreator from that environment ... no change :-(.
<tilpner> It probably depends on some gtk2 libs, which you might not have
<Infinisil> nwuensche: Should be systemd.services.<name>.serviceConfig.User = "john"
<tilpner> You might have to wait for someone who uses KDE stuff (I don't)
takle has joined #nixos
<tilpner> landi - You're using multiple monitors, right?
<landi> tilpner: yes
<tilpner> There's https://forum.kde.org/viewtopic.php?f=66&t=93640 , but I don't know what to make of it
Fendor has joined #nixos
<tilpner> (I only have a laptop display, so it working for me doesn't mean much)
nwuensche has quit [(Remote host closed the connection)]
stanibanani2 has joined #nixos
MasterKermitEsq has joined #nixos
neeasade has quit [(Ping timeout: 260 seconds)]
Fendor has quit [(Ping timeout: 252 seconds)]
<MasterKermitEsq> anyone come across issues with the new firefox host applications? I think some need python... others... whatever. I guess overrides?
<MasterKermitEsq> like, passff needs python but if it's not in the path it needs overriding, right? And that's per extension?
ktf has joined #nixos
stanibanani1 has joined #nixos
stanibanani2 has quit [(Ping timeout: 248 seconds)]
mudri has joined #nixos
griff_ has joined #nixos
MasterKermitEsq has quit [(Quit: Page closed)]
Fendor has joined #nixos
justanotheruser has quit [(Ping timeout: 246 seconds)]
Filystyn has quit [(Read error: Connection reset by peer)]
Filystyn has joined #nixos
drakonis has joined #nixos
stanibanani1 has quit [(Ping timeout: 240 seconds)]
MasterKermitEsq has joined #nixos
Fendor has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #29217: feh: 2.19.3 -> 2.20 (master...feh) https://git.io/v5Pcz
NixOS_GitHub has left #nixos []
Radivarig has joined #nixos
stanibanani1 has joined #nixos
<MasterKermitEsq> anyhow, "nix-shell -E 'with import <nixpkgs> {}; stdenv.mkDerivation { name = "foo"; buildInputs = [ firefox python3 ]; }'" works fine so I'm pretty sure overriding is going to get popular with firefox now. another one for the irc logs :D
<tilpner> MasterKermitEsq - I have not. If you just want to use pass with FF, look at passmenu
ktf has quit [(Ping timeout: 240 seconds)]
<MasterKermitEsq> tilpner: nah I've been using passff for over a year so I'm not about to stop doing it now. I'll just throw an override into configuration.nix and be done with it. Maybe I'll even throw pass in there for good measure.
<tilpner> Okay
<landi> tilpner: this may be related to multiple monitors after all. I don't know why this hasn't been an issue before. But it doesn't seem to be a nixos issue from what I can tell ...
<landi> tilpner: thanks!
MasterKermitEsq has quit [(Quit: Page closed)]
kuznero has quit [(Remote host closed the connection)]
Fendor has joined #nixos
stanibanani1 has left #nixos []
Fendor has quit [(Ping timeout: 252 seconds)]
goibhniu has joined #nixos
<mbrock> given { foo = "x"; bar = "y"; } I want to construct a derivation that only contains the files foo and bar with contents x and y respectively
ona has quit [(Quit: ...)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #29218: rustRegistry: 2017-08-27 -> 2017-09-10 (master...rustRegistry) https://git.io/v5PCa
NixOS_GitHub has left #nixos []
jb55 has quit [(Ping timeout: 240 seconds)]
Filystyn has quit [(Quit: Konversation terminated!)]
<Infinisil> mbrock: Oh hold on
<Infinisil> I created a function for that
<mbrock> sweet :)
Fendor has joined #nixos
<Infinisil> mbrock: https://git.io/v5PC5
reinzelmann has quit [(Quit: Leaving)]
<Infinisil> Even works recursively
Itkovian has joined #nixos
Fendor has quit [(Ping timeout: 260 seconds)]
<tilpner> Infinisil - Don't you want to set preferLocalBuild too?
<mbrock> that's cool! I will actually be using arbitrarily complicated strings (not just "x"), so I think that using `echo` will give me problems. From some poking around, I've realized that similar problems in the past has led to Nix making a secret option called `passAsFile`, so I'll try to adapt it to use that
<Infinisil> tilpner: Oh that would be nice
M1k3y has joined #nixos
<Infinisil> mbrock: Oh cool, also a nice addition
scribble_ has joined #nixos
Itkovian has quit [(Ping timeout: 246 seconds)]
scribbler has quit [(Ping timeout: 260 seconds)]
<Infinisil> mbrock: Are you refactoring it to use passAsFile already or can I do it?
<Infinisil> Hmm, this might be harder than I though
<Infinisil> t
<mbrock> you can try it in parallel because it's making me a bit confused and I might go to bed ;)
<tilpner> Infinisil - Look at trivial-builders.nix
<mbrock> yeah there's example of using it for one file
<Infinisil> tilpner: I see how passAsFile works, but it's not easy to change my function to use it
<Infinisil> Although I know how it would work nicely
<Infinisil> *tries*
<tilpner> Wouldn't you just passAsFile = attrNames args; ?
<Infinisil> tilpner: I want it to work recursively too
* mbrock discovers that `let x = 1; "$${x}"` is not `$1`
<tilpner> Oh, that'll be harder
<Infinisil> mbrock: `let x = 1; in "''${x}"`?
Fendor has joined #nixos
<Infinisil> Ah
<Infinisil> really?
<tilpner> "\$${toString x}"
<Infinisil> Weird
landi has quit [(Quit: Page closed)]
<M1k3y> Hello together, I have a problem with nginx and ACME. According to the logs letsencrypt can't access the secrets on my server, although it has already worked for another subdomain. Any help is appreciated. Output of nixos-rebuild switch: https://pastebin.com/XjvEE7xg
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #29219: kde_workspace: Adds missing buildInputs (master...kde_workspace_fixes) https://git.io/v5PWa
NixOS_GitHub has left #nixos []
Radivarig has quit [(Ping timeout: 240 seconds)]
simukis has joined #nixos
Fendor has quit [(Ping timeout: 252 seconds)]
magnetophon has quit [(Remote host closed the connection)]
<mbrock> I don't need the recursion, just one level, but it's too tricky for me right now so I'll go to bed :) thx for the help
<Infinisil> mbrock: Night ;)
<mbrock> having some very strange problems with string interpolation and bash meta-variables, will relax my brain with something less scary, like Twin Peaks
<Infinisil> M1k3y: What is root set to? Does the nginx user have access to it
<Infinisil> ?
phreedom has quit [(Ping timeout: 248 seconds)]
<M1k3y> Infinisil: The root isn't set. I have set: locations."/".proxyPass = "http://unix:/run/gitlab/..."
* tilpner has never seen http://unix:...
kuznero has joined #nixos
<M1k3y> tilpner: It references a local socket.
<Infinisil> M1k3y: Try setting the root option of the virtualhost to something
<kuznero> Hi All!
<Infinisil> M1k3y: It's what I had to do sometimes to get ACME working
<kuznero> Are there any books written about Nix,NixOS and ecosystem already?
<tilpner> M1k3y - I know what "unix" means there on its own, I just never saw them composed like this
<M1k3y> tipner: Sorry. I also haven't seen it like this before. But it works.
<M1k3y> Infinisil: trying, give me a moment.
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/0f9cda064d (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
<M1k3y> no, even when setting a root directory owned by nginx and removing the proxyPass it still doesn't work.
zeus_ has joined #nixos
<Infinisil> M1k3y: The domain is yours and pointing to that machine, right?
<M1k3y> Infinisil: Yes, the DNS settings are definitely correct.
<Infinisil> M1k3y: You could also have a look at journalctl -u <acme service> to have more logs
nh2 has joined #nixos
ktf has joined #nixos
<nh2> why is this expression a syntax error? '' $' ''
<nh2> error: syntax error, unexpected $undefined, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at (string):1:4
<nh2> is $' somehow not allowed in '' ''-quotes?
<Infinisil> nh2: How do you test this? In nix-repl it works
<nh2> Infinisil: in my nix-repl it doesn't work:
<nh2> nix-repl> '' $' ''
<nh2> error: syntax error, unexpected $undefined, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at (string):1:4
<nh2> Infinisil: is this not the case for you?
zeus_ has quit [(Ping timeout: 246 seconds)]
<Infinisil> nix-repl> '' $' ''
<Infinisil> "$' "
<nh2> wat
<tilpner> Maybe your versions don't match?
Itkovian has joined #nixos
<M1k3y> Infinisil: huh, just found it now. Seems like I have run into a rate limit. Guess I have to try again tommorow. Sorry for wasting your time.
<nh2> Infinisil: nix-repl (Nix) 1.11.7
Radivarig has joined #nixos
<Infinisil> nix-repl (Nix) 1.11.14,
<tilpner> Works on 1.12pre5511_c94f3d55 too
<nh2> OK let me try to update
<Infinisil> M1k3y: No problem, I have plenty ;)
<kuznero> Was trying to find some books on Nix/NixOS, and it seems there is nothing yet...
<nh2> Infinisil tilpner: It's fixed after updating to `nix-repl (Nix) 1.11.11` forme
jb55 has joined #nixos
<M1k3y> Infinisil: That's nice to here. I wish you a good day. For me it's time to hit the deck. A good [morning/day/evening] to you.
<Infinisil> M1k3y: Good night!
M1k3y has quit [(Quit: Page closed)]
oida has joined #nixos
Ivanych has quit [(Ping timeout: 248 seconds)]
justanotheruser has joined #nixos
<nh2> in nix 1.11.8 the problem is also still there, but I now fixed it by upgrading to 1.11.14
<nh2> so thanks Infinisil
<Infinisil> nh2: Glad I could help :)
Radivarig has quit [(Ping timeout: 240 seconds)]
phreedom has joined #nixos
<mbrock> Infinisil: uggghhh will sleep soon, but this works!!! https://gist.github.com/mbrock/225b7c415a5ea49dd394fd48d64b3712
<mbrock> non-recursive though
oida_ has quit [(Ping timeout: 264 seconds)]
<mbrock> and very horrible
<mbrock> it's a bit specialized but you get the gist
<Infinisil> mbrock: A bit horrible yes, but if it works for you :P
<mbrock> and it probably only works for non-weird filenames, hehe
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 3 new commits to master: https://git.io/v5P8E
<NixOS_GitHub> nix/master ad228d8 Eelco Dolstra: nix build: Only download the requested derivation outputs...
<NixOS_GitHub> nix/master 8af704e Eelco Dolstra: Typo
<NixOS_GitHub> nix/master d41c5eb Eelco Dolstra: Add command "nix why-depends"...
NixOS_GitHub has left #nixos []
Neo-- has quit [(Ping timeout: 264 seconds)]
zeus_ has joined #nixos
stepcut has quit [(Remote host closed the connection)]
Itkovian has quit [(Ping timeout: 260 seconds)]
stepcut has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #28943: tests: add some basic stdenv/cc-wrapper tests (master...stdenv-tests) https://git.io/v50jS
NixOS_GitHub has left #nixos []
<Infinisil> Oh my god, it was so simple all along
<Infinisil> cc mbrock if you're still here
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] benley opened pull request #29220: synergy: Run as user, add crypto support (master...synergy-crypto) https://git.io/v5P43
NixOS_GitHub has left #nixos []
<viric> timor: not much
<mbrock> Infinisil: you figured something out? :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to release-17.09: https://git.io/v5P4G
<NixOS_GitHub> nixpkgs/release-17.09 6e8d22e Daiderd Jordan: nixpkgs-tests: add basic test for cc-wrapper...
<NixOS_GitHub> nixpkgs/release-17.09 2e65ad6 Daiderd Jordan: nixpkgs-tests: add basic test for buildInputs...
NixOS_GitHub has left #nixos []
<Infinisil> Yes, hold on, cleaning it up a bit
<timor> viric: I created a pull request for an updated ParaView (#29214), but I am not sure wether the build results are correctly installed.
<Infinisil> mbrock: https://git.io/v5P4a
kuznero has quit [(Remote host closed the connection)]
<Infinisil> mbrock: Essentially the same as the first thing I posted, but first we map the attrset of strings to an attrset of filenames that contain the strings, with mapAttrsRecursive
<Infinisil> And then use cp instead of echo
Troupal has quit [(Ping timeout: 252 seconds)]
<mbrock> ahh, yeah, that looks good!
<mbrock> I think there might be a reason to use `writeFile` instead of `builtins.toFile`
<mbrock> I'm not totally sure but I think there's a limitation that `builtins.toFile` strings can't refer to derivation outputs
<Infinisil> mbrock: Yeah, but that's not needed here
<mbrock> at least I seemed to run into that while messing around
<Infinisil> builtins.toFile is done at evaluation time, pkgs.writeFile is done at buildtime
<Infinisil> And I'm pretty sure toFile is always prefered if you can
<mbrock> try setting `qux = "bash is at ${pkgs.bash}/bin/bash"` maybe
<mbrock> if that works then it's all good for me :)
<Infinisil> Ohh
<mbrock> anyway nice work 8)
Jackneilll has quit [(Remote host closed the connection)]
<Infinisil> Yeah that doesn't work, I'll change it to writeFile
<Infinisil> writeText*
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/471bea8fe6 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
endformationage has quit [(Read error: Connection reset by peer)]
<Infinisil> It's not so easy with pkgs.writeText, hmm.
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2e65ad64fa (from 24 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
Itkovian has joined #nixos
kzpm has joined #nixos
mattcode has quit [(Read error: Connection reset by peer)]
<kzpm> Anyone of you working with lmms on Nixos?
jb55 has quit [(Ping timeout: 248 seconds)]
<Infinisil> mbrock: Whew, okay got it
<Infinisil> mbrock: Turns out I just made a small mistake
thc202 has quit [(Ping timeout: 248 seconds)]
<kzpm> LMMS is working, however the GUI for SynAddSubFX freezes as soon as it is clicked. The error message is: "Notice: could not set realtime priority. VST sync support disabled in your configuration "Cannot load library /nix/store/a4a949kvbx7g9pd16i0js7pz4132iszi-lmms-1.1.90/lib/lmms/ladspa/sifter_1210.so: (/nix/store/a4a949kvbx7g9pd16i0js7pz4132iszi-lmms-1.1.90/lib/lmms/ladspa/sifter_1210.so: undefined symbol: q_sort)" QtXmlWrapper::loadX
fresheyeball has joined #nixos
<fresheyeball> hey out there
Acou_Bass has quit [(Ping timeout: 252 seconds)]
Acou_Bass has joined #nixos
<fresheyeball> is there an easy to lock a nix expression to a certain version of <nixpkgs>?
<timor> viric: also, this one (#29159) is needed to get FreeCAD to run correctly. At least for me, it was building fine, but then segfaulting immediately when run.
<fresheyeball> I often do mport <nixpkgs> {};
<fresheyeball> and then when I run the expression later I get different results.
<fresheyeball> not reproducible
<viric> timor: meh. no idea then
<viric> timor: I'm outdated. I guess you know better
<viric> if it doesn't work, no idea.
<timor> viric: well it somehow works, but it maybe not completely correct
<viric> you say it segfaults
<Infinisil> fresheyeball: Yes, something like https://git.io/v5PRn
kzpm has quit [(Quit: Page closed)]
<timor> viric: ah no, misunderstanding
<viric> ah you *fixed* it
<Infinisil> fresheyeball: Or maybe you wanna use pkgs.fetchFromGitHub instead to avoid having to redownload it every hour
<timor> viric: yes
jb55 has joined #nixos
<fresheyeball> woah.....
<timor> viric: that PR is needed to fix FreeCAD in 17.09
<fresheyeball> thats a new use of "import" on me
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 1 new commit to master: https://git.io/v5PRw
<NixOS_GitHub> nixpkgs/master e916917 John Ericson: ghc-8.2.1: Get rid of `preReleaseName` binding now that it is released...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 1 new commit to release-17.09: https://git.io/v5PRK
<NixOS_GitHub> nixpkgs/release-17.09 b3128d3 John Ericson: ghc-8.2.1: Get rid of `preReleaseName` binding now that it is released...
NixOS_GitHub has left #nixos []
scribble_ has quit [(Remote host closed the connection)]
scribbler has joined #nixos
<viric> timor: let's wait the travis builds. Do they work?
<timor> viric: haven't started yet I think
<viric> I mean does travis work in nixpkgs?
simukis has quit [(Ping timeout: 248 seconds)]
<timor> viric: I'm not sure I understand what you mean.
jb55 has quit [(Quit: WeeChat 1.9)]
erictapen has joined #nixos
Radivarig has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Radivarig_ has joined #nixos
<viric> timor: are the travis lines in the PR meant to work? So, waiting will produce a result.
<timor> viric: ah ok. They were running for another PR of mine, but take a long time at the moment
scribbler has quit [(Remote host closed the connection)]
hiratara has quit [(Ping timeout: 246 seconds)]
scribbler has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
Radivarig has quit [(Ping timeout: 248 seconds)]
<viric> timor: I won't have internet access until some days pass
scribbler has quit [(Ping timeout: 252 seconds)]
WinchellsM has quit [(Quit: Lost terminal)]
pie_ has joined #nixos
Arcaelyx has joined #nixos
hiratara has joined #nixos
<pikajude> Profpatsch: the multiple outputs thing fixed itself ¯\_(ツ)_/¯
<yorick> there should *really* be a /nix/var/nix/profiles/system/shell that I can use for chroot purposes
<yorick> maybe init-shell or something
scribbler has joined #nixos
Brewski has joined #nixos
<yorick> another use-case might be grub init=
KAPA6AC has joined #nixos
thblt has quit [(Remote host closed the connection)]
Myrl-saki has joined #nixos
scribbler has quit [(Ping timeout: 260 seconds)]
bennofs has quit [(Read error: Connection reset by peer)]
mudri has quit [(Ping timeout: 248 seconds)]
pie_ has quit [(Ping timeout: 240 seconds)]
Radivarig__ has joined #nixos
oida_ has joined #nixos
Radivarig_ has quit [(Ping timeout: 240 seconds)]
oida has quit [(Ping timeout: 248 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/471bea8fe6 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<pikajude> hang on, it didn't
<pikajude> it has broken cabal2nix derivations
<pikajude> that is the problem
oida has joined #nixos
oida_ has quit [(Ping timeout: 240 seconds)]
justanotheruser has quit [(Read error: Connection reset by peer)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
mudri has joined #nixos
ktf has quit [(Ping timeout: 246 seconds)]
hiratara has joined #nixos
scribbler has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/2e65ad64fa (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
Myrl-saki has quit [(Ping timeout: 240 seconds)]
scribbler has quit [(Ping timeout: 240 seconds)]
scribbler has joined #nixos
fresheyeball has quit [(Ping timeout: 252 seconds)]
goibhniu has quit [(Ping timeout: 252 seconds)]
justanotheruser has joined #nixos
timor has quit [(Quit: Leaving)]
hamishmack has quit [(Quit: hamishmack)]
<Profpatsch> pikajude: I’m positive you can fix it.:)
<Profpatsch> Don’t have the nerve right now.
<pikajude> woo
<pikajude> i can do it
Sonarpulse has quit [(Ping timeout: 246 seconds)]
silver_hook has quit [(Ping timeout: 260 seconds)]
jellowj has quit [(Ping timeout: 248 seconds)]
KAPA6AC has quit [(Ping timeout: 252 seconds)]
Olgierd has joined #nixos
Olgierd has quit [(Changing host)]
Olgierd has joined #nixos
oida_ has joined #nixos
oida has quit [(Ping timeout: 248 seconds)]
predator217 has joined #nixos
ktf has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v5PzB
<NixOS_GitHub> nixpkgs/master 114a2bc Tim Steinbach: linux-copperhead: 4.13.a -> 4.13.1.a
NixOS_GitHub has left #nixos []
oida has joined #nixos
predator117 has quit [(Ping timeout: 240 seconds)]
ktf has quit [(Ping timeout: 255 seconds)]
oida_ has quit [(Ping timeout: 252 seconds)]
jellowj has joined #nixos
hamishmack has joined #nixos
<Profpatsch> yas!
mudri has quit [(Ping timeout: 248 seconds)]