2019-08-24

<srhb> Guest49: But if you do manage to get something more declarative than Hydra written, please let us know :P
<Miyu-chan> I'm trying out something different.
<GiGa> srhb: Definitely not something I'm qualified to do. Odd given it used to work ...
<pie_> tilpner: you might be onto something /me scratches head
<pie_> whereas in my configuration i set something???
<joepie91> hm. actually, it works in winecfg, just not in UT2004 and something else I tested a few weeks back?
<hpfr[m]> Anyone have problems with pkgs.hplipWithPlugin? I tried running hp-setup after including that in my services.printing.drivers and I get something about python-dbus not being installed.
<joko> Miyu-chan: I'm doing something similar, I haven't thought of a better approach. https://git.joko.gr/joko/dotfiles/src/linux-workstation/home/.config/nixpkgs/home-base.nix#L117
<infinisil> While it might be possible to do something hacky with IFD and tryEval, I wouldn't suggest you do that
<Miyu-chan> Oh. Turns out something similar's being done here. Cool.
<srhb> madhukar93: Is this GRUB/MBR or something else?
<madhukar93> srhb: `sudo nixos-rebuild switch --upgrade --repair --install-bootloader` didn't work either. The point at which it started happening doesn't seem special. Maybe I can truncate older generations and it would be forced to reset or something
<srhb> Also it should be something like /dev/sda1 /nix, not /nix/hdd
<Gigabitten> So if I make an fstab entry like `/dev/sda1 /nix/hdd ntfs defaults 0 0` then that'd do? Does nix just notice I've got something mounted there and automatically start storing stuff there?
<srhb> All you need to do is put /nix/store on something that has enough space for you.
<Gigabitten> I'll figure something out lol
<Gigabitten> I tried to stack the cup with something else into the cup with water and had to get a towel for the resulting mess
<Gigabitten> I had a cup with water and a cup with something else
<Gigabitten> nothing terribly interesting though, just the two lines which the reflex tutorial I was using instructed me to add manually. before I put those there, the file didn't yet exist. It's been some hours now, with some other activities between, so I don't remember, but it's possible I did things a bit out of order and it failed to update things properly when it saw there was already something there.
<srhb> Maybe it's something silly like it defaults to the hardcoded cache.nixos.org-1 key unless the option is specified (either at all or with a non-empty value) and once specified by reflex, the hardcoded one is no longer taken into consideration
<Gigabitten> Do the Reflex people know about this? er, team obsidian or something?
<Gigabitten> So I went with the second. When I ran nix-shell, it started... something that looks like compilation. It's been going for a few hours now. What on earth is going on here?
<Gigabitten> so I was following a tutorial for something unrelated (http://blog.qfpl.io/posts/reflex/basics/exercises/introduction/) and part of the setup for it was getting a nix shell up.

2019-08-23

<EsperLily> heck, could you use something like nixery.dev/shell/nix as just a generic Nix base image? Dunno if that's any better than the NixOS/nix image though
<LouisDK> I want to look for either "centos","debian" or "ubuntu" in it and if untrue do something else.
<joepie91> and this is something that is a bit painful to fix afterwards :)
<gchristensen> does NixOS have an service for something I can put in HTTP_PROXY for testing a PR?
<alexarice[m]> Not sure if I am explaining this well but is there a way to append something to an option set with `mkDefault` without just copying it out
<pie_> tazjin: theres a discussion at the nixos tent right now about like improving the maintainership process or something if you want to join
<joepie91> ideally something like Windows, but even eg. an Ubuntu live CD would give you useful data points
<joepie91> something not NixOS
<eyJhb> Yup, so something is very off
<aanderse> i have broken the manual in the past, so i'm just glad it wasn't something i have done :P
<chiiba> Hey, I have multiple multiple services set up to run docker-compositions, but because they both reside in /nix/store, docker-compose thinks they're somehow the same. I'm not fluent in docker internals, but has anyone experienced something like this?
<freeman[w]__> clever, damn, it provides too many packages that contain something like it... but I wonder whether they are all the same thing?
<cinimod> clever: I think something is needed in the cabal file
<immae> clever: do you know if adapting the nix-build -> nix-daemon protocol to make it able to pass environment variable (in fixed-output context only of course) is something possible and just noone took time to do it, or something that would be refused anyway?
<immae> Thanks for your time clever, I think I’ll manage to do something with builtins.fetchurl
<immae> Hello there, I’m trying to use a netrc file in /etc/nix/netrc, but it seems to be ignored, did I forget something?
<alexarice[m]> asymmetric: yes but it's better that something needs to be repatched than breaks silently
<clever> asymmetric: depends on if upstream changes something in that area of the code
<Yaniel> nixos did also change something about LD_LIBRARY_PATH
<srhb> craige: I'm a bit puzzled by the difference though. But yeah, if this works, something must have changed in the source..
<srhb> craige: If the hash matches something in our mirror, it's used. Otherwise upstream.
<cinimod> I know cabal builds something which crashes if I don't have it
<srhb> I suspect hydra-fork may expect something more than just a path to src as its src argument.
<jackdk> okay next problem there's something wrong with login. I can rebuild, boot into the new config, and the new password I definitely carefully set is not recognised.
<jackdk> that successfully built the derivations but failed to update the boot menu, something to do with the crypt setup
<jackdk> now I get an error: unable to start boot process, which looks like https://github.com/alexandergall/nixos-pxe-installer/issues/3 in that something something sandbox. how do I nixos-rebuild with no sandbox?
<jackdk> I am trying to recover a nixos system using a chroot. nixos-enter appears to work, but nixos-rebuild switch seems to want to fetch something from the cache. I have network access outside the chroot but get "ping: system error" when I try to do networky stuff within the chroot. What might I be doing wrong?
<freeman42y> I need to set trusted-substituters = SOMETHING, but I do not know what SOMETHING is :)

2019-08-22

<manveru> should be something like `/nix/store/...-wrapped-ruby-app-env/bin/ruby`
<manveru> do you have some plugin for ruby in zsh or something?
<Yaniel> renderdoc breaks due to not being able to find libnvidia-spirv or something
<Guest7109> I changed the derivation for strongswan, which my network-manager service transitively depends on through the networking.networkManager.enableStrongSwan option, and rebuilt my system. I see strongswan being recompiled, but the network-manager.service unit still points to the old derivation. Is there something special about network-manager that prevents it from picking up the change?
<scoates> yeah; I'm also having trouble finding something like that
<zfnmxt> chr15: Should look something like Hash = "b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c"
<zfnmxt> chr15: Something's wrong with your config, then. Look in journalctl for an error.
<zfnmxt> (I could've chosen something other than `zfnmxt`)
<zfnmxt> chr15: Like, what dependencies does it have or something?
<zfnmxt> chr15: No, I just had to title it something :P But you could of course do that.
<freeman[w]> srhb, can I run some XSDL validation or something on the XML after I make the changes or how do I know changes will work?
<Ariakenom> srhb: yeah something like that.
<srhb> Ariakenom: I'm assuming you have fixed the hash in your local checkout and you're doing something like: nix-build . -A skypeforlinux ?
<srhb> rsoeldner: So ghc-pkg shouldn't even be on PATH -- something else is going on.
<worldofpeace> Updating to an unstable version of something is usually not the best solution. Usually I'd do that if it's my last choice.
<iqubic> I think it might be something to do with grabbing the latest version of emacs from git.

2019-08-21

<Soo_Slow> is it possible to make something like cross-distro AUR with nix package manager? (e.g you just write some setup script, while actual data (aside from dependencies, which come from official repo, if possible) gets downloaded from developer's site and then verified by hash)
<jgertm> I changed the derivation for strongswan, which my network-manager service transitively depends on through the networking.networkManager.enableStrongSwan option, and rebuilt my system. I see strongswan being recompiled, but the network-manager.service unit still points to the old derivation. Is there something special about network-manager that prevents it from picking up the change?
<srhb> Looks like I just took a wild guess and something in the process of recreating the installer on a different usb drive made the problem go away.
<benley> I can't figure out if there is something up with my connection or if it's elsewhere
<GiGa> freeman[w]: can you put it on pastebin or something for us? Your configuration can't be built as there's an issue with your display-manager choice by the looks of it (correct me if I'm wrong @clever )
<freeman[w]> sphalerite, "you'll need to be more specific about how it doesn't work for us to be able to help you" D'oh! for now I'm trying to figure it out myself, will ask when I got something concrete
<vika_nezrimaya> It definitely failed for me last time, maybe something changed
<hpfr[m]> So the underscore is just coercing this expression to be a function or something for overrideAttrs
<srhb> hpfr[m]: The reason being that the overrideAttrs is a.. Let's call it a shallow merge, so overriding any attribute will simply lose the old value if you don't explicitly do something with it
<hpfr[m]> Oh, thanks! Seems like override should be overrideInputs or something but I don’t claim to be a package management guru haha
<iqubic> Something or other in options.html has screwed up.
<iqubic> Well, something in the JS tries to convert null to an object, and fails.
<{^_^}> If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<NemesisD> nDuff: i wonder if there's a way to reverse this? i'm looking for what depends on this particular package in the closure. for some reason something is dragging *ghc* into my docker image

2019-08-20

<jtojnar> it is not in the runtime closure but it might still be needed for something during build
<srhb> slabity: I believe the trick is something like loading a metric ton of modules, then traversing the available modules' pseudo file systems to correlate with active hardware, then selecting some subgroup of that.
<jollyjester> i want something to automate it
<risson> something broke in there:
<palo> sorry I was wrong, this is an old package or something,...
<pie_> do i need to enable something to get my internal sd card reader to work
<Izorkin> ajs124: need to add something in PR #63150 ?
<ksundar> ah, ok. I might use it in the future then. I'm literally just setting up NixOS for the first time. The goal is to get something that works like a minimal server that I can run computationally expensive jobs on
<jackdk> vaibhavsagar: I use something like this, but you could easily modify it to pass the arg from a pinned nixpkgs https://www.irccloud.com/pastebin/ieogW87s/
<selfsymmetric-mu> vaibhavsagar: Not sure. I was hesitant to override something to fundamental. I respect what you're going for though. I'd rather have no channels declared on the command line at all.
<lovesegfault> Yeah something's off

2019-08-19

<rycee> iqubic: Perhaps you have a caching proxy or something?
<niso> iqubic: to install something from the current github master: http://paste.debian.net/1096631/
<rycee> I think it's unlikely that Home Manager is doing something to cause the attribute to disappear.
<infinisil> Unode: Well shell.nix nix-shell file usually only gives you an *environment* for building something, it doesn't include how to build it
<rycee> iqubic: What do you mean by "refusing". Do you get an error message or something?
<arcnmx> in a PR I'm fixing up, I'm assuming default was meant here but for all I know it means something to someone :p
<srhb> selfsymmetric-pa: could this be something silly like a mismatch between mpv and python-mpv? That is, someplace there name is wrong.
<infinisil> freeman[w]: I'd do something like `drv.env.overrideAttrs (drv: { buildInputs = old.buildInputs or [] ++ [ <more stuff> ]; })`
<selfsymmetric-pa> tilpner: If you see something else can you point me to it?
<freeman[w]> infinisil, `This is a Nix channel though, so we can kind of assume they want to use it.` They do want to use it. But I bet that most people here are smart and know not to chase something that is done too hard in Nix but trivial with other ways. If you got time. Ofc, just use Nix. But you never have infinite time...
<cinimod> infinisil: I thought I had done that - if you wait a few moments I hope to have something you can look at / try yourself
<infinisil> I kind of assumed this was a Nix question, not sure if I'm missing something
<freeman[w]_> cinimod, "that's very kind of you" I'd just hit a build while doing something else, not that big of a deal
<pie_> cmcdragonkai: its a crappy hack for the moment but i got python backtraces working by sourcing libpython.py (the python-gdb.py file but not renamed or something) in gdb and by compiling python with debugging enabled
<srhb> cinimod: check if you're accidentally altering a source tree or something.
<tilpner> freeman[w]: That does something different though
<tilpner> freeman[w]: I meant something like https://gist.github.com/tilpner/374843737df3a01eb16f0f9a30d9f650
<ekleog> lovesegfault: my guess would be to do something like http://ekleog.xelpaste.net/B9b1BJ
<vika_nezrimaya> lovesegfault: yes, something like this
<{^_^}> lovesegfault: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<vika_nezrimaya> So flakes will allow people who want to use my cool software to just do something like `nix run github:kisik21/hello`? With me basically making a flake an official repository for my software?
<alex_giusi_tiri> I was looking at `nix-shell man` examples, when trying something, but I ended up using nix-build like above
<vika_nezrimaya> clever: what's the function for detecting a string? something like builtins.isString?
<clever> vika_nezrimaya: you gave something a list, when it expected a set
<tazjin> is there something odd going on in the travis setup?
<arcnmx> pie_: unfortunately there seems to be no straightforward enableReadline option but something like this seems to work? https://gist.github.com/arcnmx/dfd8e2dc11fcef85a91d38c2190873b6

2019-08-18

<pie_> yeah no, so is there a .drv attribute that contains the actual derivation or something
<pie_> does // not work on derivations or something?
<pie_> still building, but unless i missed something in show-derivation it should be fine
<lambda-11235> thanks. Is there someway to also do something like `pkgs.foo // {version="devel"; src = ./.;}` to use a nixpkgs derivation for development.
<pie_> qubasa: i think uhhhh qyliss may know something about that if they're around
<oborot> It's supposed to be dynamic, but I'm guessing because the file didn't exist on the first build something didn't work right
<oborot> I want to rebuild it because I changed something
<oborot> Is there a version number or something I can increment to flag to Nix that it needs re-building?
<selfsymmetric-mu> iqubic: Personally I use stable unless I need something fresher. I actually can't wait for October so I can stabilize everything I'm currently using from the unstable channel.
<srhb> iqubic: That's not something that is ever guaranteed to work.
<iqubic> And something with spl and/or zfs is screwed up.
<srhb> Ah. I'd expect you'd only ever want that to test if something truly is broken, and then remove the mark if it is.
<srhb> jnisch: packages cannot modify the "system" in any way. All installing something with nix-env -iA (never -i alone) is be joined into the symlink tree that constitutes some profile.
<eyJhb> Anybody know of something like `security.acme`, but that allows for DNS verification instead of webroot? -> https://github.com/NixOS/nixpkgs/blob/release-19.03/nixos/modules/security/acme.nix
<tilpner> __monty__: Something like NIX_PATH=nixpkgs=channel:nixos-unstable nix search -u should be sufficient
<hyperfekt> I knew there had to be something like this amongst Graham's stuff :D There just 0 SEO for that site, I'm glad whenever I remember the Hound URL.
<__monty__> simpson: Tbf, someone could be familiar enough with shell to evaluate whether or not to run something but not familiar enough with your confusing (at least for shell) markup convention.
<simpson> freeman42x: Nix will try to make it hard to GC something in memory.
<simpson> freeman42x: That's deeply unfortunate. If your system's healthy, then you'll see something like https://bpaste.net/show/QGNA
<tilpner> I only vaguely remember JWT something
<tilpner> Or base64 of something
<dasj19> freeman42x: I guess I have a lot of questions but I would not bother you with them... as I said I just started recently with nixos and I am still figuring my way around... so I'll just ask here in the open if something is unclear...
<dasj19> how would I go about modifing a file from a package (just for the test sake) ? I know this is something against nixos ideology
<pie_> options.nixpkgs = { zathura.useMuPdf = false; }; or something like that. and this /does/ make more sense than homemanager just implicitly passing on extra config options
<pie_> Miyu-chan: the "problem" is those expect setuptools or something, i just need to run the py file
<__monty__> Does nixos do any systemd setup or something to suspend the computer after a certain amount of inactivity?
<marek> is there a way to have a derivation that is always taking up master of a git repository and ignoring the sha256? kinda like a proxy? we have a QA that wants to install always latest software from a specific github repo, regenerating it at each commit is an option, but would like something more transparent
<M-Gregoire49> I'm struggling with something I thought would be easy: I'm trying to install https://github.com/domenkozar/hnix-lsp from my NixOS configuration. I could easily clone the repo and import the default.nix file from my config but I'm looking for a way for NixOS to clone the repo for me so I don't have to when starting on a fresh install.
<jollyjester> ey can you help me with something
<clever> make something highly specific, that can only install nixos
<clever> something else i should look into, is a more specialized kexec image
<clever> if something IS found in the cache, it will remember that for 30 days!
<clever> gchristensen: if something isnt found in the cache, nix will remember that for 1h
<emily> yeah you'd need them to be of different sizes or something

2019-08-17

<selfsymmetric-mu> infinisil: Your daemon idea...would that be like lorri for NixOS, or does that do something different?
<c74d> infinisil: Although I'm not sure whether adding 0.0/multiplying by 1.0 might cause the value to change via rounding errors or something
<tilpner> And you can only determine the runtime closure of something if you have it realised already, so that you can scan it against the buildtime closure
<tilpner> nix-env -f . -iA foo or something like that
<freeman42x> so my question would be, how do I install something from a nixpkgs clone?
<nh2> clever: hmm, it fails for me with `Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS`. Not sure if that means I ran out of RAM on the desktop, or that I have to increase something somewhere
<balsoft> The problem usually is that it rebuilds way too much (even if you just mess with git or something)
<clever> Thra11: first, you want to see what depends on it, check something like nix-store -q --tree
<ryantrinkle> i.e. place something in the sandbox's /etc
<maralorn> __monty__: But the default should definitely be that on nixos every login session is already setup with the right PATH. So I feel like something is overriding it.
<maralorn> __monty__: It looks like something is circumventing the nixos mechanism for setting PATH. This PATH comes from a non nixos system. Have you perhaps copied your non-nixos .bashrc or .zshrc to the ssh-host?
<tilpner> Just pass something that's not directly taken from e
<__monty__> Is there a way to override something in a let? In particular, I'd like to override one of pass's extensions.
<nkaretnikov> the author does `gpm = import ./pkgs/gpm { inherit (pkgs) stdenv fetchurl flex bison ncurses; };`. can it be done implicitly, something like `gpm = import ./pkgs/gpm { ... };`
<jollyjester> or something?
<jollyjester> backports are like the "bleeding edge" repo of nixos right, more up to date packages something like how debian has it
<ivan> you can file issues on nixpkgs to request something be updated
<simpson> But also, TBF, adding packages globally is something that drops off rapidly after the first week with NixOS.
<laas> or it's being blocked by something
<thedavidmeister> so i can force a nix commit by overriding something in my configuration.nix?
<tilpner> Something like that should work
<infinisil> Well I gotta go sleep, but what you'd have to do is probably something like `failingSrc.override { curlOpts = "<options to increase timeout>"; }`
<thedavidmeister> if i crank the timeout way up and it dies then i'll try something else :shrug:
<vika_nezrimaya> has anybody wrote something to me while I was offline?
<vika_nezrimaya> Which packages support this, apart from PHP? I assume, to load something from config, you need to declare "config" in your function arguments?

2019-08-16

<clever> something like nix-shell '<nixpkgs>' -A haskellPackages.servant.env
<averell> also as that hash was wrong, maybe you're editing a different file than evaluating or something like that
<averell> what if you manually unpack? that command seems right. you can add echos or something to see it's being respected.
<bdesham> I do have /nix/store/jsv7niyxvfj3zkanlrlr6ww1vj4hkq88-git-2.22.0/share/git/contrib/completion/git-completion.zsh, but I would have expected something to end up in ~/.nix-profile/share/zsh/site-functions
<adisbladis> Something like that I think
<adisbladis> maralorn: Look up in the service definition what the systemd service is called and then do something like: systemd.services.unbound.serviceConfig.WhatEverySystemdCallsIt = lib.mkForce 180;
<{^_^}> werner291: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`

2019-08-15

<werner291> I'm getting "error: attempt to call something which is not a function but a set". As you can probably tell, I don't really know what I'm doing...
<sebboh> Is there something like nix for any of the BSDs?
<hexagoxel> the curl command below does something similar, even though with the important difference of nixos.nix vs nix.nix
<tilpner> Doing something might be fine, if that something is quick enough
<ashkitten> okay, so the issue is purely that "we have to do ~something~ before we're able to even evaluate this derivation"
<exarkun> the rollback barrier is that you swapped a disk or something
<infinisil> I think for now my best bet is to just bisect the config, it has to be *something*
<exarkun> Find something running OpenWRT and connect it to that
<ryantrinkle> are nix flakes actually something that can be used / tried out at this point? i'm having trouble finding stuff to use
<__monty__> Maybe something isn't getting detected? Or does it just load literally everything?
<exarkun> yes, something like that
<__monty__> I suspect the problem's before the network. How would I do a network capture? Do you mean wireshark or something?
<exarkun> __monty__: Maybe you want to do something with the `publish` option too?
<yabobay> does it seriously have no output? is there like a verbose option or something?
<pie_> ok, something something hostname restriction
<pie_> (or something like that)
<clever> well, they use something entirely different

2019-08-14

<camsbury> so probably not latest latest but something more recent
<mstan> so should i mount /dev/sdb1 on /mnt or is there something i'm missing?
<mstan> Am I missing something?
<alienpirate5> aszlig: i did something like this in an overlay: https://hastebin.com/dosotovuci.nix
<samueldr> ivegotasthma: because it often happens that when someone tries to do something, that they want to do the thing :)
<manveru> in my experience nixpkgs is fine for tiny stuff... but when dependencies get more complex you probably want something else
<manveru> well, if something is broken in nixpkgs you either have to try a nixpkgs version where the package is not broken, or write your derivation for it instead...
<pie_> oh yeah, i knew something looked weird...
<nh2> clever: have you ever had a situation where you could fetch something from cache.nixos.org but not build it yourself on NixOS?
<eyJhb> I think I might have read something wrong then
<infinisil> mkBefore/mkAfter is something different
<exarkun> I have also wanted something like QubesOS + NixOS for a little while now.
<exarkun> I see that if I copy something to $out at the end of installCheckPhase it does show up in out. I tried to do it in postInstallCheck and it didn't show up...
<lassulus> ok, something which would rollback after an unsuccessful reboot or no network or something like that was what I meant
<Taneb> I guess what I want is an extra configuration option for the GitInput Hydra plugin that's something like "post-checkout hook"
<srhb> rsoeldner: It has nothing to do with the pinning, something must still be up with how you're using mkShell
<Miyu-chan> Did builtins.toPath actually return a path back then, or something?
<Taneb> Is there a way to use git secret (https://git-secret.io/) with Hydra? I'd like to build something on my local hydra that includes secret keys
<EsperLily> If I need to rebuild my server from scratch, that's annoying but ok. If something goes wrong with my personal machine and I have to rebuild it from scratch, that's a gigantic headache. And I just feel better knowing I can `rm -rf /nix` tomorrow and my machine would continue to function
<EsperLily> If I were running macOS Server then nix-darwin is something I'd look at
<pie__> youll have to be prepared to get your hands a bit dirty sometimes if you need to figure something out
<pie__> i dont know awk i just googled a bit and glued something together xD
<niso> if i recall it correctly saneBackends failed, and sane-backends worked (or something like that), it's been a while and sadly i didn't write it down.....:/
<pie__> im going to feel like an idiot if its enabled by cnijfilter or something and I just didnt check
<{^_^}> #66514 (by deliciouslytyped, 1 day ago, open): Do something about supporting Canon (pixma) scanners
<pie__> is there a maintained database of links to linux iso images or something? would be nice if one could just nix-build distro.nix -A some_distro

2019-08-13

<clever> jlv: could be you did something else to delete it and forgot
<jlv> I assume it has something to do with me running `nixos-rebuild` with `-I nixpkgs=...`
<jlv> Whelp, looks like I managed to mess something up. I am getting "Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos' does not exist" when running `nixos-rebuild`
<vika_nezrimaya> An overlay looks like this btw: (self: super: {newpackage = <...>;}) - basically it's a function that takes two arguments - self and super. IIRC, self is the state of nixpkgs AFTER all overlays applied - sounds a little bit weird, but possible due to how Nix is built; and super is state of nixpkgs just before your overlay. Take functions such as callPackage from self and dependencies from super, and you can make something like this:
<nh2> gchristensen: will ofborg refresh the `10.rebuild-linux: 5001+` labels if I force-push something that makes the rebuilds go away?
<Miyu-chan> Um. Does the postgres user have something more to it?
<samueldr> judson_: did you set boot.loader.grub.device to something?
<ornx> how do i reference files in the store relative to a particular package? eg is there something like "${pkgs.mypkg.storepath}/path/to/file" i can use?
<exarkun> Hm I guess I see something in the shellHook set up by build-python-package-setuptools.nix
<adisbladis> arianvp: There is dockerTools.buildImageWithNixDb. Is that something like what you're looking for?
<adisbladis> Or use `bwrap` to implement something incredibly light weight
<adisbladis> exarkun: If that wasn't the case it would be trivial to implement something like a docker-compose style setup for unprivileged development environments
<adisbladis> exarkun: I'm assuming having something like the volumes declaration in https://github.com/hercules-ci/arion#docker-image-from-dockerhub checked into your development environment and spawn your environment from there
<li_matrix> feels like virgin jungle blazing, something unexpected
<pie__> its not like you can just hope something better comes along because you have to have hardware supporting the stuff...and i think its all super propreitary and junk?
<niso> does the some.option.<name>.something pattern have a name? (e.g. used at users.extraUsers.<name>)
<jonge[m]> ok i did a `nix-store -q --tree` on the nixos config drv from `nix-instantiate <nixpkgs/nixos>`. now i see that bash-4.4 depends on X11 and gcc... is there a way to remove that or use dash or busybox or something? i did not find that quickly in the nixos module config search
<vaibhavsagar> bbarker_home: adjust to taste, I think something might be up with my `callPackage`
<bbarker_home> thanks vaibhavsagar, but with both of those I get: error: attempt to call something which is not a function but a set, at /nix/store/qyr7h072vjyr1yw8bnliihx85fpvbisx-nixpkgs-18.09.2327.37694c8cc0e/nixpkgs/lib/customisation.nix:69:12
<nh2> simpson: what is "NixOS development itself"? modules, or something else?

2019-08-12

<nh2> spacekookie: I am not sure but I observe that my Firefox and `eog` print dialogues look very similar (probably some standard GTK thing) but have different numbers of tabs. So it seems quite likely that you can install or configure something system-wide that affects how many tabs are shown. I also observe that the number of tabs changes depending on the printer chosen
<nh2> A good response to "what's this weird system you're using" is to bring the discussion back on topic with something neutral and non-judging like "I think this doesn't really matter for this question, I care mainly about how nginx interprets this config file, not how it's being generated or what the file system structure is".
<spacekookie> Does anyone know if I need to install something to make all the settings in the firefox print dialog show up? A bunch of them are just grayed out
<turion> Is there a place to read up on that stuff? I couldn't find something like this in the nixpkgs manual
<kaliumxyz> I want to use npm to build something which has too many dependencies for node to nix to be realistic
<srhb> kraem: usually set by a session manager or something like that
<andi-> gchristensen: let cups discover printers with avahi and make sure that something in your network advertises the printer? (most do that themselfs)
<srhb> kraem: It might also be a permission error in which case the log should already have something useful for you.
<srhb> kraem: At a guess, you're missing something that notify-send expects.
<clever> lucus16: ah, and yeah, you are creating something with deps, the shell script
<exarkun> now I'll try switching my pin to something closer to master@HEAD and see what happens
<zeta_0> clever: ihaskell does not build when i try to install it together with my other haskell packages, apparently something is broken in nixos 19.03
<zeta_0> infinisil: `error: attempt to call something which is not a function but a set`
<exarkun> is there something wrong with this idiom? `withPackages (ps: [ (ps.callPackage ./tahoe-lafs.nix { }) ])`?
* adisbladis should write a blog post or something about how to avoid all the sharp edges in python packaging
<adisbladis> exarkun: You can do something like (python3.withPackages(ps: [ ps.somepackage ])).override(old: {ignoreCollisions=true;})
<clever> pie__: something i have noticed they do, is that the key slot material is striped, i think so that if any one block range is recovered, you cant actually make use of it
<pie__> didnt help in this case because something is bad with the data obviously -_-
<ajs124> if it's shrinking or growing something, it tends to do that. not sure with luks though.
<pie__> elvishjerricco: I ... I broke something again...
<infinisil> Something to try is to `unset PATH` then run the program
<Cale> With the way we're doing things with nix, I'm left grepping for things and hoping to find something relevant, and that I don't miss some override that happens later to completely change the thing I'm trying to look at.
<pie_> Cale: thanks for expressing something thats been bothering me
<pie_> ping me if you ever start on this :D <infinisil> aanderse: I've been kind of wanting a service abstraction layer for NixOS, something like tasks.*.{enable,user,group,database,openFirewall,port,...}
<infinisil> aanderse: I've been kind of wanting a service abstraction layer for NixOS, something like tasks.*.{enable,user,group,database,openFirewall,port,...}
<infinisil> I wish I could link you to something that explains best practices for NixOS modules
<nh2> infinisil: something seems special about `fetchurl` that it itself can't be overridden: `fetchurl = super.fetchurl.override {};` gives `value is a function while a set was expected`
<pie_> nh2 is it possible something is being accessed like super and not self somewhere?
<pie_> nh2 those arent actually there, i was just hoping to get something thats more readable somehow
<pie_> well this sucks https://stackoverflow.com/questions/16132163/using-less-as-gdb-pager *tries to do something with the huge overflowing variable blobs*

2019-08-11

<nh2> pie_: I'm pretty sure I did that once with gdb. Double-check whether -O is passed or something similar that destroys the debugging experience. For example, some of the hardening flags do that; you need to disable that
<selfsymmetric-mu> However, something interesting is that when I removed some old generations the breaking path _changed_.
<stepcut> I got Idris2 built, but I am not sure how to get it to build something, I created a Hello.idr and hello.ipkg and ran `~/.idris2/bin/idris2 --build hello.ipkg`. It produced Hello.ttc and Hello.ttm but no executable
<{^_^}> [nixpkgs] @philandstuff opened pull request #66487 → amazon image: fetch meta-data everytime in case if something changes → https://git.io/fj7xj
<slabity> Unfortunately power cycling doesn't seem to be doing much. Let me see if there's something I need to enable in BIOS
<rnhmjoj> clever: the build succeeded, so it must be something in nixos-install
<rnhmjoj> clever: you may be right though, something is not right with my installation: the --find-file command can't find <nixpkgs>
<srhb> nexgen: The operating system disappears once you take that out (unless you replace it with something else.)
<petercommand> this time the urls generated are correct, and it actually built something. But I still don't know how to proceed
<nexgen> may be there is something comparable to OpenBSD config?
<imdoor> hi, i want to pin my current nixpkgs in a project? how do i get the sha256 and rev values i'm currenlty using? (can't use nix-prefetch-git, cause that'd pull something newer)
<clever> nexgen: basically, you just define how to build the final setup, and nix will use the hash of those directions to see if something is already built
<nexgen> not binary, but something like declarative deltas?
<gchristensen> infinisil: it is a backup nick if something goes wrong trying to get {^_^}. will fix shortly
<pie_> does sudo -E not work on nixos or something?
<pie_> wait a minute. i wonder if theres some shellhook magic from the python infra going on here or something
<samueldr> a bit late to change the past, but it could have been a better UX to instead have -A act like -p, but on the given attrset; always getting the derivation, and use something like --give-me-a-build-environment to get that environment
<pie_> does nix-build do something weird too
<pie_> samueldr after a few rereads, yeah thats what i expected, -A is not just a "do the same thing but on this attribute"? it does something else...
<dminuoso> And indeed Yaniel, those seem to reference it. Seems something is up here.

2019-08-10

<clever> you could even do something like having a services.foo.enable auto-config the DTB's for you
<infinisil> For rebuilding an environment when something has changed, nix still needs to be called, which is slow