gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
Adluc has joined #nixos
<{^_^}> [nixpkgs] @danielfullmer opened pull request #39693 → rclone: 1.40 -> 1.41 → https://git.io/vpB2k
emph has joined #nixos
griff_ has joined #nixos
andrewmiller1 has quit [Quit: Page closed]
srk has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « darling: fix src »: https://git.io/vpB2i
jperras has joined #nixos
emph has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @veprbl opened pull request #39694 → pyslurm: 20170302 -> 20180427 → https://git.io/vpB2p
[Leary] has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #39695 → wire-desktop: correct desktopItem → https://git.io/vpBac
worldofpeace has joined #nixos
<worldofpeace> Hey can someone merge #39695. It's a very stupid simple change.
<gchristensen> worldofpeace: but why?
<simpson> I don't know what `makeDesktopItem` does, so I can't tell whether this is cosmetic.
<worldofpeace> gchristensen: prettyness
<simpson> +1 for cosmetics.
mmlb has joined #nixos
<gchristensen> is "Wire" less cosmetically pleasing than "wire-desktop"?
<clever> i think thats the name for the .desktop file
<worldofpeace> gchristensen: wire-desktop.desktop just makes sense for the file to be named that since everything else is
* samueldr wonders if it's for i18n strings too
<gchristensen> oh I see
<{^_^}> [nixpkgs] @jtojnar merged pull request #37986 → qpdfview: port to qt5 → https://git.io/vx2Vc
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/vpBag
<{^_^}> → 62eb285a by @jtojnar: qpdfview: port to qt5
<{^_^}> → 9e503e03 by @jtojnar: qpdfview: remove placeholder usage
<{^_^}> → 205d9a72 by @jtojnar: Merge pull request #37986 from jtojnar/qpdfview-qt5
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<worldofpeace> lol plz merge
<gchristensen> I mean it hasn't passed PR checks yet
<{^_^}> [nixpkgs] @concatime opened pull request #39696 → pythonPackages.neovim: 0.2.4 -> 0.2.5 → https://git.io/vpBaP
<worldofpeace> i suppose yet it's practically ineffectual :)
<drakonis> why isn't there an desktop icon for libreoffice
<drakonis> using libreoffice is the worst without icons
<gchristensen> I know but it looks bad if the namesake of the PR checker skips the PR checker
<drakonis> also a fixed up wrapper
<drakonis> becaue the one that ships with libreoffice is broken lol
<worldofpeace> ^.^!
<{^_^}> [nixpkgs] @grahamc merged pull request #39695 → wire-desktop: correct desktopItem → https://git.io/vpBac
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/vpBaD
<{^_^}> → 82080d77 by @worldofpeace: wire-desktop: correct desktopItem
<{^_^}> → 81c705ad by @grahamc: Merge pull request #39695 from worldofpeace/patch-1
aither has quit [Ping timeout: 264 seconds]
<worldofpeace> Now my cosmetic desktopfile needs have been satiated.
snajpa has quit [Ping timeout: 256 seconds]
<drakonis> worldofpeace, i have a world of pain for you
<drakonis> there's no desktopfiles for wine or libreoffice
<worldofpeace> dear god!
<drakonis> so i can't run executables by just clicking them
<drakonis> wine, really
<drakonis> libreoffice has no icons
<worldofpeace> or non denominational supreme
<drakonis> using it on gnome is the WORST
<drakonis> so i'm on kde because i can see the icon
snajpa has joined #nixos
<drakonis> s/icon/text
<worldofpeace> that sucks. How does that happen?
aarvar has joined #nixos
<drakonis> nobody made an desktop icon with icons
<drakonis> fedora has svgs apparently
<worldofpeace> sorry I didn't examine what you said fully
<drakonis> i'm not seeing an image for the icon
<drakonis> ie: the pretty picture
<drakonis> its the default image for an desktop icon without a picture
<worldofpeace> hmm...
<worldofpeace> I'm installing it to see.
<{^_^}> [nixpkgs] @aszlig pushed 2 commits to master: https://git.io/vpBah
<{^_^}> → 1907120f by @aszlig: nixos/tests/udisks2: Fix USB device hotplug
<{^_^}> → f148c5c4 by @aszlig: nixos/tests: Fix QEMU flags for SCSI disks
<drakonis> and the wrapper that's supposed to let it run with a toolkit isn't working yet
<drakonis> i don't think the person that uploaded the wrapper knew how to use it
<rizary> i have setup systemd service in my logical.nix, i got the following issue https://github.com/remy/nodemon/issues/1324
<rizary> i use nixops, and when ssh to my machine and run nodemon manually, the server runs well.
<rizary> systemd seems cannot detect node.
<worldofpeace> drakonis: Can you report your findings so people who are interested can work on them?
xcmw has joined #nixos
marek has quit [Ping timeout: 240 seconds]
marek has joined #nixos
<worldofpeace> I see them in my store here /nix/store/am5hp7677zk84phkfcriaydh2samw5p9-libreoffice-5.4.6.2/lib/libreoffice/share/xdg
<jtojnar> yes, apparently the desktop file contains Icon=libreoffice6.0-calc
griff_ has quit [Quit: griff_]
<jtojnar> so it is not affected by the patch
olto has quit [Ping timeout: 264 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
olto has joined #nixos
freeman42x[nix] has quit [Ping timeout: 256 seconds]
<jtojnar> probably needs to be changed to something like sed -re 's@Icon=libreoffice(dev)?[0-9.]*-?@Icon=@'
<worldofpeace> Ew I just started it and it's themed to windows 98 esqe
<drakonis> worldofpeace, hmm, sure
joehh has joined #nixos
<joehh> hello - I'm serving some files over http (using nginx) from the nix store, so the modification time on the files is 1 Jan 1970
<Xal> I know I can pass the crossSystem argument to a nixpkgs package to get it to cross compile, but can I do this for individual derivations I've written that aren't part of nixpkgs?
<joehh> This seems to play havoc with caching as the webserver/browser don't seem to detect any changes to the files
<joehh> is there anyway to make serving files out of nix store play nicely with caches?
<aszlig> joehh: i also started to work on a nix-specific nginx module to address that, but i didn't get back to that yet
<aszlig> ideally nginx would create an etag based on only the store path and use ctime instead of mtime
<{^_^}> [nixpkgs] @dtzWill opened pull request #39698 → systemd: add pcre2 as build dep for searching in journalctl → https://git.io/vpBVr
u0_a152 has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
markus1199 has joined #nixos
u0_a152 has left #nixos [#nixos]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @matthewbauer pushed to bmake-compat « setup: get enableParallelBuilding compatible with bmake »: https://git.io/vpBVQ
<{^_^}> [nixpkgs] @matthewbauer opened pull request #39699 → setup: get enableParallelBuilding compatible with bmake → https://git.io/vpBVd
mbrgm has quit [Ping timeout: 264 seconds]
markus1189 has quit [Ping timeout: 240 seconds]
mbrgm has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 260 seconds]
doyougnu has quit [Ping timeout: 264 seconds]
daveo has joined #nixos
<joehh> aszlig: thanks for that - getting the etag from the store would be awesome, but understand the difficulty
jackdk has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #39649 → NixOS docs: making it easier to hack on → https://git.io/vp44U
<{^_^}> [nixpkgs] @grahamc pushed 5 commits to master: https://git.io/vpBw6
<{^_^}> → 59f8b1e8 by @grahamc: nixos docs: Move generated XML in to a specific subdirectory to allow easier hacking
<{^_^}> → 0ff0d138 by @grahamc: nixos docs: Add a makefile for hacking on the nixos docs
<{^_^}> → a77dc213 by @grahamc: nixos manual: update xi:include for configuruation.nix's options-db
joehh has quit [Ping timeout: 268 seconds]
jackdk has joined #nixos
lord| has quit [Quit: WeeChat 2.1]
lord| has joined #nixos
tmaekawa has joined #nixos
<gchristensen> nonononono
<gchristensen> I don't know if I have an account or not.but if I did, I'd vote you up / theirs sdown
<infinisil> I actually voted him down with both of my accounts hah
<infinisil> I'll count this as your downvote
<Xal> infinisil: how to get shadowbanned in one easy step
tmaekawa has quit [Quit: tmaekawa]
<tmplt> I've stumbled upon a very weird problem: geant4.v10_0_2 builds correctly on my Arch Linux system, but on my NixOS system the process will fail to resolve geant4.cern.ch when trying to download some required datasets. The domain resolves correctly with dig(1) however, and if done manually, the data can be downloaded. What could possibly cause this? Both systems use Nix 2.0.
<tmplt> I have no idea how I would find the root cause of this.
<infinisil> Well, I happen to be logged into account A and instinctively downvoted, but I post NixOS replies on account B, so I switched and couldn't not downvote again, I'm not logging into both accounts just to downvote
<Xal> the reddit shadowbanning algo doesn't really care about that though does it? :P
<infinisil> Yeah probably, but I don't think a single instance of voting with the same IP will trigger it
<boomshroom> infinisil: Do you know if the root problem was anything more than being out of date?
<infinisil> boomshroom: No idea, I only left a comment on his issue that he should try updating
<infinisil> And his tone really doesn't make me want to investigate further
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 4.17-rc2 -> 4.17-rc3 »: https://git.io/vpBrD
<infinisil> s/<male pronouns>/<gender neutral pronouns>
<{^_^}> [nixpkgs] @grahamc opened pull request #39700 → WIP: automagically format the docs → https://git.io/vpBrd
<gchristensen> +18,054 −14,766
<infinisil> Whoa, I'm gonna check it out, I just configured my emacs to have this nice nix doc error reporting, even with flycheck
<gchristensen> nice
<infinisil> gchristensen: These kind of lines are still a bit long: https://github.com/NixOS/nixpkgs/pull/39700/files#diff-3d23098a50082e5d3e5ffad2a7c9feb4R49
johnw has quit [Quit: ZNC - http://znc.in]
<infinisil> L58 in doc/quick-start.xml
<aszlig> infinisil: sometimes it's useful to have the store read-write ;-)
<aszlig> for example for testing --repair-path
<infinisil> gchristensen: And the <screen> sections (e.g. L196) in the same file could be better (</screen> on a new line)
<daveo> trying to figure out how to add rubymine, goland, idea-ultimate to my configuration.nix
<gchristensen> infinisil: <link> can't be broken because it adds structural whitespace
<infinisil> aszlig: Heh yeah
<gchristensen> infinisil: same with <screen>, <screen>'s contained whitespace is significant, so it leaves it alone
<infinisil> gchristensen: Oh I see, too bad
<gchristensen> too bad and super cool at the same time: I've spent over a year hoping such a formatter existed :D
<aszlig> gchristensen: what about all those option descriptions?
<gchristensen> aszlig: you mean the ones in the Nix?
<infinisil> gchristensen: Yeah, nice!
<aszlig> in the nix?
aarvar has quit [Ping timeout: 240 seconds]
<gchristensen> aszlig: which option descriptions exactly?
<aszlig> the description attribute of mkOption
<gchristensen> those won't be touched, but luckily they don't contain much XML and aren't very long, so the formatting isn't so necessary
<infinisil> gchristensen: Oh, but couldn't <link>'s be split like <link \n xlink:href="..." \n ><filename>...</filename> ?
<aszlig> which reminds me... i wonder if it makes sense to automatically make \n\s*\n\s*\n a </para><para>...
<gchristensen> probably so
<gchristensen> infinisil: oh, yeah, probably. I dunno, if this is the only problem you can find, I'm not too fussed ;)
<infinisil> Heh yeah, I just noticed these super long lines in emacs, they stand out a lot in a wide window
<aszlig> because i always found it odd to write some </para><para> in the middle somewhere without a <para> at the beginning and </para> at the end
<gchristensen> I agree
<gchristensen> to both points
<clever> aszlig: i once tried to fix that, and wound up breaking tests on hydra
<aszlig> clever: which ones exactly?
<clever> aszlig: i cant remember which one, but i later tracked down the cause
<clever> aszlig: the nixos doc generation wraps every description in a <para>${description}</para>
<clever> and that para tag is not visible in the description script your editing
<aszlig> clever: yeah, that's exactly the point i'm making =)
<gchristensen> this sort of thing would likely require ofborg learning how to check the XML is well formatted ...
<{^_^}> [nixpkgs] @romildo opened pull request #39701 → uget-integrator: init at 1.0.0 → https://git.io/vpBoz
<aszlig> clever: so in order to start a new para you need to do </para><para> inside the description (where the wrapped part is not visible), so i'd do something like <para>${replaceStrings ["\n\n\n"] ["</para><para>"] description}</para> instead
<aszlig> gchristensen: hm, does ofborg try to build the manual?
<clever> aszlig: ive also found that a lot of the special markup just breaks horridly on the site
<clever> aszlig: let me find an example...
<aszlig> because generation of that regularly breaks whenever people add/change options and forget to close a tag or use < somewhere outside of tags
<aszlig> clever: mhm... i know... for example <example/>
<clever> there is another, where they used some markup to do a manpage(3)
<clever> and the entire string vanished on https://nixos.org/nixos/options.html
<clever> which made the doc unreadable
<gchristensen> aszlig: no, unfortunately not, for it requires unverified building
<aszlig> last time i checked it was visible
jackdk has quit [Ping timeout: 256 seconds]
<gchristensen> clever: fixed I think by samueldr :)
<samueldr> pretty sure I did :) (for manpages)
<infinisil> Man page entry in docs? It's as easy as <citerefentry><refentrytitle>openvpn</refentrytitle><manvolnum>8</manvolnum></citerefentry>
* infinisil totally didn't look that up
<clever> 38 The format is described in
<clever> 39 <citerefentry><refentrytitle>systemd.time</refentrytitle>
<clever> 40 <manvolnum>7</manvolnum></citerefentry>.
<clever> The format is described in systemd.time(7).
<clever> it didnt look like that a week ago....
<clever> gchristensen: guess it was fixed
<gchristensen> clever: samueldr is good at "just-in-time" fixes
<samueldr> I fixed it the same day you reported it on IRC
<clever> ah
<samueldr> sneaked it into a PR with misc. docbook fixes for the options page
<clever> i also found this bug today: https://github.com/NixOS/nix/issues/2125
MoreTea has quit [Ping timeout: 240 seconds]
<gchristensen> btw anyone who _likes_ what this PR is doing: https://github.com/NixOS/nixpkgs/pull/39700 •°¯`••please say so••´¯°•
<gchristensen> infinisil, aszlig, samueldr
<clever> +1
b has quit [Quit: Lost terminal]
<gchristensen> (on the issue)
<clever> also +1's that
<gchristensen> thank you! a +18k,-15k patch set isn't going to merge all on its own :P
<clever> i was recently refactoring some haskell code
<clever> then i noticed the PR was up to 100 modified files
<clever> all edited by hand...
<gchristensen> :')
<gchristensen> 18054 + 14766 = 32820 -- maybe if I worked at it, I could get the # of lines changed to equal the PR number
jperras has quit [Ping timeout: 264 seconds]
<clever> lol
schoppenhauer has quit [Ping timeout: 256 seconds]
mkoenig has quit [Ping timeout: 268 seconds]
schoppenhauer has joined #nixos
boxscape has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<aszlig> gchristensen: of course i do, especially because it gets rid of the long lines =)
<gchristensen> same =) also I don't like to have opinions on how code-and-things is formatted
soares has quit [Quit: Page closed]
jackdk has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #39702 → dbeaver: 5.0.3 -> 5.0.4 → https://git.io/vpBKT
joehh has joined #nixos
sellout- has joined #nixos
aarvar has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #39703 → dbeaver: 5.0.3 -> 5.0.4 (18.03) → https://git.io/vpBKt
sellout-1 has quit [Ping timeout: 264 seconds]
jperras has joined #nixos
<{^_^}> [nixpkgs] @urkud opened pull request #39704 → Asymptote: move Emacs Lisp files to an appropriate location → https://git.io/vpBK6
<{^_^}> [nixpkgs] @peterhoeg opened pull request #39705 → unifi: introduce unifiTesting and upgrade unifiLTS and unifiStable → https://git.io/vpBKS
jperras has quit [Ping timeout: 240 seconds]
pie__ has quit [Ping timeout: 260 seconds]
jperras has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
xy2_ has joined #nixos
doyougnu has joined #nixos
Ross has quit [Ping timeout: 260 seconds]
Ross has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #39147 → tox: libtoxcore and assorted tox client updates → https://git.io/vpLXU
<{^_^}> [nixpkgs] @peterhoeg pushed 7 commits to master: https://git.io/vpB6R
<{^_^}> → 15268306 by @peterhoeg: libtoxcore: introduce 0.2.2 in addition to 0.1.11
<{^_^}> → 058df14f by @peterhoeg: ratox: 0.4 -> 0.4.20180303
<{^_^}> → 88454d73 by @peterhoeg: qtox: 1.13.1 -> 1.15.0
maingo has joined #nixos
drakonis has quit [Remote host closed the connection]
<justanotheruser> how do I define entry points in packages?
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1b1be29bf82 (from 28 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<justanotheruser> I am building a python package and the entry point created by setup.py doesn't exist
jperras has joined #nixos
jperras has quit [Ping timeout: 248 seconds]
<adisbladis[m]> justanotheruser: Maybe you could just patch `setup.py`
<justanotheruser> adisbladis: I don't know why setup.py isn't working. It defines an entry ponit, but it's not created
<adisbladis[m]> justanotheruser: Can you paste your expression on some pastebin?
<{^_^}> [nixpkgs] @aszlig closed pull request #28593 → Turn boot.kernelParams into an attribute set → https://git.io/v53LA
<adisbladis[m]> Oh you are trying to package your own stuff.. Is the source available somewhere?
Rusty1_ has quit [Quit: Konversation terminated!]
cryp2nomicon has quit [Quit: leaving]
cryp2nomicon has joined #nixos
<justanotheruser> nope, sorry
<justanotheruser> I just am not sure why it won't create the entry point. There's no error
cryp2nomicon has quit [Client Quit]
cryp2nomicon has joined #nixos
<justanotheruser> I'll ask the python channel for python packages that have entry points
MercurialAlchemi has joined #nixos
Guanin has quit [Ping timeout: 248 seconds]
MercurialAlchemi has quit [Client Quit]
doyougnu has quit [Ping timeout: 240 seconds]
MercurialAlchemi has joined #nixos
aither has joined #nixos
sir_guy_carleton has joined #nixos
robstr has joined #nixos
jperras has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jperras has quit [Ping timeout: 260 seconds]
<sir_guy_carleton> hello
<boomshroom> sir_guy_carleton: Hi!
<sir_guy_carleton> i'm having trouble setup my printer
<sir_guy_carleton> i use hp setup, but it says the ppd isn't there
<sir_guy_carleton> when it is there
<boomshroom> sir_guy_carleton: Printers are always a pain. I've been using my phone for printing recently.
<sir_guy_carleton> it worked with my previous linux install, so it should work here
<sir_guy_carleton> it just doesn't recogize the ppd
<sir_guy_carleton> here's the debug message
<sir_guy_carleton> hp-setup[4540]: debug: No PPD found for model laserjet_mfp_m129-m134 using new algorithm. Trying old algorithm...
<sir_guy_carleton> debug: 1st stage edit distance match
<sir_guy_carleton> debug: Determining edit distance from laserjet_mfp_m129-m134 (only showing edit distances < 4)...
<cryp2nomicon> wtf
<sir_guy_carleton> debug: Min. dist = 9223372036854775807
ilyaigpetrov has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to master « go-ethereum: 1.8.3 -> 1.8.6 »: https://git.io/vpBXI
jackdk has quit [Ping timeout: 248 seconds]
jrolfs_ has joined #nixos
rauno has joined #nixos
worldofpeace has quit [Ping timeout: 260 seconds]
griff_ has joined #nixos
hyper_ch2 has joined #nixos
rauno has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #39706 → ocaml: default to 4.04 on aarch64 (since 4.05 is broken there) → https://git.io/vpBX5
xy2_ has quit [Ping timeout: 260 seconds]
periklis has joined #nixos
hamishmack has joined #nixos
furon has quit [Quit: Connection closed for inactivity]
sir_guy_carleton has quit [Quit: Leaving]
jethroksy has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #39674 → dehydrated: 0.6.1 -> 0.6.2 → https://git.io/vpBUn
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/vpB1F
<{^_^}> → 2085b88c by Philipp Steinpass: dehydrated: 0.6.1 -> 0.6.2
<{^_^}> → e96dc327 by @pSub: Merge pull request #39674 from pstn/dehydrated-bump
MP2E has quit [Remote host closed the connection]
griff_ has quit [Ping timeout: 264 seconds]
coot has joined #nixos
niorrr has joined #nixos
Tucky has joined #nixos
ylwghst has joined #nixos
reinzelmann has joined #nixos
bennofs has joined #nixos
<niorrr> hello
<niorrr> what do i need to do to get command-not-found to work?
<{^_^}> [nixpkgs] @Mic92 merged pull request #39702 → dbeaver: 5.0.3 -> 5.0.4 → https://git.io/vpBKT
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpBDO
<{^_^}> → d0c8bf86 by @samueldr: dbeaver: 5.0.3 -> 5.0.4
<{^_^}> → f5dd1b28 by @Mic92: Merge pull request #39702 from samueldr/dbeaver/5.0.4
<niorrr> .enable=true isn't cutting it
<{^_^}> [nixpkgs] @Mic92 merged pull request #39703 → dbeaver: 5.0.3 -> 5.0.4 (18.03) → https://git.io/vpBKt
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/vpBDs
<{^_^}> → fd6d3609 by @samueldr: dbeaver: 5.0.3 -> 5.0.4
<{^_^}> → 27c6eaa4 by @Mic92: Merge pull request #39703 from samueldr/dbeaver/18.03/5.0.4
<etu> niorrr: It's default value is true
<etu> niorrr: What command are you testing with?
<etu> That you want it to respond to
<{^_^}> [nixpkgs] @Mic92 merged pull request #36572 → gperftools: 2.6.1 -> 2.6.3 → https://git.io/vAxWt
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vpBDW
<{^_^}> → 88d34b1d by @ryantm: gperftools: 2.6.1 -> 2.6.3
<{^_^}> → 6a560f49 by @Mic92: gperftools: suppress compilation warning on macOS
<{^_^}> → d9684a2a by @Mic92: Merge pull request #36572 from ryantm/auto-update/gperftools
<{^_^}> [nixpkgs] @iitalics opened pull request #39707 → Properly put bspwm process in the background in module → https://git.io/vpBDB
Guanin has joined #nixos
<niorrr> any package i dont have yet, e.g. firefox, lspci
<etu> niorrr: Are you on NixOS?
<niorrr> yes
<etu> Do you have this file: /nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite ?
<etu> In your filesystem
<niorrr> no
<etu> Ok, that's the default path of the database that command-not-found uses to do the lookups for packages
<niorrr> right.
<niorrr> am i supposed to generate it manually?
<etu> What's the output of: sudo nix-channel --list ?
<niorrr> oh its empty
<etu> Are you running unstable or stable?
<etu> If you add a channel by the name nixos there, that file should be available and command-not-found should work
<etu> Even if you run a local checkout of nixpkgs for your system it's quite nice to have a channel added just for cases like this :)
<niorrr> if i login as root i have a nixos channel but it still gives me one line messages
<{^_^}> [nixpkgs] @dotlambda merged pull request #39693 → rclone: 1.40 -> 1.41 → https://git.io/vpB2k
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vpBDi
<{^_^}> → 84164379 by @danielfullmer: rclone: 1.40 -> 1.41
<{^_^}> → 463dbec9 by @dotlambda: Merge pull request #39693 from danielfullmer/rclone-1.41
<niorrr> i was tring to have a local nixpkgs before but im not sure if i set it up correctly
<etu> yeah, nix-channel is user specific. And that file is located in the root's channels. Which is where the system uses it's packages from as default if you don't override that. That's why I asked you to run in with sudo :)
<niorrr> right. but as root i get one-line error messages when typing missing commands, is this expected?
<etu> What does the message say?
<niorrr> xyz: command not found
<etu> hmm, that's not right. If i try to run chromium (which I don't have). I get this:
<etu> The program ‘chromium’ is currently not installed. You can install it by typing:
<etu> nix-env -iA nixos.chromium
jperras has joined #nixos
Izorkin has quit [Ping timeout: 268 seconds]
asuryawanshi has quit [Remote host closed the connection]
<niorrr> i may just need to --update, let me see if that works
asuryawanshi has joined #nixos
daveo has quit [Remote host closed the connection]
niorrr has quit [Quit: WeeChat 2.0]
jperras has quit [Ping timeout: 240 seconds]
niorrr has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
jrolfs_ has quit [Ping timeout: 248 seconds]
<niorrr> nix-channel --update and reboot seemed to get it to work
<niorrr> thanks! :)
jrolfs_ has joined #nixos
rauno has joined #nixos
xAFFE has joined #nixos
tertle||eltret has quit [Quit: Connection closed for inactivity]
selaux has joined #nixos
thc202 has joined #nixos
jrolfs_ has quit [Ping timeout: 260 seconds]
i-am-the-slime has joined #nixos
i-am-the-slime has quit [Client Quit]
niorrr has quit [Ping timeout: 240 seconds]
semilattice has joined #nixos
<semilattice> Any way to have usable tabs with surf? I want to use it to browse a specific website but there doesn't seem to be a good way to have features like opening a link in another tab
paraseba has quit [Ping timeout: 265 seconds]
boomshroom has quit [Quit: WeeChat 2.0]
<semilattice> I guess that's not the way though
jperras has joined #nixos
smaret has joined #nixos
joehh has quit [Ping timeout: 268 seconds]
<smaret> Hi there -- newbie question: where can I find a list of variables such as $out ?
<smaret> I'm looking for the variable that contains the full path of the build directory of a given package.
jperras has quit [Ping timeout: 260 seconds]
goibhniu has joined #nixos
fendor has joined #nixos
paraseba has joined #nixos
ckauhaus has joined #nixos
jethroksy has quit [Ping timeout: 248 seconds]
periklis has quit [Ping timeout: 256 seconds]
asuryawanshi has joined #nixos
paraseba has quit [Ping timeout: 255 seconds]
semilattice has quit [Ping timeout: 276 seconds]
asuryawanshi has quit [Remote host closed the connection]
<zybell_> smaret: . or $(pwd) . Or do you need the *install* dir?
<{^_^}> [nixpkgs] @peterhoeg pushed to master « grc: 1.11.1 -> 1.11.3 »: https://git.io/vpBHG
asuryawanshi has joined #nixos
coot has quit [Read error: Connection reset by peer]
Jetien has joined #nixos
coot has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #39704 → Asymptote: move Emacs Lisp files to an appropriate location → https://git.io/vpBK6
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vpBHV
<{^_^}> → d207e043 by Yury G. Kudryashov: asymptote: move Emacs Lisp files to $out/share/emacs/site-lisp/asymptote/
<{^_^}> → 9b70630b by @7c6f434c: Merge pull request #39704 from urkud/asymptote-emacs
paraseba has joined #nixos
regulus_ has joined #nixos
hakujin has joined #nixos
__Sander__ has joined #nixos
<ertes> is there a way to tell 'nix search' to shut the f… be quiet about using the cache? it says "warning: using cached results; pass '-u' to update the cache" for literally every search, even if i just updated the cache
fendor has quit [Ping timeout: 276 seconds]
hakujin has quit [Ping timeout: 240 seconds]
<ertes> the message is completely useless anyway, because it only reflects my choice of command line flags and has nothing to do with the state of the cache
<etu> ertes: It would be nice if the cache could know which version of nixpkgs that was cached and which one that is current or something...
<etu> Or generation
<ertes> yeah, that would be more useful
<etu> "warning: you have an old generation of nixpkgs cached"
<smaret> @zybell_: thanks, $(pwd) is what I was looking for. Is this is the doc somewhere?
<etu> smaret: That's not a variable, it's running the command pwd in a subshell ;)
<{^_^}> [nixpkgs] @7c6f434c merged pull request #39416 → .version: don't read from `.version` and deduplicate `.version-suffix` references → https://git.io/vpZ6K
<{^_^}> [nixpkgs] @7c6f434c pushed 5 commits to master: https://git.io/vpBQl
<{^_^}> → 9f2b67d8 by @Ma27: Revert ".version: remove final newline"
<{^_^}> → f66cdc71 by @Ma27: osquery: use `stdenv.lib.nixpkgsVersion`
<{^_^}> → 39909289 by @Ma27: lib: deduplicate version/suffix references
<zybell_> the problem is: not using -u doesnt allow network to nixpkgs, without network no tell if sb has updated nixpkgs in meantime. Although the whole history of git is available locally,therefore a median commit time distance could be calculated,possibly a trend too,and the probability of such a commit could be calculated.A trained statistician could say more to that;-)
<etu> zybell_: Oh, I didn't know that it used network. I thought it used the local nixpkgs.
<zybell_> the local *is* the cache
<etu> zybell_: No, local as in nixpkgs that you have from your channel.
<zybell_> yeah
<zybell_> as in git pull
<zybell_> I cant verify right now but afaik nixpkgs is a git repo.
<zybell_> and your channel is a remote branch
<Taneb> Is there a way to get a package in the nix store into my environment if I don't know/have an attribute for it?
<etu> I just have a hard time that running "nix search -u" as my normal user does a "sudo nix-channel --update" in the background :p
<etu> That doesn't make sense at all
<Taneb> So, I built someothing on one computer and copied the closure to another computer, and I want to get its bins in $PATH etc
<{^_^}> [nixpkgs] @xeji closed pull request #39668 → [release-18.03] slurm: Fix CVE-2018-7033 → https://git.io/vp4NA
Jetien_ has joined #nixos
<zybell_> that nix-channel --update is the git pull channel to update your cache to make the results accurate! You can leave out the -u to get a warning to the fact that the results are faster but less accurate.
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/27c6eaa48d9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
MichaelRaskin has quit [Quit: MichaelRaskin]
Jetien has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #39684 → notary: fix build → https://git.io/vpBBC
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpB7E
<{^_^}> → 69d4bdc5 by @xeji: Merge pull request #39684 from Ma27/fix-notary
<{^_^}> → 6a32965e by @Ma27: notary: fix build
<{^_^}> [nixpkgs] @frontsideair opened pull request #39708 → flow: 0.70.0 -> 0.71.0 → https://git.io/vpB7K
<Taneb> Ah, nix-env -i [path to store] worked
civodul has joined #nixos
smaret has left #nixos [#nixos]
Guest16581 has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #39667 → [release-17.09] slurm: Fix CVE-2018-7033 → https://git.io/vp4NF
<{^_^}> [nixpkgs] @xeji pushed 2 commits to release-17.09: https://git.io/vpB7b
<{^_^}> → 1daa4050 by @veprbl: slurm: Fix CVE-2018-7033
<{^_^}> → 68fe8c98 by @xeji: Merge pull request #39667 from veprbl/pr/release-17.09/CVE-2018-7033
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sir_guy_carleton has joined #nixos
hamishmack has joined #nixos
Guest16581 has quit [Quit: WeeChat 2.0]
MercurialAlchemi has quit [Ping timeout: 264 seconds]
oida has quit [Remote host closed the connection]
fendor has joined #nixos
oida has joined #nixos
paraseba has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/vpBFc
<{^_^}> → dbcdcb63 by @peterhoeg: quaternion: 0.0.5 -> 0.0.9
<{^_^}> → 9786bd06 by @peterhoeg: libqmatrixclient: 0.2 -> 0.2.1
reinzelmann has quit [Ping timeout: 255 seconds]
Izorkin has joined #nixos
jrolfs_ has joined #nixos
reinzelmann has joined #nixos
MercurialAlchemi has joined #nixos
paraseba has joined #nixos
blankhart has quit [Ping timeout: 240 seconds]
till_ has joined #nixos
aarvar has quit [Quit: Leaving.]
till_ has quit [Client Quit]
<Myrl-saki> error: hash mismatch importing path '/nix/store/axbqkh3ax1axlvrsdzsv751d5ajcclsf-ghc-8.0.2'; expected hash 'sha256:14rl6yfnxzy44mks70j520wi821qafm32kw2h4lmw4zcfhscm90v', got 'sha256:0zxfpvpxaaabaz5aa6mgvjxn2qzma969cl8id1izylng4g0g67g0'
<Myrl-saki> What do?
Mateon3 has joined #nixos
<tfc[m]> hi there. i am trying to write a nix expression that builds a cmake c++ project. but i need to add a -DBLA=123 parameter to the `cmake` invocation. I am currently a bit lost on how to do that. google didn't help me out much either. any pointers what to do or where to read what to do?
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
jperras has joined #nixos
<vaibhavsagar> I tried enabling virtualisation.virtualbox.guest but it's complaining that 'ConditionVirtualization=oracle is not met'
<vaibhavsagar> has anyone seen this before and how do I fix/work around it?
jrolfs_ has quit [Ping timeout: 264 seconds]
simukis has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
aarvar has joined #nixos
<symphorien> tfc[m]: use cmakeFlags iirc
jrolfs_ has joined #nixos
<tfc[m]> symphorien: just found that in the build-managers/cmake nix expr thx
<zybell_> vaibhasvagar:I think that is a setting *in* the vm.
<zybell_> vaibhavsagar:^ sorry
<vaibhavsagar> I don't understand
<vaibhavsagar> I deployed a VM with NixOps
<{^_^}> [nixpkgs] @Ma27 opened pull request #39709 → nixos/osquery: add test → https://git.io/vpBpb
<Myrl-saki> How do I force hash mismatch?
<vaibhavsagar> so I would expect that to work correctly
<Myrl-saki> I mean
<Myrl-saki> gah
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/68fe8c9862c (from 72 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<vaibhavsagar> Myrl-saki: use the hash that the error message indicates is the correct hash
jrolfs_ has quit [Ping timeout: 248 seconds]
<Myrl-saki> vaibhavsagar: how
<Myrl-saki> There's no setting for --import
<vaibhavsagar> Myrl-saki: what are you doing that is giving you this error?
<zybell_> Do the export again
<zybell_> maybe its truncated
<Myrl-saki> zybell_: I took the sha256sum
<Myrl-saki> Of the gzip
jrolfs_ has joined #nixos
<Myrl-saki> Let me jgunzip then sha256sum
<adisbladis[m]> dtz: Ping?
<zybell_> never of compressed
<vaibhavsagar> Myrl-saki: do a nix-prefetch-url --unpack
<Myrl-saki> vaibhavsagar: I just deleted the path.
<Myrl-saki> I'm doing a --import.
<Myrl-saki> Don't know why there was an already-seeking path.
jrolfs_ has quit [Ping timeout: 240 seconds]
pie__ has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/27c6eaa48d9 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
fendor has quit [Ping timeout: 240 seconds]
<tfc[m]> symphorien: i am nearly at my destination. last thing is that i need to copy specific files into $out, in addition to what the `make install` does in this cmake project. i am reading through the nix files in build-managers, but i am a bit lost i must say. any idea?
silver has joined #nixos
<symphorien> postInstall = "cp blah $out" ; for example
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<tfc[m]> symphorien: oh that looks great. can you tell me where this is actually defined to i can gain some maturity in finding out such things myself next time?
spear2 has quit [Quit: Leaving]
<symphorien> I don't know. The internals of nixpkgs are really intricate. But postInstall is probably refered to in the nixpkgs manual. If you haven't done so yet, I advise you to at least skim into the three manuals of nix, nixpkgs, and nixos if relevant for you. You will know when such helpers exist, then
<srhb> tfc[m]: Here, specifically: https://nixos.org/nixpkgs/manual/#ssec-install-phase
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/68fe8c9862c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<{^_^}> [nixpkgs] @sephalon opened pull request #39711 → luafilesystem: 1.6.3 -> 1.7.0 → https://git.io/vpRvx
<LnL> yeah the manual describes most of the hooks available in the stdenv
jrolfs_ has joined #nixos
bgamari has quit [Ping timeout: 260 seconds]
Izorkin has joined #nixos
aarvar has quit [Quit: Leaving.]
jrolfs_ has quit [Ping timeout: 264 seconds]
<tfc[m]> LnL: symphorien you are right. i read the relevant manual some time ago but then i got lost in the cmake details and forgot what i should have known already. sry
bgamari has joined #nixos
jrolfs_ has joined #nixos
maingo has quit [Quit: Connection closed for inactivity]
Ariakenom has quit [Ping timeout: 248 seconds]
fendor has joined #nixos
jrolfs_ has quit [Ping timeout: 240 seconds]
sir_guy_carleton has quit [Quit: Leaving]
<sphalerite> (emacs, nix-buffer) So I've got a dir-locals.nix that allows me, with nix-buffer, to call `cargo run` using M-!. It doesn't work with cargo mode yet though. What might be missing?
<sphalerite> shlevy: as the author of nix-buffer you get a dedicated ping for this one :p
<sphalerite> infinisil: I think you use nix-buffer too?
<infinisil> Nope, i decided it would be the easiest just to run emacs in a nix shell
<sphalerite> aww
<sphalerite> but my buffers!
<infinisil> sphalerite: actually, maybe it would be easiest to always run emac in a single nix shell, one which contains all the libraries and stuff you're gonna need with all your rust packages, then you never have to bother with that problem
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/vpRTk
<{^_^}> → d5eef36a by @NeQuissimus: linux: 4.4.129 -> 4.4.130
<{^_^}> → 24a7d14a by @NeQuissimus: linux: 4.9.96 -> 4.9.97
<{^_^}> → 6cbded65 by @NeQuissimus: linux: 4.14.37 -> 4.14.38
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.4.129 -> 4.4.130 »: https://git.io/vpRTt
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.9.96 -> 4.9.97 »: https://git.io/vpRTY
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.14.37 -> 4.14.38 »: https://git.io/vpRT3
<sphalerite> infinisil: I work on many many projects and usually don't go that deep though. So I often find myself needing new stuff
<infinisil> Not sure I understand that
fendor has quit [Ping timeout: 240 seconds]
<LnL> wow, pipenv is slow
<sphalerite> ls ~/projects | wc -l
<sphalerite> 211
<sphalerite> infinisil: that ^
Ariakenom has joined #nixos
<infinisil> sphalerite: yeah, but you just need pkgconfig and maybe openssl and a couple other system libraries, all pure rust dependencies work just fine without nix shell
<sphalerite> (also, I wasn't expecting it to bethat many o.O)
<sphalerite> infinisil: I don't work only with rust :)
<infinisil> And the problem is? I think nix-shell in nix-shell should work
<sphalerite> I want a single long-lived emacs instance though
<sphalerite> so I don't lose all my buffers
patrl has joined #nixos
<infinisil> Yeah, you rarely need additional system libraries
emph has joined #nixos
emph has quit [Client Quit]
<infinisil> It might even be possible to create a nix-shell with all crates system library dependencies so you can build every single crate in it
<sphalerite> I suppose I could put together a massive env with rust, all the X libraries, both SDLs, GTK, Qt, etc
nhh^ has joined #nixos
<sphalerite> and curses, flex, bison, libpng and friends, sqlite, …
<infinisil> Yeah exactly, you'll have a single nix-shell running emacs that already has everything you frequently use
<sphalerite> which is why I want to use nix-buffer
<sphalerite> oh and for haskell, there's a lot of different libraries there too :/
<sphalerite> not sure how well this would work
<infinisil> Stack handles nix-shell automatically
<sphalerite> I have to admit I've never really used stack :p
<infinisil> Well whatever works best for you, i just don't want any additional nix related setup problems, and running emacs in nix-shell seems the easiest way to avoid those
waleee has joined #nixos
xcmw has joined #nixos
badi has quit [Quit: WeeChat 1.9.1]
pxc has joined #nixos
pxc has quit [Client Quit]
jrolfs_ has joined #nixos
jrolfs_ has quit [Ping timeout: 256 seconds]
<sphalerite> infinisil: actually if I'm going to go for "put all the deps together" it's probably better not to use nix-shell, but to build a profile with them. That way I can update it without restarting emacs
<sphalerite> and set stuff like PKG_CONFIG_PATH in my emacs config
<infinisil> Ah yeah, nice
orivej has quit [Ping timeout: 264 seconds]
ylwghst has quit [Ping timeout: 240 seconds]
dbe_ has joined #nixos
jrolfs_ has joined #nixos
jethroksy has joined #nixos
<jethroksy> hi, my computer died in the middle of a `nix-channel --update`, and now everything's broken, has anyone faced this before, and know a good fix?
<srhb> jethroksy: Are you able to remove and recreate the channel?
<jethroksy> this is what I see now: https://pastebin.com/YMYZ63bN
<dbe_> I created an overlay, added a package which puts a binary in $out/usr/sbin. Then I did a "nix-shell -p <pkg>". But my package is not in my $PATH. What am I missing?
<jethroksy> srhb: no, nix-env looks broken or something
<srhb> jethroksy: Ouch.. Are you able to use rollback with nix-env?
<sphalerite> jethroksy: try nix-store --verify --check-contents --repair
<sphalerite> dbe_: only $out/bin is added to the search path
<sphalerite> dbe_: try getting the package to put it there, and if that's too difficult, make a symlink
<dbe_> sphalerite, ah ok, ty!
seanparsons has quit [Read error: Connection reset by peer]
jperras has joined #nixos
<jethroksy> sphalerite: thanks, I tried it, most couldn't be repaired: https://pastebin.com/CDhn4bwJ
<jethroksy> srhb: no, nix-env doesn't function properly
<jethroksy> I guess I could try rolling back a generation
<sphalerite> yeah try sudo nix-channel --rollback
<srhb> I think that's probably the easiest course of action without manually clearing out the broken envs.
<sphalerite> then nix-env should start working again
ckauhaus has quit [Quit: Leaving.]
<dbe_> sphalerite, do you know if this is documented somewhere? I'm now wondering about approximately the same question, but about man pages.
<sphalerite> srhb: AFAIU nix-env itself is fine,just that the nixpkgs it's trying to evaluate is broken
<srhb> sphalerite: Yeah, I see it. :)
<srhb> Problem is that rollbacks generally rely on nix-env.
<sphalerite> but nix-env shouldn't need to evaluate nixpkgs for a rollback…
<sphalerite> dbe_: the search path thing?
<jethroksy> rollback worked! awesome thanks a lot (:)
<srhb> \o/
<sphalerite> dbe_: right, yes, got a bit confused by the parallel discussions
jrolfs_ has quit [Ping timeout: 264 seconds]
<sphalerite> dbe_: $out/share/man unless the package has a man output, in which case $man/share/man
<sphalerite> not sure about the docs
<dbe_> sphalerite, cool! great help, thanks a bunch.
jperras has quit [Ping timeout: 260 seconds]
<dbe_> sphalerite, aah right! great!
<sphalerite> dbe_: it doesn't explain how the search path adding works though :/
raynold has joined #nixos
seanparsons has joined #nixos
<{^_^}> [nixos-homepage] @edolstra merged pull request #214 → nixos/packages: fix maintainer listing (they are no longer strings) → https://git.io/vpl9w
<{^_^}> [nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/vpRtV
<{^_^}> → 008b7ee3 by @eqyiel: nixos/packages: fix maintainer listing (they are no longer strings)
<{^_^}> → b09f93f2 by @edolstra: Merge pull request #214 from eqyiel/fix-maintainer-listing
qknight has joined #nixos
johnhamelink has quit [Ping timeout: 276 seconds]
<qknight> hey. what is the correct link to the hydra build artefacts for release 18.03?
<qknight> i want to see if the software nixos.perlPackages.Razor2ClientAgent builds there
Freneticks has joined #nixos
<dbe_> sphalerite, no, but there is an incredible amount of magic involved in nix for me at the moment; I'm still learning how to do pretty basic stuff.
<dbe_> And yet I'm several months into this now. Not sure if thats mostly a reflection of me, or of nix.
<sphalerite> Yeah, there is a fair bit to cover :)
freeman42x]NixOS has joined #nixos
seanparsons has quit [Read error: Connection reset by peer]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nixos
jrolfs_ has joined #nixos
seanparsons has joined #nixos
patrl has quit [Ping timeout: 240 seconds]
jrolfs_ has quit [Ping timeout: 255 seconds]
patrl has joined #nixos
<zybell_> sphalerite:could nix-env get a failsafe:a backup channel that is used if the main channel fails (syntax error and such) and is only updated from main channel *after* all could correctly evaluate?
<sphalerite> zybell_: I think this is more a matter of just calling fsync before updating the profile link. I'm surprised this even happened for jethroksy
jrolfs_ has joined #nixos
ThatDocsLady has joined #nixos
<qknight> srhb: in that link you gave me, how to search for nixos.perlPackages.Razor2ClientAgent now?
lord| has quit [Quit: WeeChat 2.1]
<srhb> qknight: I don't think it's there.
<zybell_> I think his case was unfortunate timing,but I thought about new elements in lang without update to understand,ENOSPC on channel update and other 'real' corruptions.
<sphalerite> zybell_: ENOSPC will prevent updating a channel, but not cause corruption.
<qknight> srhb: yeah, since it does not build and maybe it not being there shows that?
<srhb> qknight: Unfortunately I don't think you can conclude that.
<sphalerite> qknight: everything that's *supposed* to be build should be on that list, regardless of whether it actually builds or not.
<sphalerite> AFAIU.
jrolfs_ has quit [Ping timeout: 240 seconds]
<sphalerite> s/be //
<qknight> so why are there no perlPackages?
<qknight> or why are there only 14 perl references in a 24000 list of packages?
<qknight> there are 1772 references to pythonPackages
blankhart has joined #nixos
<sphalerite> qknight: it seems that they're just not included in the jobset
<qknight> really?
<srhb> Probably no recurseIntoAttrs on perlPackages I guess.
<sphalerite> qknight: I'm guessing only the transitive deps of stuff that is included will be build by hydra
<sphalerite> qknight: yep. See pkgs/top-level/release.nix
<{^_^}> [nixpkgs] @sephalon opened pull request #39713 → pcsc-scm-scl011: clean up unpack phase → https://git.io/vpRYU
<hyper_ch2> perl is still a thing?
<zybell_> not in the blatant way, when no space already at begin.or during update.but at the end,when the really used files are checked out *and* one of that is larger than 1 alloc unit (4k?)?
<srhb> hyper_ch2: You use nix and ask that question? :P
<srhb> hyper_ch2: Even though I suppose we're less souped into it with Nix 2.0
<hyper_ch2> srhb: yes, why? :)
<sphalerite> zybell_: the completion is still atomic
<srhb> hyper_ch2: A whole lot of the ecosystem is perl :)
<sphalerite> hyper_ch2: half of nix 1.11.x was perl.
<srhb> hyper_ch2: Hydra, for instance, is mostly perl.
<hyper_ch2> nah, it's all nix :)
<sphalerite> hyper_ch2: hydra is perl.
<hyper_ch2> :)
coot has quit [Quit: coot]
<qknight> anyway, i need perl to be working
<sphalerite> zybell_: the final operation is setting /nix/var/nix/profiles/per-user/root/channels to point to channels-$n-link, which is atomic. So as long as changes have been synced correctly, it will never be corrupted
<sphalerite> qknight: perl itself, along with a number of perl packages, are transitive dependencies of stuff that is included in the jobset, so you should be safe :)
<zybell_> tbf:hyper probably doesnt use hydra except remote.
<sphalerite> but I'm pretty sure he knows what hydra is :)
<srhb> I think they were mostly being facetious. :)
<sphalerite> hyper_ch2 being facetious? whaaaaat that's completely unheard of
<{^_^}> [nixpkgs] @sephalon opened pull request #39714 → open-ecard: init at 1.2.4 → https://git.io/vpRYz
<zybell_> but how its implemented?
<qknight> nixcloud.email fails because of perl not working in nixpkgs
<qknight> and since ExtUtils-MakeMaker > 7.x is bundled with perl i doubt that any package using it works in nixpkgs ATM
<qknight> but i can't know since hydra did not build any perl packages
jperras has joined #nixos
<hyper_ch2> sphalerite: facetious? I don't know that word
<hyper_ch2> hydra is a beast from the greek mythology
<srhb> hyper_ch2: "treating serious issues with deliberately inappropriate humour; flippant." :-)
<hyper_ch2> and it's one of the nemsises in the Marvel Universe
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/bafd695ca29 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
ThatDocsLady has quit [Quit: Leaving]
<hyper_ch2> if me remembers correctly, hercules killed the hydra
jrolfs_ has joined #nixos
<srhb> hyper_ch2: I believe that's where Domen got the idea for the name for HerulesCI ;)
<srhb> Hercules*
<hyper_ch2> I have to rewatch that 90s Hercules series again :)
jrolfs_ has quit [Ping timeout: 265 seconds]
bennofs has quit [Quit: WeeChat 2.0]
jrolfs_ has joined #nixos
<sphalerite> https://github.com/NixOS/nixpkgs/issues/28116 Could someone close this? It's fixed
<sphalerite> thanks!
<gchristensen> :)
<sphalerite> gchristensen: do you have a highlight for "someone"? :p
<srhb> gchristensen highlights [a-z]* like a boss
xcmw has quit [Ping timeout: 255 seconds]
<gchristensen> srhb++
jrolfs_ has quit [Ping timeout: 264 seconds]
xcmw has joined #nixos
<sphalerite> FWIW I'm chasing down all the issues and PRs I've commented on (not just in nixpkgs) using https://github.com/pulls?q=is%3Aopen+commenter%3Alheckemann+archived%3Afalse
<vaibhavsagar> hey, I'm trying to set up distributed builds
blankhart has quit [Ping timeout: 260 seconds]
<vaibhavsagar> but I'm getting the error about the path lacking a valid signature
<vaibhavsagar> how would I fix this?
<vaibhavsagar> it seems like the remote builder doesn't trust my local machine
<gchristensen> your machine needs to connect as a "trusted-user"
<sphalerite> that or you need signatures all around
ericsagnes has joined #nixos
trevorriles[m] has joined #nixos
<sphalerite> nix-store --generate-binary-cache-key + secret-key-files in nix.conf + nix sign-paths --all to apply it retroactively
<sphalerite> (although you may not want to do that last bit since not all your paths were built locally!)
nick_l has joined #nixos
<vaibhavsagar> is there another way?
<sphalerite> I don't think so. Why can't you do etiher of those?
<vaibhavsagar> I want this for a workshop where mac users use my VPS as a remote builder
orivej has joined #nixos
<vaibhavsagar> but it looks like I can add public keys to my configuration.nix under trusted-public-keys and it should work?
<sphalerite> err yes, that's the bit that was missing from my inttructiosn
<sphalerite> but it's basically equivalent to making the owner of that key a trusted user
<vaibhavsagar> oh, but then everyone needs to generate a signing key
<vaibhavsagar> ?
<sphalerite> yes
<vaibhavsagar> I thought this was SSH public keys
<sphalerite> no
<vaibhavsagar> okay, fair enough
<srhb> vaibhavsagar: fwiw the use case you're describing is really more Hydra-like.
<vaibhavsagar> srhb: it's just for a workshop
* srhb nods
<vaibhavsagar> not long-term
<sphalerite> Oh, one more option, I think, although it's not nix remote builds proper, is building with --store ssh-ng://user@vps
<sphalerite> I'm also not 100% sure if it works, but that would remove the need to trust the users not to upload malicious paths
<gchristensen> vaibhavsagar: when is your workshop?
<vaibhavsagar> not too long to go, I am sadly underprepared
<vaibhavsagar> but I only just realised I have access to my mum's mac while I'm back home, which is why I'm doing this now
<gchristensen> oh cool
ihar has joined #nixos
<nick_l> How do I make echo $SSH_AGENT_SOCK return something non-empty? I enabled the agent via the programs.ssh.* option.
<sphalerite> nick_l: you mean SSH_AUTH_SOCK?
asuryawanshi has quit [Ping timeout: 255 seconds]
<nick_l> sphalerite: no, I don't think I meant that. I basically want to ssh into another machine and have it use my agent credentials, such that I don't leave my keys around everywhere.
<sphalerite> nick_l: For making the SSH agent work, SSH_AUTH_SOCK is the name of the variable. Try ssh-add -l to see if your agent is weorking
<sphalerite> nick_l: then you just need to use ssh with -A
<sphalerite> for agent forwarding (although note that you're still putting a lot of trust in the host you're accessing, almost as if you kept your keys there anyway)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39715 → zookeeper: 3.4.11 -> 3.4.12 → https://git.io/vpRZU
<nick_l> sphalerite: The agent has no identities. Can I add those identities also via configuration.nix?
<nick_l> sphalerite: or only via -A?
<gchristensen> anyone around really familiar with licensing? I don't know how to mark the license for a new package.
<sphalerite> nick_l: no, you have to add them with ssh-add
<nick_l> sphalerite: those are not persistent, right?
<nick_l> sphalerite: i.e. needs to be added to shell init?
<simpson> gchristensen: Link?
<sphalerite> nick_l: it persists for the lifetime of the agent
<sphalerite> nick_l: or you can enable the AddKeysToAgent option in your ssh config, that way it will add the key to the agent when you try to use it and type the password
<gchristensen> simpson: how about I send you the LICENSE? the web page doesn't specify what its license is
rauno has quit [Ping timeout: 260 seconds]
<simpson> gchristensen: Sure. Link? Wormhole?
<sphalerite> gchristensen: my approach for that is usually hash the file and google the hash :p
<gchristensen> it isn't a bog standard license, it has a rider
<sphalerite> at least my first attempt
<{^_^}> [nixpkgs] @nlewo opened pull request #39716 → dockerTools.buildImageWithNixDb: simplifications → https://git.io/vpRZG
<sphalerite> oh
peacememories has joined #nixos
<simpson> gchristensen: A decade ago, it might have been appropriate to give this person the benefit of the doubt and write that the rider is 2-clause BSD. These days, I can't help but think that it's gonna be easier to reach out to Mr. Cameron and ask for a relicense.
<simpson> But yeah, that's a hilarious mess.
<gchristensen> can I just mark it "free" with a link to the file?
<simpson> I dunno, I'm not the Foundation's lawyer. (Or a lawyer at all.)
<gchristensen> software licensing is complicated
jrolfs_ has joined #nixos
dvim has quit [Quit: WeeChat 2.1]
<vaibhavsagar> can someone walk me through trusted-user again?
<sphalerite> vaibhavsagar: it's a user who practically has write access to the store (although mediated through the daemon)
<gchristensen> vaibhavsagar: are you going to make a VPS specific for this day, and will each person get their own account, or will they share one, like 'demo@...'
<vaibhavsagar> good question!
<vaibhavsagar> say I already have one for the VPS
<vaibhavsagar> and I'm planning to create a 'builder' account for the workshop
<vaibhavsagar> but I would need to share the private key with each participant?
dvim has joined #nixos
<vaibhavsagar> and add the public key to my 'trusted-public-keys'?
<gchristensen> they would need to be able to SSH in to it, so you'd either need to share your private key, or get all participant's public keys ahead of time
<sphalerite> yes, or mark the builder user as a trusted user
jrolfs_ has quit [Ping timeout: 260 seconds]
<gchristensen> we're all confusing the Nix signing public/private keys and the SSH public/private keys
<vaibhavsagar> sorry, what
<sphalerite> oh yeah and get the participants' public keys >_>
<zybell_> gchristensen:its 3clause bsd with a library that is 2clause bsd,the library is included as source is all.
<zybell_> look at the copyright date of the included lib. pretty standard for that time.
orivej has quit [Ping timeout: 240 seconds]
<sphalerite> vaibhavsagar: you need to give them A) some way to run stuff on the VPS (allow their SSH pubkeys for the builder account or give them all a copy of the same key for that). And B) (assuming you will use the remote build mechanism) some way to write to the store through the daemon (same deal, or you could add builder to trusted-users then that won't be necessary)
<vaibhavsagar> okay, I think I understand now
<vaibhavsagar> I was planning to add their public keys to my "builder" user on my VPS
<LnL> anybody here that uses pypi2nix? I'm looking for annoying packages to test with my pythonng generator
<vaibhavsagar> and I just found nix.trustedUsers which looks like what you were saying before
reinzelmann has quit [Quit: Leaving]
<qknight> thanks anyways guys!
qknight has quit [Quit: leaving]
<sphalerite> vaibhavsagar: If you're not set on using nix's "builders" option, you can also have stuff build on the server entirely without giving them write access to the store
<vaibhavsagar> sphalerite: I only want to offer it as an option if they're using Macs
<vaibhavsagar> otherwise this is completely unnecessary
<vaibhavsagar> (they will be using NixOps)
hamishmack has quit [Ping timeout: 276 seconds]
<sphalerite> vaibhavsagar: ah ok. Yeah probably easiest sticking to remote builds then
<vaibhavsagar> just trying to cover all my bases
<sphalerite> although it's pretty cool that building stuff on a remote machine without being a trusted user works too now :D
<vaibhavsagar> I thought it didn't?
orivej has joined #nixos
<vaibhavsagar> in fact none of this trusted user stuff is in the manual AFAICT
<sphalerite> it doesn't with the "builder" mechanism
<sphalerite> but it does with --store ssh-ng://user@host
<vaibhavsagar> oh, I see
<zybell_> you could make a 'turnaround' account,that uses a forced command and a (forwarded)agent auth to login back on the originating computer.On the way picking up and authenticating the builds.
<gchristensen> vaibhavsagar: somewhat, but not adequately ...
jrolfs_ has joined #nixos
thefloweringash_ has quit [Quit: WeeChat 2.0]
blankhart has joined #nixos
leat has quit [Ping timeout: 248 seconds]
ixxie has joined #nixos
<ixxie> howdy folks
jrolfs_ has quit [Ping timeout: 240 seconds]
<vaibhavsagar> gchristensen: my expectation is that I can follow the instructions in the distributed-builds section and everything will work
<ixxie> so I ran into this error message in my boot; seems pretty harmless and has has been documented for ubuntu users ( https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1584407 )
<vaibhavsagar> I think that's reasonable :)
<kahiru> hey, is there an image for headless installation? Like boot from an usb stick, wait for the machine to get address from dhcp and connect there over ssh. I know I could build one myself, but would be nice if i wouldn;t have to
<ixxie> its been around for years and it seems nobody has solved it but I am wondering is there any point to put an issue up in nixpkgs for this
<vaibhavsagar> ixxie: no harm
<gchristensen> vaibhavsagar: I agree
<gchristensen> vaibhavsagar: the nit I was uselessly picking is that "none" of it was in the manual :$
nuncanada has joined #nixos
<vaibhavsagar> hahaha, I see
<ixxie> vaibhavsagar: well nixpkgs has a problem with too many open issues
<ixxie> so there is *some* harm
<gchristensen> ixxie: too many issues? ~2k isn't so many for 40,000+ builds ...
<sphalerite> kahiru: not out of the box, but it's easy to make one
<sphalerite> kahiru: clever has some kit for making PXE images for that as well
<kahiru> ok, thanks. I assume it's described somewhere in the docs, right?
<kahiru> sphalerite++
xcmw has quit [Ping timeout: 240 seconds]
MercurialAlchemi has quit [Ping timeout: 276 seconds]
<sphalerite> kahiru: if you're after a (n admittedly quite long) one-liner, nix build -f '<nixpkgs/nixos>' --arg configuration '{lib, ...}: {imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix> ]; systemd.services.openssh.wantedBy = lib.mkForce ["multi-user.target"];}'
leat has joined #nixos
<sphalerite> oops, missing config.system.build.isoImage at the end
<Dezgeg> in addition to that you need to set some password or public key auth
<sphalerite> oh yeah, good point
<adisbladis[m]> This is what I usually use: (no dhcp, excercise up to the reader):
<kahiru> neat, thanks
xcmw has joined #nixos
adisbladis has joined #nixos
adisbladis has quit [Changing host]
adisbladis has joined #nixos
<sphalerite> nix build -f '<nixpkgs/nixos>' --arg configuration '{lib, ...}: {imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix> ]; systemd.services.openssh.wantedBy = lib.mkForce ["multi-user.target"]; users.users.root.openssh.authorizedKeys.keyFiles = [(builtins.fetchurl https://github.com/lheckemann.keys)];}' config.system.build.isoImage
erasmas has joined #nixos
<kahiru> huh, didn't know I can pull my pubkeys off github
<adisbladis> kahiru: You can pull anyones keys from github :P
nuncanada has quit [Quit: Leaving]
<kahiru> yeah, that as well
<adisbladis> It's quite useful when you want to give someone access to a system (if you consider github a trustworthy channel)
<justanotheruser> I'm trying to create an entry point using buildPythonPackage and a setup.py which defines entry points, could you tell me why I'm not getting an entry point? I have no build errors https://hastebin.com/raw/ozihaqukul https://hastebin.com/raw/coxoseheyo
<ixxie> gchristensen: I guess I misunderstood that NixCon talk about how the issues keep growing but I guess it makes sense since the size of Nixpkgs keeps growing
jperras has quit [Ping timeout: 264 seconds]
<ixxie> gchristensen: hopefully soon enough I will be able to setup my fully Nix deployed analytical portal, and I'm hoping to start doing some statistics relating to a variety of Nixpkgs related stuff
orivej has quit [Ping timeout: 276 seconds]
<ixxie> gchristensen: looks good!
<ixxie> gchristensen: I'm hoping to hook into the repology API in order to autogenerate packaging to-do lists for specific fields (e.g. for data science packages)
<ixxie> all I would be missing is a source of good field-specific package lists
<ixxie> but I am hoping we could be able to get some analytics that indicate for example what areas Nixpkgs has better/worse coverage
<ixxie> which would also help for pitching Nix at work ^^
jethroksy has quit [Remote host closed the connection]
xAFFE has left #nixos ["Error from remote client"]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #39717 → nixos-container: support restarts → https://git.io/vpRRa
<vaibhavsagar> how do I "enable remote builds"?
<vaibhavsagar> e.g. if I set --option max-jobs 0
<vaibhavsagar> then I get an error message telling me to either increase max-jobs or enable remote builds
<vaibhavsagar> but what is the option that I need to set/change for remote builds?
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
orivej has joined #nixos
bgamari has quit [Quit: ZNC 1.6.6 - http://znc.in]
stammon has joined #nixos
jperras has joined #nixos
<vaibhavsagar> --builders doesnt seem to do it
<zybell_> you must tell the builder to use
Sonarpulse has joined #nixos
<vaibhavsagar> I did!
<vaibhavsagar> nix-build -E "with import <nixpkgs> {}; pkgs.hello.overrideAttrs (drv: { rebuild = builtins.currentTime;})" --option max-jobs 0 --builders "ssh://vaibhavsagar@128.199.234.106 x86_64-linux"
<vaibhavsagar> and /etc/nix/machines does have an entry for that builder
Hdphn has joined #nixos
<Hdphn> yo yo yo
<vaibhavsagar> scar non
<Hdphn> anyone switched to nixOS from arch?
<Hdphn> how different is it. is it worth switching from arch to nix??
<simpson> Hdphn: Some people have switched. I don't know whether it's a good idea.
orivej has quit [Ping timeout: 240 seconds]
jperras has quit [Ping timeout: 268 seconds]
jperras has joined #nixos
patrl has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39718 → lzma: 5.2.3 -> 5.2.4 → https://git.io/vpRE7
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stammon has quit [Ping timeout: 255 seconds]
patrl has joined #nixos
<dbe_> Hdphn, it's pretty different. it might be a good idea, if you're into declarative configurations
jacob_ has joined #nixos
<Hdphn> dbe_: have you tried both?> which one would you prefer
Rusty1_ has joined #nixos
jmeredith has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #39709 → nixos/osquery: add test → https://git.io/vpBpb
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpRuF
<{^_^}> → e12cc85b by @Ma27: nixos/osquery: add test
<{^_^}> → c505e577 by @xeji: Merge pull request #39709 from Ma27/osquery-testcase
Tucky has quit [Quit: WeeChat 2.1]
ryantrinkle has quit [Ping timeout: 248 seconds]
xcmw has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm closed pull request #39718 → lzma: 5.2.3 -> 5.2.4 → https://git.io/vpRE7
kreisys has joined #nixos
nioncode has quit [Quit: WeeChat 2.1]
thefloweringash has joined #nixos
authapon[m] has joined #nixos
authapon[m] has left #nixos [#nixos]
asuryawanshi has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
asuryawanshi has quit [Remote host closed the connection]
hakujin has joined #nixos
<rizary> hi, how can i make derivation A consisting action stuff to minified some file in derivation B without making A importing all dependencies that B has
<rizary> s/has/have
selaux has quit [Ping timeout: 256 seconds]
hyper_ch2 has quit [Ping timeout: 260 seconds]
<dbe_> Hdphn, yeah. I personally definitely prefer nixos. If you're into bikeshedding your system up to the point where you're considering trying out nixos for the heck of it, then you should definitely try nixos.
<vaibhavsagar> rizary: you can include derivation B as a buildInput without dragging in all of B's dependencies IIRC
<clever> it will still get the runtime dependencies, but there is no way to stop that
<ixxie> Hdphn: I thought quite a few people came to NixOS from Arch; in my case I was about to switch from Debian to Arch when I discovered NixOS randomly xD
<rizary> hmm, so my understanding is i will have a huge size of derivation (when i want to deploy it to my production machine) which is derivation A even though i put B as buildInput? is that correct?
<Hdphn> ixxie: so you are on nixOS now?
<Hdphn> are you happy
<clever> rizary: the runtime deps of A will depend on what paths its $out refers to
<clever> rizary: so if the path to B does not appear in A's $out, then it wont depend on B at runtime
<ixxie> Hdphn: I am very happy; the configuration of my laptop and my server are both stored in a single github repo; if I break something I can generally rollback (although there are some fatal exceptions to this)
<ixxie> Hdphn: keep in mind I never actually used Arch
adisbladis has quit [Ping timeout: 265 seconds]
<ixxie> Hdphn: but I also love the fact I am learning a single language that allows me to to builds, packages, systems configs, deployments, etc.
<rizary> clever: did you mean by appear is including copying file in B's out into A's $out in installPhase?
<Hdphn> ixxie: which is?
<ixxie> Hdphn: the Nix Expression Language
<ixxie> of course :)
<clever> rizary: basically, grep -r $outa $outb
<Hdphn> I see that haskell users use nixOS
<Hdphn> lol
<clever> rizary: the path to outb has to appear in outa
<Hdphn> C and Java users are into macOS
<ixxie> Hdphn: here is an overview - https://nixos.wiki/wiki/Nix_Ecosystem
xy2_ has joined #nixos
<ixxie> Hdphn: I am more the other way, I got into Nix and now I am starting to learn Haskell because of it ^^
<ixxie> Hdphn: from a system management point of view, some of us see Nix as providing an open-source alternative to configuration management solutions such as ansible or chef
<rizary> clever: i see, thanks
<ixxie> Hdphn: but yeah, since the Nix language is a Lazy Pure Functional language, the affiliation with Haskell is really understandable ^^
* gchristensen doesn't know C, Java, _or_ Haskell
<srhb> gchristensen: yet.
<gchristensen> I suddenly feel doomed
<srhb> :-)
dbe_ has quit [Ping timeout: 265 seconds]
<ixxie> I was using Nix before I learned object-orientated programming xD
<ixxie> lol
<ixxie> although mostly just NixOS
johnhamelink has joined #nixos
<shapr> gchristensen: means you have lots of fun ahead of you! Sometimes I wish I could go back in time and re-read really good books for the first time. It's that kind of thing.
kotoff has joined #nixos
SamuelEvans-Powe has joined #nixos
<gchristensen> :D
<kotoff> hello. a little urgent question to everyone. does nixos-install tamper with existing home directory?
aszlig has quit [Quit: Kerneling down for reboot NOW.]
<infinisil> kotoff: It does not
zybell_ has quit [Ping timeout: 256 seconds]
<kotoff> infinisil: so I can safely boot from live and install 18.03 on 17.09 with existing config and data?
<infinisil> kotoff: Yes, but why reinstall? You can just update and have the same effect
<sphalerite> kotoff: yes. If your actual config is broken it will conti9nue to be broken though.
<ixxie> gchristensen: what is your native language?
aszlig has joined #nixos
<kotoff> infinisil: my config is okay (worked before), but someting abnormal happened, and I can't upgrade anymore
<kotoff> infinisil: it just writes smth like 'chmod: <filename> - operation not permitted'
<gchristensen> ixxie: English ;) but I don't even know. I like Rust a lot, Python when I have to. Bash... :%
<infinisil> kotoff: Yeah, that's pretty useless of an error of itself, can you post the full one?
<shapr> My native language is Haskell, but I'm an expat in Python land.
<shapr> Rust isn't too far away from Haskell
<ixxie> I thought Rust is imperative
<kotoff> infinisil: https://pastebin.com/qAz7yyP6
<gchristensen> ixxie: it is, but it has good types and big error messages too
<ixxie> ah yeah
<ixxie> so both are safety-orientated languages &&
<gchristensen> yeah
<ixxie> gchristensen: you mentioned once about building docker images with Nix
<ixxie> are there resources available for this?
<infinisil> kotoff: Where does the firefox come from?
<ixxie> gchristensen: sweet
<ixxie> gchristensen: so all the effort I put into packaging the dependencies of my work project might just pay off ^^
<gchristensen> :DD
<kotoff> infinisil: from fresh 17.09 channel, I suppose. no overloading.
<ixxie> gchristensen: what are the advantages of this approach to using a dockerfile?
<gchristensen> ixxie: what are the advantages to using nix? :)
<ixxie> :P
<kotoff> infinisil: nixos-17.09.3243.bca2ee28db4, to be exact, but not sure it would make sense
<samueldr> ixxie: you don't have to use the docker tooling :D
<samueldr> that's an advantage imho :^)
<kotoff> infinisil: I've encountered that issue with Steam and PyCharm, too.
<infinisil> kotoff: Cannot reproduce, can you show your configuration.nix?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39720 → x42-plugins: 20170428 -> 20180320 → https://git.io/vpRVp
<infinisil> -> /nix/store/q4cxd4flq3xismfd4vg3858iwirnr75k-firefox-bin-59.0.2.drv
<ixxie> samueldr: well I am looking for arguments for the office; so that is sort of a plus for me but a minus for the rest who don't know Nix
<infinisil> kotoff: That hash is not the same as yours (nix/store/fxn99iiy56iy65y3ahfqxzhvym9rd6cs-firefox-bin-59.0.2.drv), so something must be different
<ixxie> samueldr: luckily there is a guy in delivery who is interested in functional stuff and I got him interested in Nix ^^
<ixxie> samueldr: so.... maybe :D
<samueldr> :) though, I like how it can be really small (not as small as the smallest alpine images) since it only includes the closure
stammon has joined #nixos
<samueldr> and yeah, you do have to pile one every nix advantages!
<samueldr> pile on*
<infinisil> kotoff: And `nix-instantiate https://github.com/nixos/nixpkgs/archive/bca2ee28db4.tar.gz -A firefox-bin` gives also the /nix/store/q4cx... hash
<gchristensen> a `pkgs.hello` image is like 8m
<kotoff> infinisil: i've tired nix-store --verify-path, it said nothing unusual
<samueldr> a full eight minutes? (/me gets out)
<nick_l> nix search -u libstdc++.so.6 # why does this not return anything?
__Sander__ has quit [Quit: Konversation terminated!]
<kotoff> infinisil: https://pastebin.com/QPts2LAV
<nick_l> There is nixpkgs.libstdcxx5, however.
<dtz> it searches package names/descriptions/etc, not names of files they contain
<kotoff> infinisil: overbloated, I know, but it really worked. before something.
<dtz> for that you'll need something like nix-index, maybe.
<ixxie> samueldr: well delivery *is* always complaining about space ^^
<infinisil> kotoff: What does `nix-instantiate '<nixpkgs>' -A firefox-bin` output?
<kotoff> infinisil: btw, also vboxnet0.service can't start on boot (it worked before), but I've posted a Github issue about that.
<kotoff> infinisil: ...I prefer connect this and these chmod problems. a minute, opening a console
<infinisil> kotoff: Oh that's you
<kotoff> warning: you did not specify ‘--add-root’; the result might be removed by the garbage collector
<kotoff> -> /nix/store/fxn99iiy56iy65y3ahfqxzhvym9rd6cs-firefox-bin-59.0.2.drv
<infinisil> kotoff: Please don't put this in your config: nix.readOnlyStore = false;
<infinisil> kotoff: It voids all immutability guarantees and is almost always a very bad idea
<kotoff> infinisil: I know and am sorry, that was a little try to overcome chmod problems. Gonna remove it when done.
<gchristensen> yes, please do not thath is not a supported behavior
<gchristensen> it isn't an adequate solution to your problem in the first place
<infinisil> kotoff: That might just cause all your problems, so remove it now, verify your whole store and then see if the errors are still there
<kotoff> gchristensen: yep, immutability is good and tasty, but double edged.
<infinisil> and rebuild between that of course
<vaibhavsagar> hi, how do I enable remote builds for a single nix-build invocation?
<nick_l> I have a gradle build which uses libstdc++.so.6 somewhere inside. How can I make that file available to the build on NixOS?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39721 → visualvm: 1.4 -> 1.4.1 → https://git.io/vpRr9
<nick_l> According to nix-locate, gcc-unwrapped.lib contains this.
kotoff_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39722 → linuxPackages.wireguard: 0.0.20180413 -> 0.0.20180420 → https://git.io/vpRrF
<kotoff_> sorry, my connection have flipped
<kotoff_> gchristensen: but tfw you wait one-and-a-half min because a service doesn't want to start, and you can't disable it because of immutability
<ixxie> lol.... nix-index? nix-locate? Never heard of these.... how many nix- commands are there!
<{^_^}> [nixpkgs] @dtzWill opened pull request #39723 → gllvm: 2018-02-09 -> 2018-04-28 (~= 1.0.2) → https://git.io/vpRov
<symphorien> nix-index is in an external package
kotoff has quit [Ping timeout: 260 seconds]
kotoff_ is now known as kotoff
<niksnut> I think you can disable services via /run/systemd/system
<niksnut> by creating a symlink to /dev/null
<symphorien> nick_l: I think the canonical way to refer to this is stdenv.cc.cc.lib
asuryawanshi has joined #nixos
<kotoff> niksnut: err, i've tried that, but no operations permitted on readonly system
asuryawanshi has quit [Remote host closed the connection]
<niksnut> surely /run is not read-only
asuryawanshi has joined #nixos
<kotoff> niksnut: and I will persist?
<niksnut> ah, no
<kotoff> *it will persist
<{^_^}> [nixpkgs] @vbgl merged pull request #39708 → flow: 0.70.0 -> 0.71.0 → https://git.io/vpB7K
<{^_^}> [nixpkgs] @vbgl pushed commit from @frontsideair to master « flow: 0.70.0 -> 0.71.0 »: https://git.io/vpRoN
<kotoff> teehee... the point is this service' issue (ipc socket daemon error) persists in any generation.
<infinisil> ixxie: nix-locate bin/nix- | cut -d'/' -f6- | sort -u | wc -l -> 32 different nix- commands!
nick_l has quit [Ping timeout: 260 seconds]
<infinisil> and without the | wc -l it lists them
<ixxie> HA!
<kotoff> niksnut: so, I just want at least get rid of this service and startup delay. at ideal, fix it completely.
<{^_^}> [nixpkgs] @dtzWill opened pull request #39724 → libepoxy: 1.5.0 -> 1.5.1 → https://git.io/vpRKt
<ixxie> cool
<infinisil> Apparently there's nix-tour
<infinisil> kotoff: Have you finally disabled the mutable store option and rebuilt your system?
ryantrinkle has joined #nixos
<infinisil> Sorry but I won't help you unless you do that, because we can't be sure of anything otherwise
<kotoff> infinisil: disabled, rebuild in process, but inb4 chmod fail
<symphorien> kotoff: something like systemd.services.blah.wantedBy = [];
<kotoff> infinisil: yep, the same chmod fail
<infinisil> kotoff: Check the store with `nix-store --verify --check-contents --repair`
<gchristensen> what chmod fail?
<kotoff> symphorien: thanks, taking a note, this would be useful.
markus1199 has quit [Ping timeout: 255 seconds]
<kotoff> infinisil: in process
<kotoff> gchristensen: https://pastebin.com/qAz7yyP6
<{^_^}> [nixpkgs] @dtzWill opened pull request #39725 → mesa: 17.3.8 -> 17.3.9 → https://git.io/vpRKw
<symphorien> kotoff: as a workaround you may replace firefox-bin by firefox
<kotoff> symphorien: that's a clever solution. but in my case I need to build before dealing with the service.
<infinisil> kotoff: Oh you can't even rebuild the system, then you can't even turn on readonly store like this, it's still readwrite
<symphorien> if you only corrupted firefox bin this might be enough
<kotoff> symphorien: but PyCharm likely wouldn't build, dropping with same chmod issue
<kotoff> infinisil: it's still readonly :^)
<infinisil> Ah, so you set readonlystore = false; but didn't ever get to finish a rebuild after that?
<symphorien> if I were you I would comment everything which does not build from my config, get a read only store and from there try to solve the problem of having these commented package to build
<symphorien> ah
<kotoff> infinisil: yep
<kotoff> infinisil: hello chmod, bye bye build
<infinisil> kotoff: Well then it's not applied anyways, a rebuild needs to succeed to apply changes
<ixxie> gchristensen: was it you who had a Dell XPS?
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #39724 → libepoxy: 1.5.0 -> 1.5.1 → https://git.io/vpRKt
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/vpR6n
<{^_^}> → 04380e71 by @dtzWill: libepoxy: 1.5.0 -> 1.5.1
<{^_^}> → 51d7dfac by @dtzWill: Merge pull request #39724 from dtzWill/update/libepoxy-1.5.1
<{^_^}> [nixpkgs] @vbgl opened pull request #39726 → jbuilder: 1.0+beta17 -> 1.0+beta20 → https://git.io/vpR6C
<infinisil> kotoff: What does `nix-instantiate --eval '<nixpkgs/lib>' -A nixpkgsVersion` output
<kotoff> symphorien: commenting is longer way, which doesn't fix other problems. I'm afraid that is corruption, so the first question of mine was about reinstall
<kotoff> infinisil: "17.09.3243.bca2ee28db4"
<kotoff> infinisil: btw verify-repair silently finished
<infinisil> kotoff: Alright, yeah the verify isn't needed when the readonly setting didn't even apply
<{^_^}> [nixpkgs] @dtzWill merged pull request #39723 → gllvm: 2018-02-09 -> 2018-04-28 (~= 1.0.2) → https://git.io/vpRov
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vpR6w
<{^_^}> → dc6cda78 by @dtzWill: gllvm: 2018-02-09 -> 2018-04-28 (~= 1.0.2)
<{^_^}> → 4aa5504a by @dtzWill: Merge pull request #39723 from dtzWill/update/gllvm-2018-04-28
markus1189 has joined #nixos
<kotoff> infinisil: verification dropped errors on lock files, which were easily cleared by --gc. still not resolved my problems, though, so I'm here
<dtz> ixxie: pretty sure he did/does, yes. I do too! A number of us do, I think...
<infinisil> kotoff: What does `nix-instantiate '<nixpkgs>' -A firefox-bin --arg config '{ allowUnfree = true; }' --arg overlays '[]'` output
<kotoff> infinisil: /nix/store/fxn99iiy56iy65y3ahfqxzhvym9rd6cs-firefox-bin-59.0.2.drv
<infinisil> kotoff: You don't happen to be on aarch64?
<{^_^}> [nixpkgs] @bgamari opened pull request #39727 → notmuch: 0.26.1 -> 0.26.2 → https://git.io/vpRic
<{^_^}> [nixpkgs] @dtzWill merged pull request #39725 → mesa: 17.3.8 -> 17.3.9 → https://git.io/vpRKw
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/vpRiC
<{^_^}> → 910ad133 by @dtzWill: mesa: 17.3.8 -> 17.3.9
<{^_^}> → 06c67f89 by @dtzWill: Merge pull request #39725 from dtzWill/update/mesa-17.3.9
<kotoff> infinisil: err, i'm on x86_64
<symphorien> I have /nix/store/q4cxd4flq3xismfd4vg3858iwirnr75k-firefox-bin-59.0.2.drv and not your hash on x86_64
<kotoff> afaik
<infinisil> Yeah, same for me symphorien, I have no idea why, it's weird
<ixxie> dtz: I have been having this https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1584407 in unstable ever since 18.03pre rolled into 18.09pre
<ixxie> I was wondering if anybody else did
<symphorien> did the switch from nix1 to nix2 change hashes ?
<infinisil> kotoff: Can you add the file /nix/store/fxn99iiy56iy65y3ahfqxzhvym9rd6cs-firefox-bin-59.0.2.drv to your gist?
<infinisil> Just share it i mean
<kotoff> sure
<infinisil> symphorien: I'm 99% certain it shouldn't, otherwise all old caches couldn't be used anymore
<kotoff> infinisil: https://pastebin.com/5yyi37qQ
taktoa has quit [Remote host closed the connection]
patrl has quit [Quit: WeeChat 2.0]
<dtz> ixxie: that issue links to this: https://lkml.org/lkml/2016/10/5/299 which says it's harmless from a pretty credible source ^_^
<dtz> but yes I see that too :)
<gchristensen> me too
<ixxie> who would be responsible to adjust the log level to debug? Is it something we can do in Nixpkgs?
<ixxie> I know they are harmless but they annoy me xD
<gchristensen> kernel patch I guess
<ixxie> I tried bumping to the latest kernel but that didn't resolve it
<jtojnar> do we have a way to install EFI applications?
<infinisil> kotoff: Alright, try `nix-store -r /nix/store/fxn99iiy56iy65y3ahfqxzhvym9rd6cs-firefox-bin-59.0.2.drv`, does that error or work?
<infinisil> It should error
<kotoff> infinisil: yep, it errors
<kotoff> ...the fun is I can't build (I think) any package which performs chmod. on top of that, there's a broken service, and I can't poweroff from user (Interactive login required), which I did before.
runciter has left #nixos ["Leaving"]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39728 → wesnoth-dev: 1.13.13 -> 1.14.0 → https://git.io/vpRPW
<kotoff> can NixOS break/corrupt because of abnormal shutdown? afair, no any store-sensitive operations were made at that moment (it was at sleep then)
<infinisil> Not really
<infinisil> kotoff: Alright, can you do `nix-store --export $(nix-store -qR $(nix-instantiate '<nixpkgs>' -A firefox-bin --arg config '{ allowUnfree = true; }' --arg overlays '[]')) > firefox.drv`
MercurialAlchemi has joined #nixos
<ixxie> kotoff: I once got a dirty bit because I shutdown the machine during a rebuild (graphics were out due to a bug and I didn't wait long enough)
undefbeh has joined #nixos
markus1189 has quit [Ping timeout: 268 seconds]
maingo has joined #nixos
daveo has joined #nixos
<infinisil> kotoff: Then upload the resulting file somewhere so we can download it, it should be about 3MB big
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39729 → utf8proc: 2.1.0 -> 2.1.1 → https://git.io/vpRPr
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/cbc3afc655c (from 34 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<infinisil> That makes it so we can reproduce your failing build, hopefully
ixxie has quit [Quit: Lost terminal]
<kotoff> infinisil: http://ge.tt/6zzdEdp2
ambro718 has joined #nixos
ixxie has joined #nixos
<jxf> Does anyone use Nix for `nodejs`? I noticed that installing it will symlink `npm` onto my `PATH` via my `.nix-profile/bin`, which is great, but it won't symlink `npx`, which is a bit annoying. I can definitely see it in the store, so it's there and Nix knows about it, the derivation just doesn't symlink it.
<jxf> Am I doing something wrong or is this a deficiency in the derivation?
<infinisil> kotoff: Yeah that builds no problem for me
<kotoff> ixxie: but I got no rebuilds since a week (just a timezone switch), it worked for few days after that and suddenly--
<infinisil> I gotta go for now, I hope somebody else can help you further, at least we know it's either some problem with your nix or your system or so, not the nix derivation
<kotoff> infinisil: so we can surely say that my OS is broken?
<infinisil> If you open an issue you can include the info I asked you for here
waleee has quit [Quit: WeeChat 2.1]
<ixxie> kotoff: hmmm.... well if you are really unlucky cosmic radiation can randomly corrupt bits and break the system but that seems unlikely
mkoenig has joined #nixos
<{^_^}> [nix] @DavidEGrayson opened pull request #2126 → nix-collect-garbage: fix documentation to not mention options like --print-dead → https://git.io/vpRXC
<symphorien> kotoff: you can try to switch to 18.03 -- since no derivation would be shared with your current system, those ones might be non broken... maybe
<kotoff> infinisil: issue about Firefox? remind commands, please. I'll link pastes and the file
<ixxie> dtz, gchristensen - I noticed the XPS BIOS options includes the ability to automatically turn on the machine at a specific time
<kotoff> symphorien: so that's what I'm going to do -- reinstall with 18.03 live CD
<ixxie> dtz, gchristensen - so theoretically one could autodeploy the laptop from a server with nixops xD
<symphorien> well you can try without reinstalling first
<symphorien> it won't hurt and would be easier imo
<ixxie> of course not the most convenient approach since one likes to randomly rebuild the machine but yeah
<kotoff> symphorien: and~ no shiet. I've tried that. Same chmod issues.
<symphorien> ah ok sorry
<symphorien> really strange
alexteves_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #39625 → hplip: 3.17.11 -> 3.18.3 → https://git.io/vp8d0
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/vpRXQ
<{^_^}> → 8a07916f by @bgamari: hplip: 3.17.11 -> 3.18.3
<{^_^}> → 89001d8d by @bgamari: hplipWithPlugin_3_16_11: Refer to correct base derivation
<{^_^}> → 89d2dbb3 by @xeji: Merge pull request #39625 from bgamari/bump-hplip
<ixxie> infinisil: I reproduced your oneliner but it finds stuff not installed on my system
<ixxie> aaah it indexes nixpkgs
silver has quit [Read error: Connection reset by peer]
markus1189 has joined #nixos
<kotoff> Okay, the issue is posted with some files. Tomorrow (in 10-11 hours) I'll try reinstalling with 18.03.
<ixxie> does anybody know how to search the botbot logs for this channel?
<tilpner> ixxie - Try searching https://logs.nix.samueldr.com/nixos/ instead
<samueldr> use the search box on the left, the top one searches throughout the day shown
bgamari has joined #nixos
<kotoff> infinisil, symphorien et al: thank you very much for attention and help, that was an interesting discussion
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39731 → signal-desktop: 1.7.1 -> 1.8.0 → https://git.io/vpR1D
<ixxie> oh great! thanks
<kotoff> have a nice day
kotoff has quit [Quit: Page closed]
<ixxie> samueldr: what do you use for this log viewer?
<{^_^}> [nixpkgs] @joachifm merged pull request #39707 → Properly put bspwm process in the background in module → https://git.io/vpBDB
<{^_^}> [nixpkgs] @joachifm pushed commit from @iitalics to master « nixos/bspwm: spawn bpswm process in the background and properly set waiPID (#39707) »: https://git.io/vpRMT
markus1189 has quit [Read error: Connection reset by peer]
cristian2 has joined #nixos
<ixxie> cool
<ixxie> samueldr: you gonna submit a PR for this?
<samueldr> hmm, maybe I should, I probably should request comments for improvements first :)
<samueldr> and take another look at what I did! I learned a lot in the last four months
<ixxie> hmmm
<ixxie> samueldr: so when you wanna ad-hoc some new package/module you do in an overlay so you can update channels normally and still have your weird new stuff?
<samueldr> yes
<ixxie> I see
<ixxie> I think I didn't really understand how overlays are used until now ^^
<ixxie> interesting!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39732 → riot-web: 0.14.0 -> 0.14.1 → https://git.io/vpRMj
<samueldr> overlays takes (two) attribute sets of `pkgs` and returns one attribute sets of `pkgs`, you can do pretty much what you want there
<samueldr> (see the overlays page for what self and super means wrt overlays)
humanoyd has joined #nixos
<{^_^}> [nixpkgs] @dtzWill closed pull request #37004 → teamspeak_client: use qt56 → https://git.io/vxIly
<{^_^}> [nix] @edolstra merged pull request #2126 → nix-collect-garbage: fix documentation to not mention options like --print-dead → https://git.io/vpRXC
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vpRDU
<{^_^}> → ac22d77f by @danbst: nix-collect-garbage: little doc fix
<{^_^}> → 3560654e by @edolstra: Merge pull request #2126 from DavidEGrayson/pr_gc_doc
<samueldr> though, if you look at the irclogger, the default.nix isn't the overlay, it's a shim that loads the added nixos options module and adds the overlay to nixpkgs.overlays
markus1189 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #39698 → systemd: add pcre2 as build dep for searching in journalctl → https://git.io/vpBVr
<{^_^}> → dadf2229 by @dtzWill: systemd: add pcre2 as build dep for searching in journalctl
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/vpRDZ
<{^_^}> → 2d7e313e by @dtzWill: Merge pull request #39698 from dtzWill/fix/systemd-pcre2-dep
jperras has quit [Ping timeout: 264 seconds]
<ixxie> thanks samueldr
<{^_^}> [nixpkgs] @7c6f434c merged pull request #39464 → stdenv: implement most of #33599 → https://git.io/vpnlE
<{^_^}> [nixpkgs] @7c6f434c pushed 9 commits to staging: https://git.io/vpRDM
<{^_^}> → ad98c36f by @oxij: stdenv: generic/setup.sh: simplify buildPhase Makefile check
<{^_^}> → e9e06888 by @oxij: stdenv: generic/setup.sh: cleanup installPhase
<{^_^}> → 50af975d by @oxij: stdenv: implement `checkTarget` and `installCheckTarget` autodetection
<cristian2> Is this the correct channel if I'm having trouble installing nix pkg manager on OSX?
<maurer> Yup
<maurer> #nix-darwin may help too
boomshroom has joined #nixos
<maurer> (I can't personally help with OSX, but some in here probably can)
<boomshroom> Hello!
<ixxie> HEY
<infinisil> Hi!
<LnL> cristian2: depends how specific the question is, for a lot of stuff the platform doesn't matter
<cristian2> Ok... so after running the installation in OSX, and starting a new terminal, I never get nix-env in my PATH.
<{^_^}> [nixpkgs] @WilliButz opened pull request #39734 → highlight: 3.42 -> 3.43 → https://git.io/vpRyi
<cristian2> I found that the .nix-profile symlink is pointing to an unexistent path
<boomshroom> cristian2: That's a general, Nix on non-NixOS problem.
<LnL> do you use a non standard shell like zsh or fish?
<boomshroom> cristian2: Where is .nix-profile pointing?
<dtz> yes, although you may wish to try #nix-darwin
<cristian2> /nix/var/nix/profiles/per-user/cristian/profile
<cristian2> /nix/var/nix/profiles/per-user/cristian/ is empty
<maurer> If that doesn't exist, I suspect that the installation didn't finish?
<maurer> Did the installer say something error-like near the end?
<LnL> that's normal for a daemon install
<cristian2> Not at all
<clever> if its multi-user mode, then that sounds entirely normal
<boomshroom> cristian2: Run `nix-env -S profile`
<maurer> Oh, I thought that non-nixos was almost always signle user
<cristian2> It finihsed successfully
<maurer> ignore me then
jrolfs_ has joined #nixos
<LnL> cristian2: what about /nix/var/nix/profiles/default/bin?
<cristian2> /nix/var/nix/profiles/default/bin exists
<boomshroom> cristian2: or rather `nix-env -S /nix/var/nix/per-user/christian/profile` That will put you on your user profile.
<cristian2> Will try that now
<{^_^}> [nixpkgs] @benley pushed to master « strongswan: include curl plugin by default (#39506) »: https://git.io/vpRSL
<{^_^}> [nixpkgs] @benley merged pull request #39506 → strongswan: include curl plugin by default → https://git.io/vpCk6
<LnL> and there's nothing nix related in your PATH?
<cristian2> No, nothing in my PATH
<cristian2> Not after running nix-env -S (which I run using /nix/var/nix/profiles/default/bin/nix-en)
<LnL> I'm guessing you're either using a shell that's not configured automatically by the installer
jperras has joined #nixos
<LnL> or there's something in your dotfiles that overwrites PATH
<cristian2> zsh, and /etc/zshrc was modified
<cristian2> and nix daemon is running
<cristian2> what should put nix in my path?
<LnL> yeah zsh should be ok, what about eg. echo $NIX_PATH
<cristian2> echoes /nix/var/nix/profiles/per-user/root/channels
<LnL> ok, so it's getting loaded
<cristian2> why root?
<LnL> then it's the second, something is changing PATH afterwards and ignores the original content
<cristian2> Right!
<cristian2> I moved my .zshrc somewhere else to start vanilla zsh and now it works
<cristian2> So something in there is messing my path up. Thanks for your help.
<LnL> no problem :)
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/bafd695ca29 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
markus1189 has quit [Ping timeout: 255 seconds]
zybell has joined #nixos
<LnL> as for root that default comes from nixos, see. https://github.com/NixOS/nixpkgs/pull/38351
<cristian2> I see. Thanks
xcmw has joined #nixos
<LnL> you could configure user channels if you prefer that
<ixxie> rycee: do you have any idea about the status of NixUP? https://github.com/NixOS/nixpkgs/pull/9250 seems a bit stalled
drakonis has joined #nixos
mizu_no__ has joined #nixos
humanoyd has quit [Ping timeout: 240 seconds]
humanoyd has joined #nixos
xcmw has quit [Ping timeout: 264 seconds]
jrolfs has joined #nixos
<{^_^}> [nixpkgs] @kirelagin opened pull request #39735 → haskell: build Setup.hs with a separate pkgdb → https://git.io/vpRHs
ylwghst has joined #nixos
mizu_no__ has quit [Quit: Computer has gone to sleep.]
markus1189 has joined #nixos
sigmundv__ has quit [Ping timeout: 240 seconds]
ylwghst has quit [Ping timeout: 268 seconds]
nhh^ has quit []
emph^ has joined #nixos
bgamari has quit [Quit: ZNC 1.6.6 - http://znc.in]
bgamari has joined #nixos
Hdphn has quit [Remote host closed the connection]
ericnoan has quit [Quit: ZNC - http://znc.in]
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39736 → spidermonkey_52: 52.6.0 -> 52.7.4 → https://git.io/vpR7G
epta has quit [Ping timeout: 260 seconds]
<Myrl-saki> I give up.
<Myrl-saki> My qemu+Debian+Nix just keeps on failing.
blankhart has quit [Ping timeout: 240 seconds]
<drakonis> wait what
Jetien_ has quit [Ping timeout: 256 seconds]
jrolfs has quit [Ping timeout: 240 seconds]
blankhart has joined #nixos
ericnoan has joined #nixos
jrolfs has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #39737 → psstop: init at 1.3 → https://git.io/vpR5D
logzet has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #37814 → util-linux: 2.31.1 -> 2.32 → https://git.io/vx0LM
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to staging: https://git.io/vpRdT
<{^_^}> → 0a74845c by @dtzWill: util-linux: 2.31.1 -> 2.32
<{^_^}> → b341529a by @dtzWill: systemd: use upstream patch to fix building with util-linux 2.32
<{^_^}> → 919dda7a by @dtzWill: Merge pull request #37814 from dtzWill/update/util-linux-2.32
olto has quit [Quit: ZNC - http://znc.in]
jrolfs has quit [Ping timeout: 255 seconds]
jrolfs has joined #nixos
olto has joined #nixos
reinzelmann has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @xeji merged pull request #39727 → notmuch: 0.26.1 -> 0.26.2 → https://git.io/vpRic
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpRdB
<{^_^}> → eaf71dd3 by @bgamari: notmuch: 0.26.1 -> 0.26.2
<{^_^}> → f85222b8 by @xeji: Merge pull request #39727 from bgamari/bump-notmuch
freeman42x[nix] has joined #nixos
Slabity has joined #nixos
<jtojnar> how do I disable optimizations? I tried p.overrideAttrs (super: {
<jtojnar> hardeningDisable = ["all"];
<jtojnar> NIX_CFLAGS_COMPILE = " -O0 -g3 -fno-inline";
<jtojnar> });
<jtojnar> but gdb still does not see some types
<tilpner> May also need dontStrip = true;
<maurer> jtojnar: Try -ggdb
<{^_^}> [nixpkgs] @dtzWill opened pull request #39738 → openmw: update hash missed in update to 0.43.0 → https://git.io/vpRd7
<jtojnar> tilpner: I am using pkgs.enableDebugging
<tilpner> Ah, that should be enough
markus1189 has quit [Ping timeout: 256 seconds]
<tilpner> (Unless your package doesn't take stdenv as an argument...)
<jtojnar> it does
<{^_^}> [nixpkgs] @dtzWill merged pull request #39737 → psstop: init at 1.3 → https://git.io/vpR5D
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vpRFO
<{^_^}> → 49ef9019 by @dtzWill: psstop: init at 1.3
<{^_^}> → 7b613bd2 by @dtzWill: Merge pull request #39737 from dtzWill/feature/psstop
<Myrl-saki> drakonis: I use Debian as the OS, which builds ARM stuff for armv7l under qemu.
<drakonis> ah right i see
humanoyd has quit [Quit: WeeChat 2.1]
<jtojnar> -ggdb does not help, I am still getting `has unknown type; cast it to its declared type`
jrolfs has quit [Ping timeout: 256 seconds]
<jtojnar> neither does -fno-inline, I still cannot attach a breakpoint to one function in a file but another one works
jrolfs has joined #nixos
<maurer> jtojnar: -fno-lto?
<maurer> I'm just guessing at this point
<maurer> jtojnar: If I were you, I'd run nix-build -A yourpackage -K
<maurer> and then go look at the build directory afterwards, and figure out which step of the build is deleting stuff
<symphorien> Does the build system override -O0 with another -O2 for example ?
hakujin has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39739 → pqiv: 2.10.3 -> 2.10.4 → https://git.io/vpRFy
markus1189 has joined #nixos
jrolfs__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39740 → picard-tools: 2.18.2 -> 2.18.3 → https://git.io/vpRFb
<jtojnar> nix-build -E '(with import <nixpkgs> {}; enableDebugging (gnome3.gdm.overrideAttrs (super: {
<jtojnar> hardeningDisable = ["all"];
<jtojnar> NIX_CFLAGS_COMPILE = " -O0 -ggdb -fno-inline -fno-lto";
<jtojnar> })))'
<jtojnar> the configure phase prints cflags: -g -O2
<jtojnar> but should not NIX_CFLAGS_COMPILE have higher priority?
jrolfs has quit [Ping timeout: 248 seconds]
<symphorien> add -v to the gcc flags
<symphorien> you will see which -O is the last one
<symphorien> I think this is the one which has precedence
<maurer> jtojnar: NIX_CFLAGS_COMPILE are default CFLAGS, ./configure can override
<symphorien> and I think hardening -O flags are weaker, so NIX_CFLAGS_COMPILE might also be weaker
seanparsons has quit [Read error: Connection reset by peer]
jrolfs has joined #nixos
MichaelRaskin has joined #nixos
jrolfs__ has quit [Ping timeout: 268 seconds]
alexteves has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39742 → poppler_utils: 0.63.0 -> 0.64.0 → https://git.io/vpRNv
alexteves_ has quit [Ping timeout: 255 seconds]
seanparsons has joined #nixos
<{^_^}> [nixpkgs] @Ralith opened pull request #39743 → llvm: factor out compiler-rt, fix libstdcxxStdenv sanitizer headers → https://git.io/vpRAl
undefbeh has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill opened pull request #39744 → nano: 2.9.4 -> 2.9.6 → https://git.io/vpRAE
_rvl has quit [Quit: ZNC 1.6.5 - http://znc.in]
<{^_^}> [nixpkgs] @dtzWill merged pull request #39738 → openmw: update hash missed in update to 0.43.0 → https://git.io/vpRd7
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vpRxG
<{^_^}> → a8f3b1ad by @dtzWill: openmw: update hash missed in update to 0.43.0
<{^_^}> → ccd2b539 by @dtzWill: Merge pull request #39738 from dtzWill/fix/openmw-0.43.0
cristian2 has quit [Ping timeout: 240 seconds]
jrolfs__ has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @matthewbauer closed pull request #39699 → setup: get enableParallelBuilding compatible with bmake → https://git.io/vpBVd
hiroshi- has joined #nixos
hiroshi has quit [Ping timeout: 268 seconds]
hiroshi- is now known as hiroshi
seanparsons has quit [Read error: Connection reset by peer]
sydney has joined #nixos
asuryawa_ has joined #nixos
asuryawanshi has quit [Read error: Connection reset by peer]
<sydney> Hey, NixOS newb here. Having trouble setting the lightdm background. Tried it using services.xserver.displayManager.lightdm.background = "<path>" but it's all black.
<clever> sydney: is that path readable by the lightdm user?
<clever> sydney: what if you unquote the path?
<sydney> should be readable by the lightdm user (chmod a+r)
<clever> try unquoting the path
<sydney> clever: unquoting gives me an error
<clever> what error?
<sydney> error: The option value `services.xserver.displayManager.lightdm.background' in `/etc/nixos/configuration.nix' is not of type `string'
<clever> ah, try "${/path/to/image}"; then
acarrico has quit [Ping timeout: 240 seconds]
<sydney> huh. how does that change anything? (it builds, just curious)
<sydney> I see that in lightdm-gtk-greeter.conf, the path to the image is now pointing to nix/store
<clever> nix will copy that path into the store
<clever> and make it world-readable
<sydney> Aww sweet!
<clever> and it will fail a lot faster if the file doesnt exist
MercurialAlchemi has quit [Ping timeout: 240 seconds]
_rvl has joined #nixos
<sydney> Now that's cool! Where should I store these global files, btw? In the moment, this background image for example is just sitting in my home directory.
seanparsons has joined #nixos
<clever> i would put it in the same directory as the nix file, and do "${./background.png}";
<clever> nix is able to obey relative paths as relative to the file that contains them
<samueldr> if any directory up to the image is not chmodded +x for the user accessing the image (probably in the "other" fields), the image won't be reachable; e.g. your if your home is `chmod o-x` users not in the group won't be able to access anything there
<samueldr> but yes, putting it in a global location is the way to go :)
<clever> samueldr: nix will also enforce $HOME being 700 i believe
<samueldr> hum I don't think so
<samueldr> my home is go+x
<sydney> OK, so I'll put global stuff somewhere in /etc/nixos. Thanks for the background info!
hiroshi has quit [Ping timeout: 268 seconds]
<samueldr> THOUGH, I have to say my home directory is not in /home/, if it matters
<gchristensen> interesting. where is it, samueldr?
<samueldr> /Users/ because I can :D
<samueldr> also using gobohide to hide stuff in /
ambro718 has quit [Quit: Konversation terminated!]
<ixxie> samueldr: because if you are already going to eschew LSB, might as well go ALL IN
<samueldr> exactly! break stuff!
<sydney> gonna try lightdm now. If I don't write back, it worked.
<samueldr> hmm, looks like either I don't createHome or this runs on creation
sydney has quit [Quit: Leaving]
jrolfs__ has quit [Ping timeout: 255 seconds]
<samueldr> ah no, not used to perl, there's the if at the end of the lien
<clever> destroy all perl!
<infinisil> samueldr: You're using GoboLinux?
<samueldr> nope!
<infinisil> What's gobohide then?
<samueldr> that's what you're thinking of, but I ported it to nixos
<samueldr> so it creates with 0700, doesn't look like it enforces 0700, good to know
<infinisil> Huh, interesting, is it online?
<clever> me and someone else had issues a month ago, where it would re-chmod it every time you nixos-rebuild
<ixxie> btw today's XKCD could help us sell Nix to pythonistas: https://xkcd.com/1987/
<gchristensen> samueldr: hah
<boomshroom> infinisil: gobohide is a tiny kernel module that marks directories like /bin, /lib, and /usr as hidden.
<samueldr> boomshroom: exactly
<samueldr> I like how with nixos it's not even a pain to manage
<ixxie> why would you hide those?
<samueldr> fun!
<samueldr> part of doing stuff because I can
<ixxie> heh
<infinisil> samueldr: Nice!
<infinisil> I also like how you organized your config, I did mine the same way
<boomshroom> ixxie: Because they're only maintained for legacy. On NixOS, you shouldn't be using /bin or /usr/bin unless you're running a foregn script, so gobohide hides them so you're less tempted to use them, but they're still there for compatibility.
<samueldr> well, that's for gobolinux's use case, as for mine, it's mainly because I can, but the same ideas could apply
<samueldr> I was also tempted, didn't even look at the feasability yet, to make a FUSE filesystem that puts all the expected `.desktop` files for the EUID at /Applications/
<gchristensen> what're you doing, making macOS? :D
<ixxie> hmm
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39745 → opencpn: 4.8.2 -> 4.8.4 → https://git.io/vpRhF
<samueldr> having fun!
<boomshroom> gchristensen: This is Linux! We make what the f*** we want! :D
<samueldr> when I say expected, I mean that any manipulations in /Applications/ will show up in the XDG directory, just like if you edited using alacarte
<ixxie> with NixOps, is the only way to store the Authentication key for the cloud provider via a environmental variable?
<clever> ixxie: for aws, there is ~/.ec2-keys
<ixxie> clever: so it depends on the backend really
<gchristensen> samueldr: some people here have / as a tmpfs and specific directories mounted as persistent... and /home isn't one of them
<clever> ixxie: yeah
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39746 → nextcloud: 13.0.1 -> 13.0.2 → https://git.io/vpRj8
<jtojnar> aargh, how do I nixpkgs.config.packageOverrides gnome3.gdm?
<infinisil> gnome3 = gnome3 // { gdm = ...; } doesn't work?
<samueldr> gchristensen: I needed to ask about the / as tmpfs thing too, one day
<samueldr> if there were any troubles
<jtojnar> infinisil: does not seem to for the one used by gnome-shell
<samueldr> but how is /home/ handled if non-persistent?
<jtojnar> infinisil: (if I change the override, gdm is rebuild but gnome-shell is not)
hiroshi has joined #nixos
<boomshroom> With the talk of non-standard NixOS modules, clever, have you seen that the RISCV port of QEMU is upstream? It may not be nessisary to use a different source for the qemu user module.
<clever> jtojnar: the other things in gnome3 are refering to the old values
<clever> jtojnar: so you need to also gnome-shell = gnome3.gnome-shell.override { gdb = gdm; };
<jtojnar> clever: is there some easier way than overriding overriden overriden?
<jtojnar> the gnome-shell is a dependency of gnome-session :-)
drakonis has quit [Read error: Connection reset by peer]
<clever> jtojnar: rewrite gnome3 to use pkgs.lib.makeScope pkgs.newScope, then .overrideScope will work
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39747 → paml: 4.9g -> 4.9h → https://git.io/vp0ee
jacob_ has quit [Remote host closed the connection]
<infinisil> Overrides, as messy as ever
<{^_^}> [nixpkgs] @xeji merged pull request #39734 → highlight: 3.42 -> 3.43 → https://git.io/vpRyi
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp0eT
<{^_^}> → 078b764f by @WilliButz: highlight: 3.42 -> 3.43
<{^_^}> → 85333b20 by @xeji: Merge pull request #39734 from WilliButz/update-highlight
lprndn has joined #nixos
lprndn is now known as lhart
drakonis has joined #nixos
jacob_ has joined #nixos
<jtojnar> we really need to get debugging symbols by default
<jtojnar> this is horrible
<jtojnar> clever: I would rather merge the gnome3 attribute into all-packages
<infinisil> jtojnar: all-packages is too bloated already..
jacob_ has quit [Remote host closed the connection]
markus1189 has quit [Ping timeout: 265 seconds]
robstr has quit [Quit: WeeChat 1.9.1]
markus1189 has joined #nixos
lhart has left #nixos [#nixos]
tmaekawa has joined #nixos
<jtojnar> it would be just ~150 more packages
<infinisil> I'd rather have a better and simpler override convention
<clever> ixxie: use pkgs.lib.makeScope pkgs.newScope, then .overrideScope will work
coot has joined #nixos
<jtojnar> clever: would that be something that could make sense to be merged to nixpkgs?
<clever> jtojnar: yeah
jacob_ has joined #nixos
<boomshroom> Is it ok to run files output by nix for MinGW with Wine? If so, how about Nix running the windows version of MinGW as the localSystem?
<ixxie> clever: was that intended for infinisil ?
bgamari has quit [Quit: ZNC 1.6.6 - http://znc.in]
<clever> ixxie: yeah, oops
bgamari has joined #nixos
<infinisil> clever: Yeah I saw that, but the overrides are still kinda all over the place with languages package sets and stuff
<infinisil> clever: Maybe https://github.com/NixOS/rfcs/pull/3 does it better, I haven't fully read through it
bpa has joined #nixos
LysergicDreams has quit [Ping timeout: 248 seconds]
LysergicDreams has joined #nixos
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<jbetz_> anyone tried getting the telegram plugin working on pidgin?
<jbetz_> I installed pidgin and telegram-purple, but telegram still isn't showing up in the account manager
emph^ has quit []
nhh^ has joined #nixos
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #39748 → bat: init at 0.2.0 → https://git.io/vp0f3
Slabity has quit [Remote host closed the connection]
zybell has quit [Ping timeout: 260 seconds]
<tilpner> jbetz_ - Try pidgin.override { plugins = [ telegram-purple ]; }
<{^_^}> [nixpkgs] @Mic92 merged pull request #39379 → pdf-quench: init at 1.0.5 → https://git.io/vpsZq
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/vp0JI
<{^_^}> → 8647df2f by @flokli: goocanvas_2: support gobjectIntrospection
<{^_^}> → 0e5f82b8 by @flokli: pdf-quench: init at 1.0.5
<{^_^}> → ccb7e548 by @Mic92: pdf-quench: no manual shebang patch
sanscoeur has joined #nixos
<jbetz_> tilpner: I'm getting syntax errors. should it be `pidgin.override = ...`?
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #39749 → i3lock-color: 2.10.1-1-c -> 2.11-c → https://git.io/vp0Jo
<ixxie> stuff like authentication keys that needs to be put in an envirmental variable or a password for a database - say I store it in some files in a secrets folder and then load them into my config files, would that be secure?
<ixxie> I would be of course putting secrets/* in my .gitignore so that doesn't go into the public repo
<gchristensen> would the secrets get in to the nix store, or would files in the nix store be saying "look at /etc/nixos/secrets/foobar.txt"?
<ixxie> well that is sorta why I am asking this
<ixxie> I am not sure
<drakonis> hmm, so, nixpkgs is the default for non NixOS distros
<drakonis> every time something is done, it throws up the "this is nixpkgs not nixos" error
<{^_^}> [nixpkgs] @xeji merged pull request #39432 → tuxpaint: init at 0.9.22 → https://git.io/vpZHn
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp0Ue
<{^_^}> → 82a9df76 by @woffs: tuxpaint: init at 0.9.22
<{^_^}> → 477f1111 by @xeji: Merge pull request #39432 from woffs/tuxpaint
<ixxie> gchristensen: interesting, there is https://github.com/NixOS/nixpkgs/issues/24288
<infinisil> drakonis: "something is done"? What exactly and what's the full error?
<gchristensen> ixxie: indeed
<drakonis> warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs' does not exist, ignoring
<drakonis> it only activates if the primary repo is nixpkgs
<drakonis> its only triggered under the condition that its nitpkgs and not nixos
<jbetz_> tilpner: changed it to `pidgin.override = ...` and now it says that `telegram-purple` is an undefined variable
<samueldr> gchristensen: I'm assuming telling to look etc /etc/secrets_or_whatever *is* secure with regards to deployments and nix, asking since I'm about to do this for a project soon
<gchristensen> samueldr: right
<samueldr> (as secure as it would otherwise)
<gchristensen> assuming the file permissions on the /etc/secretsn-or-whatever are appropriately closed
zybell has joined #nixos
<ixxie> gchristensen: i.e. owned by root?
<samueldr> good, I assumed so, since other than the nix store, nix and nixos is pretty much linux
<tilpner> jbetz_ - Not pidgin.override = ...;. What are your errors?
<gchristensen> ixxie: if that is what you need, sure. but it could be owned by a specific other user/group and not readable by other users than that one
<samueldr> I have it owned by the user running the service
<ixxie> makes sense
<ixxie> so it depends on the context
<jbetz_> tilpner: `error: syntax error, unexpected '{', expecting '.' or '='`
<drakonis> i've asked before
coot has quit [Quit: coot]
<tilpner> jbetz_ - Paste the relevant parts of the file in which you wrote that
coot has joined #nixos
xcmw has joined #nixos
<jbetz_> tilpner: http://lpaste.net/365417
<{^_^}> [nixpkgs] @xeji merged pull request #39320 → sweep-visualizer: ffmpeg library clash fix → https://git.io/vpOvz
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp0Uj
<{^_^}> → d71a8533 by @mt-caret: ffmpeg library clash fix
<{^_^}> → 0ca79290 by @xeji: Merge pull request #39320 from mt-caret/sweep-visualizer-fix
<tilpner> jbetz_ - Ah. It was supposed to go into your systemPackages, not at the top-level
<tilpner> jbetz_ - So environment.systemPackages = [ ... (pidgin.override { ... }) ... ];
<tilpner> Instead of the pidgin you currently have in there
<ixxie> samueldr, gchristensen - if I take such an approach, it is still okay for the configs themselves to be public?
<jbetz_> tilpner: okay, so now it compiles and the config rebuilds, but ... pidgin is still missing the telegram option :/
<tilpner> jbetz_ - Can't confirm, it shows Telegram as an option here. Did you nixos-rebuild switch and quit all running Pidgin instances?
<{^_^}> [nixpkgs] @xeji closed pull request #39245 → gmic: 2.2.1 -> 2.2.2 → https://git.io/vpmtn
<samueldr> ixxie: I would assume so, assuming secrets aren't in the repo, and you assume anyone with a brain built for malice *will* have the advantage of knowing how your system is built
<jbetz_> tilpner: yes, and still no joy
<infinisil> ixxie: I have as much of my config public as possible, and nix puts a lot of passwords in my store
tertle||eltret has joined #nixos
<tilpner> jbetz_ - And you removed the other pidgin, right?
<ixxie> samueldr: I was wondering about that; indeed merely knowing the configuration of my system is an advantage
<samueldr> build it in a way so it shouldn't mean much :)
<infinisil> ixxie: I keep my nix files that set passwords in a separate private repository, it actually defines a `private.passwords` option, allowing me to use e.g. `config.private.passwords.mpd` to access the mpd password from any file
orivej has joined #nixos
<samueldr> (that's the hard part, living a secure life in a glass house)
<ixxie> infinisil: mpd?
<jbetz_> tilpner: ahh, I had it installed in my env -_- that was the problem
<jbetz_> works now, thanks!
<infinisil> ixxie: https://www.musicpd.org/
<infinisil> It plays my music
<gchristensen> ok people, why do you have to call toString on a number for it to be part of a string in Nix
<cransom> our type system lacks robustness?
<boomshroom> I'm using clever's Nix patch that lets you spoof the local system with qemu-linux and when building hello for armv7, the build complained about __ARM_ARCH being undefined.
<drakonis> its not erlang rides again
<drakonis> btw
<gchristensen> cransom: but why add toString when it could just do it
<drakonis> when can nix achieve erlang levels of robustness?
<gchristensen> when is Nix going to be a runtime
<neonfuz> nixos-rebuild switch --upgrade on my intel graphics machine just broke my machine
<infinisil> gchristensen: Lol
<drakonis> hmm
<neonfuz> it crashed X, and I couldn't type into TTYs, then upon reboot X worked, but nothing with opengl worked
<drakonis> some day, right?
<neonfuz> had to boot an old nixos
<neonfuz> it's so nice you can do this, this is the first time I've ran into a breaking system update on nixos
<neonfuz> but I ran nixos-rebuild switch --upgrade again and it again crashed X, same exact way, so it's repeatable
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39750 → palemoon: 27.8.3 -> 27.9.0 → https://git.io/vp0kl
<neonfuz> is it possible that I have a corrupted build? does nix check for corruption when installing into the store?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39751 → pam_u2f: 1.0.5 -> 1.0.6 → https://git.io/vp0kB
<cransom> gchristensen: well. i was lost for words when i saw how lib.toInt really worked recently. i'm ok with having to tell it that 'yes i really do want to convert this int to a string' rather than having it do something behind the scenes
<samueldr> neonfuz: assuming 18.03, could you share the output of `nix-shell -p nix-info --run nix-info` ?
<gchristensen> cransom: haha yeah oh yeah
<samueldr> (this way it would be possible to see from which revision you're upgrading)
<MichaelRaskin> neonfuz: As for GL — there is actually a substantial change
orivej has quit [Ping timeout: 260 seconds]
<MichaelRaskin> Does your LD_LIBRARY_PATH contain /run/opengl-driver/lib ?
<ixxie> samueldr: glass houses are fragile but NixOS is quite robust (actually, its antifragile)
<samueldr> maybe it's a lexan™ house?
<neonfuz> hold on, I'm booted into my old nix generation
<ixxie> lol
<samueldr> neonfuz: with the old, please!
<neonfuz> okay
<samueldr> it's easy to see which revision the channel is at right now :)
<neonfuz> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0, channels(root): "nixos", channels(sage): "nixos-18.09pre138687.1b1be29bf82", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vp0kb
<{^_^}> → 751aa3df by R. RyanTM: linuxPackages.wireguard: 0.0.20180413 -> 0.0.20180420
<{^_^}> → ffa3fa04 by @Mic92: Merge pull request #39722 from r-ryantm/auto-update/wireguard
<{^_^}> [nixpkgs] @Mic92 merged pull request #39722 → linuxPackages.wireguard: 0.0.20180413 -> 0.0.20180420 → https://git.io/vpRrF
<ixxie> samueldr, gchristensen - is there a way to declaritively and securely specify that a secret in some file should become an environment variable?
<drakonis> when is there an actual
<drakonis> nix shell
<drakonis> a shell written in nix
<neonfuz> MichaelRaskin: in the old generation now, yes it does
<neonfuz> I haven't checked in the new yet
<neonfuz> MichaelRaskin: what do I have to change?
<MichaelRaskin> Well, it depends on the minor details of the setup
nur0n0 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #38766 → tealdeer: init at 1.0.0 → https://git.io/vxNZS
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp0IW
<{^_^}> → a45dad98 by @davidak: tealdeer: init at 1.0.0
<{^_^}> → 2f4e3f90 by @xeji: Merge pull request #38766 from davidak/tealdeer
jrolfs_ has quit [Read error: Connection reset by peer]
tmaekawa has quit [Quit: tmaekawa]
orivej has joined #nixos
<neonfuz> MichaelRaskin: okay, well turns out I can't access irc the normal way I do because I get some locale error in the newest generation and mosh won't start
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39752 → opendht: 1.7.0 -> 1.7.1 → https://git.io/vp0IP
<neonfuz> LD_LIBRARY_PATH in the working env has more files than the non working one
niorrr has joined #nixos
<niorrr> should i try to use nix to manage ocaml libs or should i just use opam?
olto has quit [Ping timeout: 260 seconds]
<symphorien> niorrr: if an opam lib depends on a C lib provided by nix, then the C lib might be garbage collected and break opam
<neonfuz> MichaelRaskin: what is the change that you think broke? a mesa update?
<jbetz_> is there any way to check which versions of a package are currently installed on your system?
<symphorien> Try to stick with what is in nixpkgs, and if it is not enough, then use opam2nix I would say
<MichaelRaskin> Move from linking with Mesa to libglvnd
sigmundv__ has joined #nixos
<MichaelRaskin> Which is a nontrviail change in logic
daveo has quit [Ping timeout: 256 seconds]
<niorrr> OK
<niorrr> it seems like they won't mix together, e.g. opam will reinstall an existing package
tobiasBora has quit [Ping timeout: 268 seconds]
<symphorien> jbetz_: nix-store -qR /nix/store/...nixos-system... and then grep for your package
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39753 → makeself: 2.3.1 -> 2.4.0 → https://git.io/vp0Lq
jacob_ has quit [Quit: Lost terminal]
<neonfuz> hmm alright
<neonfuz> so what should I do? stay on the old generation for now? is there an option I can change?
<Judson> So, can nix-shell no longer create gc-roots?
<{^_^}> [nixpkgs] @xeji merged pull request #39732 → riot-web: 0.14.0 -> 0.14.1 → https://git.io/vpRMj
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp0Lw
<{^_^}> → dc2f0122 by R. RyanTM: riot-web: 0.14.0 -> 0.14.1
<{^_^}> → bfb26deb by @xeji: Merge pull request #39732 from r-ryantm/auto-update/riot-web
xy2_ has quit [Ping timeout: 240 seconds]
<symphorien> niorrr: ah right, I forgot, you can also create gc-roots yourself as Judson points out
<niorrr> so jbuilder expects to find an opam root
<niorrr> could this be problematic?
<symphorien> Sorry I have never used jbuilder
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39754 → liquibase: 3.6.0 -> 3.6.1 → https://git.io/vp0LN
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp0tJ
<{^_^}> → b0989d3c by R. RyanTM: pam_u2f: 1.0.5 -> 1.0.6
<{^_^}> → e383a73c by @xeji: Merge pull request #39751 from r-ryantm/auto-update/pam_u2f
<{^_^}> [nixpkgs] @xeji merged pull request #39751 → pam_u2f: 1.0.5 -> 1.0.6 → https://git.io/vp0kB
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39755 → mopidy-iris: 3.17.1 -> 3.17.5 → https://git.io/vp0tI
<{^_^}> [nixpkgs] @fgaz opened pull request #39756 → facette: init at 0.4.0 → https://git.io/vp0tm
<niorrr> bleh it seems like its gonna be a lot of work to get jbuilder to interact correctly with nix
<niorrr> but otoh i feel like installing everything through opam is the "wrong" thing to do
markus1189 has quit [Ping timeout: 240 seconds]
<symphorien> For disposable dev stuff this is fine
markus1189 has joined #nixos
<symphorien> But for example for installing long term stuff like merlin this will be more troublesome
<symphorien> In my opinion
<niorrr> hm
orivej has quit [Ping timeout: 265 seconds]
<niorrr> also, `ocamlfind list` doesnt list batteries, which i just installed through nix
<niorrr> is this normal?
<symphorien> Installed how ?
<niorrr> nix-env -iA nixos.ocamlPackages.batteries
<symphorien> !libraries
<symphorien> !librariy
<symphorien> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<niorrr> so why are they there ...
<symphorien> For use with nix-shell
<niorrr> interesting
drakonis has quit [Remote host closed the connection]
<symphorien> nix-shell -p libfoo gives you a disposable and temporary environment where libfoo is installed
markus1189 has quit [Ping timeout: 264 seconds]
drakonis has joined #nixos
guillaum3 has quit [Remote host closed the connection]
coot has quit [Quit: coot]
bpa has quit [Remote host closed the connection]
asuryawa_ has quit [Remote host closed the connection]
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
markus1189 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39758 → lr: 1.3 -> 1.4 → https://git.io/vp0q6
<Judson> symphorien, I wasn't trying to point something out - sorry if the context made that confusing. I've tried adding --add-roots and --indirect to my nix-shell calls, but I don't see anything created...
ixxie has quit [Ping timeout: 240 seconds]
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
<symphorien> Ah ok I misunderstood. It is something I have never tried
<Judson> I'd like it to work...
niorrr has quit [Quit: WeeChat 2.0]
freeman42x[nix] has quit [Ping timeout: 260 seconds]
<neonfuz> also I'm getting locale errors on the latest nixos update
markus1189 has quit [Read error: Connection reset by peer]
doyougnu has joined #nixos
<symphorien> neonfuz: do you have static binaries built with an old glibc ?
<symphorien> In nix-env -q for example
markus1189 has joined #nixos
lord| has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39759 → mwic: 0.7.4 -> 0.7.5 → https://git.io/vp0Yf
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
xcmw has joined #nixos
Ariakenom has quit [Quit: Leaving]
markus1189 has quit [Ping timeout: 260 seconds]
hiratara has quit [Ping timeout: 265 seconds]
<boomshroom> clever: Your qemu user patch doesn't seem to build on the most recent version.
<neonfuz> symphorien: I mean my nix-env was built on the old nix generation
<neonfuz> so yes, if that's too old
hiratara has joined #nixos
<symphorien> Last glibc update is breaking locale db format
<symphorien> But I can't remember when it was applied to nixpkgs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39760 → miniupnpd: 2.0.20180410 -> 2.0.20180422 → https://git.io/vp0OG
<neonfuz> hmm, so do I need to do a nix-env -u (--leq maybe) after that?
<neonfuz> oh, alright
hamishmack has joined #nixos
<clever> boomshroom: what error does it fail with?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39761 → ipmiutil: 3.0.9 -> 3.1.0 → https://git.io/vp0O1
jrolfs__ has joined #nixos
niorrr has joined #nixos
boomshroom has quit [Ping timeout: 265 seconds]
markus1189 has joined #nixos
iqubic has joined #nixos
boomshroom has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39763 → jackett: 0.8.886 -> 0.8.929 → https://git.io/vp03Y
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39764 → html-xml-utils: 7.6 -> 7.7 → https://git.io/vp030
blankhart has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @grahamc closed pull request #23589 → Git: Make the patchset more granular. → https://git.io/vyR2j
niorrr has quit [Quit: WeeChat 2.0]
markus1189 has quit [Ping timeout: 240 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jedai has joined #nixos
mkoenig_ has joined #nixos
mkoenig has quit [Ping timeout: 240 seconds]
<tmplt> Would someone mind checking on a NixOS system if the datasets for geant4.v10_0_2 download correctly when building the derivation? I'm my own system the mirror (geant4.cern.ch) cannot be resolved, which isn't a problem for dig(1).
<boomshroom> My NixOS really borked when upgrading.
<boomshroom> Amazingly, my tmux session survived, but only kindof as I had to recreate the socket.
aarvar has joined #nixos
cristian2 has joined #nixos
aarvar has quit [Remote host closed the connection]
frank87 has quit [Remote host closed the connection]
frank87 has joined #nixos
<lejonet> boomshroom: tmux can survive a lot of abuse surprisingly enough
aarvar has joined #nixos
<boomshroom> lejonet: I was kicked out to my login screen and now i3 doesn't seem to remember my DISPLAY variable or the applications directories.
<Ralith> okay what the hell
<Ralith> something is actively and repeatedly mangling my fc cache
<lejonet> boomshroom: :P
<Ralith> (the user-local one)
<boomshroom> lejnoet: I don't want to have to reboot, so I'm trying to see if i3 even has a DISPLAY variable, which means launching a shell from it and accessing it from elsewhere.
<boomshroom> I'm currently in a TTY.
<lejonet> boomshroom: well, it should have a DISPLAY variable, :0 usually works unless you've got several X servers
<boomshroom> I have no idea what happened, but I suddenly have applications in my search bar.
<boomshroom> And now things are working again despite me not doing anything?!
<lejonet> magic!
<boomshroom> lejonet: Programming really is just a form of wizardry.
m2 has joined #nixos
<lejonet> boomshroom: it is indeed
<boomshroom> At least my web browser remembers its sessions, so I didn't loose anything there either.
asuryawanshi has joined #nixos
<lejonet> boomshroom: Clarke's third law "Any sufficiently advanced technology is indistinguishable from magic."
Neo--- has joined #nixos
m2 is now known as epta
hiratara has quit [Quit: ZNC - http://znc.in]
<boomshroom> Where was I? Oh ya! clever: your QEMU user module doesn't seem to build. Also, you don't patch nix unless you enable arm or aarch64, both of which are broken.
hiratara has joined #nixos
Neo-- has quit [Ping timeout: 264 seconds]
jrolfs__ has quit [Ping timeout: 264 seconds]
MP2E has joined #nixos
<tmplt> Solved my issue by disabling the sandbox
<tmplt> I surmise internet access is denied in a sandbox?
<gchristensen> it is yes, intentionally
<tmplt> oh, well that explains it
<gchristensen> usually it means a build is downloading from the internet where it sholdn't
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/fd8dcdfa9d3 (from 14 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
alex`` has quit [Quit: WeeChat 2.1]
<tmplt> gchristensen: the derivation I want to build require some datasets. These are currently downloaded in the build state. Should fetchurl be used instead?
alex`` has joined #nixos
<gchristensen> exactly
<boomshroom> tmplt: Generally, yes, or some other fetch* function.
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
alex`` is now known as alexherbo2
<tmplt> Would this warrant an issue in nixpkgs, or would that be noise?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39765 → kotlin: 1.2.40 -> 1.2.41 → https://git.io/vp0Z7
<gchristensen> an issue would be good yeah
markus1189 has joined #nixos
<gchristensen> even better of course if you can fix it too :)
alexherbo2 is now known as alex``
jrolfs__ has joined #nixos
<tmplt> gchristensen: of course! An open issue will be a good reminder.
justbeingglad has joined #nixos
<tmplt> so then, derivations not buildable in a sandbox are not cached?
justbeingglad has left #nixos [#nixos]
raynold has quit [Quit: Connection closed for inactivity]
<neonfuz> symphorien: now many of my programs aren't compiling too
<gchristensen> right, they just fail
<neonfuz> when I do a nix-env -u --leq
<{^_^}> [nixpkgs] @matthewbauer pushed to master « vit: enable on all »: https://git.io/vp0no
blankhart has joined #nixos
niorrr has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #39764 → html-xml-utils: 7.6 -> 7.7 → https://git.io/vp030
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp0nN
<{^_^}> → d50a31a7 by R. RyanTM: html-xml-utils: 7.6 -> 7.7
<{^_^}> → dcd61eea by @xeji: Merge pull request #39764 from r-ryantm/auto-update/html-xml-utils
PolarIntersect has quit [Quit: WeeChat 2.0]
<neonfuz> specifically qscintilla-qt4, a dependency of openscad, is failing
<{^_^}> [nixpkgs] @xeji merged pull request #39760 → miniupnpd: 2.0.20180410 -> 2.0.20180422 → https://git.io/vp0OG
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp0cf
<{^_^}> → 1fe6cca2 by R. RyanTM: miniupnpd: 2.0.20180410 -> 2.0.20180422
<{^_^}> → c98ffcad by @xeji: Merge pull request #39760 from r-ryantm/auto-update/miniupnpd
<{^_^}> [nixpkgs] @xeji merged pull request #39759 → mwic: 0.7.4 -> 0.7.5 → https://git.io/vp0Yf
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp0cT
<{^_^}> → 7ce53bee by R. RyanTM: mwic: 0.7.4 -> 0.7.5
<{^_^}> → 79dedd7f by @xeji: Merge pull request #39759 from r-ryantm/auto-update/mwic
<{^_^}> [nixpkgs] @dasJ opened pull request #39767 → nixos/dnsdist: init → https://git.io/vp0cI
Guanin has quit [Remote host closed the connection]
Guanin_ has joined #nixos
markus1189 has quit [Ping timeout: 248 seconds]
markus1189 has joined #nixos
contrapumpkin has quit [Ping timeout: 248 seconds]
propumpkin has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #39713 → pcsc-scm-scl011: clean up unpack phase → https://git.io/vpRYU
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp0c8
<{^_^}> → 2cc9da33 by @sephalon: pcsc-scm-scl011: clean up unpack phase
<{^_^}> → a2c94b7f by @xeji: Merge pull request #39713 from sephalon/pcsc-scm-scl011
simukis has quit [Ping timeout: 255 seconds]
<neonfuz> yeah it seems qt programs aren't building
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39768 → goxel: 0.7.3 -> 0.8.0 → https://git.io/vp0ca
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39769 → git-cola: 3.0 -> 3.1 → https://git.io/vp0ci
niorrr has quit [Quit: WeeChat 2.0]
<Ralith> clever: are makeScope/newScope documented anywhere?
<clever> Ralith: dont know, i just found them in-use in a random area of nixpkgs
Ross has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39770 → gitAndTools.gitRemoteGcrypt: 1.0.3 -> 1.1 → https://git.io/vp0ch
kier has quit [Read error: Connection reset by peer]
<Ralith> clever: what's the difference between them?
<clever> Ralith: i think newScope is what generates a set with a callPackage function
<clever> and makeScope modifies it to add .overrideScope
<clever> which lets you apply overrides before the set of packages can reference itself
Ross has joined #nixos
<Ralith> @_@
<boomshroom> One of my parents' friends brought her laptop over for tech support. She broke it so badly that nearly any atempt to reset the system failed.
kier has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp0C8
<{^_^}> → b45a5a18 by R. RyanTM: nextcloud: 13.0.1 -> 13.0.2
<{^_^}> → 982898c9 by @xeji: Merge pull request #39746 from r-ryantm/auto-update/nextcloud
<boomshroom> I wonder if she'd be able to break NixOS this badly.
<{^_^}> [nixpkgs] @xeji merged pull request #39746 → nextcloud: 13.0.1 -> 13.0.2 → https://git.io/vpRj8
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2f4e3f90642 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<gchristensen> any sufficiently novice user can break anything
cristian2 has quit [Ping timeout: 268 seconds]
<clever> i broke nixos pretty badly with `nix-store --delete --force` when i was new to things
<boomshroom> Anytime you try to make something more idiot-proof, the universe makes a new idiot.
<clever> but it was still easy to fix, once i found a copy of nix that still survived
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39771 → graphicsmagick: 1.3.28 -> 1.3.29 → https://git.io/vp0CE
<neonfuz> Ralith: >which lets you apply overrides before it can reference iteself
<neonfuz> damn sweet
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39772 → encfs: 1.9.4 -> 1.9.5 → https://git.io/vp0CX
<boomshroom> It'd probably be extremely hard to break any linux system if you prevent all access to the terminal, but at that point you're dealing with something more like ChromeOS.
<gchristensen> probably extremely hard to use, then, too :)
<Ralith> clever: if what makeScope does is useful, why is it opt-in?
<clever> Ralith: not sure, but i use it any time i'm creating a set of packages
<{^_^}> [nixpkgs] @dtzWill opened pull request #39773 → treewide: platforms.gnu -> gnu ++ linux, allow using musl → https://git.io/vp0We
<Ralith> clever: can you point me at an example of proper use?
<Ralith> dtz: ooh, musl support :D
oida has quit [Ping timeout: 255 seconds]
phreedom has quit [Ping timeout: 255 seconds]
<Ralith> that is definitely different than what I was partway through doing
<clever> Ralith: i believe .overrideScope lets you apply overrides to the self passed in on line 16
logzet has quit [Remote host closed the connection]
<boomshroom> Speaking of musl, is it currently possible to build a full NixOS system entirely with musl?
<gchristensen> no
<Ralith> clever: any reason not to do `packages = self: with self { ... };`?
erasmas has quit [Quit: leaving]
<boomshroom> gchristensen: I want all the options with which to build my NixOS system, dammit!
<clever> Ralith: you could do that, shouldnt make any difference
<simpson> boomshroom: I'm sure that a stdenv could be rigged up, but I don't think that all packages work with musl.
<Ralith> I would quite like to be able to use nix to build fully static binaries for distribution convenience
<Ralith> clever: cool, thanks
<boomshroom> simpson: There's already a musl platform available in lib.platforms.examples. It shouldn't be hard to build NixOS with an arbitrary localSystem.
<simpson> Oh, cool.
<boomshroom> simpson: I'm currently building a musl binutils as a part of my test.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39774 → guake: 3.2.0 -> 3.2.1 → https://git.io/vp0Wa
phreedom has joined #nixos
<neonfuz> MP2E: dolphinEmuMaster isn't building for me anymore
oida has joined #nixos
<MP2E> ah, it could definitely use a bump. I'll update it today, thanks for the ping
<neonfuz> sweet, thanks
tomaz has joined #nixos
tomaz is now known as Guest60540
Guest60540 has quit [Client Quit]
tomaz0 has joined #nixos
<tomaz0> Hey, are there any docs on using buildPythonPackage?
<dtz> erm I build many things w/musl haha ^_^
<dtz> big blocker is systemd but I have that patched in my tree, just need to clean it up and maybe upstream it O:)
<Ralith> aw, I have a systemd dep
<dtz> (got a few things fixed in upstream systemd itself! \o/)
<Ralith> (native structured logging via journald is <3)
<boomshroom> I want to see NixOS become init independant. Not because I'm against systemd, but because I want to change the kernel itself in a single line!
alexteves has quit [Ping timeout: 240 seconds]
<Ralith> clever: why `inherit pkgs` in that example?
<{^_^}> [nixpkgs] @dtzWill opened pull request #39776 → nss-mdns: fix build w/musl → https://git.io/vp0l4
<neonfuz> interesting
<neonfuz> so in this new generation that doesn't seem to work correctly
<neonfuz> mosh doesn't run because of some error with my locale, but I can run 'nix-shell -p mosh --run mosh' and it runs fine
<tomaz0> LnL; Thx
<neonfuz> and mpv fails to load my graphics, but if I run it in 'nix-shell -p mpv' it works fine too
<neonfuz> what's wrong? This really sounds like a corrupted generation to me
<neonfuz> can I delete this generation forcefully?
<neonfuz> delete the folder then GC?
<Ralith> it's funny because we were just talking about how badly you can break things by forcefully deleting things
<Ralith> don't delete, rollback
cristian2 has joined #nixos
<dtz> well mostly NixOS needs some work to let you set localSystem, in my nixos-musl branch [1] I have various NixOS tests running and passing!
<clever> Ralith: mostly for debug, so i could reuse the pkgs elsewhere
<dtz> Recently got lost in the bottomless pit that is NFS, locking, and nfs-utils version pains
<Ralith> argh I hate nix syntax errors
<neonfuz> Ralith: I rolled back, I want to rebuild the latest env
<neonfuz> I think it may be corrupted, becasue my X crashed while I was building it
<Ralith> the store is harder to corrupt than that
<Ralith> if your X crashed out of the blue you may have bigger problems
sir_guy_carleton has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39777 → folly: 2018.04.16.00 -> 2018.04.23.00 → https://git.io/vp08Y
<dtz> finally sorted the NFS issue, lol, but spent way too much time on that XD