gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
ris has quit [Ping timeout: 244 seconds]
<bdesham> I'm trying to package a weechat script (it's a 6 KB Python script) whose canonical url, as far as I can tell, doesn't contain a version number. is the nixpkgs standard in this case just to include the script in nixpkgs itself?
growpotk- has quit [Ping timeout: 246 seconds]
dsiypl4 has quit [Ping timeout: 258 seconds]
mexisme has quit [Ping timeout: 245 seconds]
pareidolia has quit [Remote host closed the connection]
Rusty1 has joined #nixos
qubasa_ has joined #nixos
Neo-- has quit [Ping timeout: 245 seconds]
qubasa has quit [Ping timeout: 244 seconds]
pareidolia has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66469 → blackmagic: 1.6.1 -> unstable-2019-08-13 → https://git.io/fj77B
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj5yw
___laika has quit [Ping timeout: 268 seconds]
<pie__> oh no help
<pie__> fetching Git repository 'https://github.com/nixos/nixpkgs/'...
<pie__> fatal: not a tree object
<pie__> using revision 30a82bba734bc8d74fd291a0f7152809fb2cd037 of repo 'https://github.com/nixos/nixpkgs/'
drakonis has joined #nixos
<pie__> but if use git proper its totally fine! ???
<pie__> (that error is with nix-build)
v0|d has quit [Read error: Connection reset by peer]
<gchristensen> specify the branch its coming from
<pie__> gchristensen: im passing this to fetchgit https://bpaste.net/show/OXYX
<pie__> (through importjson)
<clever> pie__: did you also specify a ref?
<clever> pie__: you sometimes need both a rev (the sha1) and a ref (a branch that contains the rev)
<pie__> hm
<pie__> nope that wasnt enough
jtojnar has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj5yP
<pie__> do i need to clear my fetchgit cache or somthing
<clever> maybe, one sec
<clever> pie__: its at ~/.cache/nix/gitv2
<{^_^}> [nixpkgs] @mmlb closed pull request #66280 → pythonPackages.git-revise: init at 0.4.2 → https://git.io/fjQDU
<{^_^}> nix#2431 (by sgraf812, 47 weeks ago, open): fetchGit fails with a not very helpful error message when fetching a revision not in the remote's HEAD
wildtrees has quit [Quit: Leaving]
* pie__ shrugs cluelessly
<pie__> so the thing is, I forgot to pin a project so I broke it when I upgraded my system
<pie__> I went back and got the revision used for the previous system build
<pie__> and now I'm trying to pin that for this project
<clever> pie__: you can also use fetchTarball for anything on github
orivej has quit [Ping timeout: 272 seconds]
<pie__> ok I dont care enough right now, Ill just use that, thanks
is_null has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @eadwu opened pull request #66597 → nvidia_x11_beta: stable -> 435.17 → https://git.io/fj5yS
stepcut has joined #nixos
coderobe has quit [Read error: Connection reset by peer]
coderobe has joined #nixos
sudoforge has quit [Ping timeout: 252 seconds]
thc202 has quit [Ping timeout: 250 seconds]
sudoforge has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/65729e08178 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
jlv has joined #nixos
stepcut has quit [Remote host closed the connection]
ottidmes has quit [Ping timeout: 248 seconds]
drakonis has quit [Ping timeout: 248 seconds]
mexisme has joined #nixos
<alienpirate5> how do I tell NixOS "don't compile gtk+3 at all"
<alienpirate5> it always insists on adding it to the system path even though nothing i have pulls it in
<simpson> alienpirate5: As a blunt instrument (IIRC your context is that you're cross-compiling to an embedded platform), you could comment out GTK+3 from your nixpkgs and see what breaks.
<simpson> This is from the School of Mock, more or less.
<alienpirate5> I'm using just a standard nixpkgs channel
<alienpirate5> Could I remove gtk3 in an overlay?
<alienpirate5> and that context is correct, yeah
<simpson> I don't know. Probably.
<{^_^}> [nixpkgs] @jonringer opened pull request #66599 → [staging]bash-completion: 2.8 -> 2.9 → https://git.io/fj5yA
ddellacosta has joined #nixos
lambda-11235 has joined #nixos
nexgen has quit [Ping timeout: 245 seconds]
gxt has quit [Ping timeout: 260 seconds]
tjg1 has quit [Quit: Bye.]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
tjg1 has joined #nixos
vika_nezrimaya has quit [Ping timeout: 245 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
dl4mfo_ has joined #nixos
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #66600 → sasquatch: init → https://git.io/fj5St
dl4mfo has quit [Ping timeout: 258 seconds]
jmeredith has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #66386 → bacula: fix cross compiling for armv7l → https://git.io/fj7CS
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fj5SG
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #65490 → zfs: fix kernel module cross-compile → https://git.io/fjy64
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fj5SZ
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/24870b40d69 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
justanotheruser has quit [Quit: WeeChat 2.4]
stites has joined #nixos
<stites> silly, quick question: how would you declaratively install cachix in an `/etc/nixos/configurations.nix` script?
<stites> The line on cachix.org is `nix-env -iA cachix -f https://cachix.org/api/v1/install`... Does that mean I need to `(import <https://cachix.org/api/v1/install> {}).cachix`?
justanotheruser has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
freeman42x has quit [Ping timeout: 244 seconds]
<infinisil> stites: It's in pkgs.cachix
<stites> >_> of course it is
<stites> my one-liner works, though! If you swap out `<url>` with `fetchTarball url` : )
<dansho> how can i use this as a local nix expression? https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/ue4/default.nix
<stites> ooph, ue4 is fairly broken
<dansho> i tried (import ./ue4.nix) but it says "The option value is not of type `package'"
m0rphism has quit [Ping timeout: 272 seconds]
<dansho> i got it to start building, but i think the clang version is wrong
<dansho> 4.10 should be clang_36 not clang_35
<stites> you can try it out with `nix-shell -p ue4` I believe
<stites> I think I had some work from a few months ago where I was trying to bring it up to date, searching now
<dansho> that seems to use per-user/root, i'm trying to use a local expression
ddellacosta has quit [Ping timeout: 245 seconds]
<dansho> i just want to change clang_35 to clang_36
<stites> I can't find it -- you would probably want to just start with an overlay
<stites> that version of ue4 is terribly out of date. UnrealEngine releases at an insane rate
<stites> The last push was 12 hours ago
<stites> "/push/release/"
das_j has quit [Remote host closed the connection]
<stites> oops! I misread, those are just the previews, it looks like the release every month+, currently at 4.22.3
<pie__> man i have no i dea how to use the launchpad ui
<pie__> I want to try packaging this https://launchpad.net/~thierry-f/+archive/ubuntu/fork-michael-gruz but I've not much of an idea how to get the source code
<pie__> specifically scangearmp2 i think
mexisme has joined #nixos
<samueldr> hmm, fun, looks like they don't have code?
<samueldr> oof, launchpad seems mixed-up in that page... thinking it's the ~thierry-f user page for the menu?
<samueldr> (or am I confused?)
<pie__> i just remembered i was going to use my scanner from a VM instead xD
<pie__> samueldr: idkkk man
<pie__> time to install ubuntu for the first time in a long time
<{^_^}> [nixpkgs] @eadwu opened pull request #66601 → nvidia: prime render offload → https://git.io/fj59Y
<samueldr> it feels like PPA != project with code
<pie__> is there a maintained database of links to linux iso images or something? would be nice if one could just nix-build distro.nix -A some_distro
<samueldr> when I last used ubuntu, PPAs weren't a thing :/
<pie__> heh
<pie__> oh right
<pie__> samueldr: funnily enough i *did* link that in https://github.com/NixOS/nixpkgs/issues/66514
<{^_^}> #66514 (by deliciouslytyped, 1 day ago, open): Do something about supporting Canon (pixma) scanners
___laika has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
<niso> pie__: uhm, i think i had my pixma running
<niso> pie__: i could send you the script i wrote (however i can't verify right now that it still works)
<pie__> niso: sure why not, worst case i can just put it in the thread
<pie__> niso: to be clear, the printer works with cnijfilter, i want the scanner
mexisme has quit [Ping timeout: 246 seconds]
<niso> pie__: alright, give me a second. (i can verify the script on the weekend - right now i'm about to go on a business trip)
<niso> pie__: yes i'm talking about the scanner
<jlv> I home-manager still the recommended way to declaratively install user packagers?
stites has quit [Remote host closed the connection]
<niso> pie__: my printer is the: MG25555
<niso> pie__: the script is a bit of a hack http://paste.debian.net/1095696/
<{^_^}> [nixpkgs] @jonringer opened pull request #66602 → axel: 2.17.3 -> 2.17.5 → https://git.io/fj59Z
<pie__> niso: you didnt have to install any drivers or anything?
<niso> pie__: i think line 27 should be the interesting line for you, the rest is pretty much just my fuzzy-matching menu
<niso> pie__: i don't think so
<pie__> ....
<pie__> let me check my scanner program
<pie__> im going to feel like an idiot if its enabled by cnijfilter or something and I just didnt check
<niso> pie__: but all of the scanner programs i tried failed/didn't work
<pie__> ok yeah its not listed
<pie__> but scanimage did?
<niso> yep
<pie__> whats the package for it
<pie__> ,locate scanimage
<{^_^}> Found in packages: saneBackends, sane-backends-git
<niso> pie__: sane-backends
<pie__> yeah i keep forgetting about ,locate
<niso> if i recall it correctly saneBackends failed, and sane-backends worked (or something like that), it's been a while and sadly i didn't write it down.....:/
<niso> + i was new to nix, thus it was out of option to fix it
<niso> pie__: lemme know if it works
<pie__> how does it know what device to scan from
<niso> i think it just picks the first one by default
<pie__> :P
<pie__> niso: scanimage: unrecognized option '--resolution'
<niso> yep mentioned in the manpage
<pie__> i also forgot to turn on my scanner
* niso gets flashbacks.... it took me 2 days to get the thing running...
<pie__> im an idiot
AluisioASG has quit [Read error: Connection reset by peer]
<niso> fyi: it won't scan unless there is ink inside
<pie__> simple-scan can see my scanner
<pie__> niso: wow that souds hella dumb
<niso> (and unless the travel-protection was removed)
<niso> figuring that out took me about 1.75 days
<niso> :P
<niso> pie__: yes, mine was detected too, however the tools didn't work ( i think it was saneBackends which failed)
<pie__> o-oh...
<niso> they errored out while scanning
aw has quit [Quit: Quitting.]
wucke13 has quit [Quit: ZNC 1.7.3 - https://znc.in]
mumuluxi has quit [Quit: ZNC 1.7.3 - https://znc.in]
wucke13 has joined #nixos
wolfshappen has quit [Remote host closed the connection]
<pie__> ...its scanning for me >_>
<niso> congratz!
<pie__> yay
* pie__ feels dumb
aw_ has joined #nixos
aw_ has joined #nixos
aw_ has quit [Changing host]
xelxebar_ has joined #nixos
mumuluxi_ has joined #nixos
AluisioASG has joined #nixos
xelxebar has quit [Ping timeout: 260 seconds]
* niso wonders why --resolution doesn't work anymore
globin has quit [Ping timeout: 252 seconds]
primeos has quit [Ping timeout: 252 seconds]
aszlig has quit [Ping timeout: 245 seconds]
nwspk has quit [Ping timeout: 264 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
globin has joined #nixos
primeos has joined #nixos
aszlig has joined #nixos
<niso> pie__: kinda wondering, why cnijfilter, didn't it work with cups?
nwspk has joined #nixos
wolfshappen has joined #nixos
<pie__> all i know is i have this line in my config
<pie__> services.printing.drivers = [ pkgs.hplipWithPlugin pkgs.cnijfilter_4_00 pkgs.gutenprint ];
<pie__> they probably interoperate with cups in some manner
<niso> thanks (didn't setup the printing yet)
<pie__> maybe the fancy scangear programs can do more for the scanner but idk
<niso> looks like they are closed source, thus idc :P
banksiaboy has joined #nixos
<banksiaboy> I have just installed Nixon’s. When I install binary packages. Nix-never -I neicim. They don’t appear on my oath, so I can’t use them. Can find no mention of this problem :-(
banksiaboy has left #nixos [#nixos]
<dansho> stites: what would an overlay look like? i have this and it doesn't cause any errors, but it still uses clang 3.5.2 https://paste.ee/p/Vvpm2
banksiaboy14 has joined #nixos
<banksiaboy14> Sorry, tried to use freenode in iPad couldnt see entry field.
<dansho> oh, they left
<banksiaboy14> ok - just installed NixOS. have tried upgrade swap to nixos-unstable channel. Every time i try to install a binary its does not end up on my path.
<banksiaboy14> nix-env -i neovim never gets on my path. vim either.
<banksiaboy14> can find not reference to this problem. googling for an hour.
<Ashy> banksiaboy14: for channels you probably want to read this chapter of the manual: https://nixos.org/nixos/manual/#sec-upgrading
<Ashy> banksiaboy14: for neovim the binary is actually `nvim`, are you sure that's not on your path?
<banksiaboy14> but still, even if i dont change channel and upgrade, i cannot ised installed binaries. i dnont think its the channel
<Ashy> also you can test packages in nix-shell without fully installing them: `nix-shell -p neovim` and then `nvim`
<banksiaboy14> oh yes - there it is :)
<banksiaboy14> How do I know what it is installed as on the path? in Ubuntu neovim is aliased as vim
<pie__> banksiaboy14: that would explain why you sounded like a markov bot xD
<Ashy> `nix-env -q` to list all installed packages with nix
<Ashy> man nix-env
<banksiaboy14> B-)
<Ashy> but that's not the whole story with nixos
<Ashy> keep reading the manual :)
<pie__> Ashy: thats not whats on the path though
<Ashy> it's very different from other distros
<banksiaboy14> but i want to know what neovim is configured as on my path. given that I installed the package 'neovim'
<pie__> banksiaboy14: ive not looked into an easy way to do this, but find whatever corresponds to neovim in $PATH, and look in there
<banksiaboy14> its nice that its different, but i want to minimize how surprised I am
<Ashy> ls -lha $(which nvim)
<pie__> Ashy: that assumes you know the binary name already though
<banksiaboy14> @pie__ ex-zachary
<banksiaboy14> revelling in my incompetence ....
<pie__> ls $(echo $PATH | awk '{split($0,array,":")} END { for (i in array) print array[i] }' | grep vim)
<Ashy> true, i also find this cheatsheet helpful quite often: https://nixos.wiki/wiki/Cheatsheet#Working_with_the_nix_store
<banksiaboy14> :-))
<pie__> i dont know awk i just googled a bit and glued something together xD
<pie__> banksiaboy14: but as i said, look at $PATH
<pie__> the awk snippet just splits the path into lines so its actually readable / scriptable
<{^_^}> [nixpkgs] @xrelkd opened pull request #66603 → youtube-dl: 2019.08.02 -> 2019.08.13 → https://git.io/fj59a
<banksiaboy14> i can see the path - but i would have to ls all the directories and try to find the bin. maybe not so bad with neovim, but doesn't resemble any kind of documentation or self-documentation.
<pie__> banksiaboy14: note how i said look for neovim in the paths
<pie__> banksiaboy14: run this and tell me what you see: echo $PATH | awk '{split($0,array,":")} END { for (i in array) print array[i] }'
<banksiaboy14> anyway am indulging in philosophy. Thanks for the rescue
<pie__> oh well yeah sure, nixos documentation is variable
<pie__> its not the most newbie friendly distro at this point, the community does compensate a lot
<banksiaboy14> yes - i see the path split into directories
<pie__> youll have to be prepared to get your hands a bit dirty sometimes if you need to figure something out
<pie__> banksiaboy14: right, but note that each path has a name in it
<banksiaboy14> sure
<pie__> the name is actually arbitrary, but it tends to match the package name
<pie__> so since you want to know what binaries neovim has, you can find the corresponding $PATH entry by looking at the names
<pie__> follow?
<banksiaboy14> l suppose when i understand where packages get installed in various contexts it wouldn't be too hard
<pie__> yeah nix has a lot of file system level separation going on, i guess your confusin makes more sense if you dont know that
<pie__> *confusion
allodium has quit [Remote host closed the connection]
<pie__> if you really know nothing about nixos youre going to want to do some reading, the manual is probably not the most coherent place to start
<pie__> i dont actually have any specific recommendations since i dont remember what worked for me (lots of bits and pieces over time probably...)
<pie__> but you should be able to get a relatively coherent basic picture from eelcos thesis
<banksiaboy14> the reason I am confused, is because its confusing. But im ok. Thanks for your help. May be back soon trying to sort out ssh login
aw_ has quit [Ping timeout: 250 seconds]
aw has joined #nixos
primeos has quit [Ping timeout: 264 seconds]
<pie__> banksiaboy14: maybe try leafing through https://nixos.org/~eelco/pubs/nixos-jfp-final.pdf
<pie__> of course ;) <banksiaboy14> the reason I am confused, is because its confusing. But im ok. Thanks for your help. May be back soon trying to sort out ssh login
nwspk has quit [Ping timeout: 264 seconds]
<pie__> ^ @ "the reason im confused, is because it's confusing"
ericnoan has quit [Ping timeout: 245 seconds]
primeos has joined #nixos
<banksiaboy14> i've used nix-env quite a bit under ubuntu. I thought id try the real thing :)
ericnoan has joined #nixos
markus1189 has quit [Ping timeout: 245 seconds]
nwspk has joined #nixos
markus1189 has joined #nixos
<pie__> strangely enough i dont remember reading https://nixos.org/~eelco/pubs/nixos-jfp-final.pdf ...pretty sure this is the right thing though 0_o
mexisme has joined #nixos
<pie__> banksiaboy14: ah
<banksiaboy14> i do like the philosophy behind configuring NixOS. so will keep going. ciao
<pie__> \o/
<{^_^}> [nixpkgs] @xrelkd opened pull request #66604 → solc: 0.5.10 -> 0.5.11 → https://git.io/fj59o
<Ashy> banksiaboy14: nix pills is good reading too
banksiaboy14 has left #nixos [#nixos]
<Ashy> oh well
<dansho> how can i change clang_35 to clang_36 here? https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/ue4/default.nix
* pie__ gives Ashy cookies
<pie__> I forgot what I was doing...
<{^_^}> [nixpkgs] @xrelkd closed pull request #66604 → solc: 0.5.10 -> 0.5.11 → https://git.io/fj59o
growpotk- has joined #nixos
sudoforge has quit [Ping timeout: 246 seconds]
<Ralith> dansho: looks like clang 3.6 isn't packaged
<Ralith> 3.8 is the second-oldest
sudoforge has joined #nixos
niso has quit [Remote host closed the connection]
domogled has joined #nixos
nexgen has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
growpotkin has joined #nixos
vmandela has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<li_matrix> is the goal to replace the `system` values with the `platform` ones?
<li_matrix> im trying to untangle this. looks like im almost getting deep enough to start a light fork
<li_matrix> this PR looks like the most recent/relevant about this ... ?
<{^_^}> #45717 (by Ericson2314, 50 weeks ago, open): treewide: Deprecate platform aliases
selfsymmetric-mu has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/65729e08178 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
growpotk- has quit [Ping timeout: 248 seconds]
boxscape has joined #nixos
orivej has joined #nixos
<selfsymmetric-mu> dansho: I have never figured it out. Here's what I do. I change the 1 to a 2 (to prevent hash collisions). I then run a build. It breaks, but tells me what it gets. I then replace the sha with the correct one in the build output.
<selfsymmetric-mu> You could also download the release artifact and SHA it yourself, but above's the lazy way.
jlv has quit [Ping timeout: 260 seconds]
<dansho> selfsymmetric-mu: maybe that's not the problem, when i do nix-build . it tries to get it from http instead of using the one in the nix store with $ nix-store --add-fixed sha256 UnrealEngine-4.22.3-release.zip like it said to do
<ivan> UnrealEngine is not publicly accessible, it should be changed to not try to fetch the thing
phreedom_ has quit [Remote host closed the connection]
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
xelxebar_ has quit [Remote host closed the connection]
xelxebar has joined #nixos
<dansho> i already downloaded it and added it to the store with nix-store --add-fixed sha256 ...
<dansho> it only fails when i run $ nix-build .
xelxebar has quit [Excess Flood]
xelxebar has joined #nixos
sudoforge has quit [Ping timeout: 250 seconds]
<dansho> system rebuild works with the original package, but i'm trying to test build a newer version
phreedom has joined #nixos
<ivan> the expression should work with the new zip assuming you update the sha256 and version
sudoforge has joined #nixos
<dansho> ivan: $ nix-hash --type sha256 UnrealEngine-4.10.2-release.zip doesn't match, do i need to extract it first?
palo1 has joined #nixos
hyper_ch2 has joined #nixos
<ivan> I thought you wanted the newer version?
palo has quit [Ping timeout: 248 seconds]
palo1 is now known as palo
<ivan> oh yeah maybe someone else knows the details of what sha256 hashes in https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/ue4/default.nix#L24-L31
endformationage has quit [Ping timeout: 268 seconds]
boxscape has quit [Remote host closed the connection]
<ivan> if it's the zip file, beware the hash from 2016 might not apply now if github changed anything
<dansho> i was checking the 4.10.2 version to make sure i was doing it right, but i haven't been able to get that sha256
lord| has quit [Quit: WeeChat 2.5]
lord| has joined #nixos
xelxebar_ has joined #nixos
xelxebar has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @teto merged pull request #66581 → qMasterPassword: use qt mkDerivation → https://git.io/fj567
<{^_^}> [nixpkgs] @teto pushed commit from @tadeokondrak to master « qMasterPassword: use qt mkDerivation »: https://git.io/fj5HO
<{^_^}> [nixpkgs] @Mic92 merged pull request #65780 → zsh/pth/zsync: cross fixes → https://git.io/fj9K7
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/fj5H3
<{^_^}> [nixpkgs] @vincentbernat opened pull request #66605 → [19.03] nginx: apply patches from 1.16.1 for HTTP/2 vulnerabilities → https://git.io/fj5HZ
<{^_^}> [nixpkgs] @teto merged pull request #66555 → ptex: 2.3.0 -> 2.3.2 → https://git.io/fj5EZ
<{^_^}> [nixpkgs] @teto pushed commit from @mmahut to master « ptex: 2.3.0 -> 2.3.2 »: https://git.io/fj5Hn
primeos has quit [Ping timeout: 264 seconds]
<pie__> Ashy: funny thing, i just ended up usingthe snippet i gave banks earlier...didnt thing i would need it
primeos has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #66538 → kernel generate-config.pl: Allow whitespace in values → https://git.io/fj5nK
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fj5H8
<{^_^}> [nixpkgs] @Mic92 merged pull request #66603 → youtube-dl: 2019.08.02 -> 2019.08.13 → https://git.io/fj59a
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fj5H4
<{^_^}> [nixpkgs] @Mic92 pushed commit from @xrelkd to release-19.03 « youtube-dl: 2019.08.02 -> 2019.08.13 »: https://git.io/fj5HR
<Ashy> pie__: haha nice
<Ashy> speaking of nixos things, i've been meaning to write a module for mssql, mssql-tools and jiq...
marek has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @DerTim1 opened pull request #66606 → nixos/riemann-tools: Add ExtraArgs Config Option → https://git.io/fj5HE
marek has joined #nixos
nwspk has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #66420 → maestral: init at 0.2.6 → https://git.io/fj72p
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fj5Hg
primeos has quit [Ping timeout: 264 seconds]
primeos has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
nwspk has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #66385 → perl: 5.28.2 -> 5.30.0 → https://git.io/fj7Ce
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to staging: https://git.io/fj5Hw
turion has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #66602 → axel: 2.17.3 -> 2.17.5 → https://git.io/fj59Z
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj5HP
mexisme has quit [Ping timeout: 258 seconds]
englishm has quit [Excess Flood]
englishm has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ce7ed91093b (from 37 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
callahad306 has joined #nixos
fusion809 has quit [Remote host closed the connection]
rauno has joined #nixos
callahad30 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @wkral opened pull request #66607 → vim 8.1.1547 -> 8.1.1845 → https://git.io/fj5Hd
<{^_^}> [nixpkgs] @saschagrunert opened pull request #66608 → cri-tools: 1.14.0 -> 1.15.0 → https://git.io/fj5Hh
<Miyu-chan> Who uses home-manager?
ng0 has joined #nixos
<Miyu-chan> Actually, scratch that. Who uses home-manager as a budget NixOS on a non-NixOS machine?
<Miyu-chan> That sounds like a more fun question
<Miyu-chan> I'm guessing around ~90% of the answer to that would be people using macOS
<srhb> I thought they'd use nix-darwin.
<Miyu-chan> Oh, huh. TIL, nix-darwin.
<Miyu-chan> Cool. :D
<Miyu-chan> is2g. This is one thing that really makes me appreciate how generic Nixpkgs modules are.
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
___laika has quit [Ping timeout: 248 seconds]
hyper_ch2 has quit [Remote host closed the connection]
freeman42x has joined #nixos
is_null has joined #nixos
mexisme has joined #nixos
is_null has quit [Ping timeout: 248 seconds]
<EsperLily> nix-darwin has always looked too invasive for me to adopt
<EsperLily> I don't really need to hand control of my user account over to Nix
<EsperLily> I keep thinking I should check out home-manager, though I'm a bit loathe to switch my setup since I've been running pretty happily on one using unison for syncing for over a decade
terps has joined #nixos
___laika has joined #nixos
o1lo01ol1o has joined #nixos
Chiliparrot has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
lambda-11235 has quit [Quit: Bye]
<srhb> More invasive means more control :D
<srhb> But sure, it's nice that people can opt in.
<EsperLily> If I were running macOS Server then nix-darwin is something I'd look at
<EsperLily> but not for my personal machine
orivej has quit [Ping timeout: 246 seconds]
<srhb> Being a happy NixOS user I can't say that I understand, but again, more choice is more better :D
gxt has joined #nixos
turion has quit [Quit: Leaving.]
mexisme has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<EsperLily> If I need to rebuild my server from scratch, that's annoying but ok. If something goes wrong with my personal machine and I have to rebuild it from scratch, that's a gigantic headache. And I just feel better knowing I can `rm -rf /nix` tomorrow and my machine would continue to function
<EsperLily> hell, that's exactly what I had to do when upgrading to macOS Mojave, and I'm concerned about needing to do it again when Catalina comes out
zupo has joined #nixos
thc202 has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #66609 → runwayml: 0.8.1 -> 0.9.0 → https://git.io/fj5Q9
gentauro has joined #nixos
<dminuoso> Does anyone here use IPv6 with SLAAC to confirm that the default settings using network manager lets your computer configure itself correctly?
jasom has quit [Ping timeout: 264 seconds]
hoijui has joined #nixos
veske has joined #nixos
<sphalerite> dminuoso: yeah, seems to work for me
<dminuoso> sphalerite: Is your configuration.nix available to take a peek at?
<dminuoso> sphalerite: Im asking because I cant for my life figure out why my laptop refuses to autoconfigure.
<sphalerite> dminuoso: I have nothing relevant except network-manager.enable = true;
<sphalerite> dminuoso: or rather networking.networkmanager.enable = true;
<dminuoso> sphalerite: Is your firewall enabled?
<sphalerite> dminuoso: do other devices get ipv6 properly?
<sphalerite> yes
<dminuoso> sphalerite: Yes. Its just my laptop.
<dminuoso> Ah actually my firewall is disabled, even.
<dminuoso> sphalerite: Do you have any special kernel settings in sys.net.ipv6.conf.<if>.ra_* >
<sphalerite> none that I set up
<dminuoso> sphalerite: And its SLAAC for you right? Not DHCPv6?
<sphalerite> I think so
<sphalerite> but it seems that network-manager isn't very chatty about how it gets addresses in its log…
joshuagl has joined #nixos
<sphalerite> the address _looks_ like it could well be a slaac address in any case
___laika has quit [Ping timeout: 244 seconds]
<rsoeldner> Hi, Struggle with nix & haskell, https://gist.github.com/rsoeldner/74d0a909da9d6b86e1f5b49414f8868c is this the right way to pin packages ? when running `nix-build release.nix` I receive "ghc: can't find a package database at ..."
<srhb> rsoeldner: Yes, it's the right way to pin (though the name attr is superfluous and you may want to also make it immune to overlays and config by explicitly passing those to the pkgs argset.)
<srhb> rsoeldner: Your issue is elsewhere.
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #65223 → utsushi: init at 3.57.0 → https://git.io/fjMVr
<{^_^}> [nixpkgs] @yegortimoshenko pushed commit from @symphorien to master « utsushi: init at 3.57.0 (#65223) »: https://git.io/fj57T
<rsoeldner> srhb, thank you - I have updated the gist, is this the right way to enter a shell, with the same package set ?
ThatDocsLady has joined #nixos
<srhb> rsoeldner: You should probably factor out your pinned pkgs so you can use it in both places, but yes.
hyper_ch2 has joined #nixos
<srhb> Though I'm not sure you want app.srv.env in inputsFrom, it seems to me you'd want the inputs from app.srv
orivej has joined #nixos
<Taneb> Is there a way to use git secret (https://git-secret.io/) with Hydra? I'd like to build something on my local hydra that includes secret keys
ilikeheaps has joined #nixos
abbiya has joined #nixos
domogled has quit [Ping timeout: 258 seconds]
<rsoeldner> srhb, looks like zou are right and when using `app.srv.env` I get a different set of packages with missing deps
dansho has quit [Quit: Leaving]
Zer0xp has joined #nixos
<srhb> rsoeldner: Were you to use app.srv.env in buildInputs I'd expect you get approximately the same result. But inputsFrom app.srv seems more intuitive to me.
<Miyu-chan> Is it allowed to interpolate .drvs into strings?
<rsoeldner> srhb, can you provide an example how to refactor the pinning ?
<Miyu-chan> I guess the TL;DR is that I want to nix-shell a drv, extract its environment, and load it to a systemd service.
<srhb> Miyu-chan: Allowed in what context?
<Miyu-chan> So basically, I guess I kinda want lorri?
<srhb> You can, but you end up holding the source closure of course.
nexgen has quit [Quit: Leaving]
mniip has quit [Quit: This page is intentionally left blank.]
<Miyu-chan> OTOH, I wonder if it's better to do everything on Nix instead. Hm.
<srhb> rsoeldner: let pkgs.nix contain: pkgs = import (builtins.fetchTarball ... ) { config = {}; overlays = []; }
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
___laika has joined #nixos
<srhb> rsoeldner: Then, in each place you need pkgs, let pkgs = import ./pkgs.nix;
<Miyu-chan> nix-shell .drv has the very huge advantage of `setupHook`s being run.
mniip has joined #nixos
<Miyu-chan> OTOH, it also means that you're evaluating Nix constructs on "runtime"
<Miyu-chan> In this case, runtime is the systemd service.
smakarov has joined #nixos
hyper_ch2 has quit [Ping timeout: 272 seconds]
<rsoeldner> srhb, https://gist.github.com/rsoeldner/c8541c2aec246354a493a4abde3aa72b, `error: syntax error, unexpected '=', expecting $end, at pkgs.nix`
<srhb> rsoeldner: Sorry, no "pkgs ="
<srhb> Just the bare import.
<srhb> Dunno what I was thinking there :-)
<srhb> And overlays is supposed to be the empty list.
<Miyu-chan> Also. Turns out you can coerce strings to path, by doing /. + string .
<Miyu-chan> So what does builtins.toPath really do now?
<srhb> Miyu-chan: It's deprecated now.
o1lo01ol1o has quit [Remote host closed the connection]
<Miyu-chan> Yeah. It's more of a "why does it exist"
<Miyu-chan> Did builtins.toPath actually return a path back then, or something?
gentauro has quit [Quit: leaving]
alex`` has joined #nixos
domogled has joined #nixos
<Miyu-chan> (Just really interested in the historical context.)
<srhb> I'm not sure it was ever very useful :P
<rsoeldner> srhb, this now "runs" but without all haskell packages available
<srhb> I guess there may have been a time before path literals? Before my time though..
<{^_^}> [nixpkgs] @NorfairKing opened pull request #66610 → super-user-spark 0.3.2.0-dev -> 0.4.0.1 → https://git.io/fj57M
<srhb> rsoeldner: Could you share the entire thing?
zupo has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<rsoeldner> srhb, not that easily. Looks like with the current pinning, I will not get my haskell dependencies available
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to haskell-updates « haskell: mark tasty-discover as not broken »: https://git.io/fj57j
o1lo01ol1o has joined #nixos
maralorn has quit [Quit: WeeChat 2.4]
maralorn has joined #nixos
nexgen has joined #nixos
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
<srhb> rsoeldner: It has nothing to do with the pinning, something must still be up with how you're using mkShell
<srhb> rsoeldner: And I can't reproduce it, using inputsfrom = [ (myHaskellPackage) ]; I do get exactly the dependencies of myHaskellPackage in the shell according to ghc-pkg list
<srhb> Maybe your default.nix is wonky?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
orivej has joined #nixos
sudoforge has quit [Ping timeout: 245 seconds]
<srhb> Oh, but I do see that myHaskellPackage does switch to .env when it's in a nix shell.
<srhb> So using env there must be correct, if confusing to me..
<{^_^}> [nixpkgs] @fadenb opened pull request #66612 → nixos/oxidized: Use symlinks for config files → https://git.io/fj55C
<vmandela> I am trying to do "nix-shell -p haskellPackages.ghcjs-base" behind a proxy and it fails with "unable to look up github.com (port 9418)". How do I fix this error ?
pie__ has quit [Ping timeout: 252 seconds]
___laika has quit [Ping timeout: 246 seconds]
sigmundv_ has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
Ariakenom has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #66613 → buildRustPackage: support cross-compilation to x86_64-pc-mingw32 → https://git.io/fj559
ciaran0 has joined #nixos
<{^_^}> [nixpkgs] @WilliButz merged pull request #66612 → nixos/oxidized: Use symlinks for config files → https://git.io/fj55C
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fj55N
ubert has joined #nixos
eyJhb is now known as eyJhb
o1lo01ol1o has quit [Remote host closed the connection]
ottidmes has joined #nixos
<Taneb> I guess what I want is an extra configuration option for the GitInput Hydra plugin that's something like "post-checkout hook"
jasom has joined #nixos
wolke has quit [Quit: ZNC 1.7.4 - https://znc.in]
tmaekawa has joined #nixos
veske2 has joined #nixos
wolke has joined #nixos
Diagon has joined #nixos
veske2 has quit [Client Quit]
veske has quit [Ping timeout: 245 seconds]
Diagon has quit [Remote host closed the connection]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #66609 → runwayml: 0.8.1 -> 0.9.0 → https://git.io/fj5Q9
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj5dQ
<{^_^}> [nixpkgs] @mmahut merged pull request #66590 → bdsync: 0.10.1 -> 0.11.1 → https://git.io/fj5MW
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj5dd
AtnNn has quit [Remote host closed the connection]
tmaekawa has quit [Quit: tmaekawa]
orivej has joined #nixos
___laika has joined #nixos
veske2 has joined #nixos
<rsoeldner> srhb, I see
<rsoeldner> srhb, the `default.nix` file was generated by `cabal2nix . > default.nix`
<{^_^}> [nixpkgs] @mmahut merged pull request #66608 → cri-tools: 1.14.0 -> 1.15.0 → https://git.io/fj5Hh
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj5Fo
hyper_ch2 has quit [Quit: Ping timeout (120 seconds)]
o1lo01ol1o has joined #nixos
kleisli_ has quit [Ping timeout: 246 seconds]
<ng0> I know my cloak atm is unaffiliated (and then the generic onion mask). who do I have to talk to about the netbsd cloak? seems to be not documented for developers, or I skipped it while reading
<ng0> gah
<ng0> channel starts with n but the wrong channel
<ng0> sorry :D
bakakuna has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
sigmundv_ has quit [Ping timeout: 245 seconds]
sigmundv_ has joined #nixos
<{^_^}> [hydra] @edolstra merged pull request #668 → Turn hydra-notify into a daemon → https://git.io/fj5sW
<{^_^}> [hydra] @edolstra pushed 12 commits to master: https://git.io/fj5FD
<rawtaz> ng0: talk to staff in #freenode
Zer0xp has quit [Ping timeout: 245 seconds]
Zer0xp has joined #nixos
___laika has quit [Ping timeout: 272 seconds]
Artigiano has joined #nixos
Artigiano has left #nixos [#nixos]
abbiya has quit [Quit: abbiya]
m0rphism has joined #nixos
kleisli_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/757ac88383e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
domogled has quit [Ping timeout: 272 seconds]
veske2 has joined #nixos
mexisme has quit [Ping timeout: 264 seconds]
domogled has joined #nixos
<{^_^}> [nixpkgs] @WilliButz pushed commit from @fadenb to release-19.03 « nixos/oxidized: Use symlinks for config files »: https://git.io/fj5bk
wfranzini has quit [Remote host closed the connection]
mniip_ has joined #nixos
wfranzini has joined #nixos
mniip has quit [Ping timeout: 600 seconds]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ce7ed91093b (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
mniip_ is now known as mniip
logzet has joined #nixos
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 568 commits to staging-next: https://git.io/fj5bz
<{^_^}> [nixpkgs] @FRidh pushed 569 commits to staging: https://git.io/fj5b2
<{^_^}> [nixpkgs] @FRidh closed pull request #65686 → WIP: enable `__structuredAttrs` in `stdenv.mkDerivation` → https://git.io/fj9Tx
kleisli_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @rychale opened pull request #66615 → msgpack: 3.0.1 -> 3.2.0 → https://git.io/fj5br
nexgen has quit [Quit: Leaving]
bakakuna has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #66616 → buildRustPackage: set HOME → https://git.io/fj5bS
___laika has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #66617 → buildRustPackage: fix cross-compilation to aarch64-unknown-linux-musl → https://git.io/fj5bd
<craige> I
v0d1ch has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
terps has quit [Ping timeout: 264 seconds]
terps has joined #nixos
<craige> ugh. I'm packaging a new app for NixOS and it's failing on a meson install failure that I'm struggling to get any traction on, even with -vvvvv - does anyone know of any techniques I can use to dig deeper into the root cause of the meson install failure?
kim0 has joined #nixos
Arahael has quit [Ping timeout: 272 seconds]
hyper_ch2 has joined #nixos
dsiypl4 has joined #nixos
<sphalerite> craige: it's ugly, but you could strace it
<sphalerite> craige: either add a sleep before the build starts and use `strace -fe execve -p <bash pid>` from outside, or put strace in the build and `strace -fe execve` the meson process
<sphalerite> or use execsnoop from linuxPackages.bcc to watch what's being exec'd
<clever> execsnoop works on linux now? :O
veske2 has quit [Quit: This computer has gone to sleep]
veske2 has joined #nixos
<sphalerite> clever: yeah, it's a bit fiddly though, the best way I've found to use it is to put `config.boot.kernelPackages.bcc` in systemPackages and invoke it from /run/booted-system/sw/bin
<clever> ah
wfranzini has quit [Remote host closed the connection]
<sphalerite> craige: of course, that's assuming some command is being invoked incorrectly
wfranzini has joined #nixos
npmccallum has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @baracoder opened pull request #66618 → dotnet-sdk: Get dotnet tool install working → https://git.io/fj5Nl
is_null has joined #nixos
FRidh has quit [Ping timeout: 272 seconds]
<exarkun> wah, error: Package ‘pypy-7.0.0-env’ in /nix/store/3sdwdai3npjr2hlppy4xd0s0366pb8kq-source/pkgs/development/interpreters/python/pypy/default.nix:150 is marked as broken, refusing to evaluate.
<Taneb> Does anyone know of a Python package in nixpkgs which has a setup.py which calls other setup.pys that I could use as a template?
<simpson> exarkun: It was marked broken because some of the tests don't work, and people (understandably) didn't want to spend the hours to iterate on the tests.
<simpson> (FWIW, for CPython, the tests are just all disabled. Such CPython~)
<exarkun> seems fair
<exarkun> you don't get better software by holding it to a low standard, I guess (but do you get it by holding it to a high standard?)
<{^_^}> [nixpkgs] @eadwu closed pull request #66573 → zsh: use host derivation to run binary when cross compiling → https://git.io/fj5oj
<simpson> exarkun: I am all for fixing PyPy. Just filling you in on a #nixos-dev conversation you likely missed.
___laika has quit [Ping timeout: 258 seconds]
<exarkun> simpson: appreciated!
groggy42[m] is now known as groggy[m]
<exarkun> there doesn't appear to be an open issue for the test suite failing
<exarkun> though there are some other interesting issues, like https://github.com/NixOS/nixpkgs/issues/39356
<{^_^}> #39356 (by andersk, 1 year ago, open): pypy.withPackages can’t import packages
<simpson> Would it help? An issue won't make somebody like you or me materialize and fix PyPy, will it?
<simpson> Just like with GVR, I think that the problem is that the Python subsystem maintainers don't care about PyPy, likely because they don't use it.
<exarkun> sure it would help
<exarkun> it would be a place for information about the problem to live in an accessible manner
<exarkun> rather than as word of mouth wisdom amongst the core developers
<exarkun> maybe it wouldn't help _much_ ;)
<simpson> exarkun: This has convinced me. By end of weekend, I'll submit an RFC for non-shitty PyPy in nixpkgs.
o1lo01ol1o has joined #nixos
<simpson> It's getting too close to 2020 and we still don't have a plan for Python 2 after CPython.
<exarkun> yay
<{^_^}> [nixpkgs] @vbgl opened pull request #66619 → coq: make version 8.9 the default one → https://git.io/fj5Ny
<{^_^}> [nixpkgs] @layus opened pull request #66620 → autoPatchelfHook: search a valid interpreter, or fail → https://git.io/fj5N9
<{^_^}> [nixpkgs] @flokli opened pull request #66621 → gitlab-ce: 12.0.3 -> 12.1.6 → https://git.io/fj5Nb
fendor_ has joined #nixos
sigmundv_ has quit [Ping timeout: 248 seconds]
<sphalerite> simpson: exarkun: please tag me and disasm in the RFC! It would be really nice if we could get it into the next release, though I understand the timeline for that is probably a bit too short.
jmeredith has joined #nixos
vmandela has quit [Quit: Leaving]
drisc has quit [Quit: ZNC - https://znc.in]
drisc has joined #nixos
Jackneill has quit [Ping timeout: 248 seconds]
<sphalerite> I want to enable network-manager on a laptop that's currently using plain wpa_supplicant. Trouble is, (a) I don't currently have physical access to the laptop, and (b) my only access to it is _via_ the wifi it's currently connected to. Does anyone have any wonderful ideas how I could do this safely?
Jackneill has joined #nixos
<sphalerite> the best I can come up with is some automatic rollback
sigmundv_ has joined #nixos
<exarkun> set up an reboot to happen in 60 seconds and then nixos-rebuild test instead of switch?
<exarkun> cancel the reboot if you don't lose access
<gchristensen> ^ so good
<sphalerite> hmmm
<gchristensen> sphalerite: you could set the default boot entry to be your current working one, and use a systemd timer to trigger a reboot
<lassulus> there should be a nixos service for that :D
<clever> lassulus: one min
<gchristensen> my understanding is Lumiguide does thois?
<gchristensen> and I think a company deploying to remote systems does another thing like this
<gchristensen> so ... having a "cookbook" entry would be awesome
pie_ has joined #nixos
<clever> at the end of every hour, it will run `shutdown -r +5`, which will reboot in 5mins
<{^_^}> [nixpkgs] @flokli opened pull request #66622 → [19.03] gitlab updates → https://git.io/fj5A0
<clever> you can `shutdown -c` to cancel that, and `systemctl stop autoreboot.timer` to entirely stop it
<gchristensen> sphalerite: what is your bootloader?
<clever> main problem, is that it starts the timer on bootup, but you could comment out line 14
<sphalerite> gchristensen: depthcharge x)
<gchristensen> erm
wfranzini has quit [Remote host closed the connection]
<gchristensen> so not systemd-boot :P?
<thefloweringash> is that a chromebook I smell?
<sphalerite> no
Okinan has quit [Quit: Konversation terminated!]
<sphalerite> thefloweringash: yep, many thanks again for your module :)
wfranzini has joined #nixos
<lassulus> ok, something which would rollback after an unsuccessful reboot or no network or something like that was what I meant
ThatDocsLady has quit [Remote host closed the connection]
<tilpner> gchristensen: Sorry about the delay, I've pushed changes that seem right to me, but you should still have a look
<gchristensen> cool
ThatDocsLady has joined #nixos
<clever> gchristensen: of note, grub has a saved env thing, which can change the default, and grub can write to it while booting
jabranham has joined #nixos
<clever> gchristensen: ive had plans to play with that, and configure it to change the default as it boots nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-ci: update to latest git version (20190814-git) »: https://git.io/fj5Aw
<clever> and then when nixos successfully boots, change it back
<clever> throw in a panic=30, and it should reboot in the event of most failures, and go to the previous generation
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj5AX
<gchristensen> clever: oh cool!
chiefgoat has quit [Quit: ZNC 1.7.4 - https://znc.in]
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @flokli closed pull request #65663 → Update Gitlab to 12.1 → https://git.io/fj9v1
chiefgoat has joined #nixos
jabranham has quit [Client Quit]
ThatDocsLady has quit [Remote host closed the connection]
jabranham has joined #nixos
ThatDocsLady has joined #nixos
___laika has joined #nixos
jabranham has quit [Client Quit]
jabranham has joined #nixos
v0|d has joined #nixos
ThatDocsLady_ has joined #nixos
rauno has quit [Ping timeout: 268 seconds]
ThatDocsLady has quit [Ping timeout: 252 seconds]
<gchristensen> anyone on sway on 19.03 seeing a sort of bad firefox experience with flickering windows? I'm thinking we should backport a sway update to fix it
<gchristensen> normally I wouldn't be okay with that sort of big patch to stable, but the FF bug is severe
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<{^_^}> [nixpkgs] @volth closed pull request #66585 → [bot] name -> pname (easy cases) → https://git.io/fj5XY
gentauro has joined #nixos
dm9 has joined #nixos
<exarkun> I'm trying to make coverage results part of the output of a buildPythonPackage derivation
<exarkun> buildPythonPackage moves checkPhase to installCheckPhase
<exarkun> which is after installPhase, clearly
justanotheruser has quit [Ping timeout: 268 seconds]
<exarkun> is after installPhase too late to add things to $out? seems like it would have to be.
<exarkun> (coverage results are generated by checkPhase)
<exarkun> is there some other way to get coverage results into the output?
<mdash> exarkun: hmmm
<clever> exarkun: every phase can alter $out
<exarkun> oh, hm
<mdash> convenient
<clever> but $out may not exist before the installPhase
<exarkun> that's okay, I don't have the coverage until after installPhase - installCheckPhase generates them (but buildPythonPackage calls "installCheckPhase" "checkPhase")
<exarkun> I see that if I copy something to $out at the end of installCheckPhase it does show up in out. I tried to do it in postInstallCheck and it didn't show up...
<exarkun> pretty sure I didn't imagine postInstallCheck - https://nixos.org/nixpkgs/manual/#ssec-installCheck-phase has it
endformationage has joined #nixos
<clever> exarkun: if you override installCheck, then the pre/post hooks stop working
<exarkun> ah
* exarkun looks at buildPythonPackage docs again
<clever> you have to insert a call to runHook, at the start/end
sigmundv_ has quit [Ping timeout: 246 seconds]
<exarkun> actually, s/docs/implementation/
<exarkun> ah of course
<exarkun> buildPythonPackage takes checkPhase and runs it at installCheckPhase and it preserves the *check* hooks, not the installCheck hooks.
<clever> ahh
the-kenny-w has joined #nixos
the-kenny has quit [Ping timeout: 248 seconds]
nexgen has joined #nixos
sigmundv has joined #nixos
jtojnar has quit [Quit: jtojnar]
jtojnar_ has joined #nixos
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #66480 → nixos/fuse: init → https://git.io/fj7FX
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fj5x2
<{^_^}> [nixpkgs] @matthewbauer merged pull request #65483 → llvm8 bare metal fixes → https://git.io/fjyrM
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fj5xV
<{^_^}> [nixpkgs] @matthewbauer merged pull request #65484 → stdenv: correct cross CMAKE_SYSTEM_NAME → https://git.io/fjyrH
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fj5xw
jabranham has joined #nixos
___laika has quit [Ping timeout: 268 seconds]
<eyJhb> Dunno if this is chat or this, but has anybody tried mixing qubeos and Nixos?
<eyJhb> Seems like it could be a badass secure OS
<gchristensen> qyliss has a whole, funded project for it
<eyJhb> What, really? Link
<eyJhb> If it is public anyways
<{^_^}> [nixpkgs] @matthewbauer merged pull request #63835 → raspberrypi-firmware: Update version to 1.20190620+1 → https://git.io/fjrxd
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fj5xH
justanotheruser has quit [Quit: WeeChat 2.4]
<eyJhb> gchristensen: who funds it?
justanotheruser has joined #nixos
<gchristensen> the EU https://nlnet.nl/PET/
ThatOtherGuy has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #64546 → [darwin] Fix fetchzip call by using https not http → https://git.io/fjPJ4
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @rw to master « darwin.adv_cmds: Fix fetchzip call by using https not http (#64546) »: https://git.io/fj5x7
<eyJhb> Am I blind for not seeing any source?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62953 → wasmtime: 0.1.0 -> 20190521 → https://git.io/fjg3p
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fj5xd
marek has quit [Ping timeout: 245 seconds]
<exarkun> I also don't see any
is_null has quit [Ping timeout: 245 seconds]
marek has joined #nixos
<exarkun> some more info https://nlnet.nl/project/Spectrum/ but not much
thc202 has quit [Ping timeout: 258 seconds]
is_null has joined #nixos
thc202 has joined #nixos
<gchristensen> you'll need to talk to qyliss for that I guess :)
<manveru> man, that page needs some styling :P
<exarkun> Indeed! Maybe qyliss will see this conversation and chime in :)
<exarkun> I have also wanted something like QubesOS + NixOS for a little while now.
<adisbladis> qylis++
<adisbladis> qyliss++
<{^_^}> qyliss's karma got increased to 4
<tilpner> eyJhb: Not quite Qubes, but a step in the general direction: https://github.com/jollheef/appvm
<manveru> qyliss: https://pste.eu/p/LhA3.html i think doing these two changes would make it a lot more readable ;)
<manveru> hehe
<manveru> exactly
<exarkun> there's a reason it's called "style"
<exarkun> it's arbitrary, subjective, and the primary selective trait is that it's different from what was before
dsiypl4 has quit [Ping timeout: 268 seconds]
ThatOtherGuy has joined #nixos
<rycee> Anybody familiar with hnix hacking? It doesn't build in Nixpkgs master since the `these` dependency has been bumped to an unsupported version: https://github.com/NixOS/nixpkgs/issues/66623
<{^_^}> #66623 (by rycee, 8 minutes ago, open): hnix-0.6.1 is broken in master
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/ce7ed91093b (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/364e1a8ca91 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
orcus has joined #nixos
ramses_ has joined #nixos
<rycee> I'll create an upstream ticket as well.
<eacameron> After running `xrandr ... --scale 1.4x1.4` things look much better on my high-dpi screen but now my desktop and panels are only covering a fraction of the screen. How can I get the kde window manager to "refresh" to use the new scaling?
fusion809 has joined #nixos
<manveru> exarkun: of course it is, but maybe we can call this "ergonomics" instead?
<exarkun> manveru: if you can cite some studies on it
<exarkun> :)
<ramses_> Hi guys. If I set an option of type list to a certain value in configuration.nix and I want to change this value for some hosts in a separate module, how should I do this? It seems that when using mkDefault in configuration.nix, the value is ignored, when using anything higher, the module does not reset the value but instead merges
<{^_^}> [nixpkgs] @vbgl merged pull request #66279 → smplayer, smtube: fix execution (“Could not find the Qt platform plugin "xcb"”) → https://git.io/fjQDf
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/fj5pq
terps has quit [Ping timeout: 264 seconds]
owickstrom has joined #nixos
terps has joined #nixos
<manveru> exarkun: i'll just cite my own physical discomfort trying to read, i'm sure there's a study or two about line-width or line-height, but i lack the energy to find anything in the paywall jungle of studies :|
<{^_^}> [nixpkgs] @joachifm merged pull request #54425 → sourcehut: init → https://git.io/fhzyS
<{^_^}> [nixpkgs] @joachifm pushed 11 commits to master: https://git.io/fj5p3
<infinisil> ramses_: mkForce
<ramses_> infinisil: I don't get the difference between the different mk* functions, are these documented somewhere?
<ramses_> It seems like sometimes things are merged, sometimes not
<infinisil> ramses_: Well there's a little bit here: https://nixos.org/nixos/manual/#sec-option-definitions-setting-priorities
<{^_^}> [nixpkgs] @yegortimoshenko closed pull request #66616 → buildRustPackage: set HOME → https://git.io/fj5bS
<infinisil> And here are all mk* priority functions: https://github.com/NixOS/nixpkgs/blob/master/lib/modules.nix#L520-L523
<infinisil> If you assign `some.option = x`, this will be equivalent to `some.option = mkOverride 100 x`
<infinisil> So you need mkForce (=mkOverride 50) to override this
MmeQuignon has joined #nixos
domogled has quit [Ping timeout: 245 seconds]
dsiypl4 has joined #nixos
<ramses_> infinisil: so that's what I don't get. I had `x = mkBefore [ a b ];` in configuration.nix, and then `x = [ ];` in another module, but the final value in my configuration file still contained `a` and `b`, even though the default priority of 100 should be higher than the `mkBefore` one of 1500, right?
<infinisil> mkBefore/mkAfter is something different
<infinisil> They have nothing to do with mkDefault/mkForce
<ramses_> infinisil: oh... I only now see the difference, I didn't notice that they have `mkOrder` instead of `mkOverride`... Ok, thanks, that clears up my confusion
<eyJhb> tilpner: yeah found that yesterday :D
iyzsong-x has joined #nixos
<tilpner> eyJhb: I was going to build my own to replace my current bubblewrap-based Nix wrapper (which works, but still shares the kernel), but firecracker doesn't support virtio-fs yet
npmccallum has quit [Quit: npmccallum]
dsiypl4 has quit [Ping timeout: 246 seconds]
veske2 has quit [Quit: This computer has gone to sleep]
iyzsong has quit [Ping timeout: 245 seconds]
fendor__ has joined #nixos
fendor_ has quit [Ping timeout: 245 seconds]
iyzsong-x has quit [Ping timeout: 264 seconds]
npmccallum has joined #nixos
<exarkun> Given `{ x }: mkDerivation { installPhase = "foo ${x}"; }` is there a way to override `x` in the resulting derivation without duplicating the "foo "?
<infinisil> exarkun: .override { x = ...; }?
Ariakenom has quit [Quit: Leaving]
wildtrees has joined #nixos
fendor__ has quit [Ping timeout: 246 seconds]
<exarkun> apparently
<exarkun> somehow I can't get the concept of .override into my head
MmeQuignon has quit [Ping timeout: 250 seconds]
<infinisil> .override just calls the function again with changed arguments
dsiypl4 has joined #nixos
<exarkun> see it sounds so simple
<infinisil> > test = lib.makeOverridable ({ name }: { result = "Hello, ${name}!"; })
<{^_^}> test defined
<infinisil> > :p test
<{^_^}> <LAMBDA>
<infinisil> > test = lib.makeOverridable ({ name }: { result = "Hello, ${name}!"; }) { name = "World"; }
<{^_^}> test defined
<infinisil> > :p test
<{^_^}> { override = <LAMBDA>; overrideDerivation = <LAMBDA>; result = "Hello, World!"; }
<infinisil> > :p test.override { name = "Paul"; }
<{^_^}> { override = <LAMBDA>; overrideDerivation = <LAMBDA>; result = "Hello, Paul!"; }
<sphalerite> Anyone familiar with this one from network-manager? Error: Connection activation failed: No suitable device found for this connection (device wlp1s0 not available because device is not available).
<exarkun> infinisil: it definitely works
<exarkun> infinisil: and it's not like it's a complicated concept
<infinisil> "Device is not available because it is not available" lol
___laika has joined #nixos
terps has quit [Ping timeout: 250 seconds]
<sphalerite> infinisil: ikr!
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66338 → installer: Don't run as root → https://git.io/fj7TM
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fj5py
veske has joined #nixos
jtojnar_ has quit [Read error: Connection reset by peer]
domogled has joined #nixos
greymalkin has quit [Ping timeout: 246 seconds]
veske has quit [Client Quit]
<timokau[m]> Well I guess they mean the virtual device is not available because they can't ping the physical device
<petercommand> https://i.imgur.com/nNQudYX.png why does it show that it's building deb files?
zupo has joined #nixos
<sphalerite> timokau[m]: well it works with plain wpa_supplicant
domogled has quit [Quit: domogled]
<petercommand> oh..it's probably steam..
<Athas> I'd like to write a patch for a package that is in Nix (sway, the Wayland compositor). What is recommended - should I write my own shell.nix from scratch so I can run the normal build system, or can I somehow base my work on the nixpkgs derivation?
<timokau[m]> sphalerite: Yeah I have no idea what may cause the error, its just my interpretation of the nonsensical formulation
<mdash> Athas: typically you can just add to the 'patches' array in an override
<yorick> Athas: go to your sway checkout, do nix-shell '<nixpkgs>' -A sway
<yorick> then you can develop sway
<Athas> yorick: ah nice, that sounds exactly like what I need.
<yorick> there is a patches array when you are done, you can sway.overrideAttrs (o: { patches = (o.patches or []) ++ [ ./your-patch.diff ]; })
<mdash> in this particular case you can leave off the 'or []' since there are already patches for sway
eof has quit [Quit: eof]
<Athas> mdash: thanks, but what I want is to contribute an improvement upstream. I just need a working build environment.
<Athas> (A non-Nix specific improvement, that is.)
terps has joined #nixos
eof has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #66624 → ocamlPackages.ppx_deriving: 4.2.1 -> 4.4 → https://git.io/fj5hk
terps has quit [Ping timeout: 264 seconds]
<eacameron> How do I restart plasmashell?
<eacameron> I can kill it and run it in terminal...but that's not "right"
<mdash> Athas: Sure, I just mean this is how you'd build it with nix
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
npmccallum has quit [Quit: npmccallum]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #65040 → nixos/cups fixes → https://git.io/fj1d2
<{^_^}> [nixpkgs] @matthewbauer pushed 8 commits to master: https://git.io/fj5hW
<petercommand> somethimes doing nixos-rebuild switch triggers a massive rebuild, sometimes it doesn't..
<petercommand> not sure why
terps has joined #nixos
<petercommand> I don't think I did nix-channel --update before nixos-rebuild switch
<Taneb> petercommand: do you have system.autoUpgrade enabled?
erasmas has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
<petercommand> Taneb: not sure..
casaca has quit [Ping timeout: 246 seconds]
<petercommand> Taneb: I don't think so
___laika has joined #nixos
<Taneb> petercommand: hmm
<petercommand> I searched for autoUpgrade in my config, and there is none
<Taneb> Then it's probably not enabled
<Taneb> It's conceivable you're just sometimes changing things that need a lot of building
casaca has joined #nixos
<petercommand> um, I just added tdesktop to my system package list
ixxie has joined #nixos
mekeor has joined #nixos
<petercommand> not really sure what might have caused the massive rebuild
<Taneb> It'd have to build tdesktop for a start
<Taneb> But, I don't really know
dm9 has quit [Quit: WeeChat 2.5]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @aszlig pushed 2 commits to release-19.03: https://git.io/fj5h6
<{^_^}> [nixpkgs] @aszlig merged pull request #66605 → [19.03] nginx: apply patches from 1.16.1 for HTTP/2 vulnerabilities → https://git.io/fj5HZ
<mekeor> can i somehow install all nix-packages corresponding to the debian-package "build-essentials"?
___laika has quit [Ping timeout: 258 seconds]
<kalbasit> is there a lib.cleanSource that respects the .gitignore file? I swear I saw one one day on GitHub, but I can't find it :(
ramses_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @aszlig pushed 3 commits to master: https://git.io/fj5hS
ubert has quit [Quit: Leaving]
judson has joined #nixos
judson__ has joined #nixos
Arahael has joined #nixos
<{^_^}> [nixpkgs] @aszlig merged pull request #66582 → nginx update → https://git.io/fj5iL
<{^_^}> [nixpkgs] @eyJhb opened pull request #66626 → sl: 5.04 -> 5.05 → https://git.io/fj5hb
hoijui has quit [Quit: Leaving]
chloekek has joined #nixos
hydropyrum has joined #nixos
shibboleth has quit [Quit: shibboleth]
ixxie has quit [Ping timeout: 246 seconds]
<kalbasit> Taneb: yep that's it. Thank you!
hydropyrum has quit [Remote host closed the connection]
<qyliss> eyJhb: no source yet, because I don’t properly start working on it until next week!
<qyliss> I’m funded for a year. Source will appear at some point over the next few weeks as I sort infrastructure and stuff
englishm has quit [Excess Flood]
<eyJhb> qyliss: so the year starts next week?
<eyJhb> How much was the funding for?
<qyliss> Well, it’s approximately a year. I’m funded until I run out of grant money, but I expect to be able to dedicate at least a year
englishm has joined #nixos
sigmundv has quit [Ping timeout: 244 seconds]
ixxie has joined #nixos
<eyJhb> Yeah I see :) SOunds nice! Do you plan on using docker as PoC, or as the final thing?
<Izorkin> How to need to merge PR #65222 #63150 #61671
<qyliss> I won’t be using docker
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65222 (by Izorkin, 3 weeks ago, open): mariadb: update packages
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63150 (by Izorkin, 8 weeks ago, open): nixos/tests/prosody: update prosody tests
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61671 (by Izorkin, 12 weeks ago, open): nixos/mysql: fix mysqlReplication test
<eyJhb> I think I might have read something wrong then
<qyliss> it was useful for the PoC, but it’s unnecessary bloat for the real thing
<qyliss> I wrote that text over a year ago. It’s a little outdated.
hydropyrum has joined #nixos
<eyJhb> Ahh, I see :) Any thing you have in mind now then?
<qyliss> Will use a lower-level container runtime like runc, as well as kvm
ixxie has quit [Client Quit]
ixxie has joined #nixos
<qyliss> Need https://github.com/NixOS/nixpkgs/pull/56411, which provides a function to generate raw container images from nix, without involving docker or whatever
<{^_^}> #56411 (by spacekookie, 24 weeks ago, open): Adding railcar container module
ixxie has quit [Client Quit]
ixxie has joined #nixos
<eyJhb> qyliss: looks somewhat ready for merge?
<qyliss> almost
<qyliss> not quite though
<qyliss> last comment from edef should be implemented, for example
Chiliparrot has joined #nixos
hydropyrum has quit [Ping timeout: 260 seconds]
bakakuna has joined #nixos
mcfrank has joined #nixos
palo has quit [Ping timeout: 245 seconds]
owickstrom has quit [Quit: Connection closed for inactivity]
drakonis has joined #nixos
<Nyanloutre[m]> Notkea: hello I am testing you PR on the mautrix-telegram module #63589
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63589 (by pacien, 7 weeks ago, open): [WIP] nixos/mautrix-telegram: add module
<Nyanloutre[m]> Did you already had an error about mautrix-telegram trying to write to the config (and failing because it's in the store) ?
<{^_^}> [nixpkgs] @matthewbauer opened pull request #66627 → calc: don’t include glibc headers in closure → https://git.io/fj5jn
<Notkea[m]> I avoided the situation in which it needed to rewrite the configuration file I think
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @Gerschtli to release-19.03 « environment.profiles: fix order of profiles »: https://git.io/fj5jW
<Nyanloutre[m]> ok because by looking at the code it seems to call this at every launch
<Notkea[m]> but I've made some change to the module since then
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to release-18.09: https://git.io/fj5j8
<Nyanloutre[m]> change not present in the PR yet ?
<Nyanloutre[m]> * changes not present in the PR yet ?
<Notkea[m]> they're already pushed, I haven't tested those yet
boxscape has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/364e1a8ca91 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
bakakuna has quit [Ping timeout: 244 seconds]
___laika has joined #nixos
<{^_^}> [nixpkgs] @gebner opened pull request #66628 → calculix: init at 2.15 → https://git.io/fj5jK
ThatDocsLady_ has quit [Quit: Leaving]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/930659b10bc (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
inkbottle has joined #nixos
<Nyanloutre[m]> Notkea: I think I could know why, you now use WorkingDirectory instead of a cd in the prestart script. mautrix-telegram base config option has a default value this is now a valid path (example-config.yaml is in the working directory).
<Nyanloutre[m]> and when starting it merges them and try to save it in the config location
gvolpe has joined #nixos
<Nyanloutre[m]> which it can't if the config is in the store
<Notkea[m]> yes, I was doing that at eval time before but that part got removed when I tried to simplify the module :c
xkapastel has joined #nixos
<gvolpe> Hi all, Nix newbie here. I have a project that compiles fine using `cabal new-build` but I'm failing to get it compiling within a `nix-shell`. I believe the problematic package is `transient`, that seems to be outdated in `nixpkgs` to I guess I need to override it? If so, can anyone help me see what I'm doing wrong? Thanks!
drakonis has quit [Ping timeout: 248 seconds]
<gvolpe> It's failing with this error:
<gvolpe> ```
<gvolpe> Configuring transient-0.6.3...CallStack (from HasCallStack): die', called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:950:20 in Cabal-2.4.0.1:Distribution.Simple.Configure configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:460:12 in Cabal-2.4.0.1:Distribution.Simple.Configure configure, call
<gvolpe> ed at libraries/Cabal/Cabal/Distribution/Simple.hs:596:20 in Cabal-2.4.0.1:Distribution.Simple confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:67:5 in Cabal-2.4.0.1:Distribution.Simple.UserHooks configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:178:19 in Cabal-2.4.0.1:Distribution.Simple defaultMa
<gvolpe> inHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:115:27 in Cabal-2.4.0.1:Distribution.Simple defaultMain, called at Setup.hs:2:8 in main:MainSetup: Encountered missing dependencies:primitive <0.6.4builder for '/nix/store/m2nw7mm3lzkyc27w0c2rvhqpcgfm4h7x-transient-0.6.3.drv' failed with exit code 1cannot build derivation '/nix/store
<gvolpe> /6rwdyf7ql14zi7c2q0jafnai2n36pm8r-ghc-8.6.5-with-packages.drv': 1 dependencies couldn't be builterror: build of '/nix/store/6rwdyf7ql14zi7c2q0jafnai2n36pm8r-ghc-8.6.5-with-packages.drv' failed
<gvolpe> ```
<gvolpe> Mmm I need to learn how to format code here...
mexisme has joined #nixos
<{^_^}> [nixpkgs] @nh2 merged pull request #61471 → Issue 61250 coreutils disable test on musl → https://git.io/fjWS8
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/fj5j9
chloekek has quit [Ping timeout: 245 seconds]
mekeor has quit [Ping timeout: 252 seconds]
<exarkun> anyone have tox (https://tox.readthedocs.io/en/latest/) working in nixos?
<exarkun> it's broken like this for me:
mexisme has quit [Ping timeout: 252 seconds]
<exarkun> Could not install packages due to an EnvironmentError: [Errno 30] Read-only file system: '/nix/store/a8cyid6kjawbwnajc44kwif1b96vmf0i-python2.7-pip-19.0.3/lib/python2.7/site-packages/pip-19.0.3.dist-info/INSTALLER
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<exarkun> seems like tox's use of virtualenv of broken in nixos
<slabity> exarkun: Looks like the package is trying to write into it's install location
<slabity> Tox seems to build fine for me
<exarkun> note it's not Tox the chat system
<exarkun> it's nixpkgs.pythonPackages.tox
<exarkun> it builds fine for me too. it just doesn't _work_.
<{^_^}> [nixpkgs] @kayhide opened pull request #66629 → lv: init at 4.51 → https://git.io/fj5jb
<nh2> This one is freaking me out and I don't know how to attack it: https://github.com/NixOS/nixpkgs/issues/66598
<nh2> clever: have you ever had a situation where you could fetch something from cache.nixos.org but not build it yourself on NixOS?
<{^_^}> #66598 (by nh2, 16 hours ago, open): dejavu-fonts-full downloads from binary cache but does not build on NixOS
<nh2> it's been blocking my static Haskell builds stuff for a few days now, and confuses the hell out of me
<Shyim[m]> I have installed nodejs when i run now some programs i get the error Unable to load crypto module: crypto will be disabled: Error: global.Olm is not defined . Have someone an idea?
<exarkun> ,locate ld-linux-x86-64.so.2
<{^_^}> Found in packages: glibc, glibc_multi, glibc_memusage
<exarkun> nh2: does your glibc have ld-linux-x86-64.so.2?
<exarkun> nh2: maybe `nix-store --repair` can help?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<nh2> exarkun: `nix-store --repair` on which path?
drakonis has joined #nixos
<nh2> exarkun: I can reproduce this even on a throwaway machine directly after boot, shouldn't that mean that there shouldn't be anything broken that needs repairing?
<exarkun> nh2: I just read more of the ticket. You repro'd from scratch? Makes me doubt the idea you have a corrupt store object.
<exarkun> nh2: yea.
<nh2> right
npmccallum has joined #nixos
bdesham has left #nixos [#nixos]
shibboleth has joined #nixos
<Nyanloutre[m]> Notkea: I did kind of an ugly trick by keeping the generation code at build time and discarding the registration file, it's working but not pretty :D
srl295 has joined #nixos
palo has joined #nixos
ris has joined #nixos
<nh2> But they key thing is: I'm building fontforge against musl; it shows it in `nix-store -q --tree` of the dejavu fonts package. But musl stuff isn't built by Hydra / cache.nixos.org. How can it happen that it downloads a fonts package that depends on a musl'd fontforge from cache.nixos.org?
<nh2> exarkun: I don't have that file this way. Instead I have this from musl: `/nix/store/x79gpgq6n92salzdnvay4hn3015qq2f8-musl-1.1.22/lib/ld-musl-x86_64.so.1 -> libc.so`
<exarkun> nh2: Maybe musl is the problem
<exarkun> nh2: But I don't know the answer to your question
owickstrom has joined #nixos
<simpson> nh2: Perhaps the fonts themselves are fixed-output or platform-independent.
<nh2> Yes I somehow suspect that there's some nix functionality in the mix that I am not aware of.
<nh2> simpson: Can you make some fonts fixed-output and *also* buildable by fontforge somehow?
<{^_^}> [nixpkgs] @kolaente opened pull request #66630 → gitea: 1.9.0 -> 1.9.1 → https://git.io/fjde3
<simpson> nh2: I'm not sure. In this case, it doesn't seem like you'd want a false dependency; you'd want fontforge to work with musl.
hydropyrum has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #66631 → btrbk: 0.28.0 -> 0.28.3 → https://git.io/fjdeC
<nh2> simpson: I think the most important thing for me is to understand what's going on here, so that I can avoid this confusion in the future.
<nh2> What do I have to read to fully understand fixed-output derivations well? Surely the section on `outputHash` in the nix manual, are there others?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1a6eb467717 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @gebner merged pull request #66628 → calculix: init at 2.15 → https://git.io/fj5jK
<{^_^}> [nixpkgs] @gebner pushed 5 commits to master: https://git.io/fjde4
<{^_^}> [nixpkgs] @fare opened pull request #66632 → Update Gambit and Gerbil from upstream → https://git.io/fjde0
<simpson> nh2: You probably will have to read the fontforge and dejavu derivations, too.
<nh2> Is there a way how I can force nix to build all fixed-output derivations down some derivation?
<nh2> Also, can I easily determine whether a `.drv` is a fixed-output one? Will things like `outputHash` be set in `nix show-derivation` exactly then?
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1a6eb467717 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
ng0 has quit [Remote host closed the connection]
xelxebar_ has quit [Remote host closed the connection]
xelxebar has joined #nixos
ng0 has joined #nixos
freeman42x has joined #nixos
<nh2> simpson exarkun: Oh, this could be it: https://github.com/NixOS/nixpkgs/pull/61422
<{^_^}> #61422 (by volth, 13 weeks ago, merged): data/fonts: fonts made with fontforge are not fixed-output
<gchristensen> good change
<{^_^}> [nixpkgs] @jonringer opened pull request #66633 → fmit: 1.1.14 -> 1.2.6 → https://git.io/fjder
<clever> nh2: is that a fixed-output derivation?
<nh2> clever: with the PR just mentioned above, it looks like it was and I'm doing an upgrade cross that change boundary
<clever> when its fixed-output, hydra(and users) wont notice when the build is broken by changes to deps
<clever> and it will continue to fetch from the cache
<clever> you want to bisect nixpkgs, with the cache turned off (ow)
jgt has joined #nixos
is_null has quit [Ping timeout: 272 seconds]
<nh2> clever: right, I suspect fontforge never built with musl, but nobody noticed because my Haskell derivations never pulled it in because it "cut off" the building at dejavu-fonts being fixed-output so far
<jgt> I'm trying to join a bunch of little strings together into one long string. Is there a nicer way to do it than this? http://ix.io/1RFq
<nh2> jgt `concatStrings`
<nh2> clever: and now that I upgrade to nixpkgs `master`, suddenly it builds fontforge via `darcs -> graphviz -> ... -> dejavu-fonts -> fontforge`
<jgt> nh2: Ah, this looks pretty good, thanks! I was looking through builtins earlier, and didn't find anything quite like what I was after. Looks like concatStringsSep is exactly what I want.
<nh2> jgt: yes, `builtins.concatStringsSep` should serve you well
<nh2> it's also very `diff`-friendly, more so than `++`
<infinisil> nh2: For checking whether a .drv is fixed-output: nix show-derivation /nix/store/xxx.drv | jq '.[].env.outputHash == null'
evanjs has joined #nixos
<infinisil> Or != null rather
<nh2> infinisil: ok great thanks, that confirms my other question
terps has quit [Ping timeout: 264 seconds]
bakakuna has joined #nixos
Shyim[m] has left #nixos ["User left"]
<kaliumxyz> is a systemd oneshot service only ran once or will it be ran every time I build?
<infinisil> kaliumxyz: Assuming the service hasn't changed since the last rebuild, it would not start it again
<infinisil> Well actually not quite sure
<infinisil> It might depend on whether it has RemainAfterExit
terps has joined #nixos
dsiypl4 has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #65349 → Lookup hunspell dictionaries in XDG_DATA_DIRS → https://git.io/fjDXI
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fjdeM
npmccallum has quit [Read error: Connection reset by peer]
evanjs has quit [Ping timeout: 245 seconds]
kleisli_ has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #66634 → at-spi2-core: provide fallback dbus_daemon manually → https://git.io/fjdeD
<pie_> im pretty tired to please pardon any incomprehensibility
<pie_> "The option `containers.the_container.environment' defined in `/.../config/nodes/the_container/file.nix' does not exist"
<jgt> nh2: This is the approach I ended up with, which I think is much cleaner and much less brittle than my first attempt: http://ix.io/1RFy
<pie_> thats environment as in environment.systemPackages
<jgt> thanks again!
<pie_> what gives?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #66632 → Update Gambit and Gerbil from upstream → https://git.io/fjde0
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/fjde7
<clever> pie_: https://nixos.org/nixos/options.html#containers.%3Cname%3E.config
<infinisil> pie_: Did you read the option description for the `containers` option?
<pie_> i have a containers = { the_node = {config, pkgs, ...}: { imports = [ ./file.nix ]; }; } which is how that gets imported
<pie_> infinisil: no i didnt
<pie_> infinisil: i only looked at the manual
<clever> pie_: its containers = { the_node.config = {config, pkgs, ...}: { imports = [ ./file.nix ]; }; }
<pie_> oh, huh. ty ^.^
Guanin has joined #nixos
casaca has quit [Ping timeout: 245 seconds]
<pie_> oh yeah, i knew something looked weird...
npmccallum has joined #nixos
dsiypl4 has joined #nixos
<kaliumxyz> okay, thanks infinisil
gvolpe has quit [Ping timeout: 260 seconds]
casaca has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Gerschtli opened pull request #66635 → docker-compose: add zsh completion → https://git.io/fjdex
mexisme has joined #nixos
casaca has quit [Ping timeout: 244 seconds]
casaca has joined #nixos
boxscape has quit [Ping timeout: 246 seconds]
bakakuna has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2aead2422f8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
casaca has quit [Ping timeout: 246 seconds]
npmccallum has quit [Quit: npmccallum]
casaca has joined #nixos
janneke has quit [Quit: janneke quits Mes'sing]
casaca has quit [Ping timeout: 245 seconds]
wfranzini has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
wfranzini has joined #nixos
casaca has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Shouou has joined #nixos
shabius_ has joined #nixos
<jgt> how do I get lib.strings.concatStringsSep in a NixOps logical expression?
<jgt> lib is undefined, stdenv is undefined, and I can't just stick `{ lib }:` at the top of the file
shabius has quit [Ping timeout: 252 seconds]
<exarkun> pkgs.lib
<exarkun> jgt: wait what do you mean "NixOps logical expression"?
<jgt> exarkun: I _think_ that's what it's called. In NixOps tutorials I've read, I have seen the two files referred to as "logical expression" and "physical expression"
<jgt> exarkun: the "physical" expression contains things like AWS machine definitions
wfranzini has quit [Read error: Connection reset by peer]
<jgt> exarkun: and then the "logical" expression would contain your systemd units, etc.
<exarkun> okay. Why do you think you can't make it a function that accepts lib (or at least pkgs - I don't know if nixops will autocall it with lib or not)?
<exarkun> my nixops "logical" expressions are all functions like { config, pkgs, lib, ... }: ... - oh hey look, it can take lib
<jgt> exarkun: I think I just misunderstood how this should work in the file, and I didn't have lib or pkgs in scope at the top of the file
<exarkun> Ah you probably mean a different layer
wfranzini has joined #nixos
<exarkun> jgt: You're talking about the expression containing all of your machines, not your individual system configs?
<exarkun> I guess there are a few solutions. Here's a starting place - `with import <nixpkgs> { };`
is_null has joined #nixos
<jgt> exarkun: I'm not talking about the machine expression. In some way, you have helped me understand where I was going wrong, and why those identifiers weren't in scope. So now the problem is fixed :)
<exarkun> great
bakakuna has joined #nixos
terps has quit [Ping timeout: 252 seconds]
terps has joined #nixos
Thra11 has joined #nixos
janneke has joined #nixos
<Athas> Any Sway users here who have a working Redshift (or similar) setup?
Palpares has quit [Remote host closed the connection]
klntsky has quit [Read error: Connection reset by peer]
shibboleth has quit [Write error: Connection reset by peer]
andreas303 has quit [Write error: Connection reset by peer]
xelxebar has quit [Write error: Connection reset by peer]
gxt has quit [Write error: Connection reset by peer]
lyvidev has quit [Write error: Connection reset by peer]
oida has quit [Write error: Connection reset by peer]
jb55 has quit [Write error: Connection reset by peer]
phreedom has quit [Write error: Connection reset by peer]
wfranzini has quit [Read error: Connection reset by peer]
oida has joined #nixos
phreedom has joined #nixos
<pie_> ,locate quasselgrep
casaca has quit [Ping timeout: 272 seconds]
<{^_^}> Couldn't find in any packages
<pie_> ,locate dumplog
jb55 has joined #nixos
<{^_^}> Couldn't find in any packages
lyvidev has joined #nixos
<pie_> ok thats annoying
swapgs has quit [Ping timeout: 245 seconds]
andreas303 has joined #nixos
xelxebar has joined #nixos
wfranzini has joined #nixos
casaca has joined #nixos
swapgs has joined #nixos
swapgs has joined #nixos
swapgs has quit [Changing host]
klntsky has joined #nixos
<{^_^}> [nixpkgs] @Baughn closed pull request #52630 → rsync: Enable the --ignore-case patch → https://git.io/fhfBE
<mightybyte> Does anyone here have nix infrastructure for automatically bumping dependencies for the purpose of getting early warnings about breakages caused by changes upstream?
casaca has quit [Ping timeout: 245 seconds]
is_null has quit [Ping timeout: 246 seconds]
wfranzini has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
is_null has joined #nixos
casaca has joined #nixos
wfranzini has joined #nixos
Palpares has joined #nixos
<pie_> clever: uhh...now what " Using host resolv.conf is not supported with systemd-resolved"
<pie_> containers seem to be unhappy with whatever the default dns config is
<pie_> thats kind of unfriendly.
<{^_^}> [nixpkgs] @jonringer opened pull request #66637 → pamixer: 1.3.1 -> 1.4 → https://git.io/fjdfO
kim0 has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c709303584d (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #64809 → chromium: Fix running with --use-gl=egl. → https://git.io/fjXMb
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjdfG
jboy has quit [Remote host closed the connection]
gxt has joined #nixos
<pie_> or it would be nice if it suggested a possible fix at least :I
gvolpe has joined #nixos
<gvolpe> I'll try again: how do I deal with broken Haskell packages in `nixpkgs`? I have a project that compiles fine using just `cabal new-build` but it doesn't work under `nix`
<gvolpe> Any pointers would be much appreciated. Here's my `default.nix` file: https://github.com/gvolpe/rate-limiter/blob/master/default.nix
is_null has quit [Ping timeout: 268 seconds]
jboy has joined #nixos
stepcut has joined #nixos
<Thra11> Given an output path, can I work out the .drv path which produced it?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c709303584d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<Thra11> Or, assuming I have the .drv somewhere would I have to evaluate all their outputs and grep for the one I want?
<{^_^}> [nixpkgs] @WilliButz merged pull request #66525 → google-cloud-cpp: init at 0.11.0 → https://git.io/fj5q1
<{^_^}> [nixpkgs] @WilliButz pushed 3 commits to master: https://git.io/fjdfu
<{^_^}> [nixpkgs] @domenkozar pushed to haskell-updates « ghcid: standalone small closure »: https://git.io/fjdfz
dsiypl4 has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #66638 → nixos/gnome3: set favorite-apps → https://git.io/fjdf1
terps has quit [Ping timeout: 252 seconds]
<Thra11> Found it. I was able to grep for the output path in the paths matching *-<name-version>.drv
<adisbladis> Thra11: nix-store --query --deriver
lambda-11235 has joined #nixos
<adisbladis> Next time :)
<Thra11> adisbladis: Thanks. I thought there was probably an easier way
jgt has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #66639 → pazi: 0.2.0 -> 0.3.0 → https://git.io/fjdfd
mexisme has quit [Ping timeout: 268 seconds]
waleee-cl has joined #nixos
is_null has joined #nixos
<manveru> gvolpe: you could give https://input-output-hk.github.io/haskell.nix/ a try
<gvolpe> That's like reading a book :D
<gvolpe> I read a lot of different sources but I'm just stuck :/
<manveru> well, if something is broken in nixpkgs you either have to try a nixpkgs version where the package is not broken, or write your derivation for it instead...
<hydropyrum> hi, is it okay to ask darwin questions here? i'm having trouble getting python3+tkinter to work
<manveru> hydropyrum: we got #nix-darwin :)
<manveru> but i guess you tried that
<hydropyrum> yes :)
<gvolpe> How do I do that manveru?
<gvolpe> Have you looked at the linked nix file? That's what I
<gvolpe> I've been trying to do
<manveru> gvolpe: i don't have much experience with modifying haskell packages on nixpkgs, sorry
<gvolpe> Okay no worries
<manveru> in my experience nixpkgs is fine for tiny stuff... but when dependencies get more complex you probably want something else
<manveru> i'm really no expert though :)
zupo has joined #nixos
wfranzini has quit [Remote host closed the connection]
<gvolpe> As a newbie to Nix, that's been my experience so far. When everything works Nix is amazing but when it doesn't It's hard to tell what's going on
<gvolpe> The annoying thing is that my project is compiling fine using just `cabal new-build` but I want a reproducible build that's why I'm trying out `nix`
<Baughn> Depends. It's a dynamic language without much if any compiler support, so writing .nix files can be pretty difficult...
<Baughn> Oh, tried cabal2nix?
<gvolpe> Yup
<manveru> gvolpe: that's why i like haskell.nix, because it uses the cabal plan to build stuff with the exact versions you want...
is_null has quit [Ping timeout: 245 seconds]
is_null has joined #nixos
<gvolpe> manveru installing it right now
WilliButz has quit [Quit: WeeChat 2.5]
Zer0xp has quit [Ping timeout: 246 seconds]
WilliButz has joined #nixos
<{^_^}> [nixpkgs] @WilliButz merged pull request #66630 → gitea: 1.9.0 -> 1.9.1 → https://git.io/fjde3
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjdJe
<{^_^}> [nixpkgs] @worldofpeace opened pull request #66640 → rename iso_graphical to iso_graphical_plasma5, refresh gnome3 iso → https://git.io/fjdJv
dansho has joined #nixos
freeman42x has quit [Read error: Connection reset by peer]
jgt has joined #nixos
<{^_^}> [nixos-channel-scripts] @worldofpeace opened pull request #25 → rename iso_graphical to iso_graphical_plasma5 → https://git.io/fjdJk
<{^_^}> [nixpkgs] @WilliButz pushed commit from @kolaente to release-19.03 « gitea: 1.9.0 -> 1.9.1 »: https://git.io/fjdJL
wfranzini has joined #nixos
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixos-homepage] @worldofpeace opened pull request #297 → rename iso-graphical to iso-graphical-plasma5 → https://git.io/fjdJt
hydropyrum has quit [Ping timeout: 260 seconds]
is_null has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @0x4A6F opened pull request #66641 → wyvern: init at 1.4.0 → https://git.io/fjdJq
is_null has joined #nixos
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #66642 → emacsPackagesNg.emacsql: Build sqlite binary → https://git.io/fjdJs
selfsymmetric-mu has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
MmeQuignon has joined #nixos
<ctp> hei folks, someone here with same issue? https://gist.github.com/adamtulinius/98cc6dd4018bdf82e7302135f9a2b5c3
bakakuna has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
jtojnar has joined #nixos
Thra11 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #66643 → Bump antlr4 → https://git.io/fjdJC
rauno has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar_ has joined #nixos
growpotkin has joined #nixos
janneke has quit [Quit: janneke quits Mes'sing]
o1lo01ol1o has quit [Remote host closed the connection]
Okinan has joined #nixos
<craige[m]> Thanks sphalerite - I'll give those ideas a whirl.
<EsperLily> ugh, erlang won't build on macOS anymore, since we bumped the MACOSX_DEPLOYMENT_TARGET https://github.com/NixOS/nixpkgs/issues/66644
<{^_^}> #66644 (by lilyball, 24 seconds ago, open): erlang fails to build on macOS
<EsperLily> thankfully I don't really need this so I can just remove elixir_1_8 from my local package set, but I bet this is a real problem for some people
is_null has quit [Ping timeout: 248 seconds]
ixxie has quit [Ping timeout: 268 seconds]
dsiypl4 has joined #nixos
rauno has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
freeman42x has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @WhittlesJr opened pull request #66645 → pythonPackagse.easysnmp: init at 0.2.5; python3Packages.poster3: init at 0.8.1 → https://git.io/fjdJw
freeman42x has joined #nixos
freeman42x has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66638 → nixos/gnome3: set favorite-apps → https://git.io/fjdf1
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjdJo
jgt has joined #nixos
<infinisil> I'm pretty sure this must exist somewhere already
<{^_^}> [nixpkgs] @vorot93 opened pull request #66646 → xmrig{,-proxy}: 2.14.4 -> 3.0.0, add build options customization → https://git.io/fjdJ1
<infinisil> But I implemented this myself now anyways
mstan has joined #nixos
<infinisil> Some small utils for handling ips in Nix
<mstan> Night everyone!
<infinisil> Like subnets, cidrs, masks and such
<mstan> How are you doing.
<infinisil> If anybody happens to need such things: https://gist.github.com/c68a2f385c6d7c52c324d529b7f1d07c
<infinisil> I'll be using this in my openvpn module :)
<mstan> Could anyone help, i'm trying to use the graphical image you guys put on the website. But i have a blackscreen.
Thra11 has joined #nixos
owickstrom has quit [Quit: Connection closed for inactivity]
<mstan> I used to have this issue last time when trying to use Ubuntu, but the workaround was different.
<drakonis> run with nomodeset?
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1f22d5b6f87 (from 52 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<mstan> but wouldn't that make the UI feel slow and glichty?
<drakonis> hmm, not really?
<drakonis> its not glitchy, just low resolution
wfranzini has quit [Remote host closed the connection]
<mstan> Odd. That's what i experienced last time when using Gnome and booted with nomodeset
<gchristensen> mstan: what graphical image?
<drakonis> its better than not being able to install
wfranzini has joined #nixos
<drakonis> gnome uses a lot of gpu rendering
leothrix has quit [Ping timeout: 246 seconds]
<mstan> I'm talking about the "Graphical live CD, 64-bit Intel/AMD" that is available in the download section.
<drakonis> i assume you own a gpu not in the out of the box support matrix
<drakonis> ie: nvidia
<samueldr> mstan: what kind of hardware? e.g. new laptop (model?), and/or running with a freshly released GPU?
<mstan> I guess haha.. It's a custom built pc. Intel CPU and Nvidia GPU
<drakonis> there's your answer
<mstan> So i guess i'm not really welcome here, haha.
<drakonis> what, no
<samueldr> drakonis: "there's your answer" ????
<gchristensen> drakonis: yeah that was uncalled for
<drakonis> yes that was
<mstan> He's right. I've been told thousands times I'll struggle with nvidia gpus on linux.
<drakonis> uhh
<samueldr> mstan: what vintage of nvidia hardware?
<drakonis> chill out there
<drakonis> its probably maxwell onwards?
<mstan> he didn't say anything bad lol
<mstan> GTX 1070
<mstan> Pascal, it's called, i think?
<drakonis> yes
<gchristensen> mstan: you are welcome here :)
<samueldr> let me dig an URL, to try with the most recent kernel instead
<drakonis> you should boot with nomodeset
<drakonis> nouveau doesnt like the newer gpus
leothrix has joined #nixos
<drakonis> even though it can still enter higher resolutions on other distributions
<drakonis> install with the nvidia binary drivers and everything should be fine
<mstan> I'm not on point when it comes to my linux knowledge. Probably trying nixOS with weak linux background isn't the best idea but a friend of mine showed it to me.
<mstan> I really love the way package management works, so I have to give it a try.
<drakonis> the package management is perhaps the easiest part
<mstan> The configuration of the system overall is very nice.
<samueldr> hm, I thought we built the graphical iso with the latest kernel, too, but I was mistaken, only the minimal image :/
<drakonis> the tougher parts are an opportunity to improve your linux skills
<mstan> I'm up to the challenge :D
<mstan> So, which kernel version is on the latest graphical image?
mexisme has joined #nixos
<drakonis> the kernel version isn't listed
<samueldr> the default images, the published images, are always on the LTS at the moment of release
<drakonis> into the repos for that
<drakonis> so, that'd be 4.19?
<samueldr> so right now it's 4.19 for 19.03
<drakonis> and 19.09 will release with 5.4
<drakonis> if the cycle is delayed to october
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
<jonge[m]> shlevy: are there any examples of hail service configurations online? somehow i don't really understand how to use it. but i think it would make *click* if there was some minimal example somewhere.
<drakonis> ah, nevermind, 5.4's only out after 19.09, :|
<samueldr> drakonis: there's absolutely no way to know
<samueldr> the LTS are announced after the release is done
<samueldr> it could still be 5.3
<drakonis> the lts are n+5
<jackdk> gvolpe: to deal with a broken package, I try to build it on its own first, and if that works then I PR nixpkgs with a patch to configuration-hackage2nix.yaml like https://github.com/NixOS/nixpkgs/pull/61536
<samueldr> they are at the discretion of Greg KH
<{^_^}> #61536 (by endgame, 13 weeks ago, merged): configuration-hackage2nix.yaml: lattices is not broken
<ivegotasthma> hello, I'm getting a collision between gcc and binutils-unwrapped in home-manager, is there an easy way to resolve it?
<drakonis> he's consistent about it
<jackdk> gvolpe: while I'm waiting for that to merge, and for peti to do the next hackage package set update, I use pkgs.haskell.lib.unmarkBroken to, well, unmark the packages as broken.
janneke has joined #nixos
<samueldr> ivegotasthma: the easy answer, though probably one you don't really want, is that compilers should never be added to a profile, either home-manager, systemPackages or nix-env
<samueldr> ivegotasthma: it generally will end up in compilers not working "right" anyway
<gvolpe> jackdk can you expand please? I'm a Nix newbie and many concepts are new to me
<ivegotasthma> samueldr: ah, that's a good answer, and it works well for me
<jackdk> gvolpe: which part?
<gvolpe> When you say you try to build it on its own, you mean using `nix-build` or just `cabal`?
<ivegotasthma> samueldr: why wouldn't I want to hear it? :D
<jackdk> gvolpe: with the nix-build command specified in the PR I linked
<samueldr> ivegotasthma: because it often happens that when someone tries to do something, that they want to do the thing :)
<samueldr> ivegotasthma: it's generally recommended to use a nix-shell to get a toolchain
<ivegotasthma> not me man, I don't like doing anything
<gvolpe> So that would mean checking out the git project and run that command locally?
<ivegotasthma> samueldr: thanks for the advice :D
<gvolpe> jackdk
<jackdk> gvolpe: no, it would mean running that command in a nixpkgs checkout
<gvolpe> Do you mean git checkout this project? https://github.com/NixOS/nixpkgs
<alienpirate5> who did this
<jackdk> yes
<gvolpe> Okay thanks, I will try but I have a really slow internet connection now :/
<alienpirate5> aszlig did it apparently
<gvolpe> @jac
<gvolpe> jackdk you also mention " use pkgs.haskell.lib.unmarkBroken to, well, unmark the packages as broken."
janneke has quit [Quit: janneke quits Mes'sing]
<gvolpe> What does that mean exactly?
<gvolpe> I have this at the moment
<gvolpe> { nixpkgs ? import <nixpkgs> {}, compiler ? "ghc865" }:let hp = nixpkgs.haskellPackages.override { all-cabal-hashes = nixpkgs.fetchurl { url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/4db96602103463d72e59ce214d0da8af35405f07.tar.gz"; sha256 = "14r7m3555ngfafk2wgdj4lnv7zzajcc4j4fiws4k3kr3xwbrwrxr"; }; }; newT
<gvolpe> ransient = hp.callHackage "transient" "0.6.3" {};in hp.callPackage ./rate-limiter.nix { transient = newTransient; }
<alienpirate5> that's some text
<gvolpe> Idk how to format code here, sorry
<alienpirate5> pastebin it
<alienpirate5> hastebin.com works
<jackdk> gvolpe: so if it's been spuriously marked broken, then nixpkgs is easily fixed. I check against latest master to see whether I need to PR or not. You can also try with `nix-build -E '(import <nixpkgs> { config.allowBroken = true; }).haskellPackages.whatever'` since that's what your nix expr is using
<ivegotasthma> samueldr: I now keep my dev tools in separate .nix files, which I run nix-shell on to build. is there a way I can pin those, so `nix-collect-garbage -d` doesn't purge them?
stepcut has quit [Remote host closed the connection]
<gvolpe> jackdk I'm lost. Where should I try to run that command? In `nixpkgs` or in my project?
lambda-11235 has quit [Quit: Bye]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<jackdk> oh that build command will run anywhere because it doesn't reference a relative path. It says "build from the nixpkgs currently on my system"
<samueldr> ivegotasthma: I'm not sure, I think there are tricks, but can't seem to find them right now, quickly
<aszlig> alienpirate5: what's the problem?
<alienpirate5> oh sorry, didn't mean to ping you
<alienpirate5> xkbvalidate does not cross compile
janneke has joined #nixos
<gvolpe> jackdk got it, thanks. I did run that command but I get the same error.
<aszlig> alienpirate5: ah, which error do you get?
<gvolpe> It doesn't build
<gvolpe> Relevant part of the error
<gvolpe> Setup: Encountered missing dependencies:primitive <0.6.4
<mstan> Goddammi
<mstan> I keep forgetting that boot menu key.
<alienpirate5> aszlig: https://hastebin.com/inasexakir
<jackdk> I get that error too, which is probably why that package was marked as broken
<gvolpe> Trying to build the package `transient`
<gvolpe> What does it mean for a package to be broken in `nix`? Using just `cabal new-build` my project compiles just fine
<aszlig> alienpirate5: ah, of course, that's what i thought
<gvolpe> And more importantly, is there any workaround? :D
<alienpirate5> would it be ok to just replace the invocation of `gcc` with `$CC` or would that break it?
<aszlig> alienpirate5: currently checking, not sure if _GNU_SOURCE is a thing there
<jackdk> broken usually means that it fails to build in the current state of nixpkgs
<gvolpe> Okay, that makes sense. Do you know if I can get away with some workaround jackdk?
<gvolpe> I read people recommending overriding the package and setting a newer version of `all-cabal-hashes` which is what I was trying last but that didn't seem to work
<alienpirate5> aszlig: i did something like this in an overlay: https://hastebin.com/dosotovuci.nix
<alienpirate5> it's a very bad solution but it works
<aszlig> alienpirate5: just tested and it seems to work with both $CC and explicitly via clang
<aszlig> so apparently clang also seems to accept -std=gnu11
<alienpirate5> but if you explicitly specify the compiler, it doesn't cross compile
<aszlig> alienpirate5: so just to be sure it's not a fuckup on my side: does it work if you change gcc to $CC?
<alienpirate5> yes
<aszlig> okay, well then, fixing...
<alienpirate5> thank you
mexisme has quit [Ping timeout: 248 seconds]
mexisme has joined #nixos
drakonis has quit [Ping timeout: 272 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @aszlig opened pull request #66648 → xkbvalidate: Use $CC instead of hardcoded gcc → https://git.io/fjdUs
drakonis has joined #nixos
<aszlig> alienpirate5: hm, probably should just get rid of the vasprintf() as well, then we no longer need the GNU specific stuff
<abbafei[m]> hi can someone check out an older pull of mine https://github.com/NixOS/nixpkgs/pull/60137 ? it also fixes the root cause of another (closed) bug, https://github.com/NixOS/nixpkgs/issues/39179 . thanks so much! :-)
<{^_^}> #60137 (by hhm0, 16 weeks ago, open): chromaprint: 1.3.2 -> 1.4.3
<{^_^}> #39179 (by jerith666, 1 year ago, closed): Clementine fails to build after chromaprint update
<jackdk> gvolpe: stand by. I am making some progress but not sure if it's building completely
<gvolpe> awesome, thanks for helping out! jackdk
ilikeheaps has quit [Ping timeout: 272 seconds]
Jonathan has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
<mstan> I'm trying to run "parted /dev/sdb -- mklabel gpt", but I'm being told that /dev/sda will be deleted.
<mstan> Am I missing something?
<mstan> I'm trying to follow the installation manual line by line.
<jackdk> gvolpe: this built on my machine. If it doesn't build on yours then our nixpkgs versions are slightly different and you should look into pinning nixpkgs https://www.irccloud.com/pastebin/ME72mzDs/default.nix
<Jonathan> mstan: I think what it is saying is that when reformat your disk all data will be deleted.
<gvolpe> jackdk thanks. I'm on the unstable channel and I updated it today.
<jackdk> oh hey I never ended up unmarking a package as broken, because I needed newer versions of stuf
<ToxicFrog> mstan: as in you're passing it /dev/sdb but it's saying that /dev/sda is about to repartitioned?
<jackdk> so that let..in lines 10-13 can go
<mstan> Yes, that's what's happening. I'm quite confused
<Jonathan> Oh, lol, I missed that.
<jackdk> that version of primitive was complaining about version bounds on base; doJailbreak tells it to ignore bounds and try building anyway
<mstan> Ugh lol... that's embarassing
<mstan> I tried to run the parted command from the parted CLI.
<Jonathan> Oh, glad you fixed it (:
<mstan> so I was doing "(parted) parted ..." :(
<Jonathan> I would never had guessed that.
<Jonathan> I have a quick question about `nix-shell`.
<mstan> I'm getting a warning telling the resulting parition is not properly aligned for best performance.
<mstan> Anything to worry about or ignore parted here?
<Jonathan> I have a couple different channels on my rig. How can I specify what channel/s to use when I do `nix-shell -p xxxPackage`?
<Jonathan> mstan: Probably not, most likely you will get a minute performance hit.
<Jonathan> mstan: Does it have an option to let it auto adjust the partition?
Zer0xp has joined #nixos
<mstan> It just tells me to ignore or cancel.
<mstan> I ignored and carried on with the manual.
<{^_^}> [nixpkgs] @markuskowa opened pull request #66649 → slurm: 19.05.1.2 -> 19.05.2.1 → https://git.io/fjdU2
<Jonathan> How can I specify what channel/s to use when I do `nix-shell -p xxxPackage`?
slyfox_ is now known as slyfox
dermetfan has joined #nixos
dermetfan has quit [Client Quit]
stepcut has joined #nixos
Shouou has quit [Ping timeout: 252 seconds]
Jonathan has quit [Ping timeout: 260 seconds]
<aszlig> hmhm, I wonder whether vsnprintf(NULL, 0, fmt, args); is UB...
o1lo01ol1o has quit [Remote host closed the connection]
<aszlig> okay, never mind, in c11 it's explicitly documented: If n is zero, nothing is written, and s may be a null pointer.
logzet has quit [Ping timeout: 264 seconds]
stepcut has quit [Remote host closed the connection]
thc202 has quit [Read error: Connection reset by peer]
<mstan> I was wondering what you guys mean by "dev/disk/by-label/nixo" in your manual
<mstan> Section 2.3 - Installing
<mstan> the first point
srl295 has quit [Quit: Connection closed for inactivity]
<mstan> I have created the partitions and formatted them accordingly.
<mstan> My main ext4 partition for nix os is /dev/sdb1
<mstan> so should i mount /dev/sdb1 on /mnt or is there something i'm missing?
gvolpe has quit [Remote host closed the connection]
<mstan> Ahh lol I got it ...
<mstan> yeah that was quite confusing
<mstan> "/dev/disk/by-label/nixos" means the parition that I created earlier which is labeled "nixos"
<{^_^}> [nixpkgs] @lilyball opened pull request #66651 → erlang: Fix build error on darwin → https://git.io/fjdUH
<{^_^}> [nixpkgs] @craigem opened pull request #66652 → Clarify wireless examples → https://git.io/fjdUQ
gvolpe has joined #nixos
<gvolpe> jackdk thanks a lot! Works like a charm now but I had to rebuilt the entire world more or less :D
mbrgm_ has joined #nixos
<gvolpe> I got rid of the `all-cabal-caches` since it wasn't needed
npmccallum has joined #nixos
mbrgm has quit [Ping timeout: 250 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixos-homepage] @grahamc closed pull request #160 → Build the options page in Elm → https://git.io/fjdUx
<jackdk> gvolpe: nice. yeah you can fiddle deps easily but it does trigger a lot of uncached builds
MmeQuignon has quit [Ping timeout: 252 seconds]
shabius_ has quit [Ping timeout: 258 seconds]
englishm has quit [Excess Flood]
englishm has joined #nixos
gvolpe has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lilyball opened pull request #66653 → luarocks: Update detected platform version → https://git.io/fjdTO
stepcut has joined #nixos
orcus has quit [Quit: leaving]
englishm has quit [Excess Flood]
englishm has joined #nixos
<{^_^}> [nixpkgs] @lilyball opened pull request #66654 → perl: Update detected platform version → https://git.io/fjdTG
<mstan> I finished installing nixos! Wohoo
<drakonis> nice!
<mstan> I'm happy. It boots instantly and feels so barebones.
stepcut has quit [Remote host closed the connection]
<mstan> so much to learn now :D
Rusty1 has joined #nixos
<jackdk> yeah it doesn't even come with ed in the base install
<drakonis> ed is the standard editor
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1f22d5b6f87 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
camsbury has joined #nixos
<{^_^}> [nixpkgs] @aszlig pushed 4 commits to master: https://git.io/fjdTC
shabius has joined #nixos
<camsbury> hi guys - trying to create a usb installer for nixos with the latest linux kernel
<drakonis> dd eh?
wfranzini1 has joined #nixos
kleisli_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @rycee opened pull request #66655 → haskellPackages: unbreak hnix build → https://git.io/fjdTl
<camsbury> haa yea - i used an expression to build the iso with
<camsbury>
<camsbury> <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>
<Ashy> camsbury: have you got hardware that won't even boot without the latest kernel?
<camsbury> and
<camsbury> <nixpkgs/nixos/modules/installer/cd-dvd/channel.nix>
<drakonis> what's the issue you're having exactly?
wfranzini has quit [Ping timeout: 248 seconds]
wfranzini1 is now known as wfranzini
<camsbury> ys that's it, newest XPS - wifi card
<Ashy> ah ok
<camsbury> so probably not latest latest but something more recent
<camsbury> that was the fix for a colleague running Manjaro
<samueldr> camsbury: are you fine with the minimal image?
<camsbury> yes
<camsbury> nice ty
<camsbury> samueldr++
<{^_^}> samueldr's karma got increased to 103
<camsbury> any way I can see the nix expression for this?
<camsbury> thanks!
<samueldr> (and so on)
<{^_^}> [nixpkgs] @aszlig merged pull request #66648 → xkbvalidate: Use $CC instead of hardcoded gcc → https://git.io/fjdUs
<mstan> hewh man KDE sure is weird. I sent the pointer acceleration 0.5x and everything started to go nuts.
judson has quit [Ping timeout: 244 seconds]
stepcut has joined #nixos
judson__ has quit [Ping timeout: 244 seconds]
mstan has quit [Quit: leaving]
Zer0xp has quit [Ping timeout: 245 seconds]
simukis_ has joined #nixos
simukis__ has quit [Ping timeout: 245 seconds]
lambda-11235 has joined #nixos
<nh2> simpson: thanks a lot for the fixed-output tip, that finally ended two days streak of guessing around why all kind of weird stuff happened and had me very frustrated. Also explained this: https://github.com/nh2/static-haskell-nix/issues/46#issuecomment-521457117
<{^_^}> [nixpkgs] @herrwiese opened pull request #66656 → [19.03] borgbackup: 1.1.9 -> 1.1.10 → https://git.io/fjdTB
<simpson> nh2: Nice! Glad to hear that progress is happening again.
tv has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @danbst merged pull request #58956 → nixos aws: use in-kernel ixgbevf driver → https://git.io/fjLej
<{^_^}> [nixpkgs] @danbst pushed commit from @peterhoeg to master « nixos aws: use in-kernel ixgbevf driver (#58956) »: https://git.io/fjdTR
dsiypl4 has quit [Ping timeout: 245 seconds]
lassulus has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjdTE