gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
thc202 has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
acarrico has quit [Ping timeout: 272 seconds]
sinner has joined #nixos
sinner is now known as Guest2400
o1lo01ol1o has quit [Ping timeout: 268 seconds]
jluttine has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
jluttine has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
jluttine has quit [Ping timeout: 250 seconds]
rcshm has quit [Ping timeout: 244 seconds]
ddellacosta has quit [Ping timeout: 250 seconds]
iqubic` has joined #nixos
emacsomancer has quit [Read error: Connection reset by peer]
jluttine has joined #nixos
iqubic has quit [Ping timeout: 240 seconds]
<Judson1> I'm working on transitioning my git-based dotfiles to home-manager, and looking now at wanting to issue PRs against it. But the contributing suggests PRs from master, and I'm currently tracking Nixpkgs stable. :/
<Judson1> I guess I could switch my personal channel to nixpkgs-unstable...
iqubic` has left #nixos ["ERC (IRC client for Emacs 26.1)"]
Acou_Bass has quit [Ping timeout: 268 seconds]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #55545 → zuki-themes: 3.28-3 -> 3.30-1 → https://git.io/fhQTS
Acou_Bass has joined #nixos
eadwu has joined #nixos
<noonien> judson1: you can select packages from unstable, without switching to unstable
<ottidmes> also you generally want nixos-unstable rather than nixpkgs-unstable
<noonien> ,unstable
freeman42x has quit [Ping timeout: 252 seconds]
<noonien> how can i get the sha256 required for a fetchzip, given the url?
<ottidmes> noonien: via a command line tool? if so yes, https://github.com/msteen/nix-prefetch for example
eadwu has quit [Client Quit]
<ottidmes> or if you want something standard, in the simple case of fetchzip, nix-prefetch-url works too
<ottidmes> nix-prefetch-url -type sha256 --unpack https://example.com/file.zip
<ottidmes> nix-prefetch-url --type sha256 --unpack https://example.com/file.zip
<noonien> i want to generate a .nix file that contains a list of urls to zips, and their sha256, i'm unsure if i should download the archive to a temp path, or keep it in the nix store
eadwu has joined #nixos
marusich has joined #nixos
<noonien> this file will only be called to refresh the available derivations, i think nixpkgs already has tools like this one
<ottidmes> noonien: I actuall also made another tool for use cases like that, but that is even more alpha than nix-prefetch: https://github.com/msteen/nix-update-fetch (I am working on changing the way nix-prefetch and nix-update-fetch work together, so the API will change soon)
<noonien> would using nix-prefetch-url and adding to the nix-store be appropriate?
<ottidmes> nix-prefetch-url already adds to the store
<noonien> i know, that's why i'm asking if it's appropriate
<noonien> should i just rely on the user running gc?
<ottidmes> if its for an update script, its appropriate
xkapastel has quit [Quit: Connection closed for inactivity]
<noonien> oh, ok then, makes things easier
<noonien> btw, given that one can rollback with nix, is it appropriate to not care as much as with other distros when breaking packages?
o1lo01ol1o has joined #nixos
<ottidmes> that would not be appropriate
<noonien> for example, a user can now add pkgs.nerdfonts to her fonts.fonts, would it be ok if that breaks? and instead, she should have to add pkgs.nerdfonts.somefont?
<{^_^}> [nixpkgs] @matthewbauer pushed to master « openblas: fix on linux »: https://git.io/fhQTp
dmc has left #nixos ["WeeChat 2.3"]
<ottidmes> rollback is nice to have, but should not be relied on like that, effort should be taken to prevent breakage, if its just breaking for you, got nuts, but whenever nixpkgs is concerned, breakage is very bad
<noonien> i see
<ottidmes> s/got/go/
<ottidmes> in this case you mean backwards compatibility, there are ways to notify the user of the change, and if there is good enough reason, its OK to do so
<ottidmes> in this case, I think you could probably have both, keep pkgs.nerdfonts a derivation with passthru to the specific fonts, that way it won't break the existing usage, but allow your per font use case too
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<noonien> hm? can a derivation expose attributes that are also derivations?
<ottidmes> never tried, but I am quite sure you can, yes, with passthru you can define arbitrary attributes on top of derivations making it act like a regular attrset for those, while still being a derivation as a whole (the passthru attributes will not impact the derivation, so they won't modify the derivation itself)
rcshm has joined #nixos
<noonien> cool!
<noonien> hmm, then i might just submit my first PR. how long does a simple PR usually take to go through?
Rusty1 has joined #nixos
<ottidmes> hard to put a number to it, it depends on serveral factors making pointless to say a number, my experience so far has been 1 to 2 weeks, but it depends on the review results and whether reviewers have time, and how many PRs are created at that moment
<noonien> oh, pretty cool
Guanin has quit [Remote host closed the connection]
daniele- has quit [Quit: daniele-]
<ottidmes> and of course if its a big change resulting in a lot of packages needing to rebuild it takes a whole lot longer and it will first have to go through staging before it ends up in master
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhQke
<Judson1> The problem is that home-manager master really assumes nixos-unstable, so selecting specific packages doesn't (I think) solve the problem.
<Judson1> Separately, I'm running into concrete irritations with the way Python packaging is managed.
<Judson1> In that jira-cli is now broken because the jira package isn't pinned to 2.7 (I think?) "jira-2.0.0 not supported for interpreter python2.7"
<{^_^}> [nixpkgs] @worldofpeace merged pull request #55545 → zuki-themes: 3.28-3 -> 3.30-1 → https://git.io/fhQTS
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhQkT
lfish has quit [Ping timeout: 256 seconds]
<Judson1> (It has not been a productive Sunday afternoon, and I'm a little grouchy about it.)
acarrico has joined #nixos
silver has quit [Read error: Connection reset by peer]
jluttine has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
MichaelRaskin has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
jluttine has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
sigmundv has quit [Ping timeout: 240 seconds]
DrLambda has joined #nixos
<{^_^}> [nixpkgs] @delroth opened pull request #55547 → Fix 3 warnings in nixos/tests → https://git.io/fhQk0
ottidmes has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/20e2f835d73 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
johnw has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
rcshm has quit []
rcshm has joined #nixos
acarrico has quit [Ping timeout: 246 seconds]
justanotheruser has quit [Ping timeout: 245 seconds]
halfbit has joined #nixos
emacsomancer has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to staging-next « libhandy: fix build »: https://git.io/fhQkK
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
rcshm has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2433c575f00 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
rcshm has joined #nixos
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
halfbit has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos
filterfish has quit [Ping timeout: 240 seconds]
rcshm has quit [Ping timeout: 244 seconds]
halfbit has joined #nixos
filterfish has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
mobile_c_ has joined #nixos
mobile_c has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @dtzWill opened pull request #55549 → kdeApplications: 18.2.1 -> 18.2.2 → https://git.io/fhQkF
DrLambda has quit [Ping timeout: 245 seconds]
<Ankhers> I'm trying to get home-manager to use my local git checkout. I changed programs.home-manager.path = "..."; to the proper directory, but it still seems to be pulling from the channel. Any ideas?
leex has quit [Quit: Lost terminal]
filterfish has quit [Ping timeout: 240 seconds]
<wedens> Ankhers: you'll need to set home-manager in NIX_PATH, I think
<Ankhers> wedens: Thanks, I will look into that.
eadwu has quit [Quit: WeeChat 2.3]
ggp0647 has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
worldofpeace has joined #nixos
filterfish has joined #nixos
Taneb has quit [Quit: I seem to have stopped.]
filterfish has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
lawlesseel has joined #nixos
<{^_^}> [nixpkgs] @edude03 opened pull request #55550 → Push plex logs to syslog/journald → https://git.io/fhQII
rcshm has joined #nixos
jackdk has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @fuwa0529 opened pull request #55551 → altcoins.wownero: 0.4.0.0 -> 0.5.0.0 → https://git.io/fhQIY
pie___ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
pie__ has quit [Ping timeout: 245 seconds]
countingsort has joined #nixos
Church_ has joined #nixos
filterfish has joined #nixos
o1lo01ol1o has joined #nixos
halfbit has quit [Ping timeout: 240 seconds]
ryantrinkle has quit [Ping timeout: 246 seconds]
counting1ort has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
fusion809 has quit [Quit: Leaving]
filterfish has quit [Remote host closed the connection]
filterfish has joined #nixos
filterfish_ has joined #nixos
filterfish has quit [Read error: Connection reset by peer]
hedning has quit [Quit: hedning]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2aa0ba2c9b3 (from 31 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
iqubic has joined #nixos
<iqubic> How hard is it to run a steam game with an older version of Mono?
<iqubic> Specifically I need this game to run with Mono 4.2.4.
<iqubic> I might also need a few other specific 32-bit libraries too.
<iqubic> I'm not sure how to make that work.
reinhardt has joined #nixos
<laalf> hello! information about system.stateVersion is rather different around the web. if i dont change the stateversion, i wont get newer channels packages, right? there is no "nixos-stable" channel, right?
<iqubic> stateVersion should be kept the same always. It's used for managing things like databases behind the scenes. DO NOT CHANGE IT.
<laalf> iqubic: will i get packages from newer stable channels if i dont touch it?
<iqubic> that being said, you can still get new channels as they are released. I don't recall the command to that, but it can be done.
<iqubic> clever: gchristensen: infinisil: Can one of you help out here?
<iqubic> Changing the stateVersion might actually screw up your system really badly.
<laalf> if fetchtarball worked in nixos-install that wouldnt be a huge problem for me
Church_ has quit [Quit: WeeChat 2.2]
filterfish_ has quit [Remote host closed the connection]
filterfish_ has joined #nixos
rcshm has quit []
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b8d7c0cab5e (from 17 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
filterfish_ has quit [Read error: Connection reset by peer]
filterfish has joined #nixos
filterfish has quit [Read error: Connection reset by peer]
filterfish has joined #nixos
filterfish_ has joined #nixos
endformationage has quit [Quit: WeeChat 2.3]
filterfish__ has joined #nixos
<laalf> https://logs.nix.samueldr.com/nixos/2018-04-18#1524080358-1524080429 i have my answer. nixos definetly needs a stable channel
filterfish has quit [Ping timeout: 246 seconds]
<iqubic> it has one.
filterfish_ has quit [Ping timeout: 246 seconds]
<laalf> iqubic: the one that changes all the time?
<iqubic> What do you mean by "the one that changes"?
<iqubic> The stable channel usually only gets updated ever 6 months.
<laalf> yes. that is what i mean
<iqubic> That's as stable as it gets for Nixos.
reinhardt has quit [Ping timeout: 250 seconds]
<laalf> sad... well maybe people will give it more attention once they notice what a shitshow ostree is. more manpower would probably help nixos a lot
filterfish__ has quit [Ping timeout: 250 seconds]
daniele- has joined #nixos
<iqubic> what is ostree?
<worldofpeace> laalf I'm not sure if I understand your question, but nixos doesn't have a "stable channel" per say but we have stable releases. most recent would be 18.09 and the channel is channel nixos-18.09
<laalf> that stuff that fedora silverblue tries to push. also flatpaks
<laalf> worldofpeace: yes i got that now.
reinhardt has joined #nixos
<iqubic> Does anyone know how I can run a *.exe file with Mono version 4.2.4 on NixOS?
<iqubic> does that let me run the mono requiring *.exe properly?
<iqubic> That looks like a shell.nix script/
Rusty1 has quit [Quit: Konversation terminated!]
<wedens> iqubic: makeWrapper specifically
<iqubic> how do I tell it to use mono version 4.2.4?
ibxth has quit [Ping timeout: 246 seconds]
bpa has quit [Remote host closed the connection]
<wedens> iqubic: mono = callPackage "${<nixpkgs>}/pkgs/development/compilers/mono/generic.nix" (rec { .... }); where you provide hash/version the same way https://github.com/NixOS/nixpkgs/blob/60739e534d9eabdeafae69e125dba31fc9c1daaa/pkgs/development/compilers/mono/4.nix does
judson has joined #nixos
Judson1 has quit [Quit: WeeChat 2.2]
vonfry has joined #nixos
judson_ has joined #nixos
ibxth has joined #nixos
ryantrinkle has joined #nixos
<judson_> rycee, I opened an issue already, but is there any way you'd accept PRs against a stable branch?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/86c39d35338 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<judson_> that is, on home-manager?
<bpye> Does NixOS have a changelist for stuff which will hit 19.03?
judson has quit [Quit: Leaving]
palo1 has joined #nixos
palo has quit [Ping timeout: 250 seconds]
palo1 is now known as palo
ibxth has quit [Ping timeout: 246 seconds]
chimay has joined #nixos
rprije has quit [Remote host closed the connection]
drakonis has quit [Quit: WeeChat 2.3]
rprije has joined #nixos
vonfry has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @etu merged pull request #53662 → opl3bankeditor, opn2bankeditor: init → https://git.io/fhZfu
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhQLc
<iqubic> why is it that a lot of steam games that claim to have linux support don't work on NixOS?
orivej_ has quit [Ping timeout: 245 seconds]
<ptotter[m]> iqubic: how are you running steam?
<ptotter[m]> there's a steam flatpak, I wonder if that would help
rauno has joined #nixos
<iqubic> I'm running steam via the package in nixpkgs.
daniele- has quit [Quit: daniele-]
<iqubic> But there are three games I'd like to be able to run, that I just can't.
<iqubic> Turns out games requiring Mono just don't work well on Nixos.
<etu> iqubic: Try to run it with proton :p
<iqubic> I have.
<iqubic> Proton doesn't make this work any better.
<iqubic> I wouldn't like to try the flatpak. How does one go about installing steam that way?
<iqubic> *would.
<iqubic> I DO WANT to try the flatpak.
<etu> services.flatpak.enable is probably a good start
hyper_ch2 has joined #nixos
<iqubic> Alright, so I just found the common link between all the games that I cannot play.
<iqubic> well, the two things they all have in common.
rauno has quit [Ping timeout: 240 seconds]
<iqubic> 1) They all use Mono 2) Proton doesn't let me run any of them.
<etu> I thought they added an option to run things through proton even if there's a linux native version
<iqubic> They did.
<iqubic> Each of these games still wind up crashing.
hyper_ch2 has quit [Ping timeout: 256 seconds]
<iqubic> So, how do I install steam from a flatpak? I have enabled the use of flatpak in my configuration.nix
schjetne has quit [Ping timeout: 250 seconds]
neminis has joined #nixos
ckauhaus has joined #nixos
neminis has left #nixos [#nixos]
ddellacosta has quit [Ping timeout: 245 seconds]
rauno has joined #nixos
DrLambda has joined #nixos
periklis has joined #nixos
hyper_ch2 has joined #nixos
<ptotter[m]> flatpak install com.valvesoftware.Steam
<ptotter[m]> as long as you have the flathub repo
<iqubic> I don't have the flathub repo.
Tucky has joined #nixos
<iqubic> ptotter[m]: where do I get it.
<etu> They don't refer to the service, but I think the service is better anyways
<iqubic> Why is the reset needed?
<iqubic> What does that mean?
Makaveli7 has joined #nixos
<iqubic> answer: It doesn't seem to be required.
thc202 has joined #nixos
lfish has joined #nixos
gagbo has quit [Quit: I'm out !]
<iqubic> etu: So I just ran 'flatpack install flathub com.valvesoftware.steam' and it seemed to install it correctly. Now, where is my executable for steam?
<iqubic> I can't seem to find that.
Makaveli7 has quit [Quit: Leaving]
ottidmes has joined #nixos
<etu> iqubic: You're talking to someone that tried flatpak like once several years ago
<etu> but I would guess "flatpak run com.valvesoftware.Steam"
schjetne has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
<iqubic> Yes, that works.
<iqubic> Now, this seems to be working. But steam thinks I'm logging in from a new computer.
<etu> Yeah, flatpak puts all files generated by a program in a contained directory
<etu> So things don't spread around the homefolder
Mateon1 has quit [Quit: Mateon1]
<iqubic> I see.
Mateon1 has joined #nixos
<iqubic> And I now need to install all of my steam games again. Weird.
<etu> Not at all, it put's everything in a contained directory
civodul has joined #nixos
<iqubic> And that did in fact fix my issues.
<iqubic> I can now play mono games again.
<ptotter[m]> \o/
<etu> And with that, I wonder what the flatpak does that we don't
dermetfan has joined #nixos
johanot has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #54737 → pythonPackages.moderngl: init at 5.5.0 → https://git.io/fh6hs
<iqubic> I'm not sure.
<{^_^}> [nixpkgs] @dotlambda pushed commit from @c0deaddict to master « pythonPackages.moderngl: init at 5.5.0 (#54737) »: https://git.io/fhQtn
<iqubic> Also, I just managed to crash my game.
<iqubic> I think that's due to a missing library.
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fhQtc
<iqubic> etu: Do you know where flatpak stores its files?
__Sander__ has joined #nixos
goibhniu has joined #nixos
<etu> iqubic: .local/share maybe
thegamingbarrel has joined #nixos
<iqubic> Turns out it dumps a ton of stuff into ~/.local/share
<iqubic> And also ~/.var too
Glider_IRC__ has joined #nixos
Glider_IRC_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dotlambda opened pull request #55554 → borgbackup: 1.1.8 -> 1.1.9 → https://git.io/fhQtF
Mateon3 has joined #nixos
therealwaphire[m has joined #nixos
ekleog has quit [Quit: WeeChat 2.2]
<therealwaphire[m> hey guys!
Mateon1 has quit [Ping timeout: 250 seconds]
Mateon3 is now known as Mateon1
thegamingbarrel has quit [Ping timeout: 244 seconds]
<therealwaphire[m> new nixos user here. just wanted to be clarified on a few things.
<therealwaphire[m> what's the difference between the `nixos` and `nixpkgs` channels?
<therealwaphire[m> aren't gcc8 or clang7 yet in the unstable repos?
<wedens> therealwaphire[m: nixos is linux packages and nixos modules; nixpkgs is packages for all supported platforms IIRC
Jetien_ has joined #nixos
<etu> ,which-channel therealwaphire[m
<etu> All that ends with -unstable is based on master and contain the same packages
<etu> (that includes -unstable-small)
<therealwaphire[m> so, say I want to have a stable system but latest software. Would that be a nixos-stable + nixpkgs-unstable combination?
<ottidmes> ,unstable therealwaphire[m
<iqubic> Well, my steam game just screwed up my screen resolution.
<therealwaphire[m> <freenode_etu ",which-channel therealwaphire"> currently i'm testing nixos so I have both unstable channels added. but when I did `nix-env -i gcc` it pulled `gcc-7.4.0` for some reason
<iqubic> How can I use xrandr to fix this?
<iqubic> I just want to set it back to the default.
<etu> iqubic: if you have one screen, I would do: "autorandr common" :p
<ottidmes> therealwaphire[m: gcc8 is available on nixos-unstable under the attribute name gcc8
<therealwaphire[m> I guessed as much
<etu> therealwaphire[m: Then it's because gcc8 isn't the default gcc (yet)
<iqubic> etu: I do only have one screen.
<therealwaphire[m> but I tried installing gcc8, gcc8.2.0, gcc-8 and gcc-8.2.0
<iqubic> But I don't have the autorandr command.
<therealwaphire[m> didn't install
<ottidmes> therealwaphire[m: clang is available under attribute name clang_7
<ottidmes> * clang 7
<iqubic> etu: how shall I fix this?
<therealwaphire[m> how would I go searching channels for a package, again?
<therealwaphire[m> `nix-env --query` only shows me installed packages
<ottidmes> therealwaphire[m: easiest is installing the channels you are interested in and doing `nix search`
<ottidmes> therealwaphire[m: I did something similar to that FAQ I linked via the bot, about having unstable while on stable by binding it to an attribute name called unstable, so I checked like this (but that requires some Nix experience): nix eval '(with import <nixpkgs> { }; with lib; filter (hasPrefix "clang") (attrNames unstable))'
* therealwaphire[m uploaded an image: IMG_20190211_144518.jpg (188KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/UfxEcenjFVPnvuNlCSiZOTJl >
Taneb has joined #nixos
oida has quit [Quit: byez]
<ottidmes> therealwaphire[m: there is also https://nixos.org/nixos/packages.html# but that can be a bit outdated and it doesnt show unfree software unlike `nix search` (as long as Nixpkgs config.nix contains allowUnfree = true;)
oida has joined #nixos
<therealwaphire[m> yeah I already searched through that and figured out that it doesn't show packages from unstable
<ottidmes> therealwaphire[m: try: nix-env -iA gcc8, nix-env -iA nixos.gcc8, or nix-env -f '<nixpkgs>' -iA gcc8 (not sure which one worked for clean setups, I always use the last one though)
<ottidmes> therealwaphire[m: but mind you, that is probably not what you want to do, you probably want to use nix-shell with a package that uses gcc8Stdenv (bit complicated maybe to get into right when you are starting out)
<therealwaphire[m> <freenode_ott "therealwaphire: but mind you, th"> could you explain what would be the difference in using `nix-shell` ?
<{^_^}> [nixpkgs] @vbgl opened pull request #55555 → coqPackages.paramcoq: init at 1.1.1 → https://git.io/fhQqZ
mzan has joined #nixos
nikivi has quit [Quit: ZNC is awesome]
<ottidmes> therealwaphire[m: `man nix-shell` probably does the best job at that, but in short, you might get gcc8 to work if you install it in your env, but it will not be able to find any libraries, the only way to do that is to build something or to use nix-shell which can be used to mimick the environment in which builds are run
nikivi has joined #nixos
<ottidmes> ,libraries therealwaphire[m
<{^_^}> therealwaphire[m: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
ekleog has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #55554 → borgbackup: 1.1.8 -> 1.1.9 → https://git.io/fhQtF
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fhQqz
knupfer has quit [Remote host closed the connection]
<therealwaphire[m> <freenode_{^_ "therealwaphire: Don't install li"> woah this is completely new lol
<therealwaphire[m> <freenode_ott "therealwaphire: `man nix-shell` "> thanks for the explanation, man
<therealwaphire[m> I'm gonna read the manpage and report back if I have additional questions
<siers> Can I install docker on darwin with nix somehow? Or shall I have to brew it?
<therealwaphire[m> so I've one question here. say, gcc or clang are built into different profiles with different paths. How then would an application like vim with plugins for a dev environment be able to find the libraries / compilers necessary?
tmaekawa has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed to master « nixos-generate-config: Don't suggest setting a uid »: https://git.io/fhQq6
timor has joined #nixos
<wedens> therealwaphire[m you can run vim from nix-shell or use https://github.com/direnv/direnv.vim
<ottidmes> therealwaphire[m: applications can handle different dependencies and their versions because their dependencies are in fixed locations in the Nix store (/nix/store), its only in a global environment like systemPackages that it could cause problem, because you would get collisions, i.e. two versions giving the same /bin/<name> but since you generally only install applications in systemPackages this is rarely a
<ottidmes> problem (if it is, you can assign priorities)
<ottidmes> therealwaphire[m: ^ wedens answer is probably what you meant
<timor> Question: `buildEnv` does not support the `requiredSystemFeatures` attribute. It does, however, support `passthru`. I noticed that anything in `passthru` is accessible as if it has been added as an attribute directly to `mkDerivation`. Will a `requiredSystemFeatures` defined in `passthru` do what I mean?
knupfer has quit [Remote host closed the connection]
<ottidmes> timor: likely, you should just test it I guess
<timor> ottidmes: I am unsure how to test this reliably, since the effect it is supposed to have happens only on a hydra server.
sigmundv has joined #nixos
<ottidmes> timor: create a buildEnv locally with just some test packages, and try to trigger the error, and then try with passthru instead, I guess?
<timor> ottidmes: well, getting rid of the error is easy, but I don't know how to test wether the intended consumer of the `requiredSystemFeatures` attribute picks it up. Oh well, I'll just try it out and see what hydra does...
<spacefrogg> timor: Maybe, requiredSystemFeatures is kept in the produced *.drv directly...
knupfer has joined #nixos
<{^_^}> [nixpkgs] @peterromfeldhk opened pull request #55558 → WIP: sonar-scanner-bin: init at 3.3.0.1492 → https://git.io/fhQmT
<{^_^}> [cabal2nix] @peti pushed to master « pandoc: fix post-process hook to install the man page properly »: https://git.io/fhQmk
<{^_^}> [nixpkgs] @peti merged pull request #55346 → [18.09] dovecot: fix CVE-2019-3814 → https://git.io/fh96I
<{^_^}> [nixpkgs] @peti pushed 5 commits to release-18.09: https://git.io/fhQmI
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhQmL
<{^_^}> [nixpkgs] @johanot opened pull request #55559 → flannel: 0.6.2 -> 0.11.0 → https://git.io/fhQms
<{^_^}> [nixpkgs] @dotlambda merged pull request #55533 → gitAndTools.gita: init at 0.7.3 → https://git.io/fhHjF
<{^_^}> [nixpkgs] @dotlambda pushed commit from @seqizz to master « gitAndTools.gita: init at 0.7.3 (#55533) »: https://git.io/fhQmc
<{^_^}> [nixpkgs] @peti pushed 10 commits to haskell-updates: https://git.io/fhQmC
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fhQml
sinner has joined #nixos
sinner is now known as Guest83842
Guest2400 has quit [Ping timeout: 272 seconds]
mobile_c_ is now known as mobile_c
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
ThatDocsLady has joined #nixos
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
nschoe has joined #nixos
Acou_Bass has joined #nixos
__monty__ has joined #nixos
ThatDocsLady has quit [Ping timeout: 246 seconds]
init_6 has joined #nixos
iyzsong has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
VI has joined #nixos
VI is now known as Guest55077
<Guest55077> Hey there. I seem to have some trouble setting up a openLDAP server on NinOS. Anyone here having experience in this matter?
lawlesseel has quit [Ping timeout: 256 seconds]
<Guest55077> \help
<{^_^}> [nix] @edolstra pushed 8 commits to flakes: https://git.io/fhQYJ
chimay has quit [Ping timeout: 245 seconds]
chimay has joined #nixos
superherointj has joined #nixos
silver has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3133d59a7f0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @vcunat closed pull request #45199 → mariadb: 10.2.16 -> 10.2.17 → https://git.io/fNhbu
iqubic` has joined #nixos
Guest55077 has quit [Ping timeout: 256 seconds]
infinee has quit [Quit: leaving]
iqubic has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #55560 → sage: add compatibility for sphinx 1.8.3 (#55078) → https://git.io/fhQYx
<{^_^}> [nixpkgs] @vbgl merged pull request #49214 → ocamlPackages.topkg: 0.9.1 -> 1.0.0 → https://git.io/fx9Hj
<{^_^}> [nixpkgs] @vbgl pushed commit from @r-ryantm to master « ocamlPackages.topkg: 0.9.1 -> 1.0.0 »: https://git.io/fhQYh
init_6__ has joined #nixos
init_6 has quit [Ping timeout: 246 seconds]
init_6__ is now known as init_6
aanderse_ has joined #nixos
<init_6> I try to bump openmw to 0.44.0 and port it to qt5 https://pastebin.com/bJ4AbHQE but now build failed with "error: anonymous function at ~/nixpkgs/pkgs/games/openmw/default.nix:1:1 called without required argument 'qtbase', at ~/nixpkgs/lib/customisation.nix:69:12" What I did wrong?
aanderse has quit [Ping timeout: 246 seconds]
<aanderse_> init_6: look at pkgs/top-level/all-packages.nix
<ottidmes> init_6: at all-packages.nix you will have to update openmw to have { qtbase = qt5.qtbase; }
<init_6> aanderse_ ottidmes ok thx
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/109a28ab954 (from 88 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
lfish has quit [Ping timeout: 256 seconds]
<gchristensen> laalf: did you learn how to update your channel?
iyzsong has quit [Ping timeout: 250 seconds]
superherointj has quit [Quit: Leaving]
<init_6> aanderse_ ottidmes there is new wersion comming https://github.com/OpenMW/openmw/pull/1547#issuecomment-462024047 now with shadows
<aanderse_> init_6: i really need to get around to playing this :) it has been on my list for too long
<aanderse_> but i have to finish openjk first...
<ottidmes> init_6: cool! I did not know what game it was, but Morrowind, I learned most of my initial English from that game!
rprije has quit [Ping timeout: 268 seconds]
<noonien> hello folks
<noonien> does nix-prefetch-url refetch something that's already in the store?
<init_6> aanderse_: all plugins stuff 13Gb
<noonien> hmm, i geuss it does, since there's no reason why it shouldn't
<ottidmes> noonien: according to the description, that seems to be the case unless you supply it with a hash
aanderse_ has quit [Ping timeout: 245 seconds]
aanderse_ has joined #nixos
<ottidmes> init_6: I always ended up as a sort of demigod in Morrowind (constant health regen and such), the only thing that could still kill me were poison darts (or throwing knives, cannot remember) in Tribunal sewers
<{^_^}> [nixpkgs] @amiloradovsky opened pull request #55561 → opencascade-occt: init at 7.3.0p2 → https://git.io/fhQO4
<{^_^}> [nix] @edolstra pushed to flakes « Add flake registry »: https://git.io/fhQOB
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/109a28ab954 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
rycwo has joined #nixos
clefru has left #nixos ["Leaving"]
clefru has joined #nixos
<{^_^}> [nixpkgs] @Moredread opened pull request #55562 → tor-browser-bundle-bin: 8.0.4 -> 8.0.5 (Backport) → https://git.io/fhQOg
<{^_^}> [nixpkgs] @timokau merged pull request #55560 → sage: add compatibility for sphinx 1.8.3 (#55078) → https://git.io/fhQYx
<{^_^}> [nixpkgs] @timokau pushed to master « sage: add compatibility for sphinx 1.8.3 (#55078) (#55560) »: https://git.io/fhQOi
balsoft has joined #nixos
winem_ has joined #nixos
rycwo has quit [Ping timeout: 272 seconds]
iyzsong has joined #nixos
Soo_Slow has joined #nixos
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @periklis opened pull request #55563 → lguf-brightness: unstable-2019-02-07 -> unstable-2019-02-11 → https://git.io/fhQ3k
hedning has joined #nixos
ThatDocsLady has quit [Ping timeout: 250 seconds]
zupo has joined #nixos
<yorick> so nix-prefetch-git will not fetch submodules, then give you a hash that you plug in to fetchGit which will work only on your system
dramforever has joined #nixos
infinee has joined #nixos
<elvishjerricco> yorick: Why would it work only on your system?
<ottidmes> yorick: it can fetch submodules, you can choose this yourself
rauno has quit [Ping timeout: 272 seconds]
<yorick> elvishjerricco: since fetchSubmodules is a default to fetchGit but not nix-prefetch-git
zupo_ has joined #nixos
<clever> elvishjerricco: it only works if the path for the given name+hash exists in /nix/store/, and due to giving the "wrong" hash (the submodule free one) it will fail for all others
periklis` has joined #nixos
<clever> elvishjerricco: the hash matches what nix-prefetch-git added to the store, but it doesnt match what is downloaded at build time
periklis has quit [Ping timeout: 272 seconds]
<elvishjerricco> Ah, right. That's frustrating
zupo has quit [Ping timeout: 245 seconds]
<ottidmes> With https://github.com/msteen/nix-prefetch it should just work: nix-prefetch builtins.fetchGit --help (or am I misunderstanding the problem?)
<ottidmes> hmm, help does not work for the builtins yet, ah well, it should at least prefetch, giving you the correct hash
seanparsons has quit [Quit: ZNC 1.7.1 - https://znc.in]
seanparsons has joined #nixos
reinhardt has quit [Quit: Leaving]
<sb0> I can create a shell with python containing several packages from nixpkgs with: nix-shell -p "python3.withPackages(ps: with ps; [ package1 package2 ])"
<sb0> what is the equivalent command when those packages are not in nixpkgs, but in a hydra channel somewhere else?
agander has joined #nixos
<{^_^}> [nixos-weekly] @disassembler pushed to iohk-hiring « March: IOHK job announcement »: https://git.io/fhQ36
<noonien> is it possible to curl multiple files as part of a derivation's source?
<noonien> preferably without poluting the nix store for each file
<noonien> while still checking hashes
<{^_^}> [nixos-weekly] @disassembler opened pull request #77 → March: IOHK job announcement → https://git.io/fhQ3i
<etu> noonien: srcs = [];
<noonien> would that not need fetchurls to download files? and will that not make a nix store entry for each file?
<ottidmes> noonien: not that I know, but if you are OK with hashing them as a whole, thats easy
<dramforever> noonien: you can download them to a directory
<noonien> yes, i don't mind hashing them as a whole
<dramforever> this derivations downloads a tarball and unpacks it, but it's easy to imagine downloading multiple files
halfbit has joined #nixos
<ottidmes> noonien: then you can just use a fixed-output derivation with outputHashMode = "recursive";
<dramforever> oh wait
<dramforever> wrong derivation
<noonien> wait, one can use fetchzip directly, instad of mkderivation?
<ottidmes> noonien: fetchzip also produces a derivation, so yeah
<noonien> hmm, interesting
<noonien> do all commands that produce derivations have a meta attr?
<dramforever> Most of them, yes as they are wrappers around stdenv.mkDerivation or stdenvNoCC.mkDerivation and do pass attrs down.
<noonien> interesting
<ottidmes> noonien: fetchzip -> fetchurl -> mkDerivation
<dramforever> I actually can't find anything that does what I described...
<dramforever> yes, exactly this
o1lo01ol1o has joined #nixos
<noonien> oh, yeah! that's perfect
<noonien> thanks!
<noonien> this is a really hacky soltuion, but i need to get around dowloading a 2GB git repo just for some fonts
<noonien> the author decided that commiting the build output is a good thing
<ottidmes> in some other repo or like assets on GitHub sure, but on the main repo, yikes, lets not do that
<noonien> yeah
<noonien> i'm talking about https://github.com/ryanoasis/nerd-fonts
<noonien> i've actuallly gotten the .zip for each specific patched font from the release assets, and built a derivation out of each
<noonien> everything worked fine, then i discovered they had ligatures built in by default
<noonien> luckly, i can just download the relevant sourcee files and provide the user with options to have ligatures or not
<noonien> along with configuring the other available options as well
<ottidmes> cool
iyzsong has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<ottidmes> I have to look into fonts myself some time, I still have some not rendering properly
<ottidmes> some characters
init_6 has quit [Ping timeout: 240 seconds]
Makaveli7 has joined #nixos
init_6 has joined #nixos
<nyanloutre[m]> hello ! Does anyone know if it's possible to list installed packages by license ?
<nyanloutre[m]> or at least output package list as a table with metadata (license, homepage, ...)
<nyanloutre[m]> oh ok there is a json an dmeta option
<nyanloutre[m]> I should have read the manual before asking
<ottidmes> nyanloutre[m]: it should also be quite easy to define a groupBy on all packages based on the license
rycwo has joined #nixos
periklis has joined #nixos
periklis` has quit [Ping timeout: 250 seconds]
ThatDocsLady has joined #nixos
Makaveli7 has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/109a28ab954 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
ng0 has joined #nixos
<nyanloutre[m]> However if I want system packages (declaratively installed) I can't use nix-env
<nyanloutre[m]> and the nix-store command doesn't seem to be able to output metadata
<ottidmes> nyanloutre[m]: let me make something for you real quick
fusion809 has joined #nixos
rauno has joined #nixos
<nyanloutre[m]> ok, thanks for the help 🙂
rauno has quit [Remote host closed the connection]
raduom has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
travelion has quit [Quit: ZNC - https://znc.in]
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
fendor has joined #nixos
periklis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @wizeman opened pull request #55564 → todoist: init at 0.13.1 → https://git.io/fhQs4
fendor_ has joined #nixos
kreisys has joined #nixos
<gchristensen> oh cool
fendor has quit [Ping timeout: 250 seconds]
agander has quit [Ping timeout: 244 seconds]
<siers> I'm on darwin and nix commands are starting to complain about being unable to lock.
<LnL> did you use sudo for something?
<siers> I might've :/
<siers> but I don't remember when
<LnL> don't do that with a single-user install
<{^_^}> [nixos-weekly] @domenkozar merged pull request #77 → March: IOHK job announcement → https://git.io/fhQ3i
<siers> can I make it multiuserish, if I enable the nix-daemon?
<LnL> multi-user has an issue with 2.2 on 10.14 and you'll need nixbld users
<siers> how could I fix it for now?
* LnL should have made a pr for the workaround sooner :/
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/342333c0ab9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<LnL> chown -R $user /nix/store
<siers> Does iterm build with unstable? I currently set nixpkgs to 18.09, but that doesn't.
acarrico has joined #nixos
<siers> There's an open issue on github about it.
agander has joined #nixos
marsam has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
<gchristensen> oeoeunth
<gchristensen> oops
<siers> LnL, So I definitely shouldn't try using the nix daemon for now?
<LnL> you can if you use of of the workarounds
<LnL> gchristensen: :p
<{^_^}> nix#2523 (by periklis, 13 weeks ago, open): darwin: nix-daemon crashes due to OBJC_DISABLE_INITIALIZE_FORK_SAFETY
<siers> Would you suggest it? I didn't think much and just started it just now.
johanot has quit [Quit: WeeChat 2.2]
<siers> LnL, So when does the crash happen, precisely?
halfbit has quit [Ping timeout: 240 seconds]
<LnL> when downloading cached packages, when libcurl resolves a bunch of libraries are loaded causing it to die if the variable is not set
reivilibre has quit [Quit: No Ping reply in 180 seconds.]
<LnL> why is still kind of mysterious, since using a different resolver only fixes some problems
dramforever has quit [Remote host closed the connection]
reivilibre has joined #nixos
fendor_ has quit [Remote host closed the connection]
mobile_c has quit [Ping timeout: 246 seconds]
fendor_ has joined #nixos
jomik has joined #nixos
<jomik> Hey guys, I noticed that I am getting this error when booting my machine `Error parsing PCC subspaces from PCCT`. How do I fix it? I have set `hardware.cpu.intel.updateMicrocode = true;`
<jomik> It boots just fine, have not noticed any issues while running. But still a bit odd to see an error message there .. :)
endformationage has joined #nixos
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<ottidmes> nyanloutre[m]: far from quick nor easy, but here is an example: https://gist.github.com/msteen/a40d5b16d0b283c903f230b98ec9df63 (getting all of nixpkgs to agree is a pain)
<nyanloutre[m]> <freenode_ott "nyanloutre: far from quick nor e"> thanks, I will try to understand it now 😃
ryantrinkle has quit [Ping timeout: 246 seconds]
ng0 has quit [Ping timeout: 256 seconds]
zupo has joined #nixos
<ottidmes> I am trying to get it to show all metadata, but I have to make sure only things that can be converted to json are included
<nyanloutre[m]> what is the part querying installed packages ?
fiola has left #nixos [""Quantum link decohered""]
o1lo01ol1o has joined #nixos
halfbit has joined #nixos
<ottidmes> ah, I must have misunderstood, this shows all top-level packages in Nixpkgs, but for the installed, thats an easy (this time actually, already got the code) fix
ng0 has joined #nixos
makefu has quit [Quit: WeeChat 2.2]
camsbury has joined #nixos
ryantrinkle has joined #nixos
<ottidmes> nyanloutre[m]: when you stay installed, do you want both system packages and nix-env root/user packages?
zupo_ has quit [Ping timeout: 268 seconds]
davidcl has quit [Quit: The Lounge - https://thelounge.github.io]
<nyanloutre[m]> I am trying to get either just system packages or both system and user
<chrisaw> Folks, I absolutely hate Haskell / Nix syntax. It drives me up the wall and I just can't seem to ever wrap my head around it. That having been said - I absolutely love the underlying principles of NixOS. What're my options?
<jomik> nyanloutre[m]: I use /etc/nixos/configuration for system-level packages, and then I use home-manager for user packages.
<jomik> chrisaw: Suck it up and learn Nix. It is nowhere near Haskell syntax :D
davidcl has joined #nixos
rycwo has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
daniele- has joined #nixos
marsam has quit [Ping timeout: 252 seconds]
<nyanloutre[m]> ottidmes: I found the command that output the store paths `nix-store -q --requisites /run/current-system`
<ottidmes> no need to go down that route, you can just request systemPackages directly
<jomik> chrisaw: To be honest though, you wont need to write a lot of nix to get a working system. Most likely you shouldn't really need to write any packages or modules, but it does help to understand it, of course.
<chrisaw> jomik: I just find the command set for NixOS confusing and cumbersome - far too many commands (i.e. the split between nix and nixos, nix-shell, nix-env, etc.) Looking in to GuixSD the command set looks awesome by comparison but I'm not really interested in moving to a libre distro like that because it rules out simple things like wifi drivers, etc. Plus I actually rather like systemd (I know, a sin in the Linux world!)
<ottidmes> nyanloutre[m]: https://gist.github.com/msteen/a40d5b16d0b283c903f230b98ec9df63 try the update (it fails for, need to fix something in an overlay)
<jomik> Pft, I like systemd as well, dunno why not :P
<chrisaw> jomik: I should clarify - I've been running NixOS for around 8 months now - I've written packages and all of that stuff. All of my Linux boxes are Nix'd.
<jomik> Oooh, yeah okay. Well, I really don't use that many commands.. I use nix-shell and nixos-rebuild together with nix-collect-garbage.
o1lo01ol1o has joined #nixos
<ottidmes> chrisaw: I found the vscode Nix highlighter extremely good, never had a syntax error since using it, that helps in that regard at least
<jomik> I can second that. I don't really want to use vscode though... I use the emacs mode, and it works decently.
<jomik> Except the annoying indentation.
<jomik> s/annoying/broken
hphs^ has quit []
Soo_Slow has quit [Remote host closed the connection]
<ottidmes> there is only 1 thing I dont like about the Nix language support and that is I cannot select some text and press double quote, it replaces it rather than wrapping it, but that is really minor
<chrisaw> It's more that things are so incredibly faffy. I'll give you an example! I want to build coreboot - that means I need gcc with gnat support.
<chrisaw> I look that up at the NixOS side and all I find is oodles of chats and open github issues long since gone cold - things like that always end up being a nightmare where I have to spend hours if not days trying to fix them when achieving the same on literally any other distro would be easy. No doubt I could fire up a docker container but then if I'm relying on other distros for things like that - why run Nix?
htoc^ has joined #nixos
<mbrock> rebuilding gcc with different options is easy on every other distro? :/
<simpson> chrisaw: Indeed! You don't have to run Nix.
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<chrisaw> mbrock: Effortless. You just install another package - no need to build it with any other options. It's prebuilt.
<mbrock> I don't think there's any real answer other than "well, this is all a big open source volunteer work in progress with lots of rough edges and unfinished stuff everywhere"
<joepie91> chrisaw: honestly, in my experience, the #1 problem with Nix tooling is documentation
<joepie91> almost always the bits and pieces turn out to *exist*
<joepie91> just nobody ever documented that fact
pie_ has joined #nixos
<joepie91> and once you start seeing it as a documentation problem rather than a design problem, it suddenly has a lot more future :)
<pie_> I'm trying to run wikidpad but it just silently dies for some reason...
<chrisaw> joepie91: That's very true sadly, yeah. Find myself reading through nix code far more often than I'd like to.
<pie_> I'm not used to python failing silently...
<{^_^}> [nix] @edolstra pushed 0 commits to flakes: https://git.io/fhQGQ
<joepie91> "pushed 0 commits"? huh?
<pie_> the process just seems to die the moment i try stepping into https://github.com/WikidPad/WikidPad/blob/stable-2-3/WikidPadStarter.py#L231 with pycharm
andi- has quit [Ping timeout: 250 seconds]
chimay has quit [Ping timeout: 246 seconds]
<joepie91> chrisaw: anyway, unfortunately mbrock's answer is sort of right; there's just a lot of work left in documentation and so on, and it's all volunteer work in the end... and given the relatively small userbase and the more code-oriented / less options-oriented approach, there's not a whole lot of third-party tutorials to save you at this point either
<joepie91> ("turn this special knob to make the thing happen" is just fundamentally easier to document as a third party than "this is how you write the code to turn the special knob")
<joepie91> chrisaw: a few people are working on improving the documentation, eg. gchristensen, and I'm sure that they'd be happy with any help on that front :) but there's no magical answer to make it all work out of the box today
<joepie91> unfortunately
chimay has joined #nixos
<simpson> chrisaw: It looks like you might be the lucky person who gets to add Ada support to nixpkgs. Exciting!
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> <3 joepie91
<{^_^}> [nixpkgs] @flokli opened pull request #55566 → zoom-us: don't set dontPatchELF → https://git.io/fhQGp
<siers> I'm trying to build nokogiri gem on darwin. It's missing the stdio.h, it says. How do I make an environment that has it?
andi- has joined #nixos
agander has quit [Ping timeout: 245 seconds]
<pie_> ok maybe this its the problem but ive no idea how to fix it: /nix/store/kkccw270k43ys8ivpk2g5xz7w3pav2zv-python2.7-wxPython-3.0.2.0/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch warnings.warn("wxPython/wxWidgets release number mismatch")
Kakky has joined #nixos
<mbrock> sometimes browsing Nixpkgs feels like a nightmarish deep dive into all the accumulated weirdnesses and kludges of contemporary GNU/Linux, but with a diving suit made of pure functional elegance (not so elegant metaphor, but)
<mbrock> it's like a two-layer cake with very contrasting flavors
<mbrock> I personally find it extremely delicious
<joepie91> mbrock: except moments later you find out that actually you're using revision 2 of the diving suit and there's 5 others
<joepie91> :P
<joepie91> to abuse the metaphor to extend to the various APIs and sets of utility functions in use...
kreisys has joined #nixos
daniele- has quit [Quit: daniele-]
<joepie91> actually, has anybody inventoried conflicting/outdated usage of different APIs in nixpkgs yet? comprehensively
<ottidmes> I expected nix-env --query --attr-path to print the, well, attribute paths, but I only get back what seem list indices, is there a way to get this info?
<{^_^}> [nixpkgs] @timor opened pull request #55567 → [WIP] buildEnv: accept arbitrary arguments, pass to runCommand → https://git.io/fhQZZ
<simpson> chrisaw: I have done some investigation. I do not know the history of Ada in nixpkgs, but it seems that an Ada bootstrap compiler will be required.
<dckc> thoughts on managing secrets in nix builds? does making a secret an input to (the last step of) a build seem reasonable?
<simpson> chrisaw: I'm forking this to #nixos-dev.
<init_6> aanderse_ ottidmes thx for help https://pastebin.com/bJ4AbHQ +"qtbase = qt5.qtbase" build fine!
<simpson> chrisaw: That said, I hear that coreboot's Ada support can be disabled. Do you want to pastebin what you've got so far?
timor has quit [Quit: Leaving]
xkapastel has joined #nixos
<pie_> so I'm trying to figure out how to write an installPhase for something that doesnt need any build tools and I'm havign trouble figuring it out.
<pie_> whats a bare installphase supposed to look like?
jabranham has joined #nixos
<simpson> pie_: If you don't like calling `cp`, perhaps you'll like the classic `install`, which is also available IIRC.
<pie_> simpson: thats what I tried but the result directory still looks empty
<dckc> managing secrets looks hairy https://github.com/NixOS/nixpkgs/issues/24288
<{^_^}> #24288 (by basvandijk, 1 year ago, open): Provide options for storing secrets outside the Nix store
<kreisys> Has anyone else started getting SSL errors when Nix tried to download narinfos? I've been trying to install Nix on a new laptop and was getting those; then I uninstalled Nix on my old laptop and tried to reinstall it and it was getting the same error all of a sudden.
<kreisys> *tries
<gchristensen> FYI: if you use docker on a computer which is not NixOS, there is a VERY IMPORTANT SECURITY UPDATE coming out very soon. please patch as soon as possible.
<__monty__> Oh, docker, you and your vulnerabilities, you rascal.
<dckc> I look into docker security every once in a while... I have never found a bottom to the pit.
<averell> the real mistake is the non-nixos server of course
<__monty__> I wonder what about NixOS mitigates the issue?
<__monty__> Is it just not having FHS?
<kreisys> Awesomeness.
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/936c9f4118f (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<averell> maybe some read-only docker paths
<dckc> I see `chown -R $user $logDir` in a builder... do builders run as root?
<kreisys> https://gist.github.com/kreisys/8a8aab334f17d1992e055cd06202cf48 <-- anyone seen this error? preferably on darwin?
<gchristensen> __monty__: immutable root
<gchristensen> immutable /nix/store *
<averell> jackpot
<averell> kreisys: maybe someone is intercepting your https calls and replacing them with a company-issued cert?
<averell> oh, no the problem is probably not server-side. nvm.
<kreisys> using curl on the command line works fine
<kreisys> to get the narinfo that is
<__monty__> kreisys: I'm not getting the issue on darwin. Not conclusive but maybe it helps.
<kreisys> 10.14.3?
<__monty__> No, 10.13.
<dckc> ah! the chown is in the output of the builder
<kreisys> I think 10.14.* had some weird security enhancements that ended up making nix segfault but not sure it's related
knupfer has joined #nixos
<__red__> well, klipper is running. I guess we'll see soon enough how it performs
o1lo01ol1o has joined #nixos
fusion809 has quit [Remote host closed the connection]
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
fusion809 has joined #nixos
<jomik> Hey guys, I noticed that I am getting this error when booting my machine `Error parsing PCC subspaces from PCCT`. How do I fix it? I have set `hardware.cpu.intel.updateMicrocode = true;`
mzan has left #nixos [#nixos]
meizikyn has quit [Quit: WeeChat 2.3]
<fendor_> can I update desktop entries? In kde, the steam desktop entry tries to invoke an old path to steam but in the steam.desktop the correct path is specified
init_6 has quit []
kreisys has joined #nixos
ryantrinkle has quit [Ping timeout: 244 seconds]
waleee has joined #nixos
<ToxicFrog> fendor_: try `kbuildsycoca5 --noincremental`
<fendor_> ToxicFrog, kf5.kservice.sycoca: Parse error in "/home/user/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line 1 , col 1 : "unexpected end of file" :D
<jomik> Ouch :D
<ToxicFrog> Welp, I'm out of ideas
<joepie91> [16:43] <gchristensen> FYI: if you use docker on a computer which is not NixOS, there is a VERY IMPORTANT SECURITY UPDATE coming out very soon. please patch as soon as possible.
<joepie91> more specifically....
<joepie91> the underlying container runtime has a vuln that allows code within a container to execute code as root on the host
<jomik> Source? :O
<joepie91> ie. the game over scenario
<jomik> Thanks
<joepie91> LXC also vulnerable though more difficult, systemd-nspawn not
rcshm has joined #nixos
<joepie91> gchristensen: btw, has somebody actually tested in practice whether it is exploitable on NixOS? or was that just an informed guess?
Ariakenom has joined #nixos
<gchristensen> I have tested it
<gchristensen> I can't prove a negative, but I'm quite confident
<fendor_> ToxicFrog, thank you nevertheless :)
<{^_^}> [nixpkgs] @vbgl opened pull request #55568 → coqPackages.mathcomp-analysis: enable for Coq 8.9 → https://git.io/fhQnP
<joepie91> gchristensen: right :)
ThatDocsLady has quit [Ping timeout: 250 seconds]
<mikky> hi, how do I set vim to be default editor *and* install vim_customisable or vimHugeX while preventing conflicts? because programs.vim.defaultEditor pulls pkgs.vim which in turn creates confilcts with pkgs.vimHugeX
<pie_> of course the result is empty if you do phases = [ "installPhase" ]; and leave out unpackPhase...
* pie_ sighs
<fendor_> ToxicFrog, your idea was great, i removed the desktop-dummy-menu, then it worked
<{^_^}> [nixpkgs] @shdpl opened pull request #55569 → terraform-providers.libvirt: 0.4 -> 0.5.1 → https://git.io/fhQny
<ToxicFrog> fendor_: yay!
<ToxicFrog> I have no idea what that file is for, hopefully removing it doesn't break anything.
<ToxicFrog> On my laptop it's just empty.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jmgai has joined #nixos
jmgai has quit [Client Quit]
<fendor_> ToxicFrog, same. so far it works, so thanks!
<{^_^}> [nixpkgs] @vbgl opened pull request #55570 → ocaml: init at 4.08.0+beta1 → https://git.io/fhQn7
<ToxicFrog> You're welcome!
<devalot> When using nix on a non-NixOS system, how do you get setuid binaries to work correctly?
jomik has quit [Quit: WeeChat 2.2]
<pie_> It looks like I dont need to add a package to buildinputs when I'm just using it in a script?
<pie_> whats the recommended practice in such a case?
<pie_> I'm doing ${dos2unix}/bin/dos2unix
halfbit has quit [Ping timeout: 252 seconds]
Jetien__ has joined #nixos
kleisli has joined #nixos
<dckc> help me find the code that consumes systemd.services.jboss ... ?
<dckc> esp script = "${jbossService}/bin/control start";
<Profpatsch> pie_pie_pie_
Jetien_ has quit [Ping timeout: 268 seconds]
<dckc> oh my... the quoting / punctuation in nixpkgs/pkgs/build-support/setup-systemd-units.nix is boggling
<ottidmes> I am trying to create a manpage for one of my packages, I tried asciidoc, because I saw bspwm use it, and it is easy enough, except the synopsis, I would like to have whitespace sensitiviy, but still style the flags in bold and such, anyone any experience with this?
<niksnut> devalot: nix itself doesn't have any support for setuid binaries
<devalot> niksnut: Right. I was just wondering what others do to use packages that only work with setuid binaries.
* dckc finds makeUnit in nixpkgs/nixos/modules/system/boot/systemd-lib.nix
Tucky has quit [Quit: WeeChat 2.2]
erasmas has joined #nixos
<ottidmes> pie_: I believe that is OK, the string context (like when doing "${dos2nix}") is also taken into account when determining the actual dependencies, so it only need to go in buildInputs, when it is actually needed for building it
<pie_> ok, meanwhile...it seems like theres more than one thing called makeWrapper_
<pie_> ?
<pie_> or not. for some reason my makeWrapper doesnt have --run (At least in nix-shell)
<ottidmes> pie_: what do you mean, makeWrapper gives you access to several shell functions, like makeWrapper and wrapProgram
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
simukis has joined #nixos
dsiypl4_ has joined #nixos
<pie_> im trying to wrap a program so taht the environment cd-s to its directory before running it
mobile_c has joined #nixos
timor has joined #nixos
<pie_> huh..whats the difference between makeWrapper and wrapProgram
waleee has quit [Ping timeout: 240 seconds]
<pie_> well, wrapprogram seems to actually work and seems to do some convenience stuff so ill just use that
__Sander__ has quit [Quit: Konversation terminated!]
<symphorien> wrapProgram is in place
<timor> pie_: wrapProgram is a wrapper around makeWrapper :)
halfbit has joined #nixos
<symphorien> makeWrapper will create a new wrapper at a distinct location from the wrappee
<{^_^}> [nixos-weekly] @disassembler pushed 0 commits to iohk-hiring: https://git.io/fhQcq
ryantrinkle has joined #nixos
<pie_> ok and now im back to the problem of my program dying when i start it, without any errors at all... :C
<ninjin> Having odd issues with a USB mic, works straight away under Ubuntu, but for NixOS it shows up in dmesg and pavucontrol, but not as an input device. Searches have turned up with nothing, both for NixOS and more general.
<{^_^}> [nixpkgs] @hedning merged pull request #54779 → gnome3.librsvg: 2.44.11 -> 2.44.12 → https://git.io/fhiEH
<{^_^}> [nixpkgs] @hedning pushed commit from @r-ryantm to staging « gnome3.librsvg: 2.44.11 -> 2.44.12 (#54779) »: https://git.io/fhQcs
<manveru> ninjin: how does it show up then?
<ninjin> manveru: In dmesg and under “Configuration” in `pavucontrol`.
<manveru> and it doesn't have "Analaog Mono Input" profile?
<manveru> *Analog
rycwo has joined #nixos
<timor> Is there a command which returns how much the store will grow after e.g. nix-build or nixos-rebuild, which I can use to check reliably whether there is enough disk space left to perform the store operation(s)?
<ninjin> manveru: Yep.
waleee has joined #nixos
<ninjin> Oh, sorry, read that wrong. It does have the correct profile.
<manveru> ninjin: and on the bottom right of the "Input Devices" tab you have "All Input Devices" selected? (in pavucontrol)
<srhb> timor: Sort of, not really. Hydra has information of all the paths that are cached that you might be using, so you can query that with nix path-info -S --store https://cache.nixos.org
<ninjin> manveru: Hehe, yes, that one is a classic if you get it wrong. ;)
<srhb> timor: Any paths unique to your system are unknown until you build them.
halfbit has quit [Quit: WeeChat 2.3]
<manveru> ninjin: then i'd try `systemctl restart --user pulseaudio.service`
dermetfan has quit [Ping timeout: 245 seconds]
<manveru> my usb mic always worked fine so far :|
<__monty__> Hmm, pandoc seems to be at version 2.5 in nixpkgs but `nix-env -qaPA nixpkgs.pandoc` reports version 2.2.1 and I just ran nix-channel --update.
<srhb> __monty__: Which channel are you following?
makefu has joined #nixos
<ninjin> manveru: That did the trick! Thanks a ton, no idea why NixOS behaves slightly different for me here.
<srhb> __monty__: 18.09 has 2.2.1
<manveru> pulseaudio is a fickle mistress :P
<__monty__> srhb: Ah, nixpkgs-18.09-darwin.
<srhb> __monty__: Then that is the expected version.
<__monty__> Switched to that because of some reason past me figured present me'd recall.
<gchristensen> hrm. I thought I had a real juicy bug report ("NixOS on ZFS can't boot on Mondays") but alas it was just a fluke.
<srhb> gchristensen: Well, I have something similar that's a pain to debug...
<timor> srhb: is that the same information which is displayed when using --dry-run (... MiB download, ... MiB unpacked) ?
<gchristensen> srhb: what is it?
<srhb> timor: Not sure.
<gchristensen> oooOoooh maybe it can't be reproduced on Mondays, but I have a localscenario which allowed it!
<srhb> gchristensen: Sometimes, scrub (I think) will completely lock up the system in such a way that I can't even get a debug kernel panic (easily) and nothing is written to disk.
* gchristensen tries again
<srhb> gchristensen: It also prevents subsequent boots if the scrub is.. queued? or something.
<srhb> It's really weird.
<symphorien> wasn't there a PR to delay scrub until the system is fully booted ?
<gchristensen> hrm, still booted, I thought it was because I had a locally added condition to only start the scrub if it was plugged in to power
<NemesisD> so i if i use a pinned version of nixpkgs, by default i won't benefit from the nix default cache right? i'll only benefit from a local cache unless i set up a cache server myself?
<srhb> symphorien: #53965
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53965 (by lheckemann, 3 weeks ago, merged): nixos/zfs: autoscrub only after boot is complete
<srhb> NemesisD: If it's a version that was previously built by Hydra, you get the full benefits.
dsiypl4__ has joined #nixos
<srhb> NemesisD: (We don't delete old paths)
<gchristensen> bingo!
<__monty__> Hmm, running `nix-shell '<unstable>' -p pandoc` complains about a missing attribute for one of my overrides in config.nix. Any way I can just ignore that? All I want is a shell with a recent pandoc.
<NemesisD> srhb: oh ok. so if i'm using a really new packages revision it probably won't hit the cache much but eventually hydra will catch up?
<gchristensen> way to go sphalerit / sphalerite!
<srhb> NemesisD: Right, master will not necessarily have been built yet.
<srhb> NemesisD: You can also end up with situations where a revision never gets built if it's ahead of unstable.
<srhb> NemesisD: (two commits between two builds that completely change all of the hashes, and the older one gets skipped because it's not HEAD once the build hits)
<srhb> NemesisD: Running master is usually a bad idea anyway :)
<NemesisD> gotcha. i had to use a pretty recent nixpkgs to get some hackage build tooling. my project appears to be building the entire universe. i'm gonna need to work on disabling package checks and haddocks or my coworkers are going to be pretty unhappy with me
<srhb> I see.
orivej has joined #nixos
dsiypl4_ has quit [Ping timeout: 250 seconds]
<srhb> NemesisD: fwiw, if you change whether to run checks or not, you're probably rebuilding anyway.
IRCsum has quit [Ping timeout: 240 seconds]
<srhb> NemesisD: So you might end up making things worse.
<NemesisD> i could probably walk back the commit i used by a bit to get exactly what i needed but that's also work i gotta do, haha
<NemesisD> a progress meter would go a long way here. i'm not actually sure if this whole thing will build anyways
<srhb> I'm not sure how to create reliable progress meters for ghc builds :P
<NemesisD> well more just like how many packages are built
<srhb> nix build has that.
DrLambda has quit [Ping timeout: 250 seconds]
<NemesisD> oh ok. i'm actually just running nix shell. i'm basing this build off of https://github.com/Infinisil/soph, which seems like it tries to build everything before actually letting you into the shell
IRCsum has joined #nixos
<NemesisD> i'm going to need to modify it if it won't let you into the shell if the project you're working on won't compile. that's a dealbreaker. we'll see
kleisli has quit [Quit: Communi 3.5.0 - http://communi.github.com]
<srhb> NemesisD: If it's based on shellFor or the likes, it'll only fail if a dependency fails
<srhb> And you really can't get around that.
<NemesisD> srhb: yeah it is. and i guess having all the dependencies built is reasonable. you're gonna need those no matter what
<srhb> It's a fundamental limitation anyway, the shell definition simply doesn't exist until the dependencies are built.
<srhb> (Because they're dependencies of the shell drv)
elgoosy has joined #nixos
<NemesisD> yeah that makes sense. i don't seem to be getting great CPU utilization out of this. i feel like stack can pin all my cores for most of the time while building deps. maybe i'm close to the end
<srhb> NemesisD: Or your cores setting is low such that one package will only use one core ever.
<NemesisD> srhb: i don't see cores set anywhere in the hardware. i'd assume it'd just use nprocs or whatever
<srhb> NemesisD: stack and nix both end up using ghc in much the same way, but options affect parallelism both on the package and module level.
<srhb> NemesisD: It changed recently. On NixOS stable it defaults to 1
<srhb> NemesisD: On unstable, it's indeed nprocs. Which can be pretty hard on your memory for largeish ghc projects.
<NemesisD> stockholm syndrome with GHC has already taken hold of me years ago. i'm using a machine with 24GB of ram ;)
<srhb> NemesisD: I had to upgrade to 32 for similar reasons. :)
iqubic` has left #nixos ["ERC (IRC client for Emacs 26.1)"]
orivej has quit [K-Lined]
kleisli has joined #nixos
<dckc> here I am thinking 16GB is extravagant. the price of an upgrade to 32 GB in billable hours is probably pretty small...
<clever> dckc: both my laptop and desktop have 32gig of ram, and i regularly go into 32gig of swap on the desktop, so 64g would help perf
dermetfan has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
balsoft has quit [Ping timeout: 250 seconds]
acarrico has quit [Ping timeout: 250 seconds]
marusich has quit [Remote host closed the connection]
<srhb> gchristensen: Yarr.
acarrico has joined #nixos
Soo_Slow has joined #nixos
<dckc> I have a single user nix install and I'd like to switch to daemon mode. clues?
<srhb> dckc: I think it's easiest to just reinstall. :)
<dckc> is there a way to preserve my profile?
knupfer has quit [Quit: knupfer]
Jetien__ has quit [Ping timeout: 246 seconds]
knupfer has joined #nixos
knupfer has quit [Remote host closed the connection]
<srhb> dckc: I'm not sure whether the current installer expects you to remove anything before it'll run. Try just leaving things in place and see if it complains.
<gchristensen> srhb: I wonder if that should be applied to the nixos service by default
<dckc> I did try it; it does complain
<srhb> gchristensen: If it behaves well in all cases (including machines that don't have a concept of AC/Bat) I think it sounds sensible
<srhb> dckc: Alright, I'd read through the multi user install script and apply it manually then.
<dckc> is there a way to find out what packages I installed manually vs. those that were pulled in as dependencies?
<srhb> dckc: On a high level, you'll need to change ownership of the nix store, create build users, and start the daemon.
zopsi has quit [Ping timeout: 252 seconds]
<srhb> dckc: nix-env -q contains all the things you explicitly installed in your profile.
<dckc> if I do nix-env -q >saved, can I then do nix-env -i $(cat saved)?
rycwo has quit [Ping timeout: 245 seconds]
<srhb> dckc: More or less.
kleisli has quit [Quit: Communi 3.5.0 - http://communi.github.com]
<jabranham> dckc: there's also ,,declarative
<jabranham> ,declarative
<{^_^}> There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
<NemesisD> srhb: oh weird. when i look closer at my build output, it seems to be calling ghc with -j4, but my nproc is 8...
<dckc> if want to nix-copy-closer to $DEST, does $DEST need nix installed already?
simukis has quit [Quit: simukis]
<symphorien> yes
kleisli has joined #nixos
callahad28 has quit [Quit: The Lounge - https://thelounge.github.io]
simukis has joined #nixos
callahad28 has joined #nixos
<symphorien> if you just want some executable to be present on the target without nix, you can tar cvf foo.tar $(nix-store -qR /nix/store/foo) and then unpack the tarball on the target
<symphorien> nix-copy-closure is that + updating the nix db to register these store paths, so it needs nix
ddellacosta has joined #nixos
<clever> symphorien: there is also pkgs.callPackage <nixpkgs/nixos/lib/make-system-tarball.nix>, which can generate that tarball for you
simukis has quit [Client Quit]
<clever> it will also include a "backup" of the db.sqlite, so you can then restore that after unpacking, to make everything valid (but it will wipe any previous DB)
<symphorien> oh
simukis has joined #nixos
Alling has joined #nixos
gagbo has joined #nixos
<clever> its sort of a fake backup though, it has the same schema as a backup, but is limited to the subset of paths included in the tar
<Alling> Hello everyone! I have ~10 GB of photos and videos from a trip that I would like to share with some friends. I'm trying to do it using Transmission on my server. It seems to be working insofar that I can access its web GUI. How would I go about creating a torrent?
daniele- has joined #nixos
<kreisys> https://gist.github.com/kreisys/8a8aab334f17d1992e055cd06202cf48 <-- getting this error as normal user, not as root. User is listed in nix.conf trusted-users. anyone? :|
daniele- has quit [Client Quit]
johnw has joined #nixos
<NemesisD> srhb: oh whoops, looks like working as intended. GHC suffers after -j4 apparently D: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/generic-builder.nix#L81
<kreisys> oh this is on macOS 10.14.3 btw, after a fresh nix install
judson_ has quit [Remote host closed the connection]
judson has joined #nixos
<thefloweringash> is there such thing as `myOpt = mkOption { type = types.attrs; }` with a deep merge, such that `mkMerge [ myOpt.a.b = "b"; myOpt.a.a = "a"; ]` produces `{a = { a = "a"; b = "b"; };}` ? Didn't see it in lib/types.nix
kleisli has quit [Ping timeout: 240 seconds]
winem_ has quit [Ping timeout: 240 seconds]
Kakky has quit [Remote host closed the connection]
Kakky has joined #nixos
<__monty__> So, why do my config.nix overrides apply to whatever channel I supply to nix-shell, and can I ignore it for a single invocation?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #55433 → bat: 0.9.0 -> 0.10.0 → https://git.io/fhH3j
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhQC5
<pie_> can wrapprogram be used to set the first word in a command? i want to prepend python to it so the interpreter calls a script instead of the shebang
<clever> __monty__: when you `import <nixpkgs> {}` it will obey your config.nix, which is why i prefer `import <nixpkgs> { config={}; overlays=[]; }`
<clever> __monty__: that entirely disables loading config/overlays
laduke-13 has left #nixos ["WeeChat 2.3"]
<__monty__> clever: How do I pass that to nix-shell? I'm currently trying `nix-shell '<unstable>' -p pandoc`.
<srhb> __monty__: You're better off writing a shell.nix once you start needing this.
<srhb> Trying to shoehorn it into the supported command line args is painful.
<__monty__> Really? All I want to do is install/nix-shell pandoc from a different channel :'(
<srhb> __monty__: It sounded like you also wanted to discard your local nixpkgs config.
<clever> __monty__: nix-shell -E "with import <nixpkgs> { config={}; overlays=[]; }; stdenv.mkDerivation { name="name"; buildInputs = [ pandoc ]; }'
<clever> oops, quoting issues
<clever> __monty__: nix-shell -E 'with import <nixpkgs> { config={}; overlays=[]; }; stdenv.mkDerivation { name="name"; buildInputs = [ pandoc ]; }'
<clever> __monty__: but at this point, just put that entire string inside a shell.nix, and it will be easier to manage
<__monty__> -.-, le sigh, fine.
noonien has quit [Quit: Connection closed for inactivity]
sigmundv has quit [Ping timeout: 250 seconds]
jmeredith has quit [Quit: Connection closed for inactivity]
zupo has joined #nixos
<{^_^}> [systemd] @fpletz pushed 3728 commits to nixos-v240-wip: https://git.io/fhQWO
<clever> __monty__: hmmm, i just had a thought...
<clever> nope, --arg doesnt do it
Asmadeus has quit [Ping timeout: 268 seconds]
dbmikus has joined #nixos
Asmadeus has joined #nixos
rycwo has joined #nixos
timor has quit [Ping timeout: 268 seconds]
reinhardt has joined #nixos
<__monty__> clever: Thanks for trying. I caved though and wrote a shell.nix.
DeaDSouL has quit [Ping timeout: 246 seconds]
<symphorien> pie_: in this case wrap the interpreter, not the script. See the java section of the nixpkgs manual for an example
<{^_^}> [nixpkgs] @primeos pushed to master « sway-beta: 1.0-rc1 -> 1.0-rc2 »: https://git.io/fhQWw
DeaDSouL has joined #nixos
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #55572 → txr: 208 -> 209 → https://git.io/fhQWo
<pie_> symphorien: hm ok
<pie_> symphorien: i suppose that probably makes sense
<{^_^}> [nixpkgs] @worldofpeace opened pull request #55573 → xfce4-13.tumbler: 0.2.1 -> 0.2.3 → https://git.io/fhQWP
jmeredith has joined #nixos
<{^_^}> [systemd] @fpletz pushed to nixos-v240-wip « network: install config into $out/share/factory »: https://git.io/fhQWX
GiGa has joined #nixos
GiGa has joined #nixos
<GiGa> Hola
<GiGa> For those in here the other day attempting to assist me with my Android build problem - cracked it. There was a second key in use that I wasn't aware of. Details here for those that are interested: https://blog.jonsdocs.org.uk/2019/02/09/android-and-firebase-signing-with-the-right-keys/
dermetfan has quit [Ping timeout: 272 seconds]
agander has joined #nixos
knupfer has joined #nixos
heyguyswatup has joined #nixos
<heyguyswatup> hey guys, what's up?
<heyguyswatup> so I'm trying to figure out what I put in the configuration.nix so that I can have multiple keyboard layouts installed
<heyguyswatup> and then I suppose my WM/DE will have some setting for letting me use some key combo to jump between them
<heyguyswatup> but I'm totally lost in regards to what package I need to install or whatever to get access to multiple languages (so that I can hook my keycombo up to the different options)
<heyguyswatup> would appreciate a magic incantation / link to info
shibboleth has joined #nixos
rycwo has quit [Ping timeout: 272 seconds]
<GiGa> heyguyswatup: What DE are you using?
<GiGa> and are you interested in using it on the TTY (i.e. outside the DE)?
Kakky has quit [Quit: Leaving]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<heyguyswatup> yes I'd prefer to have the ability to switch in the tty
Kakky has joined #nixos
<heyguyswatup> butI'm on kde as of now with xmonad as well (that I am still building the config to finish transitioning
<heyguyswatup> )
elgoosy has quit [Remote host closed the connection]
oxa has joined #nixos
Kakky has quit [Client Quit]
<averell> i just have ,-separated entries in services.server.xkb* like xkbVariant "dvorak,basic" and a "grp:shifts_toggle" in xkbOptions
Kakky has joined #nixos
<samrose> is there a way to do
<samrose> nix.extraOptions = ''
<samrose> tarball-ttl = 60
<samrose> allowed-uris =
<samrose> (oops fingers slipped)
<samrose> where there are more than 1 allowed-uris ?
<averell> polybar can pick that up and make a mouse-toggle for the layout
waleee has quit [Ping timeout: 244 seconds]
<ddellacosta> so this seems like a common enough scenario, and this solution doesn't seem like the best one--can anyone point me at a more "Nix-y" solution if one exists? https://unix.stackexchange.com/a/415937
<heyguyswatup> avarell: can I see your configuration.nix as an example (a)
dbmikus has quit [Read error: Connection reset by peer]
<heyguyswatup> agh my nephew is having me explain in excruciating detail what a minecraft server is
dbmikus_ has joined #nixos
<heyguyswatup> hmm nm I thin I got it to work, thanks!
oxa has quit [Quit: Page closed]
<averell> ok
<heyguyswatup> is there a place with a collection of configuration.nix files
<heyguyswatup> and lots of comments on the different options people are chosing etc
<heyguyswatup> it'd be super cool to get a better feel for what is possible
<heyguyswatup> all I'm doing is picking packages to be on the base system and specifying some small things like virtualisation and containers and the things that are suggested in the base file
<averell> i don't know anything other than github search. the manual has a list of all options. but yeah, random configuration.nix are helpful.
<GiGa> heyguyswatup: Sorry, I didn't notice you'd replied. Glad you got it sorted though
hexo_ is now known as plytkejsie
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kumikumi has joined #nixos
<heyguyswatup> GiGa: No worries, thanks for the concern :)
fendor_ has quit [Ping timeout: 268 seconds]
<ddellacosta> heyguyswatup: other than a github search, also see this link from the wiki: https://nixos.wiki/wiki/Configuration_Collection
<heyguyswatup> ooh sweet
<heyguyswatup> thanks
<ddellacosta> sure thing
<heyguyswatup> btw is there any good info on containers beside the small segment in the manual? should I basically just think of them as unconfigured nixos systems?
<heyguyswatup> I was thinking I'd make a container for rust so that I could rustup there without polluting my system with non nix configured install stuff
<heyguyswatup> and in the future I'd like to do that for most things that want to be piped into sh
<heyguyswatup> there's also nix-shell but I don't understand how to use it for that use case (if possible)
<ddellacosta> heyguyswatup: this is not a straight answer to your question, but have you checked this out (I have not myself, so sorry if it's not helpful)? https://nixos.org/nixpkgs/manual/#users-guide-to-the-rust-infrastructure
<heyguyswatup> haven't seen it will check out
<ddellacosta> it talks about how to do things using Nix infrastructure with Rust, at the least hopefully should give you more of an idea of how to fit it into your scheme
<heyguyswatup> dude that link is so good
<ddellacosta> excellent!
<das_j> Is there a convenient way to force all files of a directory to be preloaded? Something like makeWrapper $out/bin/icinga2 --add-to-ldpath $out/lib/icinga2
shibboleth has quit [Ping timeout: 256 seconds]
<GiGa> heyguyswatup: I use containers for my development too, for the same reason
<GiGa> heyguyswatup: although the manual is the only thing I've found
<yl[m]> LnL: which job on Hydra fills up the binary cache for Darwin? I'm trying to figure out why bazel-watcher is not in the cache when other newer packages such as bazel is cached. https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/bazel-watcher/default.nix
Kakky has quit [Quit: Leaving]
<GiGa> heyguyswatup: you can configure the container in its own configuration.nix or you can specify them in your main system one, at which point the containers get upgraded along with your system
<GiGa> just off to put a child to bed
<clever> nix-repl> :p bazel-watcher.meta.platforms
<clever> [ { } ]
<LnL> yl[m]: every job on hydra.nixos.org
<clever> yl[m]: the platforms list isnt setup right, so hydra wont build it ever
<philipp[m]> Is it possible to set up a single declarative container to track another branch than the rest of the system?
shibboleth has joined #nixos
<clever> yl[m]: hmmm, odd, the source says platforms.all
<heyguyswatup> yeah I'm currently just specifying one container in my main config but it didn't have anything at first, I couldn't even 'nix-env -i' but I started adding to the declaration like the main system and it seems to work the exact same way so meh
<clever> yl[m]: maybe hydra doesnt understand that?
<yl[m]> clever: really? I did put platforms.all that right
<LnL> clever: all is [{}]
<yl[m]> it's cached for NixOS but for some reason my darwin machine ended up building it
<heyguyswatup> philipp[m] maybe? it could be worth trying
<yl[m]> LnL: oh
<heyguyswatup> okay I'm going to finish typing in my homework now that I have the keyboards brb
<yl[m]> LnL: so I have to use platforms.linux ++ platforms.darwin ?
<LnL> clever: specific platforms have attibutes but {} means everything IIRC
<clever> the build is failing on hydra
<clever> external/com_google_protobuf/src/google/protobuf/compiler/cpp/cpp_generator.h:40:10: fatal error: 'string' file not found
<LnL> ^ there's a darwin job for it no changes required
<clever> but the build has never once passed, so different changes are required
<yl[m]> clever: thank you for the job link
<LnL> not for the platforms that is
<yl[m]> clever: it's missing gcc maybe?
<LnL> yl[m]: if I'd have to bet I would say something is using $CC instead of $CXX
<yl[m]> it's a Go binary that uses protocol buffers IIRC
<yl[m]> so it's failing to compile the protocol buffers
<LnL> we only add c++ headers for clang++/g++ not the c variants
<clever> ERROR: /private/tmp/nix-build-bazel-watcher-0.9.0.drv-0/output/external/com_google_protobuf/BUILD:378:1: C++ compilation of rule '@com_google_protobuf//:protoc' failed (Exit 1) cc_wrapper.sh failed: error executing command external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG ... (remaining 36 argument(s) skipped)
<clever> i think its failing to build the files that protoc generates
<yl[m]> in local dev, I have a nix-shell that uses `gccStdenv.mkDerivation` for that reason so it's probably what needs to be changed
<LnL> ah, if it's not to difficult making the build honor $CXX is preferred over using a different compiler for no good reason
<yl[m]> LnL: how can I test? ofborg has blessed the PR during the last update so I can't test directly on a PR
<yl[m]> do I have to simply build it from nixpkgs on a darwin machine?
<LnL> you can't reproduce it locally?
<yl[m]> I have not tried yet as I only tried through my shell.nix
<clever> yl[m]: what happens with nix-build on darwin?
<LnL> try running nix-build -A bazel-watcher in a nixpkgs checkout
<yl[m]> yes I'm going to do exactly that
<yl[m]> LnL: for your reference w.r.t to ofborg: https://github.com/NixOS/nixpkgs/pull/51723
<{^_^}> #51723 (by uri-canva, 9 weeks ago, merged): bazel-watcher: 0.5.0 -> 0.9.0
<LnL> since it's bazel it might just blatantly ignore our build environment and try to use /usr/bin/cc tho :/
<clever> so you would want the nix sandbox properly configured
<yl[m]> LnL: that's also an annoying problem that we work around by exporting `BAZEL_USE_CPP_ONLY_TOOLCHAIN=1` for Darwin machines
<yl[m]> maybe this should be part of the Bazel package in a binary wrap?
<{^_^}> [nixpkgs] @jerith666 opened pull request #55575 → Eclipse: 2018-09 -> 2018-12 → https://git.io/fhQ8i
<LnL> I presume it is, unless we don't have build support for bazel yet
<__monty__> Is there a builtins.extension or something?
chimay has quit [Ping timeout: 240 seconds]
<__monty__> I want to filterSource by extension.
<yl[m]> LnL: I'll try on my mac to do that, if it works, I think that I'm going to try and push for having BAZEL_USE_CPP_ONLY_TOOLCHAIN as part of the bazel binary. That var is a no-op on Linux machines: https://github.com/bazelbuild/bazel/blob/2987897feed85c7e7fc60478f346e128e4eb8c99/tools/cpp/cc_configure.bzl#L52-L54
orivej has joined #nixos
<LnL> yl[m]: yeah we should, with a setup-hook or in buildBazelPackage (apparently that's a thing)
<yl[m]> I was thinking more in the `build-managers/bazel` derivation itself. This issue affects anyone using Bazel on Mac anyway
<yl[m]> cc Profpatsch ^^
<Profpatsch> yl[m]: I just left work, ping me again in 12 hours please. :3
<yl[m]> Profpatsch: no worries, I'll cc you on the PR at that point, hopefully!
<LnL> oh you mean like wrapping the binary?
<yl[m]> LnL: yes
<LnL> guess that might make sense in a nix context, which presumably it will be anyway
xkapastel has quit [Quit: Connection closed for inactivity]
<yl[m]> yes
<LnL> sounds ok, but I don't actually know anything about bazel :)
betawaffle has joined #nixos
<betawaffle> grahamc[m]: o/ now i'm here
<{^_^}> [nixpkgs] @etu opened pull request #55576 → rtl-sdr: Move udev rules → https://git.io/fhQ8A
<yl[m]> LnL: I'll test it out on both Darwin and NixOS when I'll have the PR ready. Thanks for your help!
JosW has joined #nixos
zupo has joined #nixos
xkapastel has joined #nixos
alex`` has joined #nixos
<ottidmes> How do I prevent my Nix build manpage from showing date 01/01/1970? I searching whether there is an option for this (there probably is), but searching for manpage date does not really give me what I am looking for as you can imagine :P
<etu> ottidmes: It's supposed to be that to be reproducible
ddellacosta has quit [Ping timeout: 240 seconds]
dbmikus__ has joined #nixos
yokyolu has joined #nixos
<yokyolu> hi
<ottidmes> etu: I get that on a file level, I am just hoping I can set something in the actual manpage being generated from my asciidoc, or if its not easy/possible within asciidoc, by changing the manpage after generating it
alex`` has quit [Ping timeout: 246 seconds]
dbmikus_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #55573 → xfce4-13.tumbler: 0.2.1 -> 0.2.3 → https://git.io/fhQWP
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhQ4O
<yokyolu> how do i pass an environment variable to haskell generic-builder?
alex`` has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @timokau opened pull request #55577 → python.pkgs.matplotlib: add numpy 1.6 compat patch → https://git.io/fhQ4Z
<{^_^}> [nixpkgs] @delroth opened pull request #55578 → libu2f-host: 1.1.6 -> 1.1.7 (CVE-2018-20340) → https://git.io/fhQ4n
chimay has joined #nixos
<__monty__> How do I build a default.nix that uses `with import <nixpkgs>...` using a different channel+
<__monty__> *?
<ottidmes> __monty__: by changing <nixpkgs>, via -I or NIX_PATH
<{^_^}> [nixpkgs] @delroth opened pull request #55579 → [18.09] libu2f-host: 1.1.6 -> 1.1.7 (CVE-2018-20340) → https://git.io/fhQ48
<ottidmes> etu: simply replacing "01/01/1970" in the generated manpage seems to do the trick, since I there does not seem any option to supply one
<clever> or replace the <nixpkgs> in the nix file with another expression
<ottidmes> right, like how I used to have <nixpkgs-unstable> pointing to the nixos-unstable channel
nschoe has quit [Quit: Program. Terminated.]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1a88aa9e0cd (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
detran has joined #nixos
<__monty__> Hmm, still getting cannot auto-call... stdenv.
<ottidmes> then you got to callPackage
<clever> ,callPackage __monty__
<{^_^}> __monty__: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<__monty__> Should I put the callPackage in the default.nix?
<ottidmes> no
chimay has quit [Ping timeout: 268 seconds]
<ottidmes> in the nix-build expression
<ottidmes> keep the default.nix a clean package definition, is what I would do at least
<ottidmes> __monty__: I just have a shell function: nux build-call, then builds default.nix with callPackage, likewise a nux shell-call, with an option to change the nixpkgs repo (nux is just something I use to place all my nix helpers under)
<clever> i tend to put the { stdenv, cmake }: part into packagename.nix
<clever> and then default.nix has the string from what {^_^} gave above
<ottidmes> ah, keep default.nix the package, since that is what is used through nixpkgs, and then use a release.nix for convenience installing
<clever> that also works as well
<clever> but having default.nix contain the callPackage, saves you having to pass a name to nix-build
<ottidmes> I have shell helpers for that
<clever> you can always rename as you copy the foo.nix into nixpkgs/foo/default.nix
reinhardt has quit [Quit: Leaving]
<__monty__> Can I pass a small builder script inline, rather than having to add a builder.sh?
<clever> __monty__: 99% of the time, you dont want to use builder=
<clever> __monty__: can you pastebin your current files and i can see what your trying to do?
<ottidmes> __monty__: buildCommand
<ottidmes> but yeah, listen to clever :P
<__monty__> Here's my default.nix: http://ix.io/1AMZ
<clever> __monty__: the for loop is setting $odt, but then your using $f inside the loop?
<clever> __monty__: pandoc is also not in the buildInputs, so it cant be ran
<__monty__> Woops, $odt didn't help though. Specifying it as an argument isn't enough?
teeAyy has quit [Quit: ciao]
<clever> __monty__: correct, you are defining a nix level function, that accepts an argument called pandoc, but then you never do anything with pandoc
tA has joined #nixos
Thra11 has joined #nixos
<clever> __monty__: oh, and `for x in $src` will run the for loop exactly once, on $src
<clever> you want $src/*.odt
<pie___> symphorien, you said in my case I should wrap the interpreter, but how do I tell makeWrapper to output to my local result and not to the interpreters directory?
<__monty__> Hmm, isn't that what the filterSource does?
<pie___> symphorien, or rather, im guessing there's some trick to it
<clever> __monty__: filterSource limits what files are in $src
<clever> __monty__: but at a bash level, `for x in $src` will only set x to $src, and run the loop once
<symphorien> pie___: makeWrapper takes as first argument the output file whereas wrapProgram implicitely overwrites
<clever> $src is just a single directory, not a list of things
<clever> you need $src/* to make bash treat it as a list of files
shibboleth has quit [Quit: shibboleth]
Alling has quit [Quit: Page closed]
dermetfan has joined #nixos
<__monty__> clever: You're right ofc. I'm still getting no such file but not sure how to debug?
<pie___> symphorien, oh
<pie___> (man I guess i suckat reading this stuff)
<clever> __monty__: can you pastebin the exact error, and the new nix expression?
<pie___> symphorien, doesnt makewrapper use the first argument to get the input file
<symphorien> ah maybe
<pie___> is the documentation wrong
<pie___> local original="$1"
<pie___> local wrapper="$2"
<symphorien> I said that on the top of my head
<clever> there is also wrapProgram, which will rename the 1st arg, then use both the original and new name
drakonis has joined #nixos
switchsox has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @LnL7 opened pull request #55580 → luarocks: patch sw_vers and gcc → https://git.io/fhQ4H
<pie___> symphorien, looks like the documentation is outdated?
ma9e has joined #nixos
<symphorien> no no, it is me who is wrong
<__monty__> clever: default.nix http://ix.io/1ANa , error http://ix.io/1ANb
shibboleth has joined #nixos
<symphorien> pie___: see the example here https://nixos.org/nixpkgs/manual/#sec-language-java
<symphorien> makeWrapper ${jre}/bin/java $out/bin/foo etc.
<clever> __monty__: nix is treating that entire string, as the name of a command
<pie___> symphorien, i mean the docs dont say it takes a second arg
<pie___> just "rest of flags"
<clever> __monty__: so it then searches $PATH, for that entire string!
shibboleth has quit [Remote host closed the connection]
<clever> __monty__: change builder to buildCommand
<symphorien> pie___: you are likely to mix makeWrapper and wrapProgram
<pie___> symphorien, by documentation i mean the comments
dermetfan has quit [Ping timeout: 246 seconds]
agander has quit [Quit: Leaving]
work_ has joined #nixos
<yokyolu> i'm using nix-server on a remote machine, when i do nix build locally it says 'substituter ...doesnt have a valid signature for path ...'
<symphorien> ah can be
<yokyolu> how do i make it trust the substituter?
<__monty__> Builder failed to porudec output path. How do I indicate novel.md should be the output?
<clever> __monty__: you must copy it to $out
<clever> __monty__: $out can be a file, directory, or symlink, and your buildCommand must somehow create it
<{^_^}> [nixpkgs] @deliciouslytyped opened pull request #55581 → Document undocumented argument to makeWrapper() → https://git.io/fhQ4A
<pie___> symphorien, lol merge pls https://github.com/NixOS/nixpkgs/pull/55581
<{^_^}> #55581 (by deliciouslytyped, 22 seconds ago, open): Document undocumented argument to makeWrapper()
<__monty__> clever: Hmm, I added cp novel.md $out but novel.md doesn't exist.
<yokyolu> i put `require-sigs = false` but it didn't chanche the output
<clever> __monty__: before the for loop, do `ls -lha $src`
<clever> yokyolu: there is a trusted-substituters list in nix.conf
<__monty__> clever: novel.md doesn't exist in $src, I'm creating it in the loop.
<clever> but your filterSource may be buggy, and $src is just an empty dir
<clever> so the for loop never runs, and novel.md is never made
<__monty__> Yep -.-
<NemesisD> so when im doing overrides in nix and i do rec { foo = "bar"; baz = foo; }, that foo is referring to the one i defined right? and its invariant of set attribute order?
<clever> __monty__: youll want to add some builtins.trace in the filterSource expr, to debug it further
jabranham has joined #nixos
noonien has joined #nixos
Glider_IRC_ has joined #nixos
<clever> __monty__: or just test the ext function within nix repl
<clever> __monty__: a quick test in nix repl says it should have worked...
<ma9e> anyone know how to run the aarch64 images on qemu?
<ma9e> i get something about "linux arm bad magic"
<__monty__> clever: Turns out "file" is not a type, it should be "regular".
<clever> src = builtins.filterSource (path: type: builtins.trace "${type} ${path}" (type == "file" && ext ".odt" path)) ./.;
<yl[m]> LnL: nix-build -A bazel-watcher worked on Darwin
<yl[m]> LnL: how come Hydra is failing then?
<clever> __monty__: ah yeah, forgot about that, i always start with a trace like this, and then write the rules based on what nix shows
nDuff has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #55559 → flannel: 0.6.2 -> 0.11.0 → https://git.io/fhQms
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/fhQBI
Glider_IRC__ has quit [Ping timeout: 246 seconds]
dbmikus__ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #55578 → libu2f-host: 1.1.6 -> 1.1.7 (CVE-2018-20340) → https://git.io/fhQ4n
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fhQBq
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/fhQBm
<{^_^}> [nixpkgs] @7c6f434c merged pull request #55580 → luarocks: patch sw_vers and gcc → https://git.io/fhQ4H
<NemesisD> so if i'm settting up haskell packages an i do pkgs.haskell.packages.ghc822.extend (self: super: rec { foo = callCabal2Nix (...); aeson = ...; }, if foo depends on aeson, it should end up referencing the aeson i supplied, right?
<LnL> yl[m]: I can reproduce the error
<__monty__> Hmm, dollarydo interference is kinda annoying. Can I use nix interpolation on a bash variable in my buildCommand?
<__monty__> *on the value of a bash variable.
<clever> NemesisD: using rec breaks the entire idea of overlays, you must use self.foo when you want to refer to another attr
<{^_^}> [nixpkgs] @flokli pushed commit from @delroth to release-18.09 « libu2f-host: 1.1.6 -> 1.1.7 (CVE-2018-20340) »: https://git.io/fhQBZ
<yokyolu> clever: thank you
<yokyolu> clever: i also needed to set `trusted-users` tho
<NemesisD> clever: so self. is the finally-resolved version of the record i'm currently extending?
<clever> ,escape''
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<clever> __monty__: ^^
<clever> NemesisD: yep, including any future overlays your not yet aware of
<NemesisD> clever: and i guess that means if i want to reference other values i'm defining explicitly, i need to use self?
<{^_^}> [nixpkgs] @delroth closed pull request #55579 → [18.09] libu2f-host: 1.1.6 -> 1.1.7 (CVE-2018-20340) → https://git.io/fhQ48
<clever> yokyolu: setting trusted-users allows you to bypass most of the safeties in nix, so there is likely something else you want to be setting instead, what --option flags are you using?
<clever> NemesisD: yeah
<NemesisD> so they're doing like a lazy-evaluation kind of thing by using a function. nice
dbmikus__ has joined #nixos
<__monty__> clever: And the more important part, can I use nix string interpolation on the value of a bash variable?
<clever> NemesisD: yeah, a number of things in nix are doing crazy things like passing you your own return value as an argument
<clever> __monty__: what exactly are you trying to do?
<__monty__> clever: I want to insert parts of the filenames as chapter titles in between the chapters, i.e. results of the pandoc commands.
juliendehos has quit [Remote host closed the connection]
<yokyolu> clever: i had a http:/this.other.thing in binary-caches list and ran nix-build -Q
<clever> __monty__: you should be able to use normal bash logic to do that, as long as you escape every ${ via ''${
<clever> yokyolu: if you add that to the substituters list in nix.conf, then it will work automatically
<yokyolu> clever: oh no, it was `nix build`
<__monty__> clever: Substring extraction is blegh in bash though.
<clever> __monty__: the problem, is that the nix expressions have to run to completion, before the bash stuff even starts
<yl[m]> LnL: on MAc? interesting why I can't reproduce
<yokyolu> clever: it was in binary-caches, then i put it in trusted-substituters
<clever> __monty__: so you cant easily use the output of pandoc in the nix code
<yokyolu> clever: is there a more appropriate place for it?
<yl[m]> oh LnL do you have full Xcode installed or just the command line tools?
<clever> yokyolu: oh, you also have to trust the public key of that cache, via trusted-public-keys
<yl[m]> LnL: I found the other day that bazel worked without the workaround when only CLI tools were installed.
<yl[m]> LnL: ok I'll file a PR then
<LnL> yl[m]: neither
<yokyolu> clever: oh, i see
<yokyolu> clever: thanks
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<yl[m]> LnL: hmmm I wonder if the fix would even work then. I have never tried with neither installed
<yokyolu> can I add an environment variable to a .callCabal2nix result?
<{^_^}> [nixpkgs] @flokli merged pull request #55534 → mailman-rss: init at 0.2.4 → https://git.io/fhQee
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fhQBl
<clever> __monty__: is there another language where you would prefer to do the string magic? or are the chappter numbers more predictable?
<clever> yokyolu: you could wrap and override it: haskell.lib.overrideCabal (.callCabal2nix ...) (drv: { ... })
juliendehos_ has joined #nixos
mmlb3 has quit [Ping timeout: 246 seconds]
<__monty__> clever: I turned to nix because I wanted to use nix rather than shell for the filename manipulation : )
<clever> __monty__: you could also use builtins.readDir possibly
<clever> __monty__: that would also offer more caching
<clever> builtins.readDir ./.
<clever> __monty__: that will give you the listing of files in a given directory
<clever> you can then generate a seperate derivation for every file of interest, creating one novel.md per file
juliendehos_ has quit [Client Quit]
<clever> and then you can loop over that list of derivations, and join them with a cat ${toString thelist} > $out in a final derivation
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<clever> __monty__: writing an example...
<{^_^}> [nixpkgs] @kalbasit opened pull request #55582 → bazel: set BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 on Darwin → https://git.io/fhQBa
GiGa has quit [Quit: Leaving]
silver_hook has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
<yl[m]> LnL: can you please try the above PR ^^
<LnL> sure
<yl[m]> thank you!
_kwstas has joined #nixos
dermetfan has joined #nixos
<__monty__> clever: How do I generate a seperate derivation for each file?
ibxth has joined #nixos
polman has quit [Ping timeout: 246 seconds]
ma9e has quit [Quit: leaving]
polman has joined #nixos
<clever> __monty__: just drop that into a directory full of .odt files, and run `nix-build example.nix -A allMds`
<ibxth> hi. when i do nix-env -qaP l2tp i see 3 entries with one name and different attribute path. if i do nix-env -qa l2tp --meta --json i see that this 3 entries went from one file. what should i read to understand how this work and why several entries by one file?
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.0-rc5 -> 5.0-rc6 »: https://git.io/fhQBP
<{^_^}> [nixpkgs] @flokli merged pull request #54800 → Remove cloud-init from the Openstack image configuration → https://git.io/fhiQQ
<{^_^}> [nixpkgs] @flokli pushed 7 commits to master: https://git.io/fhQBX
goibhniu has quit [Ping timeout: 246 seconds]
<yokyolu> how to look up what derivations have to be build?
<yokyolu> built*
dermetfan has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #55162 → xorg.xf86inputlibinput: 0.28.1 -> 0.28.2 → https://git.io/fhSDL
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fhQBH
<{^_^}> [nixpkgs] @flokli merged pull request #55550 → Push plex logs to syslog/journald → https://git.io/fhQII
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fhQBQ
polman has quit [Ping timeout: 246 seconds]
polman has joined #nixos
ibxth has quit [Quit: Leaving]
<__monty__> clever: Hmm, what's this fix magic? This doesn't look anything like an example default.nix anymore.
<clever> __monty__: its baiscally the same as rec, but it doesnt suck as much
<clever> rec allows you to do: rec { a=5; b=a; }
<clever> but any change to a, has zero effect on b, and that can make things difficult down the road
<__monty__> Aren't let's recursive?
<clever> lib.fix (self: { ... }) will just pass the function its own return value
<clever> so you can use self to refer to your own attrs
<LnL> yl[m]: still can't find <string> or <limits>
<yl[m]> LnL: that's so weird :(
<{^_^}> [nixpkgs] @flokli merged pull request #55049 → odpic: 2.4.2 -> 3.1.0 → https://git.io/fhypT
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fhQBx
juliendehos has joined #nixos
<yl[m]> LnL: the other option would be to change stdenv to gccStdenv in https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/build-bazel-package/default.nix#L10
<yl[m]> LnL: does that work for you?
ibxth has joined #nixos
<LnL> let me check something
<yl[m]> sure
<{^_^}> [nixpkgs] @7c6f434c pushed to drop-intel-video-driver « nixos/xserver: drop intel from videoDrivers »: https://git.io/fhQRf
<LnL> well that's even more broken: Illegal instruction: 4 bazel ...
<gchristensen> jikes
civodul has joined #nixos
<yl[m]> LnL: :( that's terrible
yuken has joined #nixos
<LnL> I think it's our otool/install_name_too that doesn't understand part of the new format on 10.14
doyougnu has joined #nixos
<yl[m]> what else do you propose we do?
<__monty__> clever: Hmm, why don't I need {stdenv, pandoc} and callPackage anymore?
<LnL> dunno this was a pure build with sandboxing enabled
<LnL> (kind of)
<clever> __monty__: i used `with import <nixpkgs> {};` so all of nixpkgs is in scope
<yl[m]> LnL: I just realized my sandbox is off on my Mac (it's a new install, isn't enabled by default? )
<{^_^}> [nixpkgs] @edolstra merged pull request #55581 → Document undocumented argument to makeWrapper() → https://git.io/fhQ4A
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/fhQRT
<LnL> no it's only works for some stuff
<yl[m]> I see
<yl[m]> is it enabled on Hydra?
<__monty__> clever: And how do I build it with a different channel? I'd like to keep the expression clean, using <nixpkgs> but my <nixpkgs> is too old.
<{^_^}> [nixpkgs] @7c6f434c opened pull request #55583 → nixos/xserver: drop intel from videoDrivers → https://git.io/fhQRk
<LnL> yl[m]: no, but there's not much to find on those machines (no xcode or clt)
<clever> __monty__: just replace <nixpkgs> with an expression for another channel
<clever> __monty__: so you could use <nixos-unstable> if you have a channel by that name
<yl[m]> I have Xcode installed on mine, must be the difference here so essentially I've been using XCode cc all along
iqubic has joined #nixos
<iqubic> Why are symlinks so hard to create?
<__monty__> clever: Yeah but I want the expression clean.
<clever> iqubic: i always do `ln -sv` and then look at the output to see what it did
<__monty__> I.e. *not* using <unstable>.
<clever> __monty__: you can also replace <nixpkgs> with (builtins.fetchTarball https://github.com/nixos/nixpkgs/archive/GITREV.tar.gz)
switchsox has joined #nixos
<iqubic> So I have a directory called "~/some/long/file/path/here/data" I want a soft link to that called "~/data" so that I can type: "cd; cd data; ls" and see the contents of the of the long file path.
<iqubic> note, that these are just names I made up for the sake of not spilling privet info.
<iqubic> I just don't know how to make that work.
<clever> iqubic: `ln -sv ~/some/long/file/path/here/data ~/data` wukk create such a link, but only if ~/data does not yet exist
<clever> iqubic: if ~/data does exist, then ~/data/data is the name of the link
switchsox has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @KnairdA opened pull request #55584 → rocs: init at 18.12.0 → https://git.io/fhQRC
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d7708647441 (from 62 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
pinkypie has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
yokyolu has quit [Ping timeout: 250 seconds]
knupfer has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 240 seconds]
slack1256 has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<__monty__> clever: Cannot coerce a list to a string in ${self.mdList}.
dan1 has joined #nixos
<das_j> What is the lib call to merge all attrsets in a list?
<clever> __monty__: oops, you need to run toString on that
<das_j> so making [ {a = "b";} {b = "c";} ] into {a = "b"; b = "c";}
<clever> das_j: lib.recursiveUpdate is a recursive one, // is non-recursive
<clever> das_j: both need to be combined with foldl' to operate on more then 2 items
<das_j> aah, that is was I was looking for
<das_j> thank you!
alex`` has joined #nixos
<__monty__> clever: Will that not run into any escaping issues re spaces and stuff?
<clever> __monty__: the paths there are based on the name= from the inputs, and nix does not allow spaces
ikitat has joined #nixos
dan1 has left #nixos ["WeeChat 1.0.1"]
<__monty__> clever: Running into problems because of spaces in the filenames -.-, called it : )
vk3wtf has joined #nixos
tshaynik has joined #nixos
<clever> __monty__: at which level? what is the exact error?
<clever> __monty__: i'm guessing line 8 of my original example, should be "${input}"
<__monty__> clever: Many `cat <part of filename seperated by spaces>: No such file` it's in the thing I just toString'd.
<{^_^}> [nixpkgs] @Dlahacz opened pull request #55585 → postman: 6.7.1 -> 6.7.3 → https://git.io/fhQR5
Denommus has joined #nixos
jackdk has joined #nixos
<clever> __monty__: ah, then it does need some quotation, one sec
<nDuff> __monty_, ${lib.escapeShellArgs yourList} is your friend.
<clever> nvm, nDuff found something better then what i was about to write
<NemesisD> would ya'll recommend dockerTools.buildImage? the docs say its unstable
switchsox has joined #nixos
<clever> NemesisD: i use it for some things
<LnL> I don't think we've changed anything in a particularly incompatible way so it's probably fine
<simpson> NemesisD: The docs say that the *API* is unstable.
<NemesisD> clever: i've got a haskell project i'm building with nix. i'm wondering if it would make sense to add an expression to take the binary/binaries and throw them into docker images. i'm also wondering if i'd have to worry about dynamic linking not working within the image
<NemesisD> simpson: oh i see. that's not so much a concern for me then
<LnL> why wouldn't that work?
<clever> NemesisD: first problem you will run into, is that /etc/protocols doesnt exist, so all network in haskell code immediately fails hard
<{^_^}> [nixpkgs] @zachcoyle opened pull request #55586 → bvi: enable on darwin → https://git.io/fhQ0J
<NemesisD> well currently without nix when i build executables, it'll link against my system libraries, i can't ship that binary to another system unless it is on the same OS and release as mine, more or less
<clever> NemesisD: you will need to include iana-etc in your image: https://github.com/input-output-hk/cardano-sl/blob/develop/nix/docker.nix#L58
rycwo has joined #nixos
<__monty__> Hmm, `error: invalid character ' ' in name 'Chapter 1 - ...` this is with lib.escapeShellArgs, what's going on?
<clever> __monty__: as i said, nix doesnt allow spaces in derivation names
<clever> __monty__: the name (the 1st arg to runCommand) contains a space here: https://gist.github.com/cleverca22/c9ac52d5b3dccc064a82c33418d67d54#file-example-nix-L7
<clever> so you will need to use some string manipulation logic to do something smarter then baseNameOf
<clever> but now you can do it in nix, rather then bash
<NemesisD> clever: thanks! this looks doable. i'll give it a shot
rcshm has quit [Remote host closed the connection]
<ottidmes> __monty__: safeDerivationName = name: concatStringsSep "-" (filter (x: !(builtins.isList x || x == "")) (builtins.split "[^+-._?=[:alnum:]]" (removeSuffix "\n" name)));
<jackdk> Note also that you can point dockerTools.buildImage at a base image like alpine or w/e
simukis has quit [Quit: simukis]
rcshm has joined #nixos
ddellacosta has joined #nixos
mobile_c_ has joined #nixos
_kwstas has quit [Quit: _kwstas]
_kwstas has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d7708647441 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
_kwstas has quit [Remote host closed the connection]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
mobile_c has quit [Ping timeout: 245 seconds]
xantoz has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @avdv opened pull request #55587 → New package for `yubikey-manager-qt` → https://git.io/fhQ0Z
xantoz has joined #nixos
<__monty__> ottidmes: Can I just extract the chapter number and use number.md?
teehemka_ has joined #nixos
teehemka_ has quit [Client Quit]
<jabranham> If someone has a free moment, I'd appreciate it if you made the borg bot build my PR for updating syncthing to 1.0.1, #55285
<{^_^}> https://github.com/NixOS/nixpkgs/pull/55285 (by jabranham, 6 days ago, open): syncthing 1.0.0 -> 1.0.1
freeman42x has quit [Ping timeout: 252 seconds]
xantoz has quit [Read error: Connection reset by peer]
<flokli> jabranham: poked
<jabranham> flokli: thanks :-)
<flokli> np
xantoz has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed 6 commits to master: https://git.io/fhQ0E
<{^_^}> [nixpkgs] @timokau merged pull request #55577 → python.pkgs.matplotlib: add numpy 1.6 compat patch → https://git.io/fhQ4Z
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/fhQ0u
<{^_^}> [nixpkgs] @johanot opened pull request #55589 → nixos/dockerPreloader: guard the entire implemetation with mkIf on image list → https://git.io/fhQ0z
Ariakenom_ has joined #nixos
johanot has joined #nixos
<rycwo> any suggestions for a lightweight, decent mail server?
<rycwo> want to use git send-email
<rycwo> but missing stmp
xantoz has quit [Read error: Connection reset by peer]
stressedprogramm has joined #nixos
zupo_ has joined #nixos
xantoz has joined #nixos
ibxth has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Ping timeout: 240 seconds]
<stressedprogramm> Hey guys, I cant seem to get webstorm installed. I've looked in the nixpkgs repo and found the jetbrains derivation. Therefore I tried to call pkgs.jetbrains or pkgs.jetbrains.webstorm in my configuration but I get the error that the value is not of type 'package'
work_ has quit [Quit: Connection closed for inactivity]
zupo has quit [Ping timeout: 272 seconds]
alex`` has quit [Ping timeout: 244 seconds]
rcshm has quit [Read error: Connection reset by peer]
<clever> > jetbrains.webstorm
<{^_^}> "<derivation /nix/store/7cz1mgs3wkfxi4q4v626xvavz94smdkm-webstorm-2018.3.4.drv>"
<clever> looks to be a package to me :S
rcshm has joined #nixos
<ottidmes> stressedprogramm: `nix search webstorm` is also useful, but yeah it should exist under jetbrains.webstorm
<stressedprogramm> Yes that's what I thought
<stressedprogramm> Also I tried `nix search webstorm` which returned 'error: no results for the given search term(s)!'
<stressedprogramm> Weird right?
rprije has joined #nixos
juliendehos has quit [Quit: Leaving]
<ottidmes> stressedprogramm: nix eval --raw nixpkgs.jetbrains.webstorm.name, fails too then?
<ottidmes> stressedprogramm: probably some weird value for <nixpkgs>, you should check your channels
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
Thra11 has quit [Ping timeout: 246 seconds]
<clever> stressedprogramm: what does `nix-instantiate --find-file nixpkgs` return?
<stressedprogramm> Aha
<stressedprogramm> nix eval --raw nixpkgs.jetbrains.webstorm.name returns an error saying that the package has an unfree license
<{^_^}> [nixpkgs] @markuskowa opened pull request #55590 → soapy[bladerf,remote,uhd]: 0.4.0 -> 0.4.1, 0.5.0 -> 0.5.1, 0.3.4 -> 0.3.5 → https://git.io/fhQEL
<ottidmes> ,unfree stressedprogramm
<{^_^}> stressedprogramm: You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
glowpelt has quit [Quit: WeeChat 2.3]
Ariakenom has joined #nixos
<stressedprogramm> Yes I have added `{ allowUnfree = true; }` to the config file now
<stressedprogramm> Thanks! :)
rycwo has quit [Ping timeout: 252 seconds]
Glider_IRC__ has joined #nixos
<__monty__> clever++ Didn't finish but picking it up again tomorrow.
<{^_^}> clever's karma got increased to 89
rycwo has joined #nixos
glowpelt has joined #nixos
Ariakenom_ has quit [Ping timeout: 268 seconds]
<dckc> is there an idiom for concatenating shell script fragments? and how would one normally go about finding it?
johanot has quit [Quit: WeeChat 2.2]
<gchristensen> in what context do you want to do that?
<gchristensen> in the module system the `lines` type works well
<ivegotasthma> how do I update packages from home-manager?
<ivegotasthma> there's an old version of youtube-dl that doesn't work anymore
Glider_IRC_ has quit [Ping timeout: 245 seconds]
kleisli has joined #nixos
stressedprogramm has quit [Quit: Page closed]
<dckc> I've got several java packages to build; each follows the pattern: cd x.y.z.PACKAGE; ant this that other; cd ..
<dckc> the ant command varies slightly between packages
<buckley310> is there a builtin way to deploy a non-world-readable file using NixOps? or is my best option to write some script combined with `deployment.keys` ?
<dckc> so far I have: cellBuilder = { path build }: "(cd $path; $build)"
<gchristensen> buckley310: that is roughly it
<buckley310> ah ok
<dckc> then I want to map cellBuilder over the package descriptions, concatenate the results, and use that as buildPhase (and likewise installPhase)
<buckley310> thanks
<dckc> deployment.keys?
eadwu has joined #nixos
<dckc> thanks
<dckc> so I find concatMapStringsSep in https://github.com/NixOS/nixpkgs/blob/master/lib/strings.nix ; i.e. "Use the Source, Luke!" works. but https://nixos.org/nixpkgs/manual/#chap-functions seems to only have the attrset functions
<simpson> Things in `lib` aren't in the manual.
<simpson> ...Oh hello. Some things in `lib` are in the manual. TIL.
<gchristensen> not reliably, not yet ... there is a nice PR adding it, but I haven't yet prioritized researching how to make it an "appendix" so it doesn't create 1,000,000,000 headings at the top of the page :/
__monty__ has quit [Quit: leaving]
ryantrinkle has quit [Ping timeout: 268 seconds]
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa opened pull request #55592 → limesuite: 18.10.0 -> 19.01.0 → https://git.io/fhQE1
<tshaynik> Hi, I'm a new NixOS user. I'm having trouble installing the vagrant-libvirt plugin for vagrant. I see that this PR was merged for libvirt support in the vagrant package: https://github.com/NixOS/nixpkgs/commit/b66b0c58cae9e9f7e400f61de01c078b9466934d
<clever> gchristensen: do you know if the docs already explain builtins.exec?
<{^_^}> [nixpkgs] @dtzWill opened pull request #55593 → libXau: 1.0.8 -> 1.0.9 → https://git.io/fhQED
<tshaynik> that said, I can't install vagrant-libvirt, because of an issue with the `nokogiri` dependency
<{^_^}> [nixpkgs] @dtzWill opened pull request #55594 → xorg.bitmap: 1.0.8 -> 1.0.9 → https://git.io/fhQEy
<dckc> "cannot coerce a function to a string" hm.
detran has quit [Ping timeout: 250 seconds]
<clever> dckc: are you running a function inside a list?
<{^_^}> [nixpkgs] @dtzWill opened pull request #55595 → git-extras: 4.6.0 -> 4.7.0 → https://git.io/fhQES
kreisys has joined #nixos
<elvishjerricco> yea `[ foo x ]` is a common mistake for me when I meant `[ (foo x) ]` :P
dsiypl4__ has quit [Quit: Leaving]
silver has quit [Read error: Connection reset by peer]
<dckc> "inside"? I'm not sure what that means.
<dckc> running this code fragment in `nix repl` works as I'd expect; doesn't produce an error.
silver has joined #nixos
<dckc> oh... inside... maybe I do know what that means.
sigmundv has joined #nixos
<dckc> so... yes, I'm running a function inside a list (expression).
eadwu has quit [Quit: WeeChat 2.3]
<clever> that is a list with a function, and a something
sigmundv has quit [Remote host closed the connection]
<clever> it needs () to force the function to be ran
<ivegotasthma> any idea why the version of youtube-dl on my system is older than the https://nixos.org/nixos/packages.html#youtube-dl ? I cannot update it
<dckc> I've got: let X = { ... buildPhase = lib.concatStringsSep "\n" (map cellBuilder cells) }. Where do I need ()'s? around the RHS of the =?
<{^_^}> [nixpkgs] @flokli opened pull request #55596 → vagrant: 2.2.0 -> 2.2.3 → https://git.io/fhQEd
<dckc> and where would one learn this?
<dckc> oh... set, not list
<clever> dckc: add --show-trace to the build command, then check the line numbers it refers to
<dckc> I have --show-trace permanently on :)
<{^_^}> [nixpkgs] @dtzWill opened pull request #55597 → gcalcli: 4.0.0a4 -> 4.0.3 → https://git.io/fhQEA
<dckc> looks like crap in emacs compile mode, btw
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @LnL7 pushed to staging « swift-corefoundation: fix sandboxed build »: https://git.io/fhQEh
<dckc> stdenv/generic/make-derivation.nix:185:11 <- those are the only line numbers in the -show-trace
<dckc> it does say "... while evaluating the attribute 'buildInputs' ..."
<clever> dckc: can you pastebin your entire nix file?
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
daniele- has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #55598 → networkmanager-openvpn: 1.8.8 -> 1.8.10 → https://git.io/fhQEj
<clever> while evaluating the attribute 'cellBuilder' of the derivation 'i2b2-hive-cells' at /nix/store/98f2ynld46gvwi26xh69f17hlgqa9kwy-nixpkgs-19.03pre166613.c052da08dcb/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:185:11:
<clever> dckc: line 19, you are passing a function to a derivation, that isnt allowed
<dckc> ah! I see now
<clever> dckc: move it to between 5&6, so its in the let block
<clever> 22 will likely fail the same way
* dckc hoists...
<{^_^}> [nixpkgs] @dtzWill opened pull request #55599 → networkmanagerapplet: 1.8.18 -> 1.8.20 → https://git.io/fhQue
fendor has joined #nixos
daniele- has quit [Ping timeout: 268 seconds]
<gchristensen> clever: I suspect they intentionally elide it
<{^_^}> [nixpkgs] @dtzWill opened pull request #55600 → dhcpcd: 7.0.8 -> 7.1.1 → https://git.io/fhQuT
<{^_^}> [nixpkgs] @dtzWill merged pull request #51690 → certbot, acme: 0.24.0 -> 0.30.2 → https://git.io/fpS4t
<{^_^}> [nixpkgs] @dtzWill pushed 5 commits to master: https://git.io/fhQuI
<clever> was going to link some upstream docs here
pmade has joined #nixos
<gchristensen> oh dear you're using it
xvnvx has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to release-18.09: https://git.io/fhQuL
qyliss_ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #55601 → cerbot: 0.30.2 -> 0.31.0 → https://git.io/fhQuq
obfusk_ has joined #nixos
ikitat has quit [Ping timeout: 240 seconds]
ztrawhcse has joined #nixos
rycwo has quit [Ping timeout: 240 seconds]
<clever> gchristensen: to sign windows binaries without ever putting the key into the nix store
pbb_ has joined #nixos
haveo_ has joined #nixos
qyliss has quit [Disconnected by services]
qyliss_ is now known as qyliss
rixed_ has joined #nixos
tom has joined #nixos
witchof01 has joined #nixos
drager1 has joined #nixos
morr_ has joined #nixos
polar1 has joined #nixos
ckauhaus_ has joined #nixos
primeos_ has joined #nixos
tom is now known as Guest6215
<gchristensen> ok clever I'm PMing to avoid spewing bad ideas in this channel
aleph- has joined #nixos
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<{^_^}> [nixpkgs] @dtzWill opened pull request #55602 → pixman: 0.36.0 -> 0.38.0 → https://git.io/fhQun
<{^_^}> [nixpkgs] @dtzWill opened pull request #55603 → ffmpeg: 4.1 -> 4.1.1 → https://git.io/fhQuc
PyroLagus_ has joined #nixos
fpob_ has joined #nixos
<aleph-> Heya folks
<{^_^}> [nixpkgs] @flokli merged pull request #55119 → Firefox add support for native wayland backend → https://git.io/fhSzO
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/fhQuC
vk3wtf has quit [*.net *.split]
ckauhaus has quit [*.net *.split]
andi- has quit [*.net *.split]
Adluc has quit [*.net *.split]
plytkejsie has quit [*.net *.split]
lucus16 has quit [*.net *.split]
obfusk has quit [*.net *.split]
tom39291 has quit [*.net *.split]
devalot has quit [*.net *.split]
danielrf has quit [*.net *.split]
pbb has quit [*.net *.split]
Kim has quit [*.net *.split]
PyroLagus has quit [*.net *.split]
hexa- has quit [*.net *.split]
jak[m]1 has quit [*.net *.split]
elibrokeit has quit [*.net *.split]
fpob has quit [*.net *.split]
drager has quit [*.net *.split]
WilliamHamilton[ has quit [*.net *.split]
craige[m] has quit [*.net *.split]
IslandUsurper has quit [*.net *.split]
ejpcmac has quit [*.net *.split]
georgyo has quit [*.net *.split]
adulteratedjedi has quit [*.net *.split]
morr has quit [*.net *.split]
benley has quit [*.net *.split]
Vskilet has quit [*.net *.split]
eddyb has quit [*.net *.split]
gonz_ has quit [*.net *.split]
nkaretnikov has quit [*.net *.split]
rixed has quit [*.net *.split]
valwal has quit [*.net *.split]
primeos has quit [*.net *.split]
sorear has quit [*.net *.split]
emily has quit [*.net *.split]
wedens has quit [*.net *.split]
witchof0x20 has quit [*.net *.split]
yorick has quit [*.net *.split]
yurb has quit [*.net *.split]
mikeplus64 has quit [*.net *.split]
monokrome has quit [*.net *.split]
ancarda has quit [*.net *.split]
dongcarl has quit [*.net *.split]
mtjmullen has quit [*.net *.split]
NinjaTrappeur has quit [*.net *.split]
alphabeta has quit [*.net *.split]
mpickering has quit [*.net *.split]
manveru has quit [*.net *.split]
georgew has quit [*.net *.split]
haveo has quit [*.net *.split]
tazjin has quit [*.net *.split]
elvishjerricco has quit [*.net *.split]
heatm1s3r has quit [*.net *.split]
angerman has quit [*.net *.split]
marcinkuzminski has quit [*.net *.split]
joedevivo has quit [*.net *.split]
nand0p has quit [*.net *.split]
pmade is now known as devalot
lord| has quit [Quit: WeeChat 2.3]
ztrawhcse is now known as elibrokeit
<{^_^}> [nixpkgs] @LnL7 merged pull request #55586 → bvi: enable on darwin → https://git.io/fhQ0J
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fhQu4
pinkypie has quit [Ping timeout: 250 seconds]
Adluc has joined #nixos
hexo has joined #nixos
lord| has joined #nixos
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #55604 → agave: 008 -> 009 → https://git.io/fhQuE
kgz has quit [Ping timeout: 250 seconds]
dbmikus__ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #55562 → tor-browser-bundle-bin: 8.0.4 -> 8.0.5 (Backport) → https://git.io/fhQOg
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to release-18.09: https://git.io/fhQug
kgz has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #55605 → common-update-scripts: fixup for current/latest nix hash output → https://git.io/fhQu2
doyougnu has quit [Ping timeout: 240 seconds]
thc202 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #55606 → libgxps: 0.3.0 -> 0.3.1 → https://git.io/fhQuV
Ariakenom_ has joined #nixos