<evanjs>
asymmetric: ah thank you. Yeah I must've needed medium for something
<lecethimon>
yeah. Figured that. From what I remeber you'd have to configure and then build for something be permanenet. If just installing something and building you would lose your installed software
<__monty__>
lecethimon: Haven't had to reach for something like the AUR since using nix.
<lecethimon>
Hello, have tried nixos a few years back. Been on arch since then. What advantages does nixOS have over something like arch?
<eyJhb>
I think the best solution is to switch to something KVM + libvirt gui
<timokau[m]>
FRidh: thanks :) I know that is an option, but I was hoping for something that won't make me recompile maven
<inf>
like a tablet or something
<inf>
I'd really love to play a little bit with wayland. Sadly I'm really dependent on awesomewm for the past year or so, and I don't have too much time to adapt to something else :D
<wlckd>
Hey there! I just started using nix; and I noticed font packages that are installed aren't working. Do I need to do something special, or manually install fonts?
<clever>
Klein37: next time, use `nix-store --query --roots /nix/store/foo` to see why something cant be deleted
2019-11-10
<clever>
while with mkMerge, it will verbosely complain if you set something twice
<otwieracz>
It wasn't called something something session?
<samueldr>
ah!, betaboon, I was doing something else on the side, and got confused with the tests... not pushed to the PR branch yet, right? :)
<wikiemol>
Interesting, thanks everyone. I think I must have done something strange when I was experimenting. I opened a new terminal and there are far less environment variables now.
<stepcut>
adisbladis: but.. it would still be nice if something like, `nix-env -qaP emacsPackages.\.*` worked
<adisbladis>
stepcut: You could do something like: nix-instantiate --eval --expr 'builtins.toJSON (builtins.attrNames (import <nixpkgs> {}).emacsPackages)' | jq -r '.' | jq -r
<flokli>
I wouldnt call it revert, at least not in the first line of the commit msg. Something like "samba: remove redundant dependency on network.target\nThis reverts commit xxxx. We already set after=network.target on samba.target.
<flokli>
And we don't need something separate from mesonFlags
<tmplt>
Is there a Nix <-> json tool or something similar? I'm working on automating a deployment ISO somewhat
<gyroninja>
clever: Do you know if it would be possible to test if xz is needed. Is there something like --pure from nix-shell for nix-build?
<gyroninja>
is the unpack unpure or something?
<pie_>
so, either doing some variation of that maually, or using something like the daemon provided by the libcgroup package to set things up
<infinisil>
Perhaps should have linked to something like this in the warning
<atlas_>
clever: I don't want my nox dir overwritten by updates or something wtf
<pie_>
does nobody on nixos use cgroups? am i just missing something?
<wikiemol>
<hash>-foo was put into my nix store with "foo" as text). When I left the repl, and ran declare -xp, the environment variables were edited. I thought this was supposed to be sandboxed when the build was running? Am I misunderstanding something?
2019-11-09
<clever>
lane-s: you want something like boot.kernelPackages = unstable.linuxPackages_latest;
<Sisyphe[m]>
<babariviere[m] "Sisyphe I may say something wron"> Oh that would explain. But retrieving all propagatedBuildInputs to put them as target inputs seems intractable, at least if I need to it manually.
<babariviere[m]>
Sisyphe I may say something wrong but for your buildFHSUserEnv, I don't think propagated build inputs works, you have to use target packages
<lane-s>
It seems like my system might just be kind of unstable or something. Now `nixos-rebuild-switch --upgrade` just hangs
<lane-s>
Must be something with my dns then...
<clever>
that can also happen if something was using the alsa device when pulse started
<worldofpeace>
clever: yeah, we really really shouldn't be using autospawn. If there's a rogue process, maybe something is starting it outside systemd
<worldofpeace>
hey gchristensen, remember when op me to change the topic. guess matrix messed that up and the topic is cut off at `For best support,`. Can we complete that to, `For best support, please paste your configuration.nix to a pasting service when asking your question` or something shorter?
<lucus16>
I guess something other than systemd is also starting pulseaudio
<ilya-fedin>
clever: As far as I can see in strings, in the binary, path to the source files of the crystal libraries. It seems to be something like debug symbols. Can I somehow make nix ignore this?
<{^_^}>
attempt to call something which is not a function but a path, at (string):271:9
<asymmetric>
infinisil: and can i "patch" it, as in, for example, prepend the existing ExecStart with something else?
<mibbliosa>
chris__: `--pure` didn't seem to fix it either. I think it has something to do with my hakyll dependency. Since stack has atleast tried to solve thise issue, I'll setup stack and give another shot.
<GiGa>
Miyu-saki: Was wondering if that was "software defined environment" or something :)
<rotaerk>
I've just been using xterm; wonder if I should try something else
<rotaerk>
ah... I mounted /dev/disk/by-label/EFIBOOT to /mnt/boot, but that pointed to something different from what I expected
<slack1256>
It can something that made sense long ago.
<evils>
worldofpeace: maybe i'm overlooking something, but that says nothing about only wrapping 1 of several binaries
<samueldr>
restarted the build, will see if it fails on something else
<samueldr>
something like aarhc64-linux-gnu-ar maybe
<samueldr>
ar would not be named "ar" but something else I think with cross-compilation
<samueldr>
sounds more like something is not aware of cross-compilation
<evanjs>
I do wonder if I should just put it in a shell.nix or something
<__red__>
I also want to talk to him about something else he's suggested doing that I want to make sure he makes optional :-)
<evanjs>
And gives me something like "/nix/store/gpszqcy0xi0lavbbjdq82zkkjp3jbp2a-bzip2-1.0.6.0.1-bin/lib/libbz2.so.1" => not found
<evanjs>
How do I get outPaths for a script? e.g. zlibPath=$(nix-instantiate --eval -E 'with import <nixpkgs> {}; builtins.toPath (zlib.outPath + "/lib/libz.so.1")') returns something but passing it directly to patchelf doesn't seem to work
<samueldr>
depends on if it was recent, I guess, maybe it is fine if it is still something he's using
2019-11-08
<eyJhb>
Considering pulling it out from my main config, into a module or something
<LnL>
it's been in there for a couple of years, but of something renamed it might have silently broken
<exarkun>
is cache.nixos.org having a bad day or something
<adisbladis>
jlv: You can create it in an activationScript, but generally that kind of thing should be created by the module system if something requires it.
<red[m]>
So my PR to put something into the stable branch was accepted and merged. To get it into master, do I need to submit another PR or does it just automatically happen?
<bsima>
also cool vm test, i need something like that
<exarkun>
sshow: as long as they're not used by something
<deni>
like I see the files configuration-ghc-8.x.x.nix in the nixpkgs repo....so I now which branches are currently present but I can't seem to find the last x (the minor version) there...so that when I override the compiler version it doesn't say "unknown argument" when I type ghc802 or something
<samueldr>
it'll need at least a "/" IIRC, unless built with `isContainer`, or something like that
<rotaerk>
I kept the "recovery" partition, but I think that just had some tools in it or something, not the actual OS data
<CMCDragonkai>
what's the best way to check if something is null, and use it with `lib.optionalAttrs`?
<Miyu-saki>
Wait hold up. I just realized something.
<clever>
something like that
<clever>
inkbottle: are you patching a prebuilt binary or compiling something?
2019-11-07
<clever>
Bryophyllum: and what is the path to something it started building?
<notme>
__red__: "no stable api"..... No my favorite words for something that's in production :P
<red[m]>
but like I said - I don't know that much about that subject in particular - so I may be missing something
<red[m]>
... but it is something I would like to look at helping with in the future.
<Shoubit>
highlander3, I think you want something like `import (./foo + "${bar}") {};`
<wedens[m]>
something may be wrong (or just not designed for musl) in libusb1 build files:shrug:
<balsoft>
Or I might mistake it for something else
<ZoomZoomZoom>
I have an issue with automounting multidevice pool. As far as I understand, bcachefs needs the used partitions to be listed with the colon separator for the fstab. Unfortunately, it seems that NixOS passes the same string to the fsck, which needs all the partitions split by whitespace. Is it a bug, or I am doing something wrong?
<bdju>
it looks like my ethernet is stable after stopping the dhcpcd service, but I can't disable it because of read-only file system or something. on unstable
<colemickens>
Seems like when I try to use unstable on GCE, I get locked out on upgrades or after some time or something. (locked out = removed from sudoers, despite having the same IAM permission as always)
<rotaerk>
ah, found something saying I shouldn't run that under sudo, because < doesn't work as expected with sudo
<rotaerk>
ah k, the refind one worked. from that menu I picked something about a bzImage
<selfsymmetric-mu>
Write a script that returns exit code 0 if it's working and something else otherwise.
<CMCDragonkai>
requiring force overrides for somethings?
<clever>
i often see users doing something somewhat like: nix-env -iA nixos.mplayer --arg pulseSupport true
<clever>
nh2[m]: doesnt really make sense, -f tells it to import something for use with -A
2019-11-06
<karetsu>
worldofpeace: the dbus entries were pretty uneventful, something I just have to live with?
<clever>
jd823592: something must have made the symlink to that file, and nix wasnt aware it was even in use
<deni>
clever: I agree. I'll see if I can whip something up tomorrow.
<clever>
jd823592: so something else you did left one there, and nixos/nix-env will never try to update it
<red[m]>
otwieracz: can you post your derivation in a gist or something?
<hyperfekt>
something is stripping debug info from qemu and i can't figure out what. :< i got dontStrip = true and --disable-strip in the configureFlags :/
<tilpner>
hyperfekt: You're doing something weird to NIX_CFLAGS_COMPILE
<evanjs>
otherwise (unless I'm doing something else wrong), buildPhase and etc doesn't seem to do anything
<worldofpeace>
jtojnar: I jump from the electron app or fractal. I basically switch between either if something breaks. I actually copied them individually, does that not work?
<exarkun>
I mean, ideally, something would notice that the system has wedged and is dead and *automatically* do the reboot back to working configuration :) but I'm not aware of any such functionality
<exarkun>
A service ticket that says "reboot server 1234" might get handled in 5 minutes, a service ticket that says something more complicated might take a few hours or a day
<wucke13>
What would be a good choice for something which is not deployed via nixops?
<kirelagin>
Well, I mean, Agda is a proof assistant first and foremost. I don't know about these days, but if you tried to write an actual “program” (that is, something that executes, performs a computation, and outputs a result), you had to SUFFER. For me that doesn't sound like a general-purpose programming language.
<Franciman>
I do love guix, but I needed something right now for production
<wedens[m]>
if you want to serve it via nginx or something, as I said earlier, you can reference it via `myStaticFiles = "${python37Packages.my-package.static}"`
<evils>
couldn't you use `import $SCRIPT_DIR/../../../../../../.` or something like that?
<zeta_0>
wedens[m]: what is the syntax to do something similar, like with haskell ?
<evanjs>
Yeah this openrazer thing is definitely something with one computer. Works on both my other NixOS machines... what even
<CMCDragonkai>
clever: can you show me which script sets it? I would like to set up something similar so I get the proper revcount and hash.
2019-11-05
<dhess>
clever: maybe my nix-daemon hadn't been upgraded or something weird.
<kuznero>
home-manager is something completely new to me. what is it?
<vika_nezrimaya>
you can build something similar
<__Myst__>
vika_nezrimaya: what if it's something like `nixpkgs.gitAndTools.diff-so-fancy`?
<hpfr[m]>
Been having problems with Firefox lately. Sometimes when I launch it has a bunch of extension issues and then crashes, other times it’s ok. It also says some extensions have been disabled because they’re unsigned or something which shouldn’t be happening, I use common actively developed extensions
<vika_nezrimaya>
you could also go minimalistic and make a nix-file describing the environment, and then... nix-env -if myenv.nix or something similar
<ar>
over dbus? so you actually need xss-lock or something like that?
<deni>
hmm nope.....it's something else...unplugging the cable and plugging it back in brings back the screen
<deni>
clever: an interesting thing just happened though... I think the screen went to sleep...it's either that or something wrong with the cable. Anything like that happened to you?
<deni>
or are you talking about something else?
<wedens[m]>
elgoosy: add `gnomeExtensions.topicons-plus` or something to ` environment.systemPackages`.
<evanjs>
can't find the shell.nix or something?
<gchristensen>
did you mount something to /mnt ?
<kaliumxyz>
require confuses me, is it even part of nix or is it something added by nixos?
<inkbottle>
did you update for something newer?
<kirelagin>
These are essentially all the resulting build products, they all are derivations that you can build and get something useful, e.g. `initiralRamdisk` gives you the initramfs image, and `toplevel` gives you... I don’t quite remember, but, probably, everything.
2019-11-04
<__red__>
and wants to cherry-pick something from unstable
<sauyon>
It seems like a scope is just a recursive set, but doing something similar predictably causes me to run into infinite recursion
<exarkun>
I bind-mounted something from / over-top of it :( and the build is happily proceeding now
<exarkun>
johanot: I wouldn't say it's obviously cleanup related. Available space on /run/user (actually /run/user/0) doesn't seem to be shrinking. But the ~ 1 GiB that something allocated to it isn't enough to hold the whole build's working state, I guess? Or whatever the peak utilization is, at least.
<alter2000_>
iqubic: if you want to do something like `{ lib = self.lib <etc>}` you can `{ inherit (self) lib <etc>}`
<sondr3>
I get the same error with that command, I'm using the postgresql_11 package, might be something to do with it?
<gchristensen>
probably the best bet is to change all the run-time / data dir params to use something in ./
<Ericson2314>
but you need to actually stick it in the required field of something
<aanderse>
yeah... you sort something because it is hard to read
<infinisil>
dminuoso: You can do something like "{ inherit (rec { ... }) exported symbols; }"
<globin>
hmm, the thing is I find it harder to skim the TOC looking for something and having to think of in which category it could be in vs just looking for the keyword I'm interested in
<aindlq>
silly question, but is there a way to add something to PATH env variable from configuration.nix file
<m1cr0man>
Hey folks. I'm trying to work out a way to set up a php-fpm pool for each user in my LDAP database. I'm wondering if it's possible/sensible to write a sort of fetchFromLDAP function for nix that will query ldap + map the results to an attrset. Is there any functions that do something similar I could look at?
<vonfry>
tilpner: Sorry, I cannot understand. I can use that to find the system generations, and go into that dir to find something. But the package is not found in this dir(share or manpage). And other options of nix-env such as `-q` cannot print anything. That package seems not a buildInput. What do I miss?
<tilpner>
vonfry: I was just telling you where the profile is, I wasn't recommending it for finding something
<arcnmx>
NoblesseOblige24: or if you trust me, you can also use nur.repos.arc.pkgs.weechatScripts.weechat-matrix or something
<NoblesseOblige24>
Oh wow, very nice. I haven't set up my own packages repo yet (or learned the language really). Should I just put this in /etc/nixos/private or something?
<pie_>
i guess not too surprisingly, one cant do something like this right?: <nixpkgs/pkgs/os-specific/linux/kernel/linux-${kernelVer}.nix>
<c00w>
clever: Oh wait thats interesting. So something in hydra isn't parsing them anymore?
<c00w>
Hmmm - so something stopped generating them on unstable?
<pie_>
is it possible to do something like nixpkgs=channel:... in a nix expression?
2019-11-03
<infinisil>
The default for nixos-config is /etc/nixos/configuration.nix, by using `-I nixos-config=` I can change that, and I set it straight to something from the repository, so no need to set up anything
<infinisil>
deni: That's one way to do it. Personally I have a small wrapper script that calls something like `nixos-rebuild switch -I nixpkgs=${fixed nixpkgs} -I nixos-config=${fixed config}`
<deni>
awesome...I learned something today :) thanks again clever infinisil
<infinisil>
talqu: You can use pkgs.mkShell to achieve that though, something like `pkgs.mkShell { inputsFrom = [ a b ]; }`
<deni>
I guess a service just needs to be built...via "callPackage" or something like that...and then the systemd service can just reference it.... but there doesn't have to be a symlink in my user's "path"
<deni>
clever: Oh I see...so the idea is that when I add something to systemPackages it's in my path and I can interact with it via whatever binary it provides.... and if it's just something that I want to be able to start via systemctl I don't have to add it to systemPackages. But then my question is....how does a hypothetical `service.openvpn.enable` work then if it doesn't add itself to system packages?
<clever>
you will never need to add something to systemPackages to make it work
<daniel_duan>
docs don't mention anything regarding lib/customisation.nix. The error I get is `attempt to call something which is not a function but a set, at lib/customisation.nix:69:12`
<clever>
colemickens: i dont use network manager, so ive never seen something like that
<oldandwise>
can these ExecStart changes I did be incorporated inside a shell.nix or default.nix? Something that is operational after a nix-shell ?
<JonReed>
bobbles: I'm helping you completely blind, because I never used radicale, but I would try something like this `services.radicale.package = (pkgs.radicale2.overrideDerivation (oldAttrs: { propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ pkgs.python3Packages.radicale_infcloud]; })) `
<evanjs>
Mmkay so looking at tests in https://github.com/NixOS/nixpkgs/pull/72633 — going to look at `cargo insta`, which the tests seem to use, and see if I can run it in `preCheck` or something, but does anybody else have advice on network access during `cargo test`?
<tdeo>
hmm, how do i convert something like { a = 1; b = { c = 2; d = { e = 3; }; f = 4; }; }; to just [ 1 2 3 4 ]? (order doesn't matter)
<edef>
hmm. not sure what the deal is, but something definitely went poorly with expiry up to at least today
<clever>
chris__: the storepath doesnt match up, so your either on a different nixpkgs, or you have an overlay that changes something
<clever>
arianvp: though its configured to not restart display-manager, so any actual restarting is a bug due to something else causing breakage
<immae>
talqu: it doesn’t pass packages, it passes something else that contains in particular the packages: config, pkgs, etc.
<alexarice[m]>
chreekat: You could tell them to run nix-shell with `-j0` or something
<chreekat>
I often feel like I'd appreciate a "don't build this locally" flag for derivations. For instance, if I point somebody at a repo and say "install Nix and run nix-shell to get a dev environment", I'd rather they get an error right off the bat if there's something wrong about the substituters.
<wedens[m]>
nh2: netbsd.compat was probably transitive dependency of systemd when doing musl build. as soon as I realized that something pulls systemd (it was postgresql), I removed systemd dependency and got rid of the problem.
<pie_>
clever: do you mean callpackaging all-packages to eval the kernel, or something else?
<bdju>
where do I go from here? delete a symlink and then run something?
<bdju>
ah jeez. I did something like this on guix system once by accident also
<bdju>
do I redefine $NIX_PATH in my .zprofile or .zshrc or something?
2019-11-02
<don_quijote[m]>
or something
<symphorien>
is the libnw.so you found for the same arch (not 64 bits for 32 or something like that) ?
<clever>
this seems to at least start to eval, and now its building something
<nschoe>
clever, when you say "something else will just use wrapProgram to persist the current value of GIO_MODULE_DIR". What does it mean? Do I have to do it? Or do you mena other programs will do it, when depending on glib-networking?
<clever>
nschoe: then something else will just use wrapProgram to persist the current value of GIO_MODULE_DIR
<nschoe>
clever, quick question: I have added the setupHook, and in my setup-hook.sh, I tested a very simple myfunc() which echo something, and then added "addEnvHooks "$targetOffset" myfunc". When I test this with `nix-shell -I nixpkgs=/home/nschoe/nixpkgs -p glib-networking` it works, but the myfunc() gets called lots of time. Am I missing something?
<wedens[m]>
is there IFD or something that makes derivation from a file where dependencies are inferred from referenced packages? for example, `@gawk@/bin/awk` in the file adds gawk dependecy.
<clever>
nschoe: at build and shell time, you can use a setup hook to set that var, then something else needs to wrapProgram the final binaries
<nschoe>
I'm not sure how to "port" this in glib-networking/default.nix, but after installation, it appears we need to do something with the location of the GIO modules.
<clever>
something ive been wanting to do, is see how much network a given cgroup or pid is using
<chris__>
symphorien: Seems to be doing something! Thanks!
<nschoe>
On #gstreamer, I've been told that I need a "gnutls enabled glib-networking", but looking at glib-networking/default.nix I clearly see a gnutls dependency, and something abour wrapProgram in the postFixup phase. I don't understand what it does. Someone here mentioned to me wrapGAppsHook and schemas, but I can't figure out what this means.
<infinisil>
contrun[m]: Unless you know something concrete that doesn't work I'd still give it a go. Having Nix available will make things a lot easier
<LnL>
manveru: yeah, maybe something like that isn't a bad idea
<bdju>
cransom: cool, that sounds like what I want. how do I switch? just add it to system packages list or something?
<Jonathan66>
Now that I have *something* working I will be able to try to gradually improve it.
<pie_>
Jonathan66: on nix you can assume things cant see eachother by default unless something specifically enables them to
<Jonathan66>
Can I expose druntime in a shell or something?
<trevthedev>
oh and could it be poor drivers on my end or something? doesn't seem likely
<exarkun>
is there something that glues a working acme client into systemd on nixos? that's the only reason I tried to use security.acme.
<trevthedev>
Anyone know if this is just some issue with Nix or something wrong with my environment? I assume it's user error, but I can't seem to figure out how to get a functioning environment for GL
2019-11-01
<jackdk>
I would get success, eventually, so something along the chain must have expired a cache entry or something
<jackdk>
reconnecting to wifi would sometimes tickle it, but I don't know if it was a crappy router, something at the isp level or who-knows-what. I needed to move house anyway
<bdju>
does nixos have something like manifest files from guix? the ability to declare my user's packages in a file separate from the system stuff
<zeta_0>
clever: it still switches back to qwerty sometimes after something breaks during a rebuild
<wrl>
is there a howto or something similar for creating an overlay?
<wrl>
clever: is wrapProgram something I'd have to do in the derivation itself?
<symphorien>
it only does something in the fixupPhase of regular nix-build
<zeta_0>
vaibhavsagar: hello again, i am very happy with ihaskell, but for some reason when i try to upgrade my nix channel(nixos-19.03-stable to nixos-20.03-unstable) ihaskell throws an error that it's not able to build, is something wrong with the this ihaskell code ? https://hastebin.com/vohuqexisa.bash
<zeta_0>
is something wrong with that code ?
<johs>
Hm. There is a package "dust-0.2.3" which is not the same thing as "dust-0-91". It works fine to install "dust-0.2.3", but on "nix-env -u", it will upgrade to "dust-0-91". Is there anywhere to report this conflict? (Or am I doing something wrong?)
<CMCDragonkai>
and something has to be extracting all of that onto root after stage 2 boot
<Miyu-saki>
Wait. Let me test something.
<clever>
stderr may be a pipe or stdout of something
<clever>
Miyu-saki: then its waiting for something to happen, which it previously registered in epoll
<Miyu-saki>
I think something changed in SSHMaster or smth.
<slack1256>
For example on functional analysis if something it's dealing with convex sets I know hahn banach geometric version is playing around.
<co1or>
lemme gues: is it some porn fetish or something?
<notgne2>
basically I don't think any kernel DRM developers are to blame for this, they're building something for somebody other than the community, and their contributions should be treated as such. Not as some kind of evil attack, and not as something to benefit the users. It's a feature, blame the people that force you to use it
<co1or>
jesus christ. one disappointment after another. for every step the community takes to secure its rights, the Powers That Be wanna strip them from you, i know i sound like a FSF member or something
<notgne2>
also, DRM is a "feature", this is something anybody could've implemented (albiet not merged into the official Linux branches), so you really the problem was never in the hands of the programmers
<notgne2>
co1or: I don't really think there's any reason to be angry at Linus, he is doing his job, which is more of a traditional one. He made something useful to the community, he never worked for the community, like say RMS for instance. I don't think that's a bad thing (but maybe I'm biased since I contribute to free software for my paid work too), but does mean you shouldn't act as if he's working with your best
<zeta_0>
clever: something like this then ? `d98969dce85efb7da688a4162b7e4339d9e3fa48`
<notgne2>
adisbladis: is there any way to work around pnpm not giving git dependencies hashes, like using overrides to manually declare it and use fetchGit or something?
<clever>
zeta_0: you want to use pkgs.fetchFromGitHub { owner = "gibiansky"; repo = "IHaskell"; rev = "something"; sha256 = "something"; }
<co1or>
wrl; something like that I take VERY seriously. it could potentially bypass any firewall!
<m3thos>
you can go read the archives of the newgroups for the linux kernel history.. all the way back to 1991. first public version was v0.11 or something like that
2019-10-31
<m3thos>
the current system is live and running, I'm using ext4 so I can't use snapshots or zfs-send or something
<zeta_0>
infinisil: can the hash be random or does it need to be something specific ?
<infinisil>
zeta_0: Almost certainly this is caused by something in your config, an overlay perhaps, look for whether you have something relevant, look at it with --show-trace, etc.
<infinisil>
tbenst: Being able to do `nix-shell -p pythonPackage.*` seems like something that never should've been supported anyways
<__monty__>
I have to enable swap just to have a chance of having a successful rebuild o.O I'll give it a shot though, since there don't seem to be any alternatives. Glad I'm not doing something obviously wrong though #32bitstherealhardlife
<__monty__>
clever: But that requires a system rebuild : (, and another one in case my remote builder's not available and I need to build something.
<clever>
nh2_: something ive wanted, is musl and more cross-compile, and other arches
<johnnywho>
infinisil: Lol wtf ${placeholder "out"} did something really weird
<pie_>
im not sure i just vaguely remember having seen something. or not.
2019-10-30
<evanjs>
/nix/store/7mpikj2w5r2693axb1bygc28ygzhpb9z-channel-rust-beta.toml, which makes me think it could've been a direnv env i was using or something
<sauyon>
I think it might be something to do with home-manager, actually
<sauyon>
I'm guessing something is configured wrong
<srhb>
neiluj: Assuming your library has a argset as argument like the above, you might have a shell.nix where you do something like...
<c00w>
The other fun bit is it's a library right? I don't know enough about ocaml to indicate if you have to do something special to make it usable (I know in python this is quite complicated on nix).
<waleee-cl>
if you use nixos-unstable-small you can get a bit of the arch-something-might-be-broken-experience
<zeta_0>
clever: as long as i can reboot to a previous configuration(generation) if something breaks, it should be fine right ?
<srhb>
zeta_0: When you see an error like that, it may also be helpful to google something like "database files are incompatible with server" -- the first error you see, and check if someone out there has some hints for you :)
<selfsymmetric-mu>
Is there something equivalent to `ServerAliveInterval`?
<adisbladis>
or yarn2nix, or something along those lines
<JonReed>
Raito_Bezarius: What do you want to do? If you want to download something, then why not use `fetchurl` or `fetchtarball` in the nix expression itself?
<Raito_Bezarius>
ajs124: Alright, but in this case, when I nix-build something, how it handles the readonly /nix store?
<Raito_Bezarius>
In the env vars, I can see my buildPhase, but buildPhase run something else it seems like
<Raito_Bezarius>
Sometimes I don't understand something about nix-shell and derivations, I have a local derivation file, when I run nix-shell on it, and I do buildPhase it tries to use make but I specified a buildPhase in the derivation and it's not using it, why?
<stammon>
I'm looking for an option to assemble a filesystem from a list of nix packages. Kind of like dockertools.buildImage but as a result I need a tar (or similar). Has anyone ever done something similar or has some advice on how to do it?
<basvandijk>
Did something change between nix-2.2.2 (from 19.03) and nix-2.3 (from 19.09) regarding nix builds on localhost? My hydra has localhost configured as a build machine so that jobs are also build locally. However I see the following error in my build logs: "cannot build on 'localhost': don't know how to open Nix store 'localhost'". See: https://github.com/NixOS/nix/issues/3177
<exarkun>
Anyone know why `stack path` doesn't get the path for --local-doc-root right? not sure if this is related to stack's nix support or something else.
<adisbladis>
Hm, I thought the bot had something for fixed-outputs
<glittershark>
oh yeah also if I import nixpkgs.nix and set config to something it'll get overwritten
<chessai>
"redirect a number into the brightness as root" if you didnt know what those words meant, that would sound like something a cult leader would say.
<glittershark>
I'm looking for something like `(import <nixpkgs>).allowUnfree`
<adisbladis>
alexarice[m]: boost is generally something you should turn down
<cjpbirkbeck>
tilpner:hmm, i've found that the apropos/man -k doesn't work unless i used the mandb command, maybe i've done something wrong?
<dminuoso>
gchristensen: Absolutely, I prefer to just do something like `let r = { body = concatStringsSep "," quoted; elems = ["foo" "bar"]; quoted = map quote elems; quote = x: ''"${x}"''; }`
<nixtacular>
is there a simple way to get the `sha256` of whatever is fetched with `fetchFromGithub`? something similar to `nix-prefetch-url`?
<Raito_Bezarius>
is there a way to force override something in nix?
<Raito_Bezarius>
something like this could work
<DigitalKiwi>
unless they've really changed something in catalina to keep the illusion...
<DigitalKiwi>
and in macos you can right click or w/e and do 'show package contents' or something to that effect
<emptyfl4sk>
ah, thanks! I figured it was something simple, but it's been driving me nuts
<zeta_0>
hello guys, in configuration.nix i set the option: `services.xserver.dpi = 278` and it works, things are rendering much better now, i can actually see the letters now, the only other question i have is do i need to set the other option: `fonts.fontconfig.dpi` to something as well ? i want to make sure that the dpi font in emacs renders correctly ?
<argc_>
i.e. i tried doing something like (self: super: { lib = super.lib.recursiveUpdate (super.lib or {}) { mythingy = "foo"; }; }) but `lib.mythingy` cannot be found in other modules, so I suspect I can't use overlays.
<AmandaC>
is rngd something that I'll really need for a laptop machine? If so, can I at least tell it to stop trying to get entropy from my yubikey?
<Twey>
bahamas: I guess there's no guarantee that the expression is even exposed? It might be something like: let dep = stdenv.mkDerivation { …; meta.license = …; }; in stdenv.mkDerivation { …; buildPhase = "useDep ${dep};"; }
<bahamas>
Twey: there was something in nix-store, but I don't know if there's an actual function in nix itself
<adisbladis>
gchristensen: It's something I've always admired about our community, that we can discuss things on technical merits alone
<sshow>
adisbladis: Right now, I'm trying to add it to /etc/nixos/configuration.nix by `systemPackages [ import('/home/user/mypackage/default.nix') ]` but I'm doing something wrong
<FRidh>
aanderse: these kind of issues often don't get much attention until someone decides something and people don't like it
<DigitalKiwi>
raboof: doing that i think is only necessary if it has something you're supposed to enable or w/e because it's a module . if a regular program that gist should be enough
<CMCDragonkai>
i know something has changed significantly, cause i remember i used to have this issue https://github.com/NixOS/nixpkgs/issues/23926 and that's why my boot partition ESP was partitioned to 1GiB to avoid those problems, but now i checked total usage of my boot partition is now under 50 MiB
<CMCDragonkai>
i know something has changed significantly, cause i remember i used to have this issue https://github.com/NixOS/nixpkgs/issues/23926 and that's why my boot partition ESP was partitioned to 1GiB to avoid those problems, but now i checked total usage of my boot partition is now under 50 MiB
<CMCDragonkai>
Has something been super improved in booting?
<CMCDragonkai>
pikajude: yea something like that, but more "switchable" on the command line
<disasm>
this is an interesting warning because it still manages to work (and my derivation requires ssh'ing into a separate host and getting something back in IFD): warning: ignoring the user-specified setting 'allow-unsafe-native-code-during-evaluation', because it is a restricted setting and you are not a trusted user
<DigitalKiwi>
hehe, on more than one occasion i've started to update or add something and then i go and check open PRs and someone already did it
<notgne2>
I'm not talking about raw package counts, I mean in my personal experience of wanting to install something
<laudecay>
i assume steam is not gonna be an option but like. a torrent client. email. webserver. irc. something i3-adjacent
<pikajude>
you could override the derivation and make installPhase be "true" or something
2019-10-28
<DigitalKiwi>
ok now unrelated: kind of... does anyone know how to make nvidia drivers work in framebuffer? my choices are i can have a framebuffer to fall back to if i break something and use the nouveau drivers that don't handle hidpi screens well but i get a fb, or i can use the nvidia drivers (which i would prefer) but tty1 is blank
<maralorn>
infinisil: No, it‘s fine. Now it works. Was probably just a typo or something …
<pie_>
also something about proot
<pie_>
looks like you still have to get the bootstrap pack or something so idk what that will or wont work on
<pie_>
nix-on-droid is in fdroid since like today or yesterday or something
<samueldr>
astrall33: that's entirely normal, ls will "helpfully" show you something you can select and copy paste
<Shell>
feep: generally speaking people write a shell.nix that contains something along the lines of with import <nixpkgs> {}; callPackage ./default.nix {}, then you put your package definition minus the callPackage stuff in default.nix
<Shell>
feep: nix-build -E 'with import <nixpkgs> {}; callPackage ./yourfile.nix {}' or something of the sort