2020-05-21

<hpfr[m]> I swear I've seen you reply multiple times with something that's a total non sequitur but maybe I misunderstand
<cole-h> A list as in `buildInputs` or something?
<CMCDragonkai> Something like?
<pjt_014> gotta think of something else
<clever> jonreeve[m]: why are you trying to delete something from there?

2020-05-20

<T0pH4t> tho i guess something odd is going on since i don't see any of the prestart invoking or was the user i wanted created so :/ will keep looking lol
<unclechu> there must be something special about a derivation. or i'm missing some attributes
<RRedcroft> probably doing something stupid, but how do i modify ld_library_path in an overlay trying this hasnt working https://pastebin.com/raw/EVvKnitP
<unclechu> hey, can someone explain to me what magic makes dependency appear in the derivation when i just interpolate something like `${pkgs.app}/bin/app` in a string of `writeScript`
<skomorokh> Can you opt something out of Nix-ness? I have a commercial PHP script my brother uses for invoicing, it has an auto updater thing that I think I'd rather just use than bothering to build a package for it that I can't even distribute anyone and have to fiddle with it on every version... is there a cookbook type example of that sort of practical compromise? (though the cookbook link seems to be down)
<T0pH4t> well package won't build, but i also suspect maybe something is going on there
<T0pH4t> so do nix-build and nix-store verify-path use different things to validate checksums or something. nix-build works fine then nix-store post build fails to verify path
<infinisil> sphalerite: Something like `options.users.users = mkOption { type = loaOf (submodule { createHome = true; }); }
<cole-h> infinisil: Looking through your config for transmission inspiration. How does `config.private.passwords` work? Do you have those passwords as plaintext and git-crypt'd or something?
<infinisil> I'm now wondering why I have that in there anyways, I can only remember that something didn't work with it
<emily> maybe to access private repos from deploy scripts or something?
<red[evilred]> flakes? I guess I missed something
<NickHu> I've heard vague things like nix-build still covers some usecases that nix doesn't, but it would be nice if all this sort of stuff were collated on a wiki page or something
<adisbladis> Unless it's breaking something in nixpkgs already
<kaliumxyz> I'm looking for something which exposes functionality though
<Gaelan> cole-h yeah, wrapper seems like your best bet then. not something i have experience with unfortunately
<Gaelan> looks like others are doing Revert "hello: change something" (which makes sense, because that's what git does)
<Gaelan> Is it better to name a revert commit Revert "hello: change something" or hello: revert "change something"?
<bbigras> oh I might have booted with UEFI for the installation. I had something in my boot menu for that
<infinisil> Well that's good then, it means the fetchgit isn't the problem, but something else
<T0pH4t> infinisil: I ran what you asked, ran clean it seems, I am looking for something specfic?

2020-05-19

<infinisil> The fact that there's 89 results means that something went wrong in the search and probably none of them are relevnat
<MichaelRaskin> It has something like «checking for asdasd... no»
<colemickens> When something complains about gbm during build, what does it need added to buildInputs?
<ssk> thanks emily and infinisil, I ran `nix-build '<nixpkgs>' -A pkgs.gfortran --argstr system aarch64-linux` and it seemed to build something. I wonder if `aarch64-linux` is actaully the system I want though. I'm trying to build for a raspberryPi, should I go into `systems.examples.raspberryPi` and pull that system string instead?
<dsal> srhb: how do you typically do something like that? I guess I could shove the package in home-manager or something.
<srhb> tyang: Then I guess we should suspect something intercepting your keypresses
<numkem> pikajude: it's telling me it can't call something that isn't a fuction but a path (I'm in repl so I took the (builtins.fetchTarball ...) and put it in a variable already)
<numkem> is it possible to import something from a string? Namely something that is a variable with a string appened to it?
<evanjs> I might be thinking about this backwards or something
<evanjs> lassulus: okay, dumb question -- what's the easiest way to evaluate stuff (e.g. with `nix eval`) on something generated by nixos-generate?
<adisbladis> cole-h: Set deployment.targetHost to something sensible like localhost or 127.0.0.1
<tarelerulz> I starting to wonder if something not mess up , in the file itself for my set like , nixos does not work for me .
<evanjs> something like this
<tarelerulz2> do you say false if you want to turn something off or can you # the whole line?
<pingiun> infinisil: can you see if I'm doing something obvious wrong? https://pastebin.com/xZUKvvKq
<tarelerulz2> so when you mount you boot partition you just do something like mount /dev/sda1 /mnt/boot?
<tarelerulz2> i'm looking at the manual now and it says something about filling the whole disk , are there any directions for mulitboot?
<clever> alj[m]: has this machine ever built something from source before?
<clever> syd: and something close to this, from the conduit side
<syd> but eventually I want to do something similar for system services
<typetetris> pistache_: Thanks, that shows something!
<typetetris> Is there something besides `enableIPv6` I need to do, to get SLAAC working?
<tareluerlz2> or you mean something else?
<quinn> pistache: maybe check the CVS? it looks like savannah offers checkouts for both or something
<raboof> having a quick look at nixops, it looks like that provides a way to easily _update_ remote/cloud NixOS machines. I'm looking for something that can easily _replace_ nix-built images. would nixops work for that as well, or is there something else I could look at?
<pjt_014> It's a plain-text database, so yes. Maybe the lack of emacs could make it croak while trying to do something contrived, but I haven't come across anything that comes close to that.
<quinn> pjt_014: elisp is really only compiled after by emacs or with JIT iirc. that's irrelevant. something some (crazy) devs do is they make the primary 'ui' of their application in emacs. org-mode is an example, so is notmuch iirc. it looks to me like that might be the case. are you able to work with recutils files without emacs?
<pjt_014> try compiling emacs from scratch for something like arm
<pistache> but from a quick look in nixpkgs, most PATH wrappers use --prefix rather than --suffix, so I fear that there's something that I'm missing
<pistache> something on my NixOS systems is repeatedly setting /dev/null (and other /dev files) permissions to 600, any idea how can I debug that ?
<cole-h> bbigras: btw, waybar PR looks good now. I see "(process:1623): playerctl-WARNING **: 17:37:47.497: Playback status not set on track change; getting status from interface instead" in the output, dunno if that's something you can deal with or not
<ssk> I'm trying to debug a problem with the liblapack derivation and I seemed to have borked my /nix/store or something? I do `nix-shell -E '(import <nixpkgs> {}).pkgs.liblapack'` and then in the shell I do `genericBuild` and I get https://gist.github.com/satshabad-cr/cf32be7d2f3d164e2c43c0734645dc20
<ssk> I'm trying to debug a problem with the liblapack derivation and I seemed to have borked my /nix/store or something?I do nix-shell -E '(import <nixpkgs> {}).pkgs.liblapack' and then in the shell I do genericBuildand I get a bunch of these type of errorscp: cannot create regular file

2020-05-18

<kaliumxyz> thats something to go on
<emily> (you can see that https://github.com/NixOS/nixpkgs/commits/nixos-20.03 has PR merges from a few days ago, so something that hit the branch 14 days ago is definitely in)
<T0pH4t> i'm assuming something in vm is different from my host box
<adisbladis> Well, the reason why you can do so and how they can be built from a reference in a config file, or systemd unit or something similar is because that string actually retains a reference to the derivation
<asbachb> I saw something like `valid_lft 3591sec preferred_lft 3141sec` in `ip addr`. What happens afterwards? dhcp is queried for a new ip?
<T0pH4t> or am i missing something?
<non> FAT32, set up via gparted (perhaps not formatted completely?). No boot flag, pursuing how to set that up, and I found something about setting a specific GUID.
<evanjs> Is there something I'm missing with how 2.7 is handled in nix that might be the issue, here?
<srhb> la-s: I think this is something you should research carefully first, it sounds like potential dangerzone.
<non> srhb: Something interesting is happening for sure, now my CPU is going super sayin even after booting and doing little else (`st` installed just fine using `nix-env -i` but flickers and dies much like `xterm`), however `i3` and `i3lock` seem to work (until the CPU goes insane). I might try to catch it with htop.
<non> It still hangs as soon as I run the rebuild. It must be something to do with the state at boot plus the changes made by `nixos-rebuild`. Is it the "system profile" what I should be looking at for that initial state at boot? Also, I see `cannot connect to daemon` during the rebuild. Client and daemon seem to be same version, and am running as root.
<non> srhb: Fascinating, thank you. I will try that if all else fails. The reason I am thinking it might be something `nix-env -i`d is because I managed to get `stm8flash` working with much flailing (which I push share to repay this great community), but ended up with a mess of packages.
<non> srhb: Cool, I saw that in a pill, but would that be "scratch" or less than scratch? The docs seemed to indicate that it would also remove `nix-rebuild`, and running it from the store path seems like I'm misusing something...
<non> somewhere, or I need to get rid of something I installed. Is this presumptuous of me?
<srhb> non: let's step back a bit. Normally, unless you've done something not very beginner-like, the system generations are not manipulated directly with nix-env by the user
<bqv> could write something to check this but i assumed someone would know
<betawaffle> must be something wrong with the direnv plugin
<betawaffle> ok, i think i've figured it out... it has something to do with direnv
<pie_> so top level keys need to start referring to something like linuxPackages.whatever
<bqv> If you override something in linuxPackages should be fine
<pie_> mm let me guess readFile is strict something something
<adisbladis> LnL: I was trying to make the point that docker-compose is something you can easily run in your shell for development or whatever, but NixOS declarative containers is not suited for the development case
<kayg04> am I missing something?
<bqv> srhb: whats going wrong with overlays? They work fine for me, but they probably won't take effect if you just drop them in config.nixpkgs.overlays or something
<srhb> colemickens: Filesystem impurity or something?
<colemickens> srhb: something like that, I guess. I don't do anything weird to the daemon and the sr.ht nixos image has always worked perfectly for me previously
<graf_blutwurst> Good Morning. I have a very odd issue. Some buttons in web UIs are not clickable. This seems to be across 3 browsers the same story (qutebroweser, FF and chrome) and seems to be the case since my last nixos upgrade. has anyone encountered something similar?
<cole-h> How can I make an overlay like nixpkgs-wayland accessible via something like `pkgs.nixpkgs-wayland.<packages>`?
<hpfr[m]> Anyone have a good approach for parsing a file with an attribute and value on each line into a Nix attribute set? Struggling to find builtins for something like this
<srhb> jlv: Name: Yes. That's fundamental for something to be in the Nix store. installPhase: No, that's not intrinsic to mkDerivation, but the default mkDerivation builder.
<srhb> jlv: You probably want something like mkDerivation in conjunction with builder for simplicity, the lower level route gets pretty hairy pretty fast.
<jlv> Is there a derivation builder for simple scripts? Something like `writeScript`, but for derivations?
<Guest7> Hi; I'm trying to setup a basic apache+php server and it wont find the index file. I am using services.httpd and in my virtualHost I have something of the form documentRoot = "/home/<user>/dir", and I chowned dir's user and group to "wwwrun", but I keep getting a 403 access denied error. Any thoughts?
<jybs> I'm patching a package, and I want to change the CFLAGS setting - it's already set to something, do I just have to copy that or can I add to it somehow?
<keithy[m]> Hi guys, I am trying to build a path using code like so: (root + "/" + name) but the result is missing the / am I missing something?
<selfsymmetric-mu> I'm trying to guess at the correct pattern to replace something like manually creating an `.<app>rc` file.
<tdeo> i've used something similar yeah
<clever> finnwww[m]: nix-shell http://something -A install
<clever> finnwww[m]: you need to put home-manager into NIX_PATH or do -I home-manager=something
<superbaloo> like it's invoking a secondary entrypoint or something
<superbaloo> I guess I'm missing something, but it does not build

2020-05-17

<colemickens> (And I don't like that something changed underneath the covers in nixpkgs/nixos on me)
<charukiewicz> Two questions: when defining a pkgs source in something like a Haskell package I'm developing (using builtins.fetchGit), is it better to use the nixos/nixpkgs repo or the nixos/nixpkgs-channels repo, and on each of those is it better to use the nixos-unstable or the nixpkgs-unstable branch? Or does it not really make a difference?
<sasyctu[m]> So I've been trying out wine on nixos and I'm getting an error that it can't load kernelbase.dll. I haven't been able to find anything about this either in nixos related things, or in wine related things, so I'm curious if this is something some people have run into, or if it's an issue I need to open.
<clever> quinn: i think theres something like just deleting a state file or rebooting to fix that?
<evanjs> Might have something to do with #77714 being in the back of my head for the past 4 months lol. Soon!
<evanjs> So I wasn’t sure if nixpkgs-review was ignoring `doCheck = false` or if it was a byproduct of something else I was doing
<pie_> stuff like chroot on an sshfs or something?
<clever> numkem: it becomes a lot more powerful if you point it to something with actual nix files, then you can import them
<betawaffle> i've got something currently using `pkgs.writers.writeCBin`, how do i convert that to a "normal" derivation?
<pie_> i cant tell how custom_initrd gets included into something
<pie_> clever can im make squashfs builds faster somehow? or just not use squashfs and get something faster
<gentauro> (something like: "Waiting for Bluetooth device")
<ohhaimark> Hi. I'm trying to get i3status into my home-manager configuration, but it isn't in my local version despite being pulled in a couple of days ago. I have a channel for home-manager from the github master release. Should this not be the lastest or do I not understand something?
<hadrian[m]> Something just happened :-/
<pie_> cc clever <pie_> anyone know how to add extra files to a netboot image in some user accessible path? trying to use pathsToLink doesnt seem to add anything, but im rerunning my process just in case its still running th eold image or something
<pie_> anyone know how to add extra files to a netboot image in some user accessible path? trying to use pathsToLink doesnt seem to add anything, but im rerunning my process just in case its still running th eold image or something
<srhb> Unless something changed, let me just verify.
<srhb> simpson: That might explain something.
<srhb> hyper_ch: Presumably it's being transitively enabled by something else then.
<c00w> I was just checking if I was misunderstanding something.
<c00w> I must be missing something - is there a way to update all packages in nix-env after nix-channel --update?
<emily> kini: something like with import <nixpkgs> {}; amarok.overrideAttrs ...

2020-05-16

<pie_> what was the option for doing something like saving your configuration?
<hpfr[m]> seems like that should be something you turn off rather than on then
<clever> cab404[m]: the default= for something may have changed in a way that breaks it, or the path to home-manager is in the store in a way that breaks it
<ixxie> Something isn't clicking for me with node2nix...
<ekleog> it's more about the depsFooBar scheme, and using something like what's suggested there to disambiguate and hopefully make package maintainers be more easily correct :)
<Thra11> hyperfekt: So something like `nix-build '<nixpkgs/nixos>' -A system` ?
<clever> Ericson2314: one thing ive had trouble with, how do i refer to a host build when i do something like preBuild = "${hello}/bin/hello"; ?
<michaelpj> something like "udev rules not quite firing properly without a reboot" seems plausible to me
<michaelpj> thought it might be something like that
<clever> pie_: you need to just blindly `journalctl -f -o json | grep something`, and then look at the SYSLOG_IDENTIFIER
<clever> pie_: nope, its something the service reports in each msg
<turlando> lunik1 I have 12 gigs but I didn't check that. It just failed and I didn't have enough time to check so I ended up using the built-in AAC encoder. I also was messing with the config because I wanted to enable allowUnfree only for that package (and I failed doing that too) so maybe it was just me being a noob and doing something wrong
<betaboon> evils: something like this: https://i.imgur.com/50UtaDa.png (se waybar and the gtk inspector window)
<colemickens> looks like it set GNUPG_HOME or something, not too worried
<Yakulu[m]> Hi there. I wonder if there is a way to know when the system needs to be rebooted (something like `needrestart` on other linux flavors)
<LnL> angerman: 6a627c4 was a decent eval if you're ok with something a little outdated
<freeman42x[m]1> c00w: where would I find a good explanation on how to package something with Nix?
<cole-h> That's why I'm asking for a way to shellEscape (or something) it
<clever> cole-h: something in your build is asking to turn the sandbox off, but your nix.conf wont allow it

2020-05-15

<emily> cole-h: probably something like gnupg → pinentry → all of gnome3 → systemd → gnupg
<energizer> T0pH4t: i'd guess the defaults will stay added. are you seeing something different?
<cole-h> Well, perl530 definitely exists in 20.03, so something is wrong.
<simpson> balsoft: And practically, the slowdown is something like 2x (V8) or 3x (Dolphin), so you're going to run out of compute time far before you run out of memory.
<balsoft> Maybe something more interesting
<balsoft> Maybe it will be something like complete system halt due to context switches
<bdju> commented out dtrx and now it's doing something
<ajs124> bdju: you might have something that depends (as of now) on p7zip as a build or runtime dependency
<balsoft> emilazy: --no-something is the same as --option something false, and --something <value> is the same as --option something <value>
<Baughn> You can't add something to it without first adding it to said scope.
<colemickens> That sounds like something else is still wrong then.
<colemickens> I set MOZ_ENABLE_WAYLAND for my entire session, that might have something to do with it.
<manveru> something like that
<manveru> until you add `agda-with-stdlib` to nixpkgs or something...
<turion> So I can break nix-env --upgrade without a helpful error message by installing something?
<manveru> `nix-env -f channel:nixpkgs-unstable -i 'agda.withPackages (p: with p; [standard-library])'` something like that?
<turion> error: attempt to call something which is not a function but a set, at undefined position
<supermarin> in the build. Now the problem: I was expecting that a simple package override would work (use the same formula as nixpkgs uses, and override sources). I've also tried with stdenv.lib.overrideDerivation. My question is: Am I doing something horribly wrong, or neovim's formula is just written in a non-standard way so the standard nix practices
<bqv> evils: if yours is a small fix, might as well get it in now, then by the time the next one gets in something else will probably have changed anyway so who cares
<bqv> something that quite bothers me with nix
<bqv> this is almost certainly a problem specific to something you're doing
<bqv> because i imagine this is something almost everyone has accidentally done
<Ashy> is there a way to pass options to a package with nix-shell on the commandline? something like: nix-shell -p "foo { option=true; }"
<selfsymmetric-mu> But now I realize that without the commit…I think these are going stale. When something get committed to those branches, NixOS doesn't know.
<c00w> I think you can just do something like overrideModAttrs = ( _: {
<bhipple> e.g. adding it in mirrors.nix or something

2020-05-14

<Robertof> hey! stupid question -- is there a way to do something like this in a nixos config? `boot.supportedFilesystems = lib.remove "zfs" config.boot.supportedFilesystems;` This obviously fails due to infinite recursion, but I can't think of other ways to basically get the last evaluated value and remove "zfs" from it
<clever> unclechu: you have to load the module with the module tooling, something like `nix repl '<nixpkgs/nixos>'`
<bqv> nah, that'll be for ad-hoc development. you want the tools provided by the 'make-wrapper' package. you'll see a lot of derivations do something with 'wrapprogram', that's what you'll want to use
<spinlock[m]> I see a lot of packages doing something like `FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ freefont_ttf ]; };`, but this raises `called with unexpected argument 'FONTCONFIG_FILE'` when used with `haskellPackages.callPackage`
<Gaelan> btw is the workflow for staging documented anywhere? my current understanding: big rebuilds get merged into staging, which then gets merged into master…when someone feels like it? also something something staging-next?
<mica[m]> srhb: yes, unfortunate. I'm trying to update displaycal, but the DRV fails trying to copy something from the source.
<marcinkuzminski> we've updated out nix from 18.03 to 20.03, in our python build stack we've got some custom code that inherited other package and copied some information over, before the build $PWD was something like: `/tmp/nix-build-python2.7` now it's `/build/XXX` this causes some filesystem access problems, i cannot find it in the changelog, was that changed, and is that configurable ?
<infinisil> balsoft: Yes I'm very interested in something like that!
<immae> infinisil the topic earlier this morning was about secrets, am I right in that your system doesn’t permit to generate a secret via a nix expression or did I miss something?
<bqv> So you build a configuration, but it depends on something not in the same store?
<pjt_014> hmm. it's insisting I sign it with something within the store itself
<clever> so you must `-I nixpkgs=something`
<bdju> trying to use kde connect from sway. my devices aren't seeing each other. I've never used this before so not sure if I'm doing something wrong

2020-05-13

<kalbasit> cole-h: yes, but I can't type that if I can't see, it's way too small. I was hoping for something ala `loadkeys colemak`
<kvda> yea .la file is something else..
<AmandaC> is the unstable channel in the middle of a massive resturcture or something? I'm doing my weekly update, and I just saw three different builds of openssl 1.1.1g come down, with three differeent hashes (both -bin and -dev )
<Yaniel> mesa has something to do with amd in that it is the opensource frontend for amdgpu
<`_> Edes: The way I deal with something like that is I have a function `writeNixScript` that extends `writeTextFile` with `nix-instantiate --parse` as the `checkPhase`, so I pass the nix that I put through `substituteAll` and it still gets syntax checked.
<DigitalKiwi> oh ok so i'm not misremembering that. i have updated recently and am on nixos-unstable...so something changed in the last few months? :D
<acowley> Something in the manual tripped me up, but I'm not confident enough to fix it myself: the nix manual suggests that the `-I` option gets its semantics from those of `NIX_PATH`, which it links to in the manual. But when I tried setting a colon-separated list of paths via -I, it did not work.
<selfsymmetric-mu> I don't want to need to have it locally, since I want to be able to host something for all my machines, y'know?
<Gaelan> I have a flake that depends on nixpkgs. How to I make it point at a local git clone instead of github so I can test something?
<Gaelan> internally, nixos-rebuild is a shell script something along the lines of "nix-build ... && result/switch-to-configuration"
<homtiri> I guess for this I should start a qemu or virtualbox VM manually on Arch Linux and use something like NixOps to deploy it? Is it possible to run nixos-rebuild without NixOS (in another distro with Nix installed)?
<homtiri> @pistache would you recommend NixOps over something like krops even if I don't need to manage more than one server at the moment?
<Yaniel> uhh how would you mark something that has its licensing all over the place
<homtiri> - Reproduce my VM setup in a real server with something like krops
<visl> srhb: hah ok. something to explore another day
<lewo> infandum: do you see graphviz and R when you do something such as `nix-build -A default.nix | xargs nix-store -qR`?
<s1341> How can I compile something with an older glibc?
<freeman42x[m]1> maybe using dpkg Nix package or something
<wnklmnn> Hi, to get started with nix derivation I tried to package the smallest java application I could find wich is not in nixpkgs. Can someone have a look at my derivation and tell me if I they would change something? https://gist.github.com/wnklmnn/8cb8e9bfba36ac103303c7b6aa6d2710
<bkv> because if i try what i want to try without that, i'll end up with a nix store where nothing ever gets GC'd, which is definitely something i'd like to avoid :)
<pistache> srhb: yes, I started to realize something was wrong when I saw that ALL my services were gone, except the one for which I used mkForce :D
<pistache> however, now I have something very weird: two systemd units are failing because they can not find "/sbin/getty"
<ninjin> Thanks pistache and pxc, I guess I meant “transfer” by “shift”. I guess my dream would be to collapse the tree into a single host-specific configuration on my local box and then transfer it, but I may very well be missing something elegant as I am still a bit of a beginner.
<pxc> ah, as opposed to something like flakes or the various pinning tools in the Nix world?
<pca> the login screen is replaced with an error screen saying something has gone wrong
<freeman42x[m]1> cole-h: I want something like: D-VCS but for the entire operating system. So if that it breaks I can just reasily roll back
<mitchellh> dmj`: yeah this shell.nix is much more complicated than it has to be currently just because I was experimenting with something.
<maralorn> And I was made to believe e.g. by the existence of haskell.nix, people who don‘t understand nix/nixpkgs very good and other factors, that getting something to build with hackagePackages is hard and unlikely.

2020-05-12

<pjt_014> do I need to wrap it in a let block or something? The one inherit line doesn't feel like it's doing much.
<clever> pjt_014: you want something = pkgs.recutils.override { ... };
<Jonathan54> Right, it is not build from source, so I guess something like libredirect to patch the executable.
<jjwatt[m]> 776f6c66: And, I could be "smarter" about it. Some people split everything up into different $(hostname).nix files and I've seen people even pick configs in their nix files based on actually reading the hostname and stuff like that. I think one person even selected config bits based on IP address or timezone or something. Right now, I just have different directories.
<jjwatt[m]> srhb: lol. Joe Armstrong did a talk where he starts off with a story about js/node woes and "grunt can't update" or something. "The mess we're in" great talk
<Woutifier> Ok, finally managed to find the issue with the nodejs project I was trying to node2nix'ify. Turns out there is a thing called webpack, which in turn can call something called a babel-loader. The babel-loader is responsible for compiling typescript into javascript, it has an exclude attribute which was set to "node_modules". Normally, that would be ok since it contains all the dependencies, but in the node2nix
<pjt_014> yep. looks something like /nix/store/c0pixa339cndky8iw6gp4jm86qgn25rw-nixos-system-compname-19.09.2496.278db005f83
<pjt_014> unless I'm tryna do something fancy, which is often :L
<quinn> eoli3n_: you can do something like 'nixos-option services.openvpn.enable|grep .nix' to find the file
<camsbury> any ideas for something similar in nixpkgs that works well?
<immae> yes, just to make sure I wasn’t missing something else
<immae> Hello there, I’m curious about something (no real issue behind it except that it happened when helping to solve https://github.com/digital-asset/ghcide/issues/560): why does `ldd /nix/store/somehash-glibc-x.xx/lib/librt.so` directs me to a libc.so (and pthread and ld-linux) that is not in the same directory (it gives me the one coming from ldd). Is there any reason why the libraries in
<jakobrs> No wait why would Tor be considered an essential when something like tmux or nmap isn't?
<bitonic> How can I delete something in `/nix/store` and all its dependencies?
<turlando> Last question I hope, the example in the documentation suggests: builtins.elem (lib.getName pkg) [ "pkg1" "pkg2" ]; Can I do something like builtins.elem [ pkg.ffmpeg-full ];?
<Mic92> Maybe you can see in `tcpdump -i any -n` if something is different on the protocol level.
<srk> fps: you can use something like (pkgs.callPackage ./my-package.nix {}) in environment.systemPackages or where you need to refer to it like a service
<zakkor> i just wanna make sure it actually creates something
<srk> steevveen: you want something like { stdenv, git, buildEnv }: so callPackage fills that from pkgs scope
<pjt_014> srk: I don't really know what to overlay or how though. Any good examples of overlays that disable something like this? Also how do I know what flags there even are to disable?
<pjt_014> srk: is there any simple-ish way to build it without gtk being involved? something with overlays?
<pjt_014> would overriding and setting it to false here bother anything upstream or something?
<pjt_014> srk: if you want a copy of armv6l gdb from my build I can push it up to cachix or something
<clever> atemu12[m]: if bash cant execute something, it just blindly assumes its a bash script, and runs itself on that file
<pjt_014> balsoft: most of the time it's fine. I just x-comp'd something for riscv-64 just to see if I could
<balsoft> pjt_014: Why don't you build it in qemu or something? I'm pretty sure cross-compiling stuff is pretty hard sometimes
<clever> a module is something in the form of `{ config, pkgs, ... }: { config = { something; }; options = { something; }; imports = [ something ]; }`
<luna> Oh. Is nixos older or something?
<simpson> keithy[m]: I'm working on something like that, but it'll take more than a month and also you probably won't find it more ergonomic than standard NixOS.
<clever> keithy[m]: something = lib.mkMerge [ { set1 } {set2} {set3} ];

2020-05-11

<prusnak> something like (foo ~= "armv.l-linux")
<quinn> raboof: can you run it with --verbose or gdb it and see if it's shelling out for something?
<raboof> it's the same one - so yeah, it's *something* with the environment...
<quinn> raboof: my first guess is that there's some impurity in the derivation and it's getting a different version of something, don't update to unstable
<chloekek> cole-h: Thanks for the help! I’ll set checkPhase = "make test"; explicitly so it will fail if something is wrong with the Makefile.
<T0pH4t> has anyone created a base image of NixOs for docker? I didn't see any public containers and was wondering if there was something preventing this.
<sphalerite> invra: looks fine, the indentation's a bit weird but that won't stop it from working :) and if it doesn't work — don't worry! Your work writing it won't have been in vain, you can just boot the installer again, mount the partitions, edit the config and rerun nixos-install if you missed something.
<asbachb> emily: I guess I need to get nixos-rebuild work before adding something to certifcate store?
<sphalerite> nopsled: read the release notes, and generally leave the system.stateVersion option as is unless there's something in the release notes speficially suggesting to change it.
<sphalerite> asbachb: that sounds like something you shouldn't really need to do! WHy do you want to do that?
<chatterbox> I am trying to install PyTorch with OpenBLAS (instead of MKL). I thought something like https://pastebin.com/WCWFkAwP should work. But I get an error complaining about unexpected argument 'blas'.
<qbit> maybe i am doing something dumb - I get "no such file or directory" with relative or absolute paths
<pingiun> otherwise i could do something like systemd.services.matrix-synapse-new = systemd.sercies.matrix-synapse // {things to change}
<niso> amanjeev: i was kinda wondering if it might even work via the module system, however in pingiun 's usecase he probably needs matrix-synapse, coturn, postgress (and maybe something like nginx+riot)
<pingiun> amanjeev: I think so, but I was talking about setting up something permanent in configuration.nix
<amanjeev> others can correct me if i am mistaken but if one of those two instances is only going to live for a short duration, one could use nix-env or something local right? talking about pingiun usecase.
<amanjeev> thank you! tbh I have already upgraded to 20.03. I just saw this line and got a bit worried if I had missed something.
<sasyctu> So I'm trying to get some GTK applications to display icons on i3-gaps, and I'm having no luck. I've got lxappearance installed like suggested, but I don't appear to have an icon theme, or at least not one which is being used by default by any application. I'm still pretty new to nixos, so is there something super simple I'm missing, like installing a GTK theme and creating a gtk config file with that theme named, or what?
<raboof> is there something going on with nixos-unstable? https://github.com/NixOS/nixpkgs/tree/nixos-unstable hasn't been updated for 2 weeks even though there are some recent green builds in https://hydra.nixos.org/job/nixos/trunk-combined/tested
<Mic92> pamplemousse[m]: ^ we are looking for something to find out all dlopen() to find runtime libraries.
<flokli> so something tracing all calls to dlopen, and at least identifying static strings would probably be better
<quinn> srhb: that's true. my moment was packaging something in haskell. one of the dependencies was out of date, and i spent 5+ hours trying to get nixpkgs up to date because the script kept crashing my computer
<quinn> i know that if you set a list to something inside of a module it is actually concatenated with the value outside of the module, is there a similar feature for attributes?
<srhb> bqv: To try and be pure, something like `nix-build -E 'with import path-to-nixpkgs { config = {}; overlays = []; }; fooPackage` is needed
<emily> in terms of "cheaper object storage" something like Wasabi already gets you a bunch of savings in return for an (arguably less than Sia/whatever) reduction in "trust that your data won't randomly go poof"
<infinisil> cole-h: Yeah something like that. Maybe 600 to give some wiggle room
<cole-h> infinisil: Say I want to make a list item in a module come before all other normal list items, but still allow someone to `mkBefore` it... What should I do? `mkOrder 501`? Something else?
<bqv> in the vein of sia, something like that could be incentivised, but i'd be quite happy to donate a fair bit personally, since i have an unlimited plan
<jlv> Is there something like `man configuration.nix` for NixOps? I can't find the configuration options.
<energizer> idk what the search box at the top of https://hydra.nixos.org/ does but maybe something useful
<danderson> something in gcc-wrapper is picking the wrong gcc, somehow...
<danderson> something ends up picking mingw to compile linux code, and fails :(
<cole-h> emily: https://i.imgur.com/bzsGp4n.png Something is definitely off. Off to dinner, but I'll check back later...
<cole-h> emily: Something does seem wrong, but there's nothing in the logs...
<finnwww[m]> pistache: something is indeed very wrong. issue with home manager?
<pistache> finnwww[m]: we should be seeing the line I've pasted appear in the .xsession script, if not there's something very wrong
<clever> bqy: did you add something recursive to your config?
<cole-h> `services.".lmao".something = null;`
<eadwu[m]> i.e. if you need zswap, add something like `{name = ""; patch = null; extraStructuredConfig.ZSWAP = lib.kernel.yes; }`` in `boot.kernelPatches`

2020-05-10

<cole-h> keithy[m]: Maybe just paste the entire output in a gist or something. So far, that's pretty standard output and nothing worrying.
<keithy[m]> sure but at least that is something
<clever> dnlkrgr: something like this would do it
<betawaffle> emily: is there anything like mkOverride but that allows me to just remove something from/filter the list
<qyliss> prusnak: gimme a sec I'm just finding something
<cole-h> But I imagine it has something to do with trunk having 4k queued builds, the oldest of which is 2 days ago (which is before that PHP fix got merged): https://hydra.nixos.org/queue_summary
<ldlework> if something doesn't show up in ldd, that means the binary was not compiled against a library right?
<betawaffle> is it possible to start something other than `login` from getty? like sway?
<shreyansh_k> clever: May I kindly ask the link to the issue tracker or something if possible? Thank you for reaching out.
<energizer> ldlework: is there something unusual about the computer you're using that you suspect is causing all these issues? asking because i'm curious how usable nixos is across various devices
<emily> fendoer: that part I have no idea about. I'm guessing that maybe nouveau is only even trying to load with UEFI or something
<emily> you're just experiencing a regular old linux audio configuration issue unless you have something specific in your configuration doing this
<clever> matthewcroughan: if you pre-download the dependencies for something, you can keep building stuff while offline
<matthewcroughan> In fact, I imagine that at some stage, we're going to find out we've overflowed something, in some apps haha
<matthewcroughan> But in the case of a raspberry pi, I can't just take the configuration.nix from my desktop and boot it on my Pi, what is the recommended thing to do in this case? Do I have to have two separate configuration.nixes for that case? Or is there something I can do with the functional programming that lets me check what platform I'm on?
<matthewcroughan> So, I'm confused about something. I've always thought of NixOS as allowing me to have portability between systems. In some cases this works, let's say you have two laptops and you want to take your entire config and boot it on there, that works!
<emily> arianvp: something I don't understand about containment: what's with the excludedPath stuff?
<ongy[m]> maddo: but if layouts is all you need, you can take a look at the IPC protocol sway supports. I'm pretty sure it should be possible to do something like that. Navigation would be the sway 2D style though
<maddo> ongy[m] since you've gone from way/xmonad to sway, is there something like xmonad layout in i3/sway?
<evils> bdju: the nixos-unstable channel has been stuck for 11 days, the nixpkgs channel has 76, to check versions i usually do something like `nix search -u --json "firefox" | jq`
<bdju> I just tried your command with something in my configuration.nix and it does output what I want, though, so thank you for that. I just have to see if home-manager can do something similar.
<bdju> Should I have Firefox 76 if I'm on NixOS Unstable? I don't seem to have it yet. "About" says 75.0 still. Also, is there a way to check package versions through Nix? Something like "pacman -Qs" on Arch, maybe.