2019-09-07

<eyJhb> evanjs: read sphalerite in chat :p Something something new kernel. Dunno if it would go in the direction
<Acou_Bass> I'd love to try a NixOS-based pinephone or something though... NixOS + plasma mobile would be sweeet
<eyJhb> Yeah, know about that :D Also looking forward to seeing how it goes ( samueldr !). Just if there was something right now that could be used!
<DariusTheMede> What should one do about something that was working but is now broken? Raise a ticket? Hope for the best?

2019-09-06

<codedmart> Is something else overriding it possibly?
<aminechikhaoui> ivan yeah might be something that deleted it, I'll check the history
<DariusTh`> clever: is there something which makes my script work on ubuntu but not on macos?
<clever> fresheyeball: seperately, do `nix-instantiate something.nix -A something` on your project, on both machines, then do `nix-copy-closure --from 192.168.2.10 /nix/store/something.drv` to get both versions of the drv on the same machine, then use nix-diff to compare the 2
<colemickens> (or put another way, make the PR chain enable wireless.iwd.enable, and see what happens when something other than NM is managing IWD. Maybe it will all work out)
<boxdot> Is there a way to list all dependencies (incl. transitive) of a package? Something nix-build actually show in the beginning on a clean store.
<zajko> something like jq command if it would be json
<clever> DariusTh`: you didnt put ghcWithPackages into the buildInputs of something
<infinisil> clever: marius851000[m]: Ah, home-manager does something fancy: https://github.com/rycee/home-manager/blob/05d91c5f50ba37f7ee31ce533d533ee84aafe676/modules/files.nix#L17-L24
<worldofpeace> colemickens: thanks, and thank you too 😃 My idea is to make a culture around real helpfulness without any harshness that open source communities can have. So something pretty tender we can all share in and capitalize off of. I'm glad it has reached you ✨
<sphalerite> hyper_ch2: didn't you have a web ui or something? Or was it just the stuff we did together, with the spicejs thing?
<Taneb> Maybe something like this should be added to trivial-builders? (although they're getting less and less trivial :D)
<Taneb> (I want to add something to PATH)
<Taneb> I've got something using "pkgs.writeScript". Is there a way I can add a derivation to its runtime environment easily?
<Ariakenom> is that something that should work? maybe makefile needs a whack?
<worldofpeace> yep I revieved that PR too (thought something like this could happen cuz it felt buggy)
<srhb> Ah, I think I see the problem. "Can't find session configuration xterm" -- looks like we broke something..
<ivan> BIOS might need something toggled to enable virtualization
<clever> something funky is going on with the hydra package

2019-09-05

<fresheyeball> clever: also I owe you something
<fresheyeball> something about signing the packages
<clever> something about how you need a special ntfs attr on every "linux" file, and windows explorer (along with nearly every fs tool out there) cant make them, and destroy them when copying
<emily> I assume what you mean is that it uses paravirtualized drivers for IO or something, which Hyper-V has supported for a long time now. But the actual virtualization layer still uses Hyper-V and still uses all the same hardware virtualization support, so it doesn't really have anything to do with container support... but, eh, this doesn't really matter
<clever> containers are more about swapping out the pointer to the list of something
<clever> WhittlesJr: for a different path, something not libunistring
<clever> then thats not something it needs to build
<WhittlesJr> clever: still wants to build 2000 packages. Is there something wrong with my approach? I just overwrote nixpkgs=... in NIX_PATH in the live CD, and kept the rest of NIX_PATH the same.
<WhittlesJr> clever: maybe I goofed something. I'll try again from scratch.
<WhittlesJr> I noticed that my nixos-install is building a ton of packages and it's taking forever. I have NIX_PATH=nixpkgs=<something close to master>, at a commit that's supposedly done building according to hydra. Is there something special about the live CD enviornment? Should I just build from whatever channel it comes with and then upgrade after booting?
<exarkun> I don't see anything in buildRustPackage for putting headers into the output ... anyone have any ideas about that? just write my own postInstall or something?
<exarkun> is there an idiom for depending on / building a third-party package that includes an expression for its derivation? I am imagining something like "download the archive and import the expression from it somehow"
<Netsu> I guess, I need something at `config/nixpkgs/config.nix`?
<gh30rgh3> but i do find it cool and interesting and fun to learn something new
<gh30rgh3> <pbb "gh30rgh3: not the best motivatio"> yea... i see a lot of people online saying "switched from arch to nix so that i can rollback in case something breaks". i've been doing `pacman -Syu --noconfirm; sudo shutdown -h now` almost every night for the last years and i never woke up to a broken system. i don't actually fear the upgrades.
<eraserhd> Pre-home-manager, the script would often link directories instead of files, which made a bad state where home-manager wanted to symlink a file into a symlinked dir. This "worked", except for messing up my dotfiles repo, but my guess is something about it failed?
<pbb> gh30rgh3: you can just use the same i3 config you would use with arch, or you can let nix generate the dotfiles with something like home-manager
<averell> https://paste.ee/p/sNhYZ <-- i'm (type-)confused. is something being coerced here? why can't i access derivation attributes in the second case?
<infinisil> beyuu: Did you check the "Configuration" tab in pavucontrol? Sometimes I need to change something there to make stuff work
<layus[m]> LD_LIBRARY_PATH works, but is there something better ?
<wedens> teto: yeah, looks like something that may work. thanks
<teto> so I have a pinned_nixpkgs.nix with only "builtins.fetchTarbal { ... }" and in my shell.nix the top parameters are '{ nixpkgs ? import ./pinned_nixpkgs {}}:' but I get "attempt to call something which is not a function but a string with context,". I would like to put just the fetchTarball definition in its own file so that it can be imported from both shell.nix and default.nix
<eyJhb> But basically.. I am going to run a container, with ssh enabled and a backup user, going to bind mount the directories into that container, and run a config which is something like - https://www.digitalocean.com/community/tutorials/how-to-enable-sftp-without-shell-access-on-ubuntu-16-04 (sshd_config)
<iqubic> Well, something about steam-run has changed, and now nixos-rebuild is failing.
<Fare> doubling the $ did something very different.

2019-09-04

<fresheyeball> so you can get faster builds from the cache, if you change something like your README.md
<clever> somebody in here yesterday had something in ~/.ghc that was causing every single package from ghcWithPackages to be hidden
<worldofpeace> evanjs: autoPatchelfHook fails if there's a library that something needs that isn't in the environment. And yes you can use that as a guide as to what should be added to buildInputs
<evanjs> worldofpeace: I'm not seeing any examples of adding libPath to buildInputs as you mentioned. Is this actually something that's done to other binary packages?
<fresheyeball> is there a way to determine why nix is building something?
<trubydoor> I'm having an issue today where it seems the version of vulkan-loader isn't the same as vulkan-headers, so I can't do a nixos-rebuild. Anyone else getting this or is something wrong with my setup?
<eacameron> something like `{pkgs, ...}: let ... in pkgs.withHelp (help: { attr1 = help attr1 "The first thing you might want"; attr2 = { sub1 = help sub1 "The second thing you might want."; }; }`
<eacameron> infinisil: yeah that's something at least...
<eacameron> srhb: I'll submit something :D
<eacameron> Is there anything that will let you create a sort of "--help" output for a `default.nix`? I'd like something that lets me do `nix-build -A help` and it `error`s with a generated message for possible targets, generated from the derivation itself.
<srhb> The first sign will usually be me trying to execute something and it just hangs.
<ashkitten> which to me means something along the lines of "people know about it and it's probably not gonna just get left sitting forever"
<beyuu> sound isn't working with sound and pulseaudio enabled. I have the Sound Blaster ZxR soundcard. Is there something else i need to configure?
<colemickens> Is this something that should be fixed in the nixos default kernel config? https://old.reddit.com/r/NixOS/comments/cr3d19/bluetooth_device_power_status_missing/
<clever> __monty__: run the tcpdump on the tun interface, of both machines, local and remote, does something going in one end, come out the other?
<evanjs> sm[m]: Ahah I knew I saw something like this yesterday. Thanks!
<tobiasBora> hum... Something new here!
<majtal> manveru, yes but that should be something with nix itself no?
<majtal> so it's something about nix itself?
<sphalerite> Or something like that.
<Taneb> Something about not being able to work out how nix is installed
<marek> worldofpeace: is it something you might want to have a look? ^
<provessor[m]> Yeah just like u would want for something like a server cluster
<pie_> whoa, sweet, knowing github i was hoping something like this exists, apparently it does https://coderwall.com/p/6aw72a/creating-patch-from-github-pull-request

2019-09-03

<pie_> (qyliss were you maybe talking to someone about something similar the other day? )
<pie_> probably similar to fetchpatch or something, ive never used it
<pie_> do we have something for declaratively applying github PRs to things? :D sounds like it could be useful
<clever> Stuck_: you had something in your ~/.ghc that hid all packages
<Stuck_> Have you sugested something?
<k0ral> srhb: LVM would certainly answer my need, although it looks unnecessarily powerful, I hoped for something simpler
<srhb> k0ral: I don't know of any existing settings. I'm literally thinking "run this job at boot" or something like that :)
<srhb> k0ral: I think XFS can also do something on a directory level
<clever> srhb: nixops modify -I nixpkgs=something foo.nix
<evanjs> Oops. Something's going on with my nicks haha
<etu> vyorkin: I guess that shellscript has a shebang that is like /bin/bash or something else that doesn't exist...
<{^_^}> Ariakenom: 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 {}'`
<bpye> Hey - something weird is going on my system. I'm on 19.03 (I upgraded from 18.09 a while back) - I keep getting errors that "Warning: the new NixOS configuration has an ‘init’ that is incompatible with the current configuration."... /nix/var/nix/profiles/system/init-interface-version shows 'systemd 2' whilst /run/booted-system/init-interface-version gives 'systemd 3'
<angerman> infinisil: does it? how so? I must be missing something.
<infinisil> (might only shows something if it finished successfully though)
<angerman> elvishjerricco: I did consider looking into compiling nix with xcode and running it through instruments. Was just hoping for something less involved :-)
<jtojnar> or something like that
<mdash> evanjs: like, in my configuration.nix I want to replace something added to environment.systemPackages in another file
<mdash> I have an utterly mad question: how do I remove something from environment.systemPackages?
<evanjs> hpfr[m]: what qyliss said. If it’s for a WM or something, I’d just set the launcher to rofi (which I did)
<evanjs> Shados: never been there before /s sometimes I’ll be a whole complex thing I want to do and when it comes down to it I just need a setting or something stupid and easy
<danderson> pie_: yeah, I looked them up and they all sort of died out with "eh, something outside nix should deal with this" :(
<danderson> but I'm ending up with something similar to nixops's implementation of key management

2019-09-02

<ivan> systemctl start something
<pie_> an reason we wouldnt wantthe why-depends mechanism to be that instead? (or havea flag to why depends or something)
<Shyim[m]> clever: nope. But maybe its something with pantheon as desktop. I am getting some notifications, but i don't know how to solve it. But last times it worked also with that notice :)
<thoughtpolice> Yes, if you're on NixOS, things in most cases will work fine. If you're using Nix elsewhere, you'll need something like nixGL so you can "side load" the mesa drivers from your linux distro into things that live within /nix/store
<clever> thoughtpolice: yeah, ive heard about the whole payload stuff, and i think there was something about how you need the seabios payload if you want the legacy bios api available to grub
<thoughtpolice> I read something about that but I didn't run into it. I'm not sure what components are written in Ada, actually.
<ivan> clever: I've looked at that and it looks like something that could work outside your setup unless I rewrite stuff
<mikky> clever: that was my intention in the end - put the path using something like "${pkgs.rainloop}/index.php" to nginx config
<mikky> clever: something like `/nix/store/<hash>-rainloop-community-1.x.x/` where the full source from the tarball would be. iirc, this is what it does on the local machine.. let me check
<Parabox> well ddima I did something even stupider than what I have shared, I wa also keeping file level backups, I wrote over them to add that drive to an arrey on the new rebuilt server because I was going to recover from this image then use s3 to start running file level backups
<clever> Parabox: you would need somebody that knows the xfs internals heavily, to be able to recover something like this
<boxdot> Do I understand correctly that nix would rebuild my packages from the same repo if something changes in the repo?
<aanderse> they get mounted under something like /var/lib/containers/CONTAINER_NAME
<aanderse> ah. well in your configuration.nix you could do something like containers.moodleN = { nixos config for your first moodle site }
<ryantrinkle> is there something i'm missing?
<kraem> teto: okok. a fix to bump the version was merged into master 19 hours ago. any idea why updating the channel may not be including the fix? just curious, seems like i'm missing something
<boxdot> Hi — I am learning nix language right now. I wonder how to reference a rec inside of its definition, i.e I would like to do something like that: rec { x = ..; y = foo this_rec; }.
<ivan> superbaloo: try something like export PATH=$PATH:${fontconfig}/bin in the script in make-fonts-conf.nix?

2019-09-01

<evanjs> infinisil has something like that but I don’t think the generation bit is public atm
<thblt> IIUC, the nix source of the derivation itself is not enough to determine if something provides an executable, right?
<samueldr> yeah, something *could* be done, though it's not an easy answer :)
<clever> infinisil: i would do something like that with either haskell-init, or a bare unikernel
<fresheyeball> I think I should be able to use nix-env to install something based on a remote git path
<simpson> clever: For something the size of a Beaglebone, would you recommend not-os or NixOS? Also, is there a more specific channel for embedded discussion?
<vika_nezrimaya> Maybe something's amiss?
<vika_nezrimaya> I do it like this: git clone https://github.com/NixOS/nixpkgs; set your nix.nixPath variable to something like ["nixpkgs=/home/steeffaan/nixpkgs" "nixos-config=/etc/nixos/configuration.nix"] and do nixos-rebuild twice. Boom, you're running off a git checkout
<steeffaan> hi. it seems that my nixos 19.03 isnt downloading any new update for several days, probably 2 or 3 weeks. I'm not accustomed to that, usually, it was downloading something almost everytime i launched nixos-rebuild. Is it normal ?
<{^_^}> vvbb[m]: 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 {}'`
<clever> ivan: something like this maybe
<evanjs> worldofpeace: mmkay that seems to get me in a position where python3 -v prints something meaningful, thanks!
<gchristensen> ehh seems like something weird is up withthat PR ...
<evanjs> Mrm... trying to package polychromatic; it's python project using meson. propagated inputs seem to work fine, but I can't seem to get the projects own python library to be accesible: "Polychromatic's modules could not be imported.", etc. Feel like I'm missing something dumb here

2019-08-31

<beyuu> yeah, seems like that, mb. Thought he downloaded something before, but it seems he didn't
<clever> _zincy: line 13, where it does import src {}, you want to do `import src { overlays = something; }
<visrelic> clever: if i do that, and change my clarissa.nix to ${pkgs.clarissa} i get "error: attempt to call something which is not a function but a set"
<Miyu-saki> Something seems to only have glibc in their rpath.
<evanjs> freeman42x[NixOS: just the normal journalctl/systemctl and dmesg, etc. unless you’re looking for something super specific that isn’t in either of those places
* Orbstheorem would like something like lintian for nix :)
<Orbstheorem> Is that something I should specify versioning for?
<emily> generally you don't since nixpkgs packages are pinned to one specific version; if it's something like python where there are multiple versions then there's specific stuff for gating on that
<{^_^}> vvbb[m]: 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 {}'`
<{^_^}> 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 {}'`
<Orbstheorem> vvbb[m]: Nix does not have a notion of “installing” something. But rather derivations, in a way you can use `nix-env -i` to emulate what installing something does, but I'd recommend against, rather you can use nix-shell to enter in an environment which contains the package you need.
<clever> Orbstheorem: quit out of nix repl and try again, something is fishy with https://paste.gnugen.ch/raw/xalN
<yosemitesam> bc before posting it here, I was also searching for some answers and initially thought I'd need to set up something like this: https://medium.com/@zw3rk/provisioning-a-nixos-server-from-macos-d36055afc4ad
<{^_^}> visrelic: 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 {}'`
<visrelic> clever: with the pkgs.callPackage, i'm assuming with ./your-package.nix you mean the full path to my package's default.nix, and that results in "error: attempting to call something which is not a function bu ta set"
<freeman42x[NixOS> do I need to enable something to be able to SSH out? ssh freeman42x@41.123.110.46
<ajs124> hm. ok. I'll try something. The main problem with that machine is that it's a physical box and I kind of don't have access to the IPMI/iDrac.
<timokau[m]> tilpner: Again, there must be something about your problem I don't quite understand. Anyway maybe I'll implement something like that one day, my main motivation for that is the ability to have multiple bisect passes (one to reduce the range with little rebuilds, one to find the precise commit in the remaining range at any cost)
<timokau[m]> tilpner: Taking control of the bisect process is actually something I'm thinking about for nix-bisect, but nothing is implemented yet. And I'm not sure how much it would've helped in this case.
<timokau[m]> tilpner: Wow, I feel like there's something wrong there
<bpye> Hey - I don't know if I'm missing something. I want to deploy via nixops to a server I manage but I use a YubiKey for my ssh keys. How can I tell nixops to let me manage the ssh keys?
<iqubic> So, something weird is going on with EXWM here.
<joebobjoe> I think I messed something up on my multi-user install. when I run nix-env on my user I am getting the warning warning: name collision in input Nix expressions, skipping '/Users/joebobjoe/.nix-defexpr/channels_root/nixpkgs'

2019-08-30

<Lears> Something like nix-shell -p 'haskellPackages.ghcWithPackages (p: [p.xmonad])'
<tilpner> timokau[m]: That looks very clean for a bisect that needs to build something, but I just instantiate, and wanted to reduce the number of commits to bisect over. I'll remember this for when I need to build-bisect though :)
<timokau[m]> tilpner: In case you want to give it a shot, you can do something like this: https://gist.github.com/timokau/76e1dd80823fae96d10b087105db3dd6
<ikg_agent> This is awesome, thank you. The hardest part about learning something new is knowing what things are called.
<johnw> averell: unfortunately, this is something that `packer` is doing
<johnw> I need to download something from hashicorp.com while building
<alex[m]16> <maralorn "I just use the nixpkgs nextcloud"> I'm a bloody beginner with nixos, but I think it's time for me now to try something new after using arch for several years. - do I understand it right, that I can install nixos ontop an existing linux for testing purposes?
<infinisil> oscarvarto: Can you paste the error again? I wanna know if something changed now that dist-newstyle and .ghc.environment files are gone
<yorick> abbradar: something about python3 sneaking into the python path
<infinisil> gleber_: The unsafe path transition thing has something to do with symlinks and root ownership I think, and it trying to prevent accidental ownership mistakes
<pie_> inkbottle the reasonim encouragingit is youll probabkly mess something uop the first time through
<infinisil> DariusTheMede: Probably something like this should work: `self: super: { haskell = super.haskell.override { packageOverrides = hself: hsuper: { my-package = ... ; }; }; }`
<pie_> bbigras im probably missing something obvious here but how do i actually install it...i dont see an apk
<infinisil> freeman42x[NixOS: It should be named `steam`, so you must've done something wrong
<infinisil> But if you want haskell dependencies for a project, you'll need something like the thing you linked
<yorick> there was something in /nix/var/nix/profiles/per-user/yorick/nixops/, I removed it but it still says the path is active
<johrmungand> I installed LXD and I fucked something up and deleteed it from my env.sysPkg and now reinstalled it but it wont let me have the same names for my pool and bridges so is there a way i can purge LXD properly before reinstalling?
<tilpner> freeman42x[NixOS: Do you just need to extract something quickly? There may be alternative applications that are already packaged
<__monty__> If I wanted to add proper support for syslinux is there any simple/quick way to test the bootloader? A persistent live usb or something?
<emily> allan: honestly I just think if you continue down this path it'll probably be consistently frustrating (esp. since there's no documentation on using Nix this way) and you'll end up with no real reason to be using Nix rather than Homebrew or something?
<allan> adisbladis: appreciated, but I know how I *could* make it work with the nix-shell approach, and that is not something I want to pursue now, right now I would rather now why it is I cannot install libressl.dev for my user’s profile
<asheshambasta> ldlework: or is there a place where I can read up and hack something up for now
<samueldr> installing an app is `cp the-app.dontremember /Volumes/GARMIN/APPS/` or something like that
<pie_> (i feel like weve hadthis conversation before with something)
<pie_> it used to say fitness device or something like that instead of unknown though
<growpotkin> samueldr: Yeah honestly BT is such a confusing area. The handful of homebrew devices I've added BT to usually end in me spending hours in `btmon` wondering if "nix is being difficult" or if there is something actually wrong with my device
<switchy> this is probably a gross misunderstanding of the language, but I have a file that looks like 'with import <nixpkgs> { crossSystem=... }; mkShell { }' that I can get a shell with a gcc toolchain (nix-shell cross.nix)...how/where in this file can I define a new derivation (I want to make a simplified/modified version of something already in nixpkgs)
<pie_> growpotkin: you could generate a container or a vm or something
<tiAy> i have a project repo for some haskell code, is there some way to put the services.postgresql block inside the shell.nix or something, so that when i spin up the shell it'll start postgres?
<pie_> or something lthat looked like that
<growpotkin> bluetoothctl is great when you want full control, but sometimes the reasonable defaults of blueman are a life saver when you "just want something to work" out of the box
<pie_> growpotkin: error 6, apparently a solution was merged or something idk <evanjs> https://github.com/NixOS/nixpkgs/issues/65564. This was happening on my laptop the other day and using headless seemed to work fine but for some reason my desktop works fine either way *shrugs*
<pie_> damn, buuild finished, , virtualbox still broken, guess i need to pull the right commit or something

2019-08-29

<samueldr> so you could be running something in the one on F1, and do something else on the one on F2
<allan> Is there something special I need to do to install the darwin (macOS) specific trash command?
<sm[m]> yes it is. Here's something: it works fine in an ordinary terminal. But fails when run in an emacs shell.
<evanjs> Lol who said something about the manual breaking? Because I cant rebuild now 😃 (nixpkgs-unstable)
<bsima> something like 'checkInputs = [ gdb.pythonSupport = true ]' except valid nix code
<s34n> or something similar
<ivan> exarkun: make sure you're not getting UEFI systems or something
<ivan> exarkun: hard to replace / with another filesystem without first booting into something where / isn't mounted
<multun> real patches don't apply if something changes, so you have a chance to have a look at what happened
<ivan> craige: did you change something in your nixpkgs?

2019-08-28

<evanjs> infinisil: thanks for the review! Still getting used to waiting and pinging. I usually just make changes and wait... like until something happens lol
<freeman42x]NixOS> ivan, do you happen to have full setup instructions for foobar2000 + plugins using wine on NixOS? if not I am going to write something about it when I finish figuring it out
<spinus> iqubic: sorry, I'm rambling a little. Each time I had issues with something like that it was of leaking dependencies because I didn't use cmd to create environmentWithPackages pattern, either it was python or haskell or sth else
<spinus> iqubic: shouldn't you use something like haskellWithPackages or sth like that?
<jlv> How would I go about configuring a NixOS server locally before deploying it? Like, a virtual machine or sandbox or something.
<EsperLily> spease: cargo-tree from Nix will be built with nixpkgs's bundled rustc/cargo, but it pulls in cargo as a library dependency anyway which means it doesn't really matter what you compile it with as long as you compile it with something that meets its minimum rustc version (whatever it is)
<sondr3> gchristensen: thanks, I felt like I remembered reading something about this. Super cool, thanks
<vika_nezrimaya> colemickens: NixOps already has something similar, we could try to integrate that...
<vika_nezrimaya> Use something similar to git-crypt to stuff this file in the encrypted form into your VCS
<EsperLily> Well that's interesting, I was prepared to say "irssi is on life support, use something else" except it appears to be under active development again
<freeman42x]NixOS> __monty__, I am kinda looking for something more modern. Something that works kinda like Gitter / Slack
<tokudan> oblivia, yep, something like that ;)
<oblivia> okay, I see. These are missing package files. Maybe I need to update the package channel, or something?
<tokudan> oblivia, try something like nixos-install --root /mnt --show-trace
<tokudan> pie_, something like this? $ nixos-option environment.systemPackages
<EsperLily> alternatively you could wrap your bundlerEnv derivations in a buildEnv or something that just skips the console binary
<exarkun> unless I have misunderstood something quite substantial
<Miyu-chan> Am I missing something, or does buildPythonPackage not add propagatedBuildInputs to PATH?
<vika_nezrimaya> Emacs' scroll is a bit sluggish when something's building in Nix
<evanjs> vika_nezrimaya: Same with me and #67115. Like I rewrote so much (in order to get it actually running, though) and I got so worried I was doing something wrong or "Is all this necessary??". And then there's #64552 where I'm not sure how to approach the remaining issue anyway :D
<aanderse> there will be derivations which could be part of something else
<vika_nezrimaya> __monty__: can you paste the grep command here? I want to run it on my own checkout and see which packages feel like something I could handle
<vika_nezrimaya> It's an attribute set, should I just write something like { "kisik21" = "vika"; } ?
<__monty__> zfnmxt: o.O That does sound pretty annoying if you live in emacs. Fwiw the default timeout is fairly annoying to me too. (Read something about EU regulations being the reason but honestly that sounds pretty bogus.)
<clever> qubasa: the unknown in your error is fishy, makes me thing something is wrong somewhere
<infinisil> rodarmor: What's an example of something you received a notification for?

2019-08-27

<joko> exarkun: it's ok, it could have been something in my /etc/nixos/configuration.nix
<exarkun> oops, must have done something wrong on that one
<vika_nezrimaya> I feel that something great is going to happen
<srhb> exarkun: It should be something like /dev/vg/lv iirc
<ldlework> It'd be cool if there were a number of ecosystem-specific mailing-lists or something
<vika_nezrimaya> does Hydra have a machine-readable API or something similar?
<alp> clever, an in-house service or something. anyway, I gave my recommendations based on your input, thanks for the help :-)
<alp> clever, ok, I guess this should be enough to hack something together for the scenario I'm concerned about. thanks :)
<alp> is there a way (env var or something) to know whether we're building a derivation in a sandboxed env?
<abbradar[m]> maybe it supports only modifying existing files with the same size or something?
<abbradar[m]> clever: ah, I see! still, I didn't think I managed to write something with it even once
<clever> Ariakenom: is something currently cd'd into it?
<Phillemann> Is there something I can look at for reference?
<pbb> I am not writing a derivation, I just want to cross-compile something for development
<clever> pbb: pkgsCross is the cross-compile framework, to cross-compile from current to something
<alexarice[m]> Is there a way to do something like `{ y = 1; }.x or 0` but with `getAttr` (or similar)?
<clever> Ariakenom: something like options = [ "user=clever" ];
<craige> I log in all the time without a mouse, Ariakenom - do you mean select users or something else specifically?
<ldlework> the world is complex and speaking authoratatively on how it ought to be organized takes.... well it takes something heh

2019-08-26

<hyperfekt> Is there any point to using the NUR for something instead of the source repo if that already has a default.nix?
<samueldr> craige[m]: not really, but ask, maybe something can be arranged
<infinisil> But is this something built into postgresql or something with PAM/
<ldlework> all likelyhood i'm just confused about something / doing something wrong
<pie_> ok, so these seem to fail consistently unless i messed something up again
<pie_> infinisil: ok i was about to guess it has something to do with --strict, thats starting to make sense
<infinisil> pie_: Well --strict eval needs to evaluate every nook and cranny, that fails in nixpkgs because there's always something broken
<alexarice[m]> alexarice: or hash the result or something if you're really skeptical
<averell> you could start the build in a nix-shell then work through the phases interactively, but it's more involved. cheapo way is put some ls -laR in the build and die or something :)
<manveru> might be that it's just pulling git repos or something
<ldlework> like you're downloading some stuff, maybe running sha256 on something, and generating nix code from templates right?
<manveru> i did something like that for elixir/erlang too
<ldlework> Not like an overarching theme that defines the project, just something I've run into a couple times now
<tilpner> __monty__: Not necessarily. But it's something to consider, because it does cause problem to mix and match nixpkgs version
<balsoft> 2018-something
<colemickens> Did something in `nix-build` change recently?
<samueldr> imagine I have a function defined into a `callPackage`d file, what's the idiomatic way to make sure the function is not named "anonymous function", but something useful?
<manveru> catern: something like this: `nix eval --json '(let lib = import <nixpkgs/lib>; in __mapAttrs (k: v: lib.isDerivation v) (import ./some.nix))' `
<gchristensen> vika_nezrimaya: maybe publish something on discourse about starting a cross team?
<srhb> strojatr: Nix always only rebuilds if there's a difference from.. Something :)
<vvbb[m]> well it would be better if i could find all that info on a manual page or something since i haven't used nixos more than a few weeks
<clever> vvbb[m]: if nothing has change with the code, it wont re-run it, and if you perfectly undo something, it can reuse a previous result!
<emptyflask> clever: I'll have to try that tomorrow. strange thing though is that nix-prefetch-git under nixos shows the same hash that built under macos. it's just when running nix-shell that it calculates something different
<emptyflask> I thought maybe it had something to do with an older snapshot of the git repo, but it's using a specific revision, and I've also tried a `nix-collect-garbage` first
<emptyflask> I've run into an issue with nix-prefetch-git hashes not matching the hashes when building a derivation... I have a default.nix that works under MacOS, but not on NixOS. Possibly something to do with capital letters in filenames? https://gist.github.com/emptyflask/c9750b05386efc132fe91c19d7144a0e
<wtv_nick> learn nix language. So am i missing something?
<clever> fresheyeball: is something currently in that dir?, you shouldnt have to umount
<fresheyeball> is there firewall ports I need to open or something?

2019-08-25

<ldlework> it like.. installed R or something
<worldofpeace> Is there something similar to `relatedPackages` for options in `mkOption`?
<ldlework> tilpner: could it be that the process is named `dotnet` and this does not match what's in the service or something?
<ldlework> you gotta reboot your whole layer to do something like stop a systemd service?
<slabity> I remember seeing something about creating your own fetchFrom* type of command for setting your sources, but I can't find it
<vika_nezrimaya> tilpner: what do you think of my set of packages? Should I add something maybe? don't suggest Apache, apr doesn't cross-compile (NixOS/nixpkgs#67259)
<clever> zfnmxt: there is a systemd target you can do something with (i forget what), which will cause systemd to restart it for you
<clever> writeShellScriptBin "name" "${something}/bin/dotnet run ${yourthing}/TheDll.dll"
<vvbb[m]> ok but i don't need to run qtcreator using nix-shell or something like that just add the CFLAGS part to my makefile
<angerman> clever: got it to finally build. Will need to try something more involved next.
<ldlework> i think it has something to do with https validation
<clever> then your shell.nix for each subdir, would be something like: (import ../.).foo.env
<mightybyte> Probably because it was being run in nix-shell or something.
<ldlework> Learning how to use Nixlang for Docker is something I should do at some point
<ldlework> Something like the shell.nix sets up the environment for which default.nix uses to build? I don't know. I don't have this internalized yet.
<tilpner> Something that would look innocuous but subtly endanger the security of nixpkgs users?
<aanderse> yeah, anywho, thanks for everyone helping me out with the environment.etc thing, i thought i must have been missing something obvious. maybe i'll make a PR for 20.03 to make environment.etc an attrset
<aanderse> clever: yeah, i really wanted to avoid that... so i'm not missing something obvious here eh
<clever> attempt to call something which is not a function but a set, at /etc/nixos/configuration.nix:264:49
<aanderse> something wrong with my brain... i can't seem to understand why i can't override the contents of /etc/openal/alsoft.conf in my configuration.nix :\
<ivan> https://gist.github.com/ivan/8130ff218db63d7c8393565f1bd29fb5 something broke qbittorrent startup in nixpkgs master but it's probably going to work for everyone else
<localstore> I had it in let (write something in a yaml file and define it) in (test of my module)
<jonreeve[m]> But something's not right when I pass my_jsonschema as a propagatedBuildInput to my_jupyterlab_server. Am I doing the order wrong there?
<jonreeve[m]> So it's not something that can just be changed in my shell.nix?
<jonreeve[m]> I guess the issue is that jupyterlab-server requires jsonschema>3, but nearly everything else in python requires v2. But this is the kind of thing that Nix was made for, right? So I should just be able to define a my_jsonschema and have it be a dependency for jupyterlab-server. But I seem to be missing something
<jonreeve[m]> Can someone give me a hand with my overlay? I can't seem to get Jupyterlab 1.0 installed for the life of me. I've been trying for months now. I'm thinking of switching to something easier than nixos.

2019-08-24

<Gigabitten> ok so earlier I asked how much space reflex is supposed to take up and before something failed after a very long time my nix store broke 20 gigabytes so I'm pretty sure something's still broken
<GiGa> Something I'll possibly do in future
<lejonet> Guest49: the filesystem doesn't have to utilize the full partition (even if that is rare and usually something you have to manually ensure)
<lejonet> Is there something more than "just" adding them to boot.extraModulePackages that has to be done if you trigger a kernel rebuild with boot.kernelPatches that I'm missing?
<srhb> LouisDK: No. That's not even something you can say in Nix :)