gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
<jbaum98> clever: any thoughts on why this is an issue only on darwin?
<clever> jbaum98: you might also want to set installCheckTarget, it will `make installcheck` by default
<tertle||eltret> are there any other desktop environments I can use other than KDE before rebuild this bad boy?
<jbaum98> clever: thanks for the heads up
<clever> tertle||eltret: i use xfce on all of my machines
<tertle||eltret> is it as easy as changing the config file?
<clever> tertle||eltret: yep
ceevusee has quit [Remote host closed the connection]
<tertle||eltret> is xcfe4 or just xfce?
<clever> tertle||eltret: services.xserver.desktopManager.xfce.enable = true;
<kisik21> How to make nix-build skip broken packages in custom overlay's release.nix like Hydra does with nixpkgs' release.nix?
<clever> kisik21: it would probably be simpler to just run a hydra
Thra11 has quit [Ping timeout: 240 seconds]
<clever> kisik21: https://github.com/peti/hydra-tutorial if you have a machine you can leave on 24/7
<kisik21> ok... can I expect Hydra to work in container?
<clever> not sure
<tertle||eltret> may as well add xmond while im at it
<kisik21> clever: also I just do it for fun, but some day (when I get a proper x86_64 server?) I'll probably set up Hydra and a permanent binary cache for my overlay...
johnw has quit [Quit: ZNC - http://znc.in]
justan0theruser has joined #nixos
johnw has joined #nixos
<{^_^}> [nixpkgs] @jbaum98 opened pull request #45001 → givaro: Add darwin support → https://git.io/fNbZa
<infinisil> Oh, 45000 PRs! Let's see who get the lucky number: #45000
<{^_^}> https://github.com/NixOS/nixpkgs/pull/45000 (by jbedo, 25 minutes ago, open): libtiff: debian patches 4.0.9-5 -> 4.0.9-6
<{^_^}> [nixpkgs] @jbedo closed pull request #45000 → libtiff: debian patches 4.0.9-5 -> 4.0.9-6 → https://git.io/fNbGt
WizBright has joined #nixos
<infinisil> Lol
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « zfs: unsupported for 4.18 »: https://git.io/fNbZ9
hotfuzz has quit [Ping timeout: 255 seconds]
alexteves has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @q3k opened pull request #45002 → diamond: init at 3.10 → https://git.io/fNbne
<q3k> clever: thank you for your help, just sent out a PR to nixpkgs ^^
<clever> q3k: nice, i need to get back into fpga stuff some time
hotfuzz has joined #nixos
<clever> q3k: in generall, you probably want to use buildCommand, not builder, it makes things simpler
<q3k> oh? i cargoculted that. i'll try with a buildCommand instead
justan0theruser has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #44998 → xsecurelock: git-2018-07-10 -> 1.0 → https://git.io/fNbkq
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fNbnL
<{^_^}> [nixpkgs] @xeji merged pull request #44954 → qradiolink: init at 0.5.0 → https://git.io/fNd8g
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fNbnq
<{^_^}> [nixpkgs] @xeji merged pull request #44989 → hadoop_2_7: 2.7.6 -> 2.7.7; hadoop_3_1: 3.1.0 -> 3.1.1 → https://git.io/fNFaQ
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fNbnY
<q3k> clever: just forcepushed a new version that uses buildCommand
<clever> q3k: line 36-49 of the old builder, instead of bin/lin64/programmer bin/lin64/pgrcmd, you can do bin/lin64/{programmer,pgrcmd,....}
<q3k> I'll do you one better, I'll cd into bin/lin64
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fNbn0
<clever> q3k: and line 92 of the new one, i dont see any arguments being passed to makeWrapper, so it likely isnt doing anything more then ln
<q3k> it is :)
<q3k> it's starting the called command with the full path
<q3k> *target command
<clever> ah
<q3k> if you otherwise call the target relatively, it craps itself
<clever> fun
<q3k> and I don't wanna fix lattice's weird bash scripts
<q3k> i'll add acomment
<q3k> done
justanotheruser has joined #nixos
<q3k> clever: oh, and if you wanna mess with FPGAs: https://github.com/YosysHQ/nextpnr
<clever> error: attribute 'diamond' at /home/clever/nixpkgs/pkgs/top-level/all-packages.nix:20374:3 already defined at /home/clever/nixpkgs/pkgs/top-level/all-packages.nix:8087:3
<q3k> there's a decent open source flow for lattice ice40s and soon lattice ecp5s :)
<q3k> oh, fudge
<clever> 8087 diamond = callPackage ../development/tools/diamond { };
<clever> 20374 diamond = callPackage ../applications/science/biology/diamond { };
<q3k> should i call it lattice-diamond then?
<clever> yeah, that sounds better
<q3k> should I also move the directory from d/t/diamond to d/t/lattice-diamond?
<q3k> i guess so
<clever> q3k: have you heard of http://www.clash-lang.org/ ?
<q3k> clever: yeah, i don't do haskell unfortunately
<q3k> clever: i use migen/litex (a python-based equivalent) quite a bit though
<clever> ah
<q3k> i will give haskell (and by extension, clash) a shot at some point though
<q3k> for now Rust is next on my languages-to-learn-seriously list
<clever> q3k: hmmm, cant test it any further because i need a name/pw...
<pie__> q3k, are you getting clash in nixpkgs? nice
<pie__> q3k, have you talked to thoughtpolice
<pie__> err im mixing up some threads, clash might not have been mentioned in scroll xD
<q3k> pie__: no, not clash, diamond
<pie__> ah
<q3k> clever: you can register for free. also probably bugmenot.
<pie__> q3k, whats diamond?
<q3k> clever: i have to head to sleep now, sorry :(
<pie__> havent seen that yet
<q3k> pie__: lattive suite for their bigger fpgas
<pie__> ah.
<q3k> pie__: ecp5 & co
<q3k> anything that's not siliconblue :)
<pie__> ok in that context its a little more familiar
<q3k> (they inherited icecube with the ice40 family)
WizBright has quit [Remote host closed the connection]
freeman42]NixOS has joined #nixos
jbaum98 has quit [*.net *.split]
sigmundv has quit [*.net *.split]
jasom has quit [*.net *.split]
freeman42x]NixOS has quit [*.net *.split]
Taneb has quit [*.net *.split]
gchristensen has quit [*.net *.split]
blahdodo has quit [*.net *.split]
ArahaelPi has quit [*.net *.split]
genesis has quit [*.net *.split]
jophish has quit [*.net *.split]
ma27 has quit [*.net *.split]
hiroshi has quit [*.net *.split]
kreisys has quit [*.net *.split]
globin has quit [*.net *.split]
wrl has quit [*.net *.split]
BlessJah has quit [*.net *.split]
biopandemic has quit [*.net *.split]
Mic92 has quit [*.net *.split]
ldlework has quit [*.net *.split]
nocoolna- has quit [*.net *.split]
ashkitten has quit [*.net *.split]
tylerjl has quit [*.net *.split]
ZeDestructor has quit [*.net *.split]
NinjaTrappeur has quit [*.net *.split]
aminb has quit [*.net *.split]
kgz has quit [*.net *.split]
sellout-1 has quit [*.net *.split]
vaibhavsagar has quit [*.net *.split]
c_wraith has quit [*.net *.split]
lohfu has quit [*.net *.split]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
WizBright has joined #nixos
ldlework has joined #nixos
jbaum98 has joined #nixos
sigmundv has joined #nixos
jasom has joined #nixos
gchristensen has joined #nixos
ZeDestructor has joined #nixos
kgz has joined #nixos
c_wraith has joined #nixos
genesis has joined #nixos
ashkitten has joined #nixos
lohfu has joined #nixos
BlessJah has joined #nixos
kreisys has joined #nixos
tylerjl has joined #nixos
biopandemic has joined #nixos
hiroshi has joined #nixos
Taneb has joined #nixos
aminb has joined #nixos
ArahaelPi has joined #nixos
ma27 has joined #nixos
jophish has joined #nixos
vaibhavsagar has joined #nixos
blahdodo has joined #nixos
nocoolna- has joined #nixos
wrl has joined #nixos
NinjaTrappeur has joined #nixos
Mic92 has joined #nixos
globin has joined #nixos
lohfu has quit [Max SendQ exceeded]
<clever> q3k: it builds and runs, but another license nag
lohfu has joined #nixos
Fare has joined #nixos
johnw has quit [Ping timeout: 248 seconds]
work_ has joined #nixos
<tertle||eltret> anyone got the steam controller working on nix?
<infinisil> tertle||eltret: Yup
<tertle||eltret> infinisil: howd u do it? i dont think its even pairing?
<{^_^}> [nixpkgs] @imuli opened pull request #45003 → nixos/networking: set broadcast address → https://git.io/fNbCc
<tertle||eltret> which part is the controller part?
<tertle||eltret> infinisil: ?
<infinisil> The one highlighted
hamishmack has joined #nixos
sigmundv__ has quit [Ping timeout: 244 seconds]
<tertle||eltret> ok ty, i need to locate that file but it should be fine
<infinisil> Huh what file?
<tertle||eltret> default.nix
<tertle||eltret> on my machine
<infinisil> No, just put it in configuration.nix
<tertle||eltret> oh wow, i feel stupid noq
Ericson2314 has quit [Ping timeout: 260 seconds]
andreabedini has joined #nixos
kisik21 has quit [Ping timeout: 272 seconds]
growpotkin has joined #nixos
<growpotkin> Hey I have a licensing question about a package I'm making.
<growpotkin> I'm packaging a daemon for spotify
<growpotkin> the author of the daemon uses the GNU license
<growpotkin> but I know that libspotify is unfree, does that mean I should mark this package as unfree as well?
<growpotkin> Like does the unfree license of libspotify (a dependency) supercede the author's license?
<emily> "ask a lawyer", but IMO yes
<emily> the source code may be itself distributable under the GPL but the resulting binaries are probably not
lassulus_ has joined #nixos
<emily> not sure if nixos has a specific policy on this though
<growpotkin> BINGO that was what I was stuck on
<clever> synergy source code is on github, yet you have to pay for windows binaries
<growpotkin> oh yeah I mean I was wondering about Nix's "policy"
thc202 has quit [Ping timeout: 272 seconds]
<growpotkin> in any case when you try to install it the user is prompted to allow unfree because it uses libspotify
<growpotkin> So we know the user has enabled unfree packages anyway, but I didn't know how to mark this one. I might need to try and find some examples in the library
<growpotkin> mopidy probably
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<growpotkin> Ah interesting, mopidy-spotify is not marked unfree
lassulus has quit [Ping timeout: 256 seconds]
lassulus_ is now known as lassulus
Fare has quit [Ping timeout: 260 seconds]
<adisbladis[m]> growpotkin: Which is the daemon in question?
jperras has quit [Ping timeout: 268 seconds]
isHavvy has quit [Ping timeout: 272 seconds]
<ekleog> growpotkin: IANAL either, but there are arguments saying that GPL doesn't apply if you dynamically link and don't ship the .so / .dll ; so I'd guess this would apply here
<emily> you basically embed the hash of the .so, which I think is problematic at the least
<ekleog> (IOW, if libspotify is a dependency, I would personally have the package marked as GPL and depending on libspotify)
<emily> since the usual argument is "you could substitute some other .so", but here one .so is clearly intended
<ekleog> hmm good point here
Drakonis has joined #nixos
<ekleog> even though technically you could still substitute some other .so by putting it in the nix-store by hand
<growpotkin> spotifyd
oida has quit [Ping timeout: 250 seconds]
<growpotkin> I have it working and wanted to submit it, but I want to make sure the license is correct first
<growpotkin> (also its my first submission! :D)
imalsogreg has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
Fare has joined #nixos
sigmundv has quit [Ping timeout: 256 seconds]
<thoughtpolice> q3k: I'm working on a nextpnr expression, FWIW
<thoughtpolice> q3k: Since I basically maintain the existing IceStorm expressions; though I gotta add libtrellis first...
<jbaum98> is there a way to set CXXFLAGS from a nix derivation, without affecting CFLAGS?
oida has joined #nixos
justanotheruser has joined #nixos
<ekleog> growpotkin: congratulations on your first submission :D
Ericson2314 has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ekleog> growpotkin: for the license, I'd say put whatever you feel most correct, and add a comment on the PR asking whether that is correct or not -- afaik none of us are lawyers, but this way a committer will make sure that it's consistent with the current practice in nixpkgs :)
<ekleog> (btw, afaik the license= field has no legal value, it's just a helper for people who would like to easily check they have no closed-source packages, and the nixpkgs license includes an explicit disclaimer of liability in case there's an error in it)
orivej has quit [Ping timeout: 240 seconds]
Fare has quit [Ping timeout: 272 seconds]
<growpotkin> haha thanks ekleog
<growpotkin> Are makeWrapperArgs arguments that are passed to the program at runtime, or are those options to change makeWrapper's behavior?
<growpotkin> I know it's in the manual somewhere but I'm having trouble finding it.
<ekleog> growpotkin: if I grep for makeWrapperArgs in nixpkgs, I get eg. `makeWrapperArgs = [ "--prefix" "PATH" ":" "${nettools}/bin" ];`, so it looks like arguments passed to `makeWrapper` :)
<growpotkin> yeah thats what I've been gathering as well.
<growpotkin> I'm looking for a way to wrap a runtime argument to always run with the program
<growpotkin> any tips?
<ekleog> you may be looking for makeWrapper --add-flags argument :)
<growpotkin> THANK YOU
<growpotkin> I can't seem to find documentation for makeWrapper online, should i be looking for it in the source?
<hyper_ch> joepie91: manveru: Pairing works now... needed to tell Nixos to use bluetooth full package
<growpotkin> manveru, my god I struggled with that too for ages
<growpotkin> first is was adding "allFirmware" or something, and then that finally I found that other bluetooth option
<{^_^}> [nix] @carlosdagos opened pull request #2352 → docs: Update installation location on the hacking section → https://git.io/fNb8z
orivej has joined #nixos
<hyper_ch> sorry, I meant I needed to add: hardware.pulseaudio.package = pkgs.pulseaudioFull; ---> seems the bt headphones used some protocol that wasn't in the defualt pkgs.pulseaudioLight package
<{^_^}> [nixpkgs] @jbaum98 opened pull request #45004 → flint: Add darwin support → https://git.io/fNb8K
jmeredith has quit [Quit: Connection closed for inactivity]
<ekleog> growpotkin: if you feel motivated for a second PR, https://nixos.org/nixpkgs/manual/#ssec-stdenv-functions could gain by hoisting the documentation from the top of the makeWrapper script to this paragraph :)
<{^_^}> [nixpkgs] @Chiiruno opened pull request #45005 → qbittorrent: 4.1.1 -> 4.1.2 → https://git.io/fNb89
disasm has joined #nixos
mayhewluke has quit [Ping timeout: 240 seconds]
DigitalKiwi has joined #nixos
tnks has quit [Quit: leaving]
<{^_^}> [nixpkgs] @jbaum98 opened pull request #45006 → tachyon: Add darwin support → https://git.io/fNb4G
pie__ has quit [Ping timeout: 272 seconds]
oida has quit [Ping timeout: 250 seconds]
mayhewluke has joined #nixos
Drakonis has quit [Remote host closed the connection]
jD91mZM2 has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
tertle||eltret has quit [Quit: Connection closed for inactivity]
Quiark has left #nixos ["User left"]
oida has joined #nixos
phreedom has quit [Ping timeout: 250 seconds]
phreedom has joined #nixos
fragamus has joined #nixos
imalsogreg has quit [Ping timeout: 240 seconds]
johnw has joined #nixos
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<{^_^}> [nixpkgs] @vmchale opened pull request #45007 → bump language-ats to 1.7.0.1 → https://git.io/fNbBE
arbxs has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @jbaum98 opened pull request #45008 → gfan: Add darwin support → https://git.io/fNbBy
orivej has quit [Ping timeout: 260 seconds]
disasm has quit [Quit: WeeChat 2.0]
disasm has joined #nixos
<Enzime> gchristensen: https://github.com/NixOS/nixpkgs/pull/44922 can you build this?
<{^_^}> #44922 (by Enzime, 2 days ago, open): darktable: Fix compilation on macOS
<growpotkin> jesus this package is kicking my ass
<growpotkin> Trying to use cargo it gripes about permissions for the homeless-shelter
simukis has joined #nixos
simukis has quit [Client Quit]
<{^_^}> [nixpkgs] @adisbladis merged pull request #45006 → tachyon: Add darwin support → https://git.io/fNb4G
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNbRV
<{^_^}> [nixpkgs] @jbaum98 opened pull request #45009 → ratpoints: 2.1.3 -> 2.1.3.p4; add darwin support → https://git.io/fNbRi
Lisanna has quit [Quit: Lisanna]
<{^_^}> [nixpkgs] @jbaum98 opened pull request #45010 → zn_poly: Add darwin support → https://git.io/fNbR9
<disasm> growpotkin: yeah, anything touching /home is bad news, lol
<disasm> usually, you end up having to apply a patch to the code to un-hardcode anything trying to touch $HOME
<growpotkin> it's for the lock file
<growpotkin> cargo-lock-index, yeah I gotta find out how to hardcode that
<elvishjerricco> disasm: You can often get away with `export HOME=$NIX_BUILD_TOP`, as $HOME is often only used for intermediate things, or config files you don't care about trashing
<growpotkin> I'll give that a try, thanks
<ekleog> growpotkin: you're packaging a rust application?
<growpotkin> trying to
<growpotkin> failing to lol
<ekleog> do you use buildRustPackage? carnix?
<growpotkin> yeah i tried buildRustPackage
<growpotkin> I read about carnix but didn't really understand it
<growpotkin> buildRustPackage fails because of a "replace" in the .yaml
<growpotkin> I guess there has been an issue with it correctly replacing packages, I found some old posts about it but no solutions
<growpotkin> so I've been trying to just write the build phase with "cargo build" and I've run into this fun permission issue
<ekleog> it's not going to work :/ cargo build tries to download stuff from the internet
<ekleog> so in a sandbox it'll fail
<elvishjerricco> I've heard good things about carnix
<growpotkin> shit. Well I'm glad you told me, I would've wasted all night haha
<growpotkin> Yeah let me try to figure out how that one works.
<ekleog> you need to vendor the applications in a fixed-output derivation, and that's what buildRustPackage does for you (theoretically)
<ekleog> s/applications/dependencies/
<ekleog> carnix takes another path: building the dependencies itself, not using cargo
<growpotkin> yeah when I try building that way I wind up with duplicates of a library and it freaks out
<ekleog> there… are quite a few packages that depend on duplicate versions of the same library, in the Rust ecosystem
* ekleog looks at cargo-tarpaulin, that builds syn thrice, iirc
Ericson2314 has quit [Remote host closed the connection]
<ekleog> theoretically, that should work out well in the end. In practice…
<ekleog> anyway, g'luck with carnix! :)
<growpotkin> thank you :)
<{^_^}> [nixpkgs] @jbaum98 opened pull request #45011 → symmetrica: Add darwin support → https://git.io/fNb0W
freeman42]NixOS has quit [Ping timeout: 240 seconds]
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #45012 → zfsUnstable: 2018-05-22 -> 2018-08-13 → https://git.io/fNbEU
endformationage has quit [Quit: WeeChat 1.9.1]
<{^_^}> #45012 (by Mic92, 4 minutes ago, open): linuxPackages.zfsUnstable: 2018-05-22 -> 2018-08-13
rauno has joined #nixos
<disasm> can I pass args in a script (in my case haskell) that has a nix-shell shebang? for example, I have something like this: `!nix-shell ../shell.nix -A ci --run "runhaskell -iiohk scripts/ci.hs"` and I want to run `./myscript.hs --foo bar.conf`.
<disasm> missed a # in copy/paste, the syntax for nix-shell shebang line is correct.
<rauno> also, it reports that phüsical LUNs failed whwen trying to mount root by uuid
<{^_^}> rauno: 15 hours, 40 minutes ago <sphalerite> https://github.com/NixOS/nixpkgs/issues/20353
<rauno> yeah i got that botty :)
Ariakenom has joined #nixos
<rauno> hum, seems like somewhy one brand specific kernel module is failing..
<growpotkin> Carnix dies on the exact same package :(
<growpotkin> it's bizarre though, I can build just find from a shell
mzan has joined #nixos
<ekleog> weird… I guess you should report it on carnix's repo as an issue, might bring in some help :)
<{^_^}> [nixpkgs] @jbaum98 opened pull request #45013 → fflas-ffpack: Add darwin support → https://git.io/fNbEX
wrl has quit [Ping timeout: 256 seconds]
<growpotkin> Well removing that package's replacement and just using the original allows the produced binary to run fine and then carnix and buildRustPackage work
<growpotkin> still doesn't explain why but at this point I'm so over it haha
<ekleog> heh ^^
<growpotkin> it will be a mystery for someone else to solve lol
<growpotkin> probably someone who knows how to actually use rust
orbekk has quit [Ping timeout: 240 seconds]
<rauno> okay, i think i found the reason, probably 4.9 kernel broken for hp servers
mzan has left #nixos [#nixos]
<rauno> how can i switch to older kernel ?
<rauno> as searching packages, is the 4.4 next available to the latest 4.9 on 18.03 ?
hyper_ch2 has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
logzet has joined #nixos
<{^_^}> [nixpkgs] @basvandijk closed pull request #45007 → bump language-ats to 1.7.0.1 → https://git.io/fNbBE
<{^_^}> [nixpkgs] @typetetris opened pull request #45014 → ghc-8.0.2: Fix #44987 → https://git.io/fNbu1
vidbina_ has joined #nixos
<{^_^}> [nixpkgs] @jbaum98 opened pull request #45015 → linbox: Add darwin support → https://git.io/fNbu9
mayhewluke has quit [Ping timeout: 272 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eskytthe has joined #nixos
mingc has joined #nixos
carlosdagos has joined #nixos
aarvar has quit [Ping timeout: 240 seconds]
trcc has joined #nixos
Ariakenom has joined #nixos
orbekk has joined #nixos
mayhewluke has joined #nixos
reinzelmann has quit [Ping timeout: 272 seconds]
thc202 has joined #nixos
reinzelmann has joined #nixos
johanot has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNb2A
<{^_^}> [nixpkgs] @dezgeg pushed to master « rust: Set dontUpdateAutotoolsGnuConfigScripts everywhere »: https://git.io/fNbaV
<trcc> If I start a nix-shell with a particular x.nix file, then the nix-shell uses the packages/systemlibraries/whatever I have specified in x.nix right? Whereas if I do e.g. nix-env --install cabal2nix, then it is installed globally? Why would anyone every install something globally? Shouldn't it be part of the x.nix instead?
rauno has quit [Remote host closed the connection]
<srhb> trcc: Some things actually (and sadly) do not work without being installed in the user profile (which is what nix-env will do by default)
<srhb> I believe some QT things suffer from this, for instance
<srhb> Other than that I agree with the sentiment, however, I _do_ want eg. my browser to actually be installed.
<trcc> srhb: Thank you. I am only using it for developing haskell applications, so not for elements such as browser. So in my case, it should be possible to keep it in x.nix
<srhb> I've never needed to install anything in the profile for haskell dev at least. :)
<{^_^}> [nixpkgs] @vbgl merged pull request #44612 → ocamlPackages.{core,async_kernel,async_extra,incremental_kernel}: update → https://git.io/fNDOx
<{^_^}> [nixpkgs] @vbgl pushed 4 commits to master: https://git.io/fNbaH
<trcc> great thanks
<srhb> trcc: I do deploy some Haskell applications, and in that case I have them installed globally from a nix expression of course.
<trcc> why?
<trcc> then you will have a mess of packages no?
<srhb> trcc: Well, they're installed via my configuration.nix, so I like to think it's not really a mess. :-P
<srhb> Or rather, the systemd-unit that depends on it is "installed"
<trcc> ok. Once I reach that step I'll see if I encounter problems :)
<srhb> trcc: :)
Lisanna has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #44841 → hydra: 2017-11-21 -> 2018-08-07 → https://git.io/fNQIi
<{^_^}> [nixpkgs] @nlewo pushed 3 commits to master: https://git.io/fNbVm
<ekleog> hmm… is there a channel somewhere where only {^_^} is speaking?
* ekleog would like to split notices from the rest of discussions
<srhb> ekleog: I don't think so, but great suggestion. I wonder if that suggestion should go to infinisil? I can never remember which person is responsible for which bot :P
<tilpner> gchristensen - ^
<srhb> Thanks tilpner
rauno has joined #nixos
<ekleog> nowadays gchrist*nsen is handling {^_^}, but infin*sil is handling the backend used by comma-based commands, IIRC :)
<srhb> Right, that makes sense :)
<joepie91> ekleog: handy tip: zero-width unicode spaces break highlights
<tilpner> ekleog - Note though that {^_^} does more than announcements. Filtering all of {^_^}s notices will make you miss parts of a conversation
<joepie91> (without visually affecting the name)
<ekleog> joepie91: some clients ignore it and highlight anyway (first offender in mind: matrix) :/
<srhb> Filtering the [somerepo] notifications might catch them...
<joepie91> ekleog: that's... surprising. we're using this in another channel with success, afaik
<srhb> Oh, but there's no such thing for nix...
<tilpner> Hmm, actually, I don't think infinisil is using notices at all
<joepie91> ekleog: when you say 'matrix' are you talking about the bridge parsing highlights, or about a particular client doing this?
hamishmack has joined #nixos
<tilpner> So go ahead and filter those (and not privmsgs)
<ekleog> joepie91: about one matrix user claiming to have been hl'd by a zero-width-space-protected name on mozilla#rust-offtopic, iirc :)
<ekleog> I don't know whether it's the bridge or the client, though
<ekleog> tilpner: the point (for me) is to read {^_^} notices more attentively than the whole of #nixos, though :° (I could setup triggers to recover only notices from {^_^} in another channel, but well, that's not really useful for other people…)
<DigitalKiwi> tail -f nixos.log|grep $USER ?
Guest55147 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #45010 → zn_poly: Add darwin support → https://git.io/fNbR9
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNbwD
<{^_^}> [nixpkgs] @Mic92 merged pull request #45004 → flint: Add darwin support → https://git.io/fNb8K
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNbwx
<{^_^}> [nixpkgs] @xeji merged pull request #45005 → qbittorrent: 4.1.1 -> 4.1.2 → https://git.io/fNb89
<{^_^}> [nixpkgs] @xeji pushed commit from @Chiiruno to master « qbittorrent: 4.1.1 -> 4.1.2 (#45005) »: https://git.io/fNbrO
<{^_^}> [nixpkgs] @Mic92 merged pull request #44997 → coq: default to version 8.8 → https://git.io/fNbJ7
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNbr0
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #44992 → ivan: maintainer update → https://git.io/fNF1L
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNbra
logzet has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl opened pull request #45016 → ocamlPackages.javalib: 2.3.4 -> 2.3.5 → https://git.io/fNbrh
justbeingglad has joined #nixos
logzet has joined #nixos
justbeingglad has left #nixos [#nixos]
<tfc[m]> hey there, what's the best way to make a specific folder exist in the configuration.nix file? I need some folder `/tmp/foo` to exist when some service starts.
<trcc> So there is a curated set of haskell packages, such that dependencies can be satisfied. But there is also nixpkgs. I thought nixpkgs was specific versions of haskell packages, but this does not align well with the curated set of packages. Can someone clarify this?
<srhb> tfc[m]: Probably letting systemd manage it.
<srhb> trcc: nixpkgs.haskellPackages is a slightly curated set of a snapshot of the latest packages from Hackage at some point in time.
<srhb> trcc: The "curated" set you're mentioning sounds like Stackage LTS?
<tfc[m]> srhb: what does that mean? i create a service whose whole purpose is creating that folder that is started before other services?
<srhb> tfc[m]: I think so, yes.
<trcc> srhb: will be back soon to discuss :)
<tfc[m]> srhb: ok, thank you
trcc has quit [Remote host closed the connection]
arjen-jonathan has joined #nixos
mrottenkolber has joined #nixos
<andi-> tfc[m]: presStart = "mkdir /tmp/foo"? :)
<tilpner> tfc[m] - See systemd.tmpfiles.rules
<andi-> or that
<tfc[m]> tilpner: oh that seems to be the shortest way to what i need!
trcc has joined #nixos
<trcc> srbh: sorry for that. It was breakfast and coffee time at an event I am attending. I am reading this currently: https://github.com/Gabriel439/haskell-nix/blob/master/project1/README.md
<trcc> and it states that nix uses a curated set of packages similar to stack
<trcc> so I am trying to figure out how it combines nixpkgs version with this. For example, if nixpkgs defines pkg y to be version 1.1, and pkg x to depend on pkg y f version 1.0. How does that resolve?
<tfc[m]> andi-: tilpner srhb i fixed it with `systemd.tmpfiles.rules = [ "d /tmp/foo 0755 root root - -" ];` thank you very much!
<ekleog> trcc: it doesn't, pkg x cannot depend on pkg y version 1.0 :) (if it does, then it means nixpkgs also defined pkg y version 1.1)
<andi-> I wonder how compatible that would be with PrivateTmp=true.. I always tend to enable that per default do avoid clashes/leaks/...
<trcc> ah ok
<trcc> ekleog: thanks
<dhess> trcc: haskellPackages in Nixpkgs used to do its own thing, but now it more or less follows the latest Stackage LTS release.
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/3878342ef02 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<dhess> I believe peti (the current maintainer) has some tooling that automatically generates haskellPackages from LTS.
<trcc> dhess: thanks!
<dhess> with a handful of manual overrides that are necessary for Nixpkgs
<srhb> See NixOS/cabal2nix/hackage2nix/README.md
<{^_^}> [nixpkgs] @chpatrick opened pull request #45017 → meshlab: 2016.02 -> 20180627-beta → https://git.io/fNbKd
<srhb> It's really based on all-cabal-haskes these days.
<srhb> hashes*
<dhess> oh it's not following Stackage anymore?
* johanot trying to say all-cabal-hashes 10 times fast.
<srhb> :-)
<trcc> ahh thanks
<dhess> ok trcc, it seems my info was outdated. Sorry about that.
<srhb> Basically (and please double check this) I think all-cabal-hashes + build-constraints.yml ~ Stackage
<trcc> dhess: no worries, I am following the discussion :) srhb then I guess nix does its own build constraints stuff?
<srhb> The process is a bit convoluted :-)
growpotkin has quit [Remote host closed the connection]
<srhb> trcc: So as dhess said we mostly have that hackage snapshot (hackage-package.nix) and then we have two(/three) kinds of overrides: Nix overrides (things needed for packages to work on Nix) in configuration-nix.nix, compiler specific overrides, in configuration-ghc-a.b.x.nix and "common" overrides -- things that need fixing regardless of nix and compiler version
<srhb> trcc: These overrides and fixes can be, for instance, disabling tests or changing dependency version
<srhb> trcc: I highly recommend taking a stroll through pkgs/development/haskell-modules and reading eg. configuration-common.nix -- the comments should clear up why a given override is necessary. :)
<srhb> On a high level it really just is "take a snapshot of all hackage packages, then fix up broken things with overrides"
<srhb> (I hope not one is offended by my gross oversimplifications here...)
<srhb> s/not/no
<dhess> well I guess I was right then... from a certain point of view :)
<srhb> Yes :)
<srhb> It might also be enlightening to search the nixpkgs git history for "hackage-packages.nix" -- you will see petis automatic updates and from which all-cabal-hashes commit they came.
<trcc> ahh thanks
<trcc> Actually understood it :) Well explained
<srhb> And only through half a jug of coffee down! *proud*
<trcc> haha
<trcc> I brought a whole pot from the breakfast table to my own table at the event
<srhb> Smart!
<ldlework> does anyone have a nice docker-host nixops config?
<srhb> The only things I usually find the need for is nailing down the default docker bridge...
<ldlework> go on
<srhb> interfaces.docker-bridge.ipv4.addresses = [ ... ]; bridges.docker-bridge.interfaces = [ ]; and then I think it's something along the lines of --bridge in docker.extraOptions.
<srhb> I don't have a configuration handy :)
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
fractal has joined #nixos
trcc has quit [Read error: Connection reset by peer]
freeman42]NixOS has joined #nixos
trcc has joined #nixos
mrueg has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<Taneb> Ugh, Hydra's GithubStatus plugin doesn't play as nice with required status checks for protected branches
<srhb> Taneb: How so?
<srhb> I use that.
<srhb> (I think...)
<Taneb> By default, it's context for the thing is something like "continuous-deployment/hydra:reponame:jobsetname:jobname"
simukis has joined #nixos
<srhb> What's the problem with that?
<Taneb> For us, the jobset name is different for every PR, we just want the jobname itself (we have one for our lint checker and one that does all the builds)
<srhb> Ah
<srhb> Can you get by with a static context?
<srhb> Or multiple.
<Taneb> What do you mean?
<Taneb> Oh, no, I get you
<Taneb> We'd have to change how we're doing things quite a bit
<srhb> That is, just set context = continuous/hydra:importantCheck
<srhb> Ah.
<Taneb> But in principle it's possible?
<srhb> Seems the simplest way to me...
<Taneb> If I understand it that'd mean we'd have to have a separate jobspec for the lint and the build
<srhb> Isn't that ideal anyway?
<srhb> eg. two <githubstatus> blobs
hotfuzz has quit [Ping timeout: 268 seconds]
<Taneb> Probably, I just wanted to stick to conservative changes from what we had working previously (which was using a really heavily modified Hydra that someone who's no longer here did)
thetet has joined #nixos
thetet has left #nixos [#nixos]
daftect[m] has left #nixos ["User left"]
jbaum98 has quit [Quit: Connection closed for inactivity]
Dedalo has joined #nixos
mayhewluke has quit [Ping timeout: 272 seconds]
trcc has quit [Remote host closed the connection]
goibhniu has quit [Ping timeout: 272 seconds]
goibhniu has joined #nixos
reinzelmann has quit [Ping timeout: 240 seconds]
<maerwald> bye nixos, back to a working distro
maerwald has left #nixos [#nixos]
<rauno> :D
<{^_^}> [nixpkgs] @garbas opened pull request #45019 → firefox-bin: fix for broken icons due to broken symlink → https://git.io/fNbyi
<carlosdagos> ragequit?
<infinisil> Lol
mayhewluke has joined #nixos
<hyper_ch2> Mic92 tried to build zfs master on linux but failed :(
<q3k> thoughtpolice: i already added trellis, kinda :)
<q3k> thoughtpolice: there's been some changes on whether nextpnr can build based off an installed trellis - it wasn't able to do that (needed the full source dir earlier), but I think it is able now?
<Mic92> hyper_ch2: I was able to boot into the zfs version I opend the pull request for.
<q3k> thoughtpolice: anyway, I also have my half-baked nextpnr expression, just need to fix up trellis support
<hyper_ch2> Mic92: btw, with current zfs, it takes like 200 secons or something to import hte pool
<hyper_ch2> time for lunch now
reinzelmann has joined #nixos
<Mic92> hyper_ch2: sounds like harddrives
logzet has quit [Remote host closed the connection]
<Taneb> srhb: OK, I think I was being a bit stupid and doing it that way is going to be much, much easier than I assumed
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/fNbSS
<Taneb> srhb: thanks for the suggestion!
<srhb> Taneb: Glad! :)
Phillemann has joined #nixos
Phillemann has left #nixos [#nixos]
Phillemann has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to master « hydra: remove me as maintainer »: https://git.io/fNbSh
<Phillemann> I just updated NixOS after a two-week absence and now PA doesn't seem to work anymore. At least pavucontrol doesn't connect. Has anything changed in nixos-unstable recently?
fendor has joined #nixos
<Phillemann> (Regarding sound, that is)
timokau has quit [Quit: WeeChat 2.2]
freeman42]NixOS has quit [Ping timeout: 240 seconds]
<{^_^}> #44876 (by eadwu, 3 days ago, merged): display-managers: rely on socket to activate pulseaudio
<Taneb> Not quite as easy as I assumed...
<{^_^}> [nixpkgs] @rawkode opened pull request #45021 → Adding new package: Wavebox → https://git.io/fNb9P
<rauno> probably unstable changes quite much
<Taneb> So, initially I had a <githubstatus> block which matches jobs "reponame:pr[0-9]+:.*". This was what I was describing earlier.
<Taneb> I've added two more blocks, one which matches "reponame:pr[0-9]+:lint" and one which matches "reponame:pr[0-9]+:everything" (lint and everything are both things that exist)
<Taneb> The only way these differ from the working one is they have a different jobs regex and a specified context
<Taneb> They don't seem to be going through to GitHub
<srhb> Taneb: And they each have different contexts ig. everything and lint?
<Taneb> srhb: yes
<srhb> Taneb: Have you checked the status api?
<srhb> I can't see anything wrong with what you've done immediately...
<Taneb> Unless you mean "looking at the checks on the PR", I don't know how I would check the status API
<srhb> Taneb: I just meant curling the raw endpoint, but I guess that really should be the same thing.
<srhb> https://api.github.com/repos/owner/repo/commits/ref/status -- with the correct key sent along. But I do believe it should be the same thing...
indika has quit [Quit: Connection closed for inactivity]
<ocharles> Is there a way to turn a Nix path expression into the absolute path it points to (not copying into the Nix store)?
orivej has joined #nixos
<tilpner> > ${toString ./.}
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> error: syntax error, unexpected DOLLAR_CURLY, at (string):167:1
<tilpner> > "${toString ./.}"
<{^_^}> "/var/lib/nixbot/state/nixpkgs"
<clever> > ./.
<{^_^}> /var/lib/nixbot/state/nixpkgs
hamishmack has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ocharles> Taneb: if you figure out how to do what you want I'm interested
<Taneb> ocharles: srhb has got something similar working, so I've probably just made a stupid mistake
<ocharles> Note there is a huge flaw atm in Hydra that it only reports statuses for things it builds. E.g., you have two jobs in a jobset. In the first commit job A passes and job B fails. You fix job B in the next commit. Hydra won't report job A succeeding
<ocharles> afaik
<{^_^}> hydra#165 (by ocharles, 4 years ago, open): Hipchat plugin should be configurable to always send messages
<ocharles> this to me makes the status check pretty useless. Probably the best option is some kind of "union" build that depends on everything else and only do the protected check on that
tv has quit [Quit: WeeChat 2.0]
tv has joined #nixos
<Taneb> Yeah, that's what we're doing (we've called it "everything")
<ocharles> Can you share your everything expression?
Fare has joined #nixos
amfl has quit [Ping timeout: 260 seconds]
<Taneb> It's something like "everything = pkgs.buildEnv {name = "everything"; paths = [{inherit everything we care about;}];};"
<Taneb> So, it builds an environment with all our packages
<Dezgeg> at least the nixos tests use releaseTools.aggregate
<Dezgeg> to build the 'tested' job which depends on the release-critical stuff
<clever> aggregate does some special stuff, so hydra is aware of it being an aggregate job, and then hydra can show the contents of it
<Taneb> Ooh, that's neat
hodapp has quit [Quit: WeeChat 1.0.1]
<Taneb> I'm going to have to switch to that
<hyper_ch2> Mic92: no, it's ssd in mirror.... and if I add debug1devices and it drops to shell I can import it immediately
<Mic92> hyper_ch2: I think it waits for all devices to be ready before it set up the raid for safety reason: https://github.com/NixOS/nixpkgs/pull/42269
<{^_^}> #42269 (by Baughn, 7 weeks ago, merged): zfs: Improve import handling
<ocharles> Cool, thanks for the tips there
<ocharles> I'll throw that in
<Baughn> It shouldn't wait forever.
<Baughn> If a device is missing, then after two or three minutes it'll give up and proceed anyway.
amfl has joined #nixos
<Mic92> then maybe this is the case
<clever> hyper_ch2: are both halves of the ssd mirror on the same protocol?
hodapp has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #45023 → add lincenses: alsa[Utils,Tools,Oss], altermime → https://git.io/fNbdm
<hyper_ch2> Mic92: before using 4.17 with the patches it didn't behave like that
<hyper_ch2> it only started to be that slow with 4.17 kernel
<hyper_ch2> clever: what do you mean on the same protocol?
<clever> hyper_ch2: are they both sata drives?
<hyper_ch2> no, one sata one m2
<clever> hyper_ch2: after you manually import the pool, do `zpool status`, what does it say?
<hyper_ch2> degraded of course
<hyper_ch2> since I have 2 external drives, 1 at home, 1 at the office
<hyper_ch2> that gets added for sync
<clever> hyper_ch2: ah, and Baughn's safety wont allow a degraded pool to import immedietly
<hyper_ch2> but there's a 2+ minute timeout
<hyper_ch2> which is totally insane
<Baughn> I've seen disk spinup delays of upwards of forty seconds.
<clever> hyper_ch2: have you set the missing drive as offline with `zpool offline` ?
<Baughn> It's not ideal, but this needs to work for *everyone*.
<Enzime> anyone know what's up with Rust/OfBorg?
<Enzime> cc gchristensen
<hyper_ch2> clever: no
<clever> hyper_ch2: that might solve things
<Enzime> https://logs.nix.ci/?key=nixos/nixpkgs.44922&attempt_id=143bf2d8-514b-4d9f-bd7c-2da7edbd17b6
<Baughn> I'm pretty sure it wouldn't.
<hyper_ch2> clever: tried, doesn't work setting it offline on shutdown
<hyper_ch2> Baughn: clever: Mic92: https://github.com/NixOS/nixpkgs/issues/43797
<{^_^}> #43797 (by sjau, 3 weeks ago, open): ZFS root pool import in initrd slow - 2 min 25 secs
<Baughn> hyper_ch2: I'd recommend using znapzend instead of physically moving disks around, if possible. Not only will it work better with this code, but spinning rust doesn't like movement very much.
<clever> Taneb: i checked, and aggregate is just a normal derivation, with _hydraAggregate=true; and constituents = [ list of derivations ];, and a buildCommand that sets up some nix-support stuff when passing
<hyper_ch2> Baughn: no need for that
<hyper_ch2> Baughn: I don't move physically disks around
<hyper_ch2> Baughn: but please tell me, why is there a 2min 25seconds timeout? that's just insane
<clever> hyper_ch2: because sometimes a drive in the array takes 40 seconds to come online, and its a very bad idea to start a degraded pool
<Baughn> ^ that.
<Dezgeg> sounds like there just needs to be a knob for people to tune down the timeout if they really need it for their usecase
<Baughn> It was supposed to be temporary code, waiting for full systemd support in initrd and zfs.
<hyper_ch2> Baughn: becuase of that I do now https://github.com/sjau/nixos/blob/master/hardware-configuration.nix#L13 to import it manually
<hyper_ch2> Baughn: but maybe you can help me to put the external disks into offline mode when powering down
<hyper_ch2> Baughn: I tried to do it https://github.com/sjau/nix-expressions/blob/master/stopResilver.nix but it's not setting them to offline
<Baughn> hyper_ch2: That wouldn't actually help. The pool will still be degraded, and the script isn't smart enough to tell that it *can't* get any better.
<Baughn> But I do think I have a solution for you. One sec...
<hyper_ch2> Baughn: why would it still be degrade if it was set to offline?
<hyper_ch2> where's the systemd part that I tried to write... the script works... just it's not being executed when shutting down
<Baughn> It just parses the `zpool status` output. To be fair, I haven't checked.
<Baughn> hyper_ch2: Are you sure your script is being executed?
<hyper_ch2> I tried to run it by systemd when powering down.... it doesn't work
<hyper_ch2> if I run the script manually, it works
<Baughn> That isn't the way to get it running on shutdown, I think.
<Baughn> Anyway, this might work:
<hyper_ch2> I tried a lot of things to run it while powering down... couldn't get it to work
<Baughn> `boot.initrd.postDeviceCommands = "sleep 5; zpool import -a";`
<hyper_ch2> Baughn: I use encryption.. is that a problem?
<Baughn> That makes it more complicated. But basically just put the same import command you'd otherwise use, in there.
<Baughn> It'll run right after /dev is populated, so before the mount scripts are run.
<Baughn> It won't be *in order* with any other mounts. This may or may not be a problem.
<Baughn> ...and hopefully it also won't, say, be run after the zfs import script. But I can't guarantee that.
<hyper_ch2> what do you mean won't be in order with any other mounts?
<Baughn> It probably doesn't matter. If all your ZFS filesystems are set to mountpoint=legacy, as they should be, then importing the pool won't attempt to mount anything.
<Baughn> But I mean e.g. attempting to mount /home before /
<hyper_ch2> ah ok
reinzelmann has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Mic92 merged pull request #45019 → firefox-bin: fix for broken icons due to broken symlink → https://git.io/fNbyi
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/fNbFw
<hyper_ch2> boot.initrd.postDeviceCommands = "sleep 5; zpool import -a; zfs load-key -a";
<hyper_ch2> or can I omit the load-key -a ?
<{^_^}> [nixpkgs] @Mic92 merged pull request #45008 → gfan: Add darwin support → https://git.io/fNbBy
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNbFi
wrl has joined #nixos
iyzsong has joined #nixos
<hyper_ch2> Baughn: ok, did add the zfs load-key -a as well.... but now I just have to wait until I'm back home
<hyper_ch2> can't remotely reboot my notebook
kisik21 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #44981 → buildRustPackage: allow patches to fix Cargo.lock → https://git.io/fNFIf
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fNbAv
<{^_^}> [nixpkgs] @timokau merged pull request #44148 → javacard-devkit: init at 2.2.2 → https://git.io/fNujk
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fNbA3
<Taneb> srhb: ocharles: apparently the order I listed the <githubstatus> configs matters?
<Taneb> Putting "lint" and "everything" before the other one seems to have worked
voiceftp has quit [Ping timeout: 240 seconds]
<Taneb> But then the one that builds and reports all jobs doesn't seem to be reporting anything
<clever> Taneb: yeah, i have also found that the order matters
<{^_^}> hydra#509 (by cleverca22, 47 weeks ago, open): GithubStatus not obeying all config
voiceftp has joined #nixos
<Taneb> This line looks like it's going to be (part of) the issue: https://github.com/Taneb/hydra/blob/myrtle/src/lib/Hydra/Plugin/GithubStatus.pm#L56
<clever> Taneb: yeah
voiceftp has quit [Read error: Connection reset by peer]
voiceftp has joined #nixos
voice_ftp has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #45012 → linuxPackages.zfsUnstable: 2018-05-22 -> 2018-08-13 → https://git.io/fNbEU
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNbxA
rauno has quit [Ping timeout: 244 seconds]
voice_ftp has quit [Remote host closed the connection]
voiceftp has quit [Ping timeout: 268 seconds]
dkibi has joined #nixos
revtintin has joined #nixos
Dedalo has joined #nixos
<hyper_ch2> Mic92: you already adjusted for 4.18?
<Mic92> hyper_ch2: I was able to compile it for 4.18
<hyper_ch2> Mic92: when I tried I got https://paste.simplylinux.ch/view/raw/42b7bffe
<hyper_ch2> thx for the work
<hyper_ch2> I also see the legacy crypto part is already removed
<{^_^}> [nixpkgs] @xeji merged pull request #45016 → ocamlPackages.javalib: 2.3.4 -> 2.3.5 → https://git.io/fNbrh
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « ocamlPackages.javalib: 2.3.4 -> 2.3.5 (#45016) »: https://git.io/fNbhs
<hyper_ch2> Mic92: there's still: incompatibleKernelVersion = "4.18";
<mpickering> Can anyone give some pointers about styling xfce desktop?
<hyper_ch2> no
<ocharles> mpickering: sure, blue and black and in at the moment. I wouldn't advise red, that's very last-year.
<ocharles> hth
<ocharles> are in*
<Mic92> hyper_ch2: this was added after I branched of
<hyper_ch2> Mic92: ok, great :)
rprije has quit [Ping timeout: 272 seconds]
freeman42x]NixOS has joined #nixos
<Taneb> What comment syntax does Hydra's confign file use (if any)
<{^_^}> [nixpkgs] @Mic92 pushed to master « zfsUnstable: compatible with 4.18 again »: https://git.io/fNbhX
<aminechikhaoui> Taneb: should be # <comment>
<goibhniu> declarative desktop theming would be lovely
<Taneb> aminechikhaoui: thanks, I'll give that a go
<hyper_ch2> yey
glasserc has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45023 → add licenses: alsa[Utils,Tools,Oss], altermime → https://git.io/fNbdm
<{^_^}> [nixpkgs] @xeji pushed 5 commits to master: https://git.io/fNbjX
disasm has quit [Ping timeout: 272 seconds]
<gchristensen> Enzime whats' up?
<gchristensen> Enzime: is there a problem there?
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
worldofpeace has quit [Quit: worldofpeace]
<mpickering> The correct useful answer is you install the package in systemPackages and then the normal style manager picks it up
worldofpeace has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9cbc7363543 (from 80 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
alexteves has joined #nixos
DigitalKiwi has quit [Quit: DigitalKiwi]
biopandemic has quit [Ping timeout: 256 seconds]
rembo10 has quit [Quit: ZNC 1.7.1 - https://znc.in]
Dedalo has joined #nixos
rembo10 has joined #nixos
mayhewluke has quit [Ping timeout: 240 seconds]
pie_ has joined #nixos
jperras has joined #nixos
lo_mlatu has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #45017 → meshlab: 2016.02 -> 20180627-beta → https://git.io/fNbKd
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNNJm
Anton-Latukha has quit [Quit: Leaving.]
<lo_mlatu> Has any one used brightnessctl here? Enable `hardware.brightnessctl` can't get it work. The udev rule added but failed with exit code 1 during boot. However, manually running those commands specified in the rule with sudo succeed
<silver_hook> If I want to install Python 3.x with some extra modules (e.g. Pygments), how do I go about this proper™?
<silver_hook> Same question for Haskell
<clever> lo_mlatu: when i checked the service, it didnt even have a udev rule in the package
Fare has quit [Ping timeout: 272 seconds]
<Taneb> clever: hmm, the line I linked (which I've just realised was in my fork, but that file's unchanged) shouldn't be breaking things... %seen should fall out of scope for the next $conf, and be undefined
<Taneb> Then again I don't know perl that well
<Taneb> I'm gonna try explictly undef'ing it where I'd expect it to disappear
<lo_mlatu> clever: this has been fixed in the `nixos-unstable` channel
<clever> lo_mlatu: ah
<symphorien> silver_hook: install (python3.withPackages(ps: with ps; [ pygments ]))
<clever> silver_hook: i would avoid installing python or haskell in such a manner, and just load that with nix-shell
<symphorien> silver_hook: for variations, see https://nixos.org/nixpkgs/manual/#user-guide
<silver_hook> symphorien, clever: Thanks. And for Haskell?
<srk> ,haskell silver_hook
<silver_hook> srk: Thanks. Hmmm, I think something’s wrong with Firefox’s search. I swear I searched the manual for it and it didn’t show it. I has some similar issue on other pages
<srk> silver_hook: nixos manual vs nixpkgs manual maybe
<silver_hook> srk: Ah, that could be it.
* silver_hook still eyes Firefox suspiciously
Denommus has joined #nixos
jperras has quit [Quit: WeeChat 2.2]
eskytthe has quit [Quit: Leaving.]
lo_mlatu has quit [Quit: Page closed]
mayhewluke has joined #nixos
brtknr has quit [Quit: WeeChat 1.9]
<Taneb> Hmm, that didn't seem to help
pie_ has quit [Ping timeout: 272 seconds]
lo_mlatu has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
biopandemic has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9cbc7363543 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<hyper_ch2> Mic92: building now from master
yosemitesam has joined #nixos
pie_ has joined #nixos
sphaugh has joined #nixos
jperras has joined #nixos
selfsymmetric-mu has quit [Ping timeout: 240 seconds]
jmeredith has joined #nixos
Dedalo has joined #nixos
jbaum98 has joined #nixos
UNIcodeX_ has left #nixos ["Leaving"]
<srk> ,overlays
<{^_^}> srk: Did you mean overlay?
<{^_^}> Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
Drakonis has joined #nixos
gspia has quit [Ping timeout: 260 seconds]
<Taneb> (what's the reasoning for using super for library functions?)
<Taneb> (because if you modify one using itself you end up in a nasty infinite loop?)
<clever> i would use self.lib
<aminechikhaoui> any good idea how to disable a user using users.extraUsers ?
hyper_ch2 has quit [Quit: Page closed]
vidbina_ has quit [Ping timeout: 240 seconds]
<aminechikhaoui> I have basically a user imported from a shared config, I want to disable that without touching the shared config expression
<clever> aminechikhaoui: what happens if you users.extraUsers.foo = lib.mkForce null;
<aminechikhaoui> I think it doesn't accept that, let me try again (also tried making the uid null)
<sphaugh> how do I test a font I want to add to nixpkgs? we can't use them via nix-env?
<aminechikhaoui> clever: yeah I get value is not of type `submodule'
<clever> aminechikhaoui: if the uid is null, it will just auto-assign the uid
<clever> sphaugh: fonts have to be in the fonts.fonts option in nixos
<clever> aminechikhaoui: i dont think there is any way to disable a user, just force change the ssh keys and password so nobody can access it
endformationage has joined #nixos
<aminechikhaoui> hm bummer
<sphaugh> clever, should i add my local nixpkgs to root's NIX_PATH? how would i get around this?
<clever> sphaugh: you can also just let pkgs2 = import /home/clever/nixpkgs {}; and then add pkgs2.customfont to the config
<sphaugh> ahh, thanks!!
ryanartecona has joined #nixos
cmacrae has joined #nixos
derchris has joined #nixos
<bbigras> I'm trying to add a lib path using LD_LIBRARY_PATH (which is not already set). When I set it I think I'm replacing the default value. Is there a way to append to it easily?
erasmas has joined #nixos
<sphalerite> bbigras: in a systemd unit?
ben has joined #nixos
<cmacrae> Hey guys o/ Hopefully an easy one for any of you to answer. I've got
<cmacrae> a collection of overlays I use on my macOS systems. In my main
<cmacrae> config, I'm declaring them all like this:
<cmacrae> Oh wow... sorry a bout the formattinig on that message
<cmacrae> :/
aanderse has joined #nixos
<cmacrae> Anyway; I was going to ask: Is there a clean expression I can use to simply loop over those in the 'overlays/' directory, rather than having to declare each one?
<bbigras> I didn't think it was a systemd unit but "services.xserver.displayManager.job" might be to define /etc/systemd/system/display-manager.service. If so, the lib I'm trying to add would already be included.
<bbigras> I'm trying use Active Directory with sssd. I can log in with ssh but not with gdm. With strace I saw that gdm-session-worked didn't have [...]sssd-1.16.0/lib in its LD_LIBRARY_PATH.
<bbigras> I was hoping to LD_LIBRARY_PATH on its parent.
<aanderse> i'm having some issues setting up nix to build with private git repo
<aanderse> so i have ssh-config-file set in my nix path, and the identity file it specifies is readable by the nix builder
<aanderse> the error i'm experiencing something like:
<aanderse> the ssh key was added to the gitlab instance and i confirmed that i can clone it etc... with a user account that has a .ssh/config pointing to the key
<aanderse> export git@git.----------/some-project.git (rev ----) into /nix/store/------
<aanderse> initialized empty git repository in /nix/store/-----
aanderse has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<gchristensen> _sigh_ Sigyn is a mixed bag.
johanot has quit [Quit: leaving]
aanderse-work has joined #nixos
<cmacrae> Thanks clever - I'll try and put something together from this
<aanderse-work> ok let me try this again...
<aanderse-work> i'm having some issues setting up nix to build with private git repo
<aanderse-work> so i have ssh-config-file set in my nix path, and the identity file it specifies is readable by the nix builder
<aanderse-work> the ssh key was added to the gitlab instance and i confirmed that i can clone it etc... with a user account that has a .ssh/config pointing to the key
<aanderse-work> the error i'm experiencing something like:
<aanderse-work> export git@git.----------/some-project.git (rev ----) into /nix/store/------
<aanderse-work> initialized empty git repository in /nix/store/-----
<aanderse-work> no user exists for uid 1000
<aanderse-work> fatal: could not read from remote repository
<aanderse-work> please make sure you have the correct access rights and the repository exists
<aanderse-work> does anyone have any experience getting this working?
aanderse-work has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<infinisil> ....
Henson has joined #nixos
<gchristensen> if he manages to come back, tell them to use a pastebin!
<gchristensen> and collapse their messages in to fewer lines
rembo10 has quit [Quit: ZNC 1.7.1 - https://znc.in]
iyzsong has quit [Quit: ZNC 1.7.0 - https://znc.in]
<gchristensen> and if we should get rid of sigyn, we can
aanderse-work has joined #nixos
<sphalerite> ,paste aanderse-work
<clever> ,paste aanderse-work
<{^_^}> aanderse-work: Use a website such as http://nixpaste.lbr.uno/ or https://gist.github.com/ to share anything that's longer than a couple lines
<{^_^}> aanderse-work: Use a website such as http://nixpaste.lbr.uno/ or https://gist.github.com/ to share anything that's longer than a couple lines
<sphalerite> lol clever
<aanderse-work> sorry :(
<clever> you beat me!
<infinisil> I was just about to hit ,paste too lol
<sphalerite> {^_^} has quit (Killed (Sigyn (Spam is off topic on freenode.)))
<Henson> is there a way to get Nix to manage files in the /etc directory if I'm not using NixOS? Is it permissible for derivations to alter things outside of the nix store?
<sphalerite> Henson: the former, sort of. The latter, no
<aanderse-work> ok... i'm having issue with private git repos
<aanderse-work> here is my error: https://pastebin.com/VaqbvyTn
<sphalerite> Henson: you can make symlinks in /etc to a nix profile
aanderse-work is now known as aanderse
<aanderse> anyone have any experience getting private git repos working with nixos and ssh keys?
cmacrae has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<gchristensen> sphalerite: {^_^} can't be killed by Sigyn :)
<aminechikhaoui> aanderse: I think you need to add ssh://git@..
<aminechikhaoui> ?
hiroshi- has joined #nixos
<sphalerite> gchristensen: ;)
<Henson> sphalerite: yes. So I'd just link files from ~/.nix-profile/etc into /etc? But that would have to be done manually outside of Nix? It might even be possible to set up a unionfs overlay to automatically bring things from the Nix profile into the /etc directory without having to do it manually.
sphaugh has quit [Quit: leaving]
<clever> aanderse: have you looked at builtins.fetchGit, it doesnt need most of that ssh setup
<Henson> sphalerite: what I mean by "manually outside of Nix", is I couldn't have a Nix derivation do the linking for me
<gchristensen> Henson: you can create an "activation" script which just makes symlinks in to /etc, and you nix-build it and then execute
<aanderse> clever: is fetchgit different than fetchGit? and can fetchGit handle private repos via ssh keys?
<sphalerite> Henson: Yes, although I'd probably create a different profile for it and use `nix-env -p /nix/var/nix/profiles/etc --set -f my-etc-derivation.nix`
<clever> aanderse: builtins.fetchGit runs the git clone outside of any nix sandbox, so it can just use normal ssh keys in $HOME
<sphalerite> Henson: and manage the symlinks using stow maybe. Or the unionfs/overlayfs option you mentioned, or a script that symlinks in all the files built (but not run)by nix itself
<sphalerite> as gchristensen mentioned
sphaugh has joined #nixos
hiroshi has quit [Ping timeout: 256 seconds]
hiroshi- is now known as hiroshi
<aanderse> clever: that sounds great! i'll try it right now
<sphalerite> Henson: but yeah, nix derivations can only produce their output paths and can't touch anyhting outside them
<Henson> sphalerite, gchristensen: ok, thanks for your help!
<sphalerite> in principle that is. This is enforced by sandboxing, which can be turned off. You could probably make it work somehow by disabling sandboxing and with some very dodgy permissions. But that's really not a good or useful path to follow :)
<aanderse> clever: no sha256 attribute with fetchGit? how is the source verified?
fendor has quit [Ping timeout: 244 seconds]
<sphalerite> aanderse: it's not
<sphalerite> aanderse: you can provide a sha256 in which case it is, but if you don't it behaves completely impurely
<aanderse> sphalerite: i get an error: unsupported argument 'sha256' to 'fetchGit'
<aanderse> how do i provide a sha256?
<clever> aanderse: if you provide a rev, it should mostly be good
<aanderse> clever: do you have any examples of this? since its the same as fetchgit google search isn't being overly helpful...
<sphalerite> huh I thought it did support it
<{^_^}> [nixpkgs] @jtojnar merged pull request #44820 → redshift/geoclue/localtime: progress in fixing agent confusion → https://git.io/fNH23
<{^_^}> [nixpkgs] @jtojnar pushed 5 commits to master: https://git.io/fNNGT
Ariakenom has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #44802 → blockhash: 0.3 -> 0.3.1 → https://git.io/fN9KZ
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNNZt
<aanderse> should url be prefixed by ssh:// or something?
<aanderse> my url is git@host:path/project.git
<aanderse> simply putting that in as the url is causing issues
lo_mlatu has quit [Quit: Page closed]
<aminechikhaoui> aanderse: yes
<aminechikhaoui> e.g nix eval '(builtins.fetchGit ssh://git@github.com/NixOS/nix)'
<{^_^}> [nixpkgs] @Infinisil opened pull request #45028 → pdd: 1.3 -> 1.3.1 → https://git.io/fNNn7
sphaugh has quit [Quit: Lost terminal]
<yosemitesam> Is there a way to build the package qtile with python36 instead of python27 while using services.xserver.windowManager.qtile.enable = true?
<yosemitesam> I could build qtile with python36 in user env with an overlay which does qtile = super.qtile.override { python27Packages = python36Packages; };
<aanderse> oh wow thank you all so much for your help!
<aanderse> i never knew about fetchGit
<yosemitesam> Should I just add the same overlay in the system configuration or is there a better way to do it in the configuration itself?
<aanderse> fantastic!
<yosemitesam> *in the configuration.nix itself
<aanderse> i've been banging my head all morning trying to get some key stuff working from a blog post
<sphalerite> yosemitesam: yep that should work
<infinisil> Any python knowers here? How do I make buildPythonApplication build all setup.py targets? If that's even a thing
<infinisil> I have no idea how I can make it build the server part of this package
<Mic92> infinisil: it is not a build target, more a set of packages that get installed, when you run `python setup.py install .server`
<Mic92> you can just provide the dependencies listed there
<yosemitesam> @sphalerite thank you I added it now in configuration.nix with nixpkgs.overlays and it seems to work
<infinisil> Mic92: But it doesn't seem to actually build that part, I can't find a bukuserver binary in the result
<infinisil> And it doesn't complain about these deps missing
Fare has joined #nixos
<Mic92> infinisil: by just looking at the code it should just work, because the entrypoint is defined there for bukuserver: https://github.com/jarun/Buku/blob/d48eba989c1cf5b75cf6a6a35a99532e73d5ff87/setup.py#L54
bkchr[m] has joined #nixos
<bkchr[m]> (I don't know if the message got through)
<bkchr[m]> Is there an option to disable X packages? I'm not sure, but I remember that I saw such an option.
<infinisil> Mic92: Hmm, no idea why it doesn't work. Here are the logs: https://gist.github.com/Infinisil/8fd7a33b5cacb5cee3c38bae95062fc4#file-gistfile1-txt-L80-L90
<infinisil> bkchr[m]: environment.noXlibs
<bkchr[m]> infinisil: ahh, perfect. Ty!
aarvar has joined #nixos
FareTower has joined #nixos
Ariakenom has joined #nixos
Fare has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @rawkode opened pull request #45029 → Update vscode from 1.15.1 -> 1.26.0 → https://git.io/fNN83
Ericson2314 has joined #nixos
FareTower has quit [Ping timeout: 244 seconds]
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
<infinisil> Mic92: According to the setuptools docs these extra_requires are only optional dependencies, and installing `package[extra1, extra2]` would make it add these extras
<infinisil> But I still don't know how I could do this with buildPython{Application,Package}
johnw has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @eadwu opened pull request #45030 → [WIP] nvidia_x11_beta: reinit at 396.51 → https://git.io/fNN4x
<etu> Why wouldn't this work in a nix-shell: https://ptpb.pw/gxPV/nix ?
__monty__ has joined #nixos
<elvishjerricco> domenkozar: Do you think there's any chance of getting monoidal configuration for Nix? The fact that `cachix` just copies the cache list in `/etc/nix/nix.conf` to `~/.config/nix/nix.conf` makes me a little queasy, for what if `/etc/nix/nix.conf` is later modified? Plus with some kind of monoidal configuration, we wouldn't need special options to extend things on the command line.
<infinisil> Oh, I figured it out..
<infinisil> Nix's buku package was declaring installPhase, which overrides the pip install
<etu> The questioning is about emacsWithPackages in my link above
<infinisil> Mic92: ^
rouma has joined #nixos
fendor has joined #nixos
<MichaelEden[m]> I've written a module for `ofono` which I'd like to merge upstream, how do I test this module on nixos? I can do `nixos-rebuild switch -I ~/nixpkgs` but then I bring my entire system up to an unstable channel. Here is the commit: https://github.com/illegalprime/nixpkgs/commit/0b6f456ba03d8a1d00944427f5e868b94b6f7970 .
<clever> MichaelEden[m]: you can add any module you want to the imports section of configuration.nix
rouma has quit [Ping timeout: 244 seconds]
witchof0x20 has quit [Remote host closed the connection]
<domenkozar> elvishjerricco: https://github.com/NixOS/nix/issues/2149
<{^_^}> nix#2149 (by domenkozar, 13 weeks ago, open): ~/.config/nix/nix.conf overrides values of /etc/nix/nix.conf
<elvishjerricco> domenkozar: Ah, thanks
FareTower has joined #nixos
<domenkozar> yw :)
witchof0x20 has joined #nixos
sigmundv has quit [Ping timeout: 244 seconds]
<elvishjerricco> I like the idea of the GNU style CLI syntax, and the `+=` syntax for the conf files.
jbaum98 has quit [Quit: Connection closed for inactivity]
rouma has joined #nixos
pie_ has quit [Ping timeout: 240 seconds]
FareTower has quit [Ping timeout: 260 seconds]
arjen-jonathan has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jbaum98 closed pull request #45013 → fflas-ffpack: Add darwin support → https://git.io/fNbEX
jperras has quit [Quit: WeeChat 2.2]
johnw has joined #nixos
<infinisil> A package I'm trying to get into nixpkgs apparently uses some license I can't identify: https://github.com/lixxu/flask-paginate/blob/master/LICENSE
<infinisil> What should I do? How can I specify this exact license in meta?
<MichaelRaskin> Isn't it BSD3?
<Dezgeg> yes
<infinisil> Ohh
<infinisil> Thanks
jiaew3 has joined #nixos
<bkchr[m]> Hmm, my zsh configuration complains about zsh-autosuggestions on my raspberry, that it can not find brew? On my Laptop the configuration works without problems..
alex`` has joined #nixos
rouma7 has joined #nixos
<Denommus> where does the gitlab module actually loads gitlab-smtp-settings?
Havvy has joined #nixos
rouma has quit [Ping timeout: 244 seconds]
inquisitiv3 has joined #nixos
vidbina_ has joined #nixos
mayhewluke has quit [Ping timeout: 276 seconds]
rouma7 has quit [Quit: Leaving]
FareTower has joined #nixos
kenshinCH has joined #nixos
<kenshinCH> Hi all. At work I have an iMac and I can't bear MacOS anymore, so I'm strongly thinking of installing NixOS, at first in dual boot and then who knows. Can someone tell me their experience with NixOS on Mac, or point me to web resources? I'd like to be sure it actually works well before making a mess at work :)
kisik21 has quit [Ping timeout: 256 seconds]
jbaum98_ has joined #nixos
jbaum98_ has quit [Client Quit]
jbaum98 has joined #nixos
<jbaum98> i'm having issues with openblas on darwin. are there known issues with that?
revtintin has quit [Quit: WeeChat 1.9.1]
<ivan> kenshinCH: you could try getting used to it in a VM first
mayhewluke has joined #nixos
<symphorien> kenshinCH: there are profiles for various macs in https://github.com/NixOS/nixos-hardware/tree/master/apple
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/9cbc7363543 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<kenshinCH> ivan: I'm already using it at home. I only wonder about hardware problems, not the OS itself
<Denommus> ok, I found it, I guess
<Denommus> how can I open a rails console to gitlab, now?
<{^_^}> [nixpkgs] @stephengroat opened pull request #45031 → terragrunt: 0.14.6 -> 0.16.5 → https://git.io/fNNwy
<kenshinCH> symphorien: thanks! But I'm afraid mine is an iMac and there I see only MacBooks :7
mahavira has joined #nixos
<mahavira> I'm failing to get any internet access using nix utilities, inside a docker image. It fails to do download a package or update a channel, but curl, for example, works fine. Any idea why?
<symphorien> ah sorry
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
ryanartecona has quit [Quit: ryanartecona]
<infinisil> Probably nobody has an answer to this, but I'll ask anyways
<inquisitiv3> clever: Do you nick cleverca22 @ Github?
<{^_^}> [nixpkgs] @gebner merged pull request #45029 → Update vscode from 1.15.1 -> 1.26.0 → https://git.io/fNN83
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/fNNrc
<infinisil> The error seems related to this test file: https://github.com/Knio/dominate/blob/master/tests/test_document.py
<infinisil> But I can't make out why
<clever> inquisitiv3: yeah, cleverca22 is me
<inquisitiv3> clever: Thanks!
<typetetris> mahavira: Can it be a proxy configuration issue?
johnw has quit [Ping timeout: 256 seconds]
<inquisitiv3> How do I get WIFI working on my laptop? I installed NixOS yesterday. I have an Intel chip for WIFI. Allowed unfree packages. But can't find Plasma's GUI for connecting to wireless networks in the system tray. Can't find anything relevant to install when I search after packages with the term "network".
<clever> inquisitiv3: does `iwconfig` or `ip link` show a wireless interface?
<goibhniu> have you enabled network manager?
<sphalerite> inquisitiv3: does the interface show up in `ip link`? It should be something starting with wl
<{^_^}> [nixpkgs] @Infinisil opened pull request #45033 → buku: 3.7 -> 3.8 → https://git.io/fNNok
kenshinCH has quit [Quit: Page closed]
<inquisitiv3> clever, sphalerite: It seems that th
<inquisitiv3> clever, sphalerite: It seems that the interface is found. `wlp3s0` is listed with `enp0s25` and `lo`.
<{^_^}> [nixpkgs] @Infinisil opened pull request #45034 → translate-shell: 0.9.6.7 -> 0.9.6.8 → https://git.io/fNNoo
<clever> inquisitiv3: and did you enable wpa_supplicant or network manager?
<{^_^}> [nixpkgs] @Infinisil merged pull request #45028 → pdd: 1.3 -> 1.3.1 → https://git.io/fNNn7
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNNo1
sigmundv has joined #nixos
<inquisitiv3> clever: I enabled wpa_supplicant (uncommented the default line).
<clever> inquisitiv3: then youll need to configure it with either wpa_passphrase or wpa_gui
<sphalerite> inquisitiv3: then you need to configure it manually in /etc/wpa_supplicant.conf or using networking.wireless.networks
<sphalerite> or what clever said
<sphalerite> or you can enable network-manager for the GUI to work
<clever> wpa_gui also gives you a gui without touching NM
<sphalerite> network-manager enables the Plasma GUI stuff though so that's probably what you want
<inquisitiv3> sphalerite: Yep, it is.
<sphalerite> networking.networkmanager.enable = true; should be enough
<infinisil> I keep thinking about how nixpkgs has too many PRs, but here I am with 8 open ones myself..
yosemitesam has quit [Remote host closed the connection]
<inquisitiv3> sphalerite, clever: It did the trick! Thanks for the help!
<sphalerite> \o/
<{^_^}> [nixpkgs] @ocharles merged pull request #44913 → postgresql: fix tzdata path → https://git.io/fN5wv
<{^_^}> [nixpkgs] @ocharles pushed commit from @hrdinka to master « postgresql: fix tzdata path »: https://git.io/fNNKi
<Dedalo> clever I manage to make Sway + Wayland working with Termite terminal and a lot of other stuff. Having Firefox running in a "terminal" window is orgasmic :-)
<ongy> where is the output of my X session (stderr) storred by default on nix?
Izorkin has joined #nixos
<sphalerite> ongy: depends on your dispaly manager, but places to look would be journalctl and ~/.xsession-errors
<ongy> ehh, I think that's slim? And I didn't pick it^^
<{^_^}> [nixpkgs] @Infinisil merged pull request #45034 → translate-shell: 0.9.6.7 -> 0.9.6.8 → https://git.io/fNNoo
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNN6k
<sphalerite> then yeah it should be slim if you're on 18.03
<{^_^}> [nixpkgs] @Infinisil merged pull request #45031 → terragrunt: 0.14.6 -> 0.16.5 → https://git.io/fNNwy
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNN6t
grr_ has joined #nixos
<Izorkin> Gow to need to merge PR - https://github.com/NixOS/nixpkgs/pull/44836 ?
<{^_^}> #44836 (by Izorkin, 4 days ago, open): qemu-ga: fix working guest-shutdown
Meep has joined #nixos
<Meep> Grub will not install
<Meep> I have updated the nixos but this seems to be a common problem with NixOS
<Meep> The manual isn't all that helpful, can someone explain what I am doing wrong?
<Meep> I put my grub as /dev/sda2
<clever> Meep: you must set the grub device to sda, not sda2
<Meep> Here is my configuration
<Meep> Wait seriously
<Meep> Arch was more precise about it
<Meep> I will tryi it
grr_ has quit [Ping timeout: 252 seconds]
<Meep> Thank you
EmilHem has joined #nixos
mahavira has quit [Ping timeout: 252 seconds]
<mpickering> Quite a convenient way to test a PR: `nix-build https://github.com/Enzime/nixpkgs/archive/fix/darktable-on-macos.zip -A darktable`
<{^_^}> [nixpkgs] @siddharthist opened pull request #45035 → haskell-ci: f7ab8c -> v0.1.0.0 → https://git.io/fNNir
iMatejC has quit [Remote host closed the connection]
iMatejC has joined #nixos
shabius_ has quit [Read error: Connection reset by peer]
fendor has quit [Ping timeout: 260 seconds]
<infinisil> mpickering: I got myself a zsh function for that: `nix-build $(pr 12345) -A foo`
<mpickering> how does that work?
Meep has quit [Ping timeout: 252 seconds]
<symphorien> nix-review is quite handy, also
<emily> infinisil: oh that's so fancy
<symphorien> and it takes advantage of git worktree
<infinisil> Yeah I also have another zsh function for the git version
aanderse has left #nixos [#nixos]
<infinisil> Stole that from somebody
<infinisil> Oh also the "pull" one could probably be made easier and correcter with the api endpoint for the archive
<mpickering> That looks decent but I'm not very good at customising things with custom commands
<Drakonis> by the way, isn't there some project to enable running nixpkgs modules independently of whether you're running nixos the distribution?
<mpickering> is zsh the shell that most people use now?
<d1rewolf> anyone using qutebrowser on nixos and is able to watch videos? Apparently needs some gstreamer plugins...just wondering which pkgs to install
<Drakonis> ehhh kind of
<EmilHem> Hi, I'm trying to make an executable work but ldd reports that libstdc++.so.6 is missing. I ran 'find / | grep -i libstdc++.so.6' and found a couple of stores installed with that library. Ex: '/nix/store/v49g935rhxm5f6vjrlj5afl0vphd7znc-gcc-7.3.0-lib/lib/libstdc++.so.6'. I have gcc installed via systemPackages. Now to my question, how can I make the executable find that library?
<mpickering> How have you packaged this?
jperras has joined #nixos
<sphalerite> ,library EmilHem (re "gcc installed")
<{^_^}> EmilHem (re "gcc installed"): Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<mpickering> But use patchelf is the correct answer if this is a binary from the wild
<EmilHem> The binary is node which is from the wild.
<clever> EmilHem: nodejs?
<EmilHem> Indeed
<clever> EmilHem: just use the node already packaged in nixpkgs?
<EmilHem> Installed via NVM (Node Version Manager)
shabius has joined #nixos
<clever> EmilHem: any tool that downloads ELF files like that is going to break on nixos, its simpler to just use the versions packaged in nix
<symphorien> I don't know anything about nvm, but look like you could replace it by just nix-shell
<clever> "nix-shell -p nodejs", or nodejs-10_x or nodejs-6_x ...
<EmilHem> clever: I know, that is the easy way. I was just curious to see whether I could make it work without the nixpkgs version
<symphorien> nix-shell -p nodejs-6_x
<clever> EmilHem: you would need to re-run patchelf on the binary every time nvm decides to update it
<EmilHem> symphorien: Damn, you are right! xD I might actually use that solution instead! :D Thanks!
<symphorien> also a garbage collection could remove the library you patchelf to
<clever> yep
<sphalerite> EmilHem: if you really want to not use nix, I'd suggest doing it on another distro, in a VM or container :p
<clever> symphorien: i also have a util to solve both issues at once...
<clever> symphorien: fix the library list, run nix-build, the result symlink is now a GC root for those libraries
<symphorien> I see
<clever> symphorien: the result symlink is also a bash script that will patch $1
<clever> so you can ./result node to re-patch node at any time
<d1rewolf> manveru: I'm revisting your dotfiles...speifically i3.nix. could you point me to where the actual config file is created (~/.config/i3/config)?
<clever> but in this case, its easier to just `nix-shell -p node`
<clever> the gist is more for things like games, where you dont(or cant) use steam-run, and need to re-patch them regularly
<clever> or for just testing what libs you need before you write a full package
<EmilHem> clever: Thanks, I'll look into your gist.
haitlah has joined #nixos
arjen-jonathan has joined #nixos
<etu> ,paste
<{^_^}> Use a website such as http://nixpaste.lbr.uno/ or https://gist.github.com/ to share anything that's longer than a couple lines
<Denommus> how is the gitlab module generating the from: in emails?
<etu> thanks {^_^} :)
<Denommus> here it appears as git@<mydomain>
sanscoeur has quit [Read error: Connection reset by peer]
haitlah has quit [Remote host closed the connection]
sanscoeur has joined #nixos
haitlah has joined #nixos
<Izorkin> infinisil: this patch worked and ohers OSes
<d1rewolf> anyone using qutebrowser on nixos and is able to watch videos? Apparently needs some gstreamer plugins...just wondering which pkgs to install
haitlah has quit [Remote host closed the connection]
ryanartecona has joined #nixos
infandum has joined #nixos
<jiaew3> how can one customize a nixpkgs package and install with nix-env? --arg doesn't seem to work
<infinisil> jiaew3: You gotta be a bit more concrete than that
<infandum> I'm a haskell user. I normally use stack. I want to make a configuration.nix that basically makes my entire setup. I want to have taffybar installed, but my configuration uses other haskell libraries as well. I'm a bit confused on how to tell nixos to install taffybar with additional libraries that it can see. How can I do this? I found a few places online that hint at this, but they are very confusingly explained.
<hyper_ch> Mic92: Linux subi 4.18.0 #1-NixOS SMP Sun Aug 12 20:41:04 UTC 2018 x86_64 GNU/Linux
<hyper_ch> Baughn: with adding that to the boot initrd it worked now fine again with degraded pool
sigmundv has quit [Ping timeout: 240 seconds]
<jiaew3> I am trying to install geant4 with some options and use nix-env -iA nixos-unstable.geant4 --argstr enableQT true . but the enableQT argument is still not set to true
haitlah has joined #nixos
<symphorien> jiaew3: nix-env -iE 'with import <nixpkgs> {}; geant4.override{enableQT=true;}'
haitlah has quit [Remote host closed the connection]
<EmilHem> clever: How would I include your file (the gist) in my nix configuration?
<jiaew3> symphorien: great, thanks
alex`` has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @rycee opened pull request #45036 → msmtp: 1.6.6 -> 1.6.8 → https://git.io/fNNyw
<clever> EmilHem: you would just run nix-build directly on that file, and it generates a bash script called result
<clever> EmilHem: then you run result on the node binary that NVM had downloaded
<inquisitiv3> Is it only I who think that the window title bar in Plasma is very high?
<inquisitiv3> Is feels that it's a bit higher than in Debian or Fedora.
drakonis_ has joined #nixos
Drakonis has quit [Ping timeout: 256 seconds]
<EmilHem> clever: That's pretty cool! Thanks again. Now I see that the other libraries change a bit but the 'libstdc++.so.6' doesn't want to "appear"
<clever> EmilHem: thats in the gcc package
<clever> EmilHem: add gcc.cc to the library list
* emily does "sudo pkill -9 -u nixbld", wonders if there's a less terrible way of dealing with e.g. losing your terminal during a nixos-rebuild leaving it seemingly hung
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<EmilHem> clever: Damn! That did it! How come the '.cc' part is needed?
<clever> gcc is a wrapper package, that generates a bash script called gcc, which deals with making nix work
<clever> gcc.cc is the raw gcc package, that doesnt understand how to find things in buildInputs
<EmilHem> clever: Huh! Really interesting. I'm pretty new to Nix but have used Arch and Debian for a looong time so this is new and exiting stuff! Thank you for the help!
<clever> yep
JonReed has joined #nixos
alex`` has joined #nixos
<JonReed> Hi, so `$out/bin` automatically gets added to $PATH. Is there a way for an expression to just add an arbitrary env variable that can be used in a normal user shell when that expression gets installed using nix-env?
<{^_^}> [nixpkgs] @symphorien opened pull request #45038 → module system: rework module merging → https://git.io/fNN98
<JonReed> What I want to do is to install a directory into nixstore and then be able to move it out of the nixstore with `mv $myInstalledDirectiory ./` from a shell. This is because some repositories are easier to use by just running "python <script>.py" because they expect to output into the same directory.
<clever> JonReed: wrapProgram can be setup to run cd before running the binary
<JonReed> clever: So, there isn't really a way to do `GLOBAL_ENV_VARIABLE=$out` and then access $GLOBAL_ENV_VARIABLE when the expression like `default.nix` gets installed using `nix-env`?
<clever> JonReed: not really
<clever> JonReed: but you could create a bash script that does the cp for you
<sphalerite> emily: not using -9 ?
<clever> > writeScriptBin "scriptname" "#!${pkgs.stdenv.shell}\ncp -vir ${something} ."
<sphalerite> emily: also -G nixbld surely?
<{^_^}> infinite recursion encountered, at (string):145:10
<clever> > writeScriptBin "scriptname" "#!${pkgs.stdenv.shell}\ncp -vir ${./.} ."
<{^_^}> infinite recursion encountered, at (string):145:10
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e27d1b802c0 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
abueide has joined #nixos
<clever> JonReed: ignore the bot, that will generate a bin/scriptname shell script, which when ran, will copy the snapshot of ./. (insert whatever you want there) to .
<emily> sphalerite: I did it without -9 first and it still didn't unstuck nixos-rebuild :(
<Dezgeg> I typically SIGINT the nix-build invocations itself
<JonReed> clever: Okay that makes sense. Thanks.
sigmundv has joined #nixos
<clever> JonReed: you can also use a ''string'' for the 2nd argument, then just use normal newlines in your editor
<clever> but irc cant show an example of that
slyfox_ has joined #nixos
slyfox has quit [Ping timeout: 268 seconds]
sigmundv has quit [Ping timeout: 244 seconds]
<infinisil> > :v pkgs
<{^_^}> pkgs = import <nixpkgs> { config.allowUnfree = true; }
<infinisil> > pkgs.hello.name
<{^_^}> infinite recursion encountered, at (string):145:10
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fNNQg
<infinisil> > pkgs = import <nixpkgs> { config.allowUnfree = false; }
<{^_^}> pkgs defined
<infinisil> > pkgs.hello.name
<{^_^}> "hello-2.10"
<infinisil> clever: ^^^^
<infinisil> WHAT
<clever> :D
<infinisil> How is this possible :/
<clever> > pkgs = import <nixpkgs> { config.allowUnfree = true; }
<{^_^}> pkgs defined
<clever> > pkgs.hello.name
<{^_^}> infinite recursion encountered, at (string):145:10
<clever> yeah, good question
<infinisil> > rev
<{^_^}> "90223e4a4a60556e7b706c69480593557b8a2fb9\n"
<infinisil> I haven't updated this in a while
<infinisil> > pkgs = import <nixpkgs> {}
<{^_^}> pkgs defined
<infinisil> Oh well, I don't have the time to fix this now
<clever> > pkgs.hello.name
<{^_^}> "hello-2.10"
<infinisil> Whatever the reason might be
<clever> all good fo rnow
phry has joined #nixos
SirMadam has joined #nixos
<Izorkin> Gow to need to merge PR - https://github.com/NixOS/nixpkgs/pull/44343 ?
<{^_^}> #44343 (by Izorkin, 1 week ago, open): mariadb: fix build client and change config
<{^_^}> [nixpkgs] @garbas merged pull request #45036 → msmtp: 1.6.6 -> 1.6.8 → https://git.io/fNNyw
<{^_^}> [nixpkgs] @garbas pushed commit from @rycee to master « msmtp: 1.6.6 -> 1.6.8 »: https://git.io/fNN7L
fragamus has joined #nixos
mahavira has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to update-intel-gpu-tools « intel-gpu-tools: 1.22 -> 1.23 »: https://git.io/fNN76
jD91mZM2 has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @pSub opened pull request #45040 → intel-gpu-tools: 1.22 -> 1.23 → https://git.io/fNN7p
fragamus has quit [Remote host closed the connection]
vidbina_ has quit [Ping timeout: 240 seconds]
<SirMadam> Hey, does anyone know if you can install a package by it's store hash? I'm attempting to install an old version of a package (from an old nixpkgs) and some of the methods seem a bit inconvenient
<SirMadam> its*
mahavira has quit [Ping timeout: 252 seconds]
<sphalerite> SirMadam: nix-env -i /nix/store/hash-name
<clever> SirMadam: nix-store -r /nix/store/hash-name
<sphalerite> the former is to install, the latter is to fetch/build it if you don't have it in your store
arjen-jonathan has quit [Ping timeout: 265 seconds]
amir has quit [Quit: No Ping reply in 180 seconds.]
amir has joined #nixos
mayhewluke has quit [Ping timeout: 240 seconds]
ryanartecona has quit [Quit: ryanartecona]
SirMadam has quit [Quit: Page closed]
samrose_ has joined #nixos
<samrose_> what would be the correct way to override this variable in a configuration.nix file? https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualization/virtualbox/default.nix#L27
<clever> samrose_: let blocks cant be overridden
<samrose_> @clever aha, that explains why it ain't working! :)
<clever> samrose_: if you dont care about the extensionpack, you can just override .src and .name
iLLf8d has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
EmilHem has quit [Quit: Page closed]
iLLf8d has left #nixos [#nixos]
Ariakenom_ has joined #nixos
_cyril_ has quit [Ping timeout: 240 seconds]
_cyril_ has joined #nixos
bebarker has quit [Quit: Leaving]
alexteves has quit [Remote host closed the connection]
Ariakenom has quit [Ping timeout: 256 seconds]
emacsomancer has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #45040 → intel-gpu-tools: 1.22 -> 1.23 → https://git.io/fNN7p
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fNNAI
<{^_^}> [nixpkgs] @pSub pushed 0 commits to update-intel-gpu-tools: https://git.io/fNNAL
<q3k> clever: do you have magical merge powers to get this merged? :) https://github.com/NixOS/nixpkgs/pull/45002
<{^_^}> #45002 (by q3k, 20 hours ago, open): diamond: init at 3.10
<Denommus> hey
<clever> q3k: nope, dont have merge powers
<infinisil> ,pr q3k
<{^_^}> q3k: 0. Sorry. 1. If you complain about PR being in limbo, always provide a number («I have an unmerged PR (#23924)…»), bot will print PR title and it might bring you an impulse-merge. 2. Please look up who commits similar work and ping these people (or request-review), keeping up with all the PRs is not really possible.
<Denommus> how can I root-login a machine with an hyphen in the name?
<Denommus> like gitlab-runner
<clever> Denommus: with nixops?
<q3k> infinisil: thx
<Denommus> forget it
<clever> Denommus: or nixos-containers?
<clever> Denommus: or ssh?
<Denommus> the machine was down
<infinisil> q3k: Also, 20 hours old is one of the newer PR's. There are ones who haven't been merged for months, even simple ones
<Denommus> clever: nixos-containers
<q3k> infinisil: i'm not complaining, btw
<clever> Denommus: should be as simple as `nixos-container root-login gitlab-runner`
<infinisil> Yeah, the ,pr message is a bit misleading regarding that :)
<Denommus> clever: yeah, the container was down, my mistake
<{^_^}> [nixpkgs] @LnL7 merged pull request #43140 → darwin: fix Libsystem compatibility for macOS 10.14 → https://git.io/fNvYA
<{^_^}> [nixpkgs] @LnL7 pushed 4 commits to staging: https://git.io/fNNAQ
<Denommus> can I start a container if an internal service fails?
<clever> Denommus: should be able to do that
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @shlevy pushed to master « haskell.lib.getHaskellBuildInputs: Actually get the haskell build inputs. »: https://git.io/fNNxG
<infinisil> bless symphorien for #45038
<{^_^}> https://github.com/NixOS/nixpkgs/pull/45038 (by symphorien, 1 hour ago, open): module system: rework module merging
<infinisil> symphorien++
<{^_^}> symphorien's karma got increased to 4
<{^_^}> [nixpkgs] @jbaum98 reopened pull request #45013 → fflas-ffpack: Add darwin support → https://git.io/fNbEX
<symphorien> :D
<samueldr> symphorien: think this can sneak into 18.09?
* samueldr stuffs into 18.09 milestone
<symphorien> Well it does not change hashes so I don't see why it couldn't.
<{^_^}> [nixpkgs] @shlevy pushed to release-18.03 « haskell.lib.getHaskellBuildInputs: Actually get the haskell build inputs. »: https://git.io/fNNxr
<samueldr> I didn't look yet, drive-by milestoning just before leaving :)
jimki has quit [Ping timeout: 256 seconds]
jmaki_ has quit [Ping timeout: 248 seconds]
<LnL> oh wow
<{^_^}> [nixpkgs] @bsima opened pull request #45041 → urbit: 0.4.5 -> 0.6.0 → https://git.io/fNNpu
infandum has quit [Remote host closed the connection]
<clever> shlevy: is there a simple function that can be combined with haskell.lib.getHaskellBuildInputs to flatten a dep tree down to a single list?
<Denommus> anyone has any idea of what this means? Aug 14 21:16:08 webserver container gitlab-runner[1519]: Error: argument "ve-gitlab-runner" is wrong: "dev" not a valid ifname
<infinisil> clever: lib.closePropagation probably
<Denommus> this happens when I try to start my container
<clever> infinisil: the one in deprecated.nix ?
<infinisil> Yup..
<infinisil> No idea why it's in there, I couldn't find an explanation for it, searched all the way back to its introduction
<clever> infinisil: it only searches propagatedBuildInputs and propagatedNativeBuildInputs, and even those will have holes due to the runtime nature of that system
<clever> infinisil: but i can steal it as an example, and write a haskell.lib.getHaskellBuildInputs variant
<infinisil> Yeah :)
<Dedalo> clever I need to install the Sway 1.0 alpha, but on the repo there is only the 0.15.2
hamishmack has joined #nixos
<clever> Dedalo: you need an override the changes the src and name attributes
<Dedalo> clever first of all, I do I check if is it available on the unstable branch?
<clever> Dedalo: you can check master first on github
<clever> > sway.meta.position
<{^_^}> "/var/lib/nixbot/state/nixpkgs/pkgs/applications/window-managers/sway/default.nix:34"
<clever> Dedalo: that is the location within nixpkgs
jperras has quit [Ping timeout: 244 seconds]
<sphalerite> Dedalo: nix-env -f channel:nixos-unstable -qaA sway
<Dedalo> unfortunately it's the same version, no alpha
pie_ has joined #nixos
<sphalerite> Dedalo: git clone https://github.com/nixos/nixpkgs ; cd nixpkgs; nix edit -f nixpkgs sway ; # update appropriate fields ; nix-env -f . -iA sway ; PROFIT
<sphalerite> Dedalo: then commit, push to your fork, and make a PR ;)
abueide has quit [Remote host closed the connection]
abueide has joined #nixos
<Dedalo> sphalerite great, thank you. Who is checking the PR? Is it a fast process or it will take days?
<Zajcev> guys, have you seen something like this?
<sphalerite> Dedalo: typically the package maintainer(s)
<Zajcev> Aug 14 23:27:28 nixos container vsftpd[16558]: Failed to mount n/a on / (MS_REC|MS_SLAVE ""): Permission denied
<sphalerite> > sway.meta.maintainers
<{^_^}> [ <CODE> ]
<sphalerite> > builtins.head sway.meta.maintainers
<{^_^}> { email = "dev.primeos@gmail.com"; github = "primeos"; name = "Michael Weiss"; }
<Zajcev> containers not working
<clever> Zajcev: vsftpd is trying to namespace itself, but containers are not allowed to create namespaces
<clever> Zajcev: either run it outside the container, or disable the chroot'ing
<sphalerite> Dedalo: so in the case of sway primeos would be the one to approve it. I'm not sure primeos has merge rights so you'd want to get them to approve it then get someone else to merge it (Mic92 merges many many things)
<sphalerite> Dedalo: for unproblematic PRs, this doesn't usually take too long
<sphalerite> Dedalo: but you can use it before the PR is merged anyway
<Dedalo> oh, I can use it anyway?
<Zajcev> clever: i'll try
<sphalerite> Dedalo: yes, the nix-env command that I wrote builds it and installs it in your profile
<sphalerite> Dedalo: the commit and PR bit is just so others can use it too :)
<Dedalo> sphalerite sounds great!
seequ has quit [Ping timeout: 256 seconds]
<Dedalo> because the version of Sway I have installed doesn't support fractional scaling, and for me res / 2 is too much
<Dedalo> but native resolution is too small
<Dedalo> I'm getting old :-)
<sphalerite> :D
<Zajcev> clever: still the same problem
<Zajcev> clever: chroot disabled
<{^_^}> [nixpkgs] @jtojnar pushed to master « python.pkgs.orderedset init at 2.0.1 »: https://git.io/fNNjO
simukis has quit [Ping timeout: 256 seconds]
<clever> Zajcev: did you restart the container?
<Zajcev> yes
Denommus has quit [Remote host closed the connection]
<Zajcev> all containers I've tried had the same result
Ariakenom_ has quit [Quit: Leaving]
inquisitiv3 has quit [Remote host closed the connection]
<JonReed> Is there a `nix-env` command/argument that where you can install `default.nix` from the current direcory. Currently, I have to run `nix-build` first and then `nix-env -i <copied-path-from-nix-build>`.
<sphalerite> JonReed: nix-env -f . -i
<LnL> urgh, why doesn't GPG_TTY work anymore...
<JonReed> sphalerite: Thanks! Will add this to my cheatsheet
drakonis_ has quit [Remote host closed the connection]
ntqz has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #45044 → Pr/rivet 271 bump → https://git.io/fNAeN
jbaum98 has quit [Quit: Connection closed for inactivity]
jperras has joined #nixos
alex`` has quit [Ping timeout: 272 seconds]
smolboye has quit [Ping timeout: 260 seconds]
smolboye has joined #nixos
smolboye has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/66bd479f261 (from 75 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
FareTower has quit [Ping timeout: 256 seconds]
mahavira has joined #nixos
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
hamishmack has quit [Ping timeout: 256 seconds]
Lisanna has quit [Quit: Lisanna]
PyroLagus has joined #nixos
jiaew3 has quit [Ping timeout: 252 seconds]
<pie_> is it possible to prevent nix-build from trying to download binary info for a derivation?
<pie_> when i dont have a network connection i cant rebuild stuff i aready have all the necessary files for because nix-build fails on network timeouts
<emily> hmm, is it expected that /nix/store/rmvx2f6lwjr4hi3zrz4wplpiil11fj5r-hicolor-icon-theme-0.17/share/icons/hicolor/index.theme doesn't end up getting linked into /run/current-system/sw/share/icons/hicolor?
<emily> so things can't find an icon theme index?
<emily> oh, I guess because I don't have it in systemPackages ^^;
Ericson2314 has quit [Ping timeout: 256 seconds]
smolboye has joined #nixos
<worldofpeace> infinisil: thanks for testing :)
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/66bd479f261 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
ryanartecona has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #45045 → Rygel → https://git.io/fNAIV
tertle||eltret has joined #nixos
sigmundv has joined #nixos
erasmas has quit [Quit: leaving]
lord| has quit [Ping timeout: 265 seconds]
MP2E has joined #nixos
rprije has joined #nixos
lord| has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
JonReed has quit [Ping timeout: 252 seconds]
digitalmentat has joined #nixos
jperras has joined #nixos
Fare has joined #nixos
__monty__ has quit [Quit: leaving]
jluttine has quit [Ping timeout: 244 seconds]
jluttine has joined #nixos
Fare has quit [Ping timeout: 268 seconds]
kyren has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
Fare has joined #nixos
goibhniu has quit [Ping timeout: 272 seconds]
ryanartecona has quit [Quit: ryanartecona]
johnw has joined #nixos
<johnw> Profpatsch: ping