<ornxka>
is there something obvious to do when you package something and the resulting binary is linked against shared object files that it cant find?
<Ke>
I think you need some activation script rather, do you have suid or something?
<tpw_rules>
the first time you run it after install it computes quite a lot of derivations. does dmesg say something about OOM killed?
<supersandro2000>
I don't know C and can't tell if we can just backport it or require something else to not break things
<supersandro2000>
hyper_ch: I have no clue about this patch and I don't want to break something
<hyper_ch>
Mic92: there's something weird going on... it complains about patch file
<iddt>
siraben: like something you're bringing to the party as opposed to fhs-y stuff
<iddt>
siraben: i've noticed that nixos-rebuild switch never tells me i have to logout or reboot for changes to take effect, even if i'd clearly have to for changes to take effect. is knowing how far to back out and restart things something i should be on top of?
<iddt>
siraben: if i touch an /etc file once, does nixos-rebuild live in fear of messing with it from then on or something?
<esotericnonsense>
it's my PR; just wondering if I should do something like review something else and then link mine, or just pester someone, or ...
2020-12-26
<lukegb>
Things aren't rebuilt unless something's been backported
<hodapp>
so it's something in the Nixpkgs packaging/environment
<gchristensen>
I have bluetooth headphones paired with my phone and computer. when I use the computer it works fine, and if I do something on my phone the phone "steals" the headphones and never gives it back to the laptop until I reconnect them. anyone know what is going on or if there are ways to make this better, or deal with it? I don't really want 2 pairs of headphones
<feep>
I think nixos thinks only qt modules can provide plugins or something maybe?
<b00n>
PS: it seems to be a difference between disconnect my monitor and just turning it off (stand by). By just turning it off, my laptop doesn't sleep. By completely powering off my monitor the laptop goes to sleep. Does this probably have something to do with 'systemd.sleep'? I'm out of ideas...
<vidbina>
DigitalKiwi: Tried those example shell.nix files and all failed with the "error: attribute 'poetry2nix' missing" so something must be off with my nixpkgs... Just don't have a clue how to debug this since my nixos-version corresponds to a nixpkgs revision that has both poetry2nix and poetry listed in its pkgs/top-level/all-packages.nix
<DigitalKiwi>
vidbina: probably python38Packages.poetry or something
<vidbina>
DigitalKiwi and gerschtli, thanks for that. This confirms what I was initially thinking. Only upgrading some packages while pinning others, perhaps for some compatability problems is therefore something that nix isn't necessarily designed for?!? In that case I should just use one of the python package managers that allow pinning (poetry or pip)?!?
<DigitalKiwi>
you can replace <nixpkgs> with something else or you can set nixpkgs to something before you run the nix-build/nix-shell
<maralorn>
Is that something that needs to be written in C++ inside nix?
<Ericson2314>
The IPFS stuff was something I'd been thinking about for 5 years now
<pushqrdx>
another point is if nix has all the dependency graph it needs to upgrade the package i want and everything it depends on why not just do it, if this means upgrading the whole system because of some glibc or something then be it, otherwise it will not download everything
<stalactite[m]>
I have something along the lines of: (that I install via nix-env -rif fname.nix)
<acab_chatter>
(i tried something with ++ [ ... ] but i still get undefined variable for the package i want to add)
2020-12-25
<pushqrdx>
or even rollback your profile if you broke something
<astylian>
pushqrdx, I have packaged something manually, and I want to use it inside a nix-shell
<astylian>
(its something I have packaged manually)
<pushqrdx>
basically steam-run is when you really don't want to give any effort running something and would just want it to run as if it's on a normal linux filesystem
<ronthecookie>
LilleCarl: i mean that's already the case when you're testing a lot of minor variations to debug something
<siraben>
but something like a system image instead, I need $out/bin/run to run qemu on the image
<energizer>
poetry2nix requires a pyproject.toml but you can make it yourself, it doesn't have to be done in the upstream repo. the way to fix a broken dependency (with poetry2nix or otherwise) is often something like .overridePythonAttrs(old: {propagatedBuildInputs = old.propagatedBuildInputs ++ [newthing];}) (but see the link for detail)
<esotericnonsense>
is there some sort of bash option to print a message/execute something when it's not able to find a command?
2020-12-24
<V>
it's always spooky seeing matrix people join and reply to something that was said before they joined
<qyliss>
omnipotententity: there might be something in the Nixpkgs manual -- I usually just look through Nixpkgs to find an example to copy
<infinisil>
Oh right.., there is something else though, I think dtruss or dtrace
<qyliss>
maybe we should try actually converting something with ffmpeg
<hodapp>
haaarblgaaarbl, I made Pithos get past its silly keyring issue, but now it core dumps a few seconds after startup because... something with gdk-pixbuf and not finding icons?
<cole-h>
Sure, we can give you a command to run that will give you an environment with some packages, but you won't learn how to do it yourself and will end up coming here every time you want something slightly different.
<Orbstheorem>
Something that comes to mind though is that the build may have been completely remote in the past, and if I don't know how well building on a remote using flakes is supported.
<pingiun>
would love if I could narrow it down to something like that, then I could start investigating that testing suite
<pingiun>
I guess this is something I still don't fully get about nix, I thought the hashes were purely based on the inputs but I didn't change the inputs
<Squarism>
I have a working default.nix for building and repl. To it i added download of haskell-language-server. How do I create something I can pass to nix-shell that gives med "server" + "hls" in that shell? https://paste.ofcode.org/6Qy6TwEQCwPwLGNcJtJeai
<stephank>
run into something like this before?
2020-12-23
<pushqrdx>
so something like nix-shell -p foo bar baz then mkdir install && make --prefix=$PWD/install && make install or whatever
<hodapp>
ugh, it would help if I even had a clue how to validate that something is providing org.freedesktop.secrets
<lordcirth>
veleiro, systemPackages just puts it in path; programs.* generally does something else that it needs to be useful
<{^_^}>
matthewcroughan: If you're updating a file in nixpkgs that starts with something like `{ stdenv, cmake }:`, use `nix-build -A` in the nixpkgs root with the corresponding package attribute to build it. If it's not in nixpkgs, try `nix-build -E 'with import <nixpkgs> {}; callPackage ./file.nix { }'. The mapping from package attributes to package files is in pkgs/top-level/all-packages.nix.
<hodapp>
like what, gnome_keyring or something?
<matthewcroughan>
Does .S mean arm asm or something?
<matthewcroughan>
Is this not spookily similar to something you've experienced with those two?
<pushqrdx>
i think it's something with configureFlags, it might be replaced instead of concatenated?
<heath>
should there be something more?
<ldlework>
the missing nm applet primed me to believe something was wrong
<energizer>
`enabled` is what `radio` says, `device` says something different
<simpson>
ldle: `dmesg` will give you the kernel log; usually something in there will explain what happened.
<i077>
i think this might have something to do with the big firefox extensions PR that was recently merged
2020-12-22
<madonius[m]>
or am I missing something
<adisbladis>
Should be something like
<rb2k_>
yeah, something is odd
<eyJhb>
Trying to do this atm. - https://termbin.com/ocgt , but I get `error: attempt to call something which is not a function but a string with context, at`
<fuzzybear3965>
Something like: `Use NixOS to build a tiny ISO`.
<fuzzybear3965>
lassulus Is it possible to use nixos to create something without grub (use the EFI partition for booting) and vmlinuz ?
<Henson>
I'm doing something similar at the moment, and found that building config.system.build.toplevel instead of config.system.build.isoImage quickly gives you a directory with the system contents, if that's of any use while tuning the system configuration.
<fuzzybear3965>
Something like this?
<lukegb>
SomeoneSerge: I think this is pretty similar to how people "usually" package this kind of software, which is usually to set the rpath to something $ORIGIN-relative and make sure all the needed sos are in that directory
<colemickens>
Can I patch a flake input on the fly? I am writing a repro for something and showing that a patch against nixpkgs doesn't fix the issue.
2020-12-21
<HedgeMage>
neiluj: 9/10 it's not a driver issue, but something to do with your BT or USB (if you really mean a BT USB dongle) power settings.
<bgamari_>
hmm, seems to be something to do with the fact that it uses --libs-only-l
<matthewcroughan>
how do I know if something else is adding it for me, etc
<pushqrdx>
but i am looking for a more global flag or something to enable parallel for all during nixos-rebuild switch
<clever>
pkgs is being added by something in home-manager
<matthewcroughan>
oh nvm, it's literally just attr = something
<steveeJ>
have there been any efforts to build something like a watchdog for clusters created with nixops, that ensures automatic failover of services if a node fails?
<patagonicus>
siraben: You might have some garbage collection roots pointing to them. Try nix-store --gc --print-roots and see if there's something pointing to the old generations (such as a result symlink somewhere or an executable running via /proc if you haven't rebooted since you switched away from the old generation).
<ronthecookie>
siraben: nix-collect-garbage or something like that
<clever>
if you wanted something fancy like a router in qemu
<matthewcroughan>
surely it has something to do with the tricks I've copy/pasted to allow ${self} to be addressable
<matthewcroughan>
I want the man page for `something:` instead of `{ something: , ...}`
<moet>
matthewcroughan: `something:` is part of a function definition.. the part that's missing is the "body" .. so "something: body" is a function .. "something" is the argument and "body" is the body.. this page goes over the syntax of the nix language: https://nixos.wiki/wiki/Nix_Expression_Language
<matthewcroughan>
what is `something:`?
<moet>
is there something I need to do to make the new configuration "visible" from the top level, besides adding it alongside other options in the module defined using mkOption?
2020-12-20
<shapr>
fine by me, I'd rather have something newer
<bigvalen>
I'm trying to imagine what 'online' means in this case. Has something changed, where the ID I added it to btrfs has changed ? Maaaybe
<bigvalen>
I tried to fix with nixos-install - from a USB key which seemed to run fine. Is there something I'd need in hardware-configuration to remind btrfs where to find the other part of the mirror ?
<pinpox>
DigitalKiwi: Even something like `mmonit -v` fails which just should print the version. Again, running `/nix/store/hhcqx50b59wfrav0p6v64wii6ghplh5m-system-path/bin/mmonit -v` works perfectly
<genevino>
i mean hey, at least i was able to reduce the possible time a nixos host requires to reboot to 2min, that's something, but that's still way too much.
<pinpox>
Do I have to change something when installing it as a package?
<andi->
zeta_0: me looks, i've had something similar
<a-h>
Maybe I'm missing something. It's possible to make a Docker image from Nix, right? So, I should be using dockerTools.buildImage to add some stuff in, rather than starting with a Docker file and adding nix content to it?
2020-12-19
<a-h>
infinisil - given that I can run a Ubuntu distro, or Alpine distro, I thought there might be something similar.
<zeta_0>
it's probably something simple that i'm missing, I was reddit able to automatically format code.
<ascj09>
/nix/store/8c98r6zlwn2d40qm7jnnrr2rdlqviszr-nix-2.3.10/bin/nix-store: Bad CPU type in executable---- oh no! --------------------------------------------------------------------Jeeze, something went wrong. If you can take all the output and openan issue, we'd love to fix the problem so nobody else has this issue.:(We'd love to help if you need it.If
<alexrelis[m]>
I'm using Debian and I am looking for something different. My instincts was to try Fedora, but I'm looking to see if NixOS is right for me.
<patagonicus>
nrb: It says file not found - are you *sure* you're using https://nixos.org/nix/install and don't have a typo in there? Or maybe replaced an l with an I or something?
<patagonicus>
sss2: Ooh, I just found boot.initrd.luks.devices.<name>.preOpenCommands that's exactly what you need. Stick something in there that waits for the key device and mounts it, then use postOpenCommands to unmount it.
<patagonicus>
sss2: I'm pretty sure the neededForBoot bit happens after / has been mounted. I'm not sure if NixOS natively supports having the key outside of the initramfs, but on a filesystem. You could probably work around it with preLVMCommands and postMountCommands or something.
<simpson>
But also, in the Typhon repository I linked earlier, I have a third nixpkgs which is pinned by reference, and only changes when I desire something from a newer nixpkgs. Only at that time do I have to do integration work.
<Yaniel>
yeah sounds like something for a NUR
<lukego>
I feel like I must be missing something major here though or else lots of other people would be having the same problem as me.
<simpson>
Yaniel: This should tell you something about the quality of upstream's realeases, too~
<simpson>
lukego: Fare has been trying something similar recently, and I can emphatically recommend *not* doing this unless you have a deep need to embed your packages deep into nixpkgs.
<lukego>
Maybe I'm missing something obvious
<pinpox>
I guess I'll try to package it for myself anyway. Seems like I could learn something on the way for nixos
<pinpox>
simpson: will look into it. How is the data gathered on the servers? My main use case is to have my 5 machines run something to periodically check if everything is in order and get a simple notification like "hard drive nearly full" or "website abc.com is down" via email
<patagonicus>
Ke: There's an older pull request for Phosh, where people argue that it shouldn't be merged until there's a nice NixOS module way of configuring wayland based desktop environments. So the problem seems to be entirely that no one has bothered to write something for it yet.
<winsome[m]>
systemctl status postgresql reports that it is up and running - is there something simple I'm missing?
<stites[m]1>
jk, something is up with this flake -- I think I need to update it or something
<pjt_tmp>
I did something like that too. It really should be added as an option
2020-12-18
<Fafnir[m]>
This happened during package installation via nix-shell. So there is definitively something to remove.
<rb2k>
it's very possible that I just didn't name something right, but I can't see it at the moment
<Henson>
is there I way I can make nixos-install not try to resolve cache.nixos.org so I can do an installation without a network connection, assuming I'm using an option like --system that shouldn't require anything to be downloaded? Or perhaps nixos-install only tries to reach cache.nixos.org if it needs to download something, and thus my install should fail without a network connection?
<lordcirth>
Most likely you are calling something with the wrong typ
<andi89gi>
So, something like nix-env -ir ; yea actually a dummy idea to test unstable xD
<tobiasBora>
sphalerite: so do you know something that is like bubblewrap, except that you don't have that many security limitations. Like I'm fine to allow guest to use namespace. I also want guest to be able to use fusermount.
<gentauro>
so the file is in the system (the package is) by when I try to build something that has that file as dependency, it gives me this error: `X11 > checking for X11/extensions/scrnsaver.h... no` and `X11 > configure: error: X11/extensions/scrnsaver.h (from libXss) is required`
<pinpox>
oh ok. I thought it would be something like wireguard.publickey
<sphalerite>
if it's a toplevel option (which it probably shouldn't be), publickey = "something";
<pinpox>
let's say I add an option called "publickey" in a wireguard module I put in common/wireguard.nix. How do I set the option to "something" in configuration.nix?
<sphalerite>
Orbstheorem: if you want to go really fancy with secrets, you could use something like vault.
<sphalerite>
KarlJoad: you'll need to define a checkPhase if you want it to do something.
<sphalerite>
idk, this seems like something pretty fundamental. Maybe only expose that stuff via NUR or similar?
<pinpox>
oh ok. So I could define options aswell? That whould be nice for something like wireguard, where the only thing I would want to change is the public key
<halfbit>
is there something special about pkgsMusl vs import <nixpkgs> { crossSystem = "x86_64-unknown-linux-musl"; }
<KarlJoad>
simpson: Well, using /dev/null worked, so I'm going to run with that until something happens.
<pingiun>
I think I'm just missing something obvious
<tpw_rules>
jaspervdj: you don't need to do any of that. just say something like security.pam.services.passwd.text = ''password sufficient pam_unix.so minlen=14 sha512''; in configuration.nix. then /etc/pam.d/passwd will consist of only that line
<Fare>
how in nix path-info -f $nixpkgs does the expression make use of $nixpkgs --- does it become <nixpkgs> or something?
<roberth>
unless you have blasphemist attribute names or something :D
<sphalerite>
domenkozar[m]: I thought it was something you did together
<Fare>
but once again, I might be doing something wrong.
<sevenfourk>
when i uncomment (commented out ext) it's not added back, when installing clean chromium it shows all extension again. i guess there's something wrong with ungoogled-chromium mkChromiumDerivation, or probably that just worked only after i previously used clean chromium.
<numkem>
I'm running into a wall trying to get solaar to work with i3... the GUI works just fine under plasma but it seems to be missing something that I can't figure out on i3.
<ixxie>
so I would typically idea stop npm from creating that folder somehow? Or perhaps use something like the add-dependency module which adds stuff to the package/-lock.json without installing it?
<xanderle>
ah okay, thanks! i just installed something and it exists now... makes sense
<KarlJoad>
Does Nix do something funny with double quotes `"` in a double single-quote environment? I keep getting errors on a sed expression.
<vldn>
Does somebody has any idea where i could find resources how the nix language is embedded at core? like nix version 0.0001 or something? or maybe guix version 0.0001 or anything else?
<jd823592>
derivation that in its install step probes vmoptions and if there is an attribute Xmx it does something with the value of that attribute in shell and otherwise does nothing?
<jd823592>
Hi, i am trying to add an optional structured parameter to an existing derivation to allow overwriting some hardcoded constants in the package but since I always forget most of the nix language whenever I try to modify something in nix I cannot get it working... How would one pass an optional set called vmoptions into a function providing a
<tnks>
clever: okay, that's great... means I won't accidentally use a tool that downloads something I don't want it to.
<clever>
KarlJoad: but pkgs.fetchurl and pkgs.fetchzip are derivations, it just describes how to fetch something later, once the eval is done, nix can do all of the fetching in parallel
<KarlJoad>
jophish: This is to check that I am registering something into nixpkgs correctly, not to find something.
<pushqrdx>
i am trying to build something and these deps are missing
<gchristensen>
you might have something wierd going on but you can fix whatever things are weird
<terlar>
Yes, this was a hack I used in my unit tests for a function using builtins.path. Not something I would normally recommend
<terlar>
turns out I had to use something like readDir to make it evaluate the derivation via seq, it was not just enought to refer to the stringified derivation
<energizer>
like couldn't they could just be renamed to uuids or something instead
<nature>
thanks anyway, finally I used something like `eval "$(nix print-dev-env)"` in my .envrc file and it actually keeps my default shell
<gchristensen>
who needs logs, yesterday is gone tomorrow is the future (or something like that)
<nhs>
Maybe pytorch is doing something weird in the build, though it's non-obvious looking through their derivation
<ronthecookie>
ok it seems its still happening since i didn't really understand my problem: it appears something in nixpkgs places services.xserver.inputClassSections before services.xserver.config. this means that i cant override the natrualscrolling option for only certain inputs
<pushqrdx>
however something weird is happening, either the overlay is not picked up even with nix-env or i am confusing something yet again
<esotericn>
I think I just have to override something and ensure that pkgs.iana-etc is a build dependency but I'm not sure how
<pinpox>
Taneb: Atm I don't have anything, I was considering if that would be something I should setup for myself
<pinpox>
ok, it's definitely doing *something*.. I'll see what nix version I have after that
<esotericn>
basically I need to do something like foo = pkgs.haskell.lib.overrideCabal super.foo { libraryHaskellDepends = super.foo.libraryHaskellDepends ++ [ some_other_depend]; }
<pjt_tmp>
something like `NIXPKGS=. NIX_PATH=. nix-shell -A tlsh` ?
<pjt_tmp>
should I...just maybe count the instances of "application/tool" vs "library" in the documentation or something stupid like that?
<VanillaIceCream>
matching up and only using 'localhost'. Does Nix's build isolation apply even to "in-build" networking? Or is there something I'm missing?
<KarlJoad`>
simpson: So, something like Symbolic, which is an add-on library for GNU Octave is fine, from what I understand?
<colemickens>
pinpox: same exact process, except instead of pushing to/ pulling from the cache, its doing it with rsync or `nix-copy-closure` or something like that
<hexagoxel>
any idea why CXXFLAGS in Makefile.config ends in `-I/usr/include` when building the NixOS/nix repository ? is this likely to be something below my .bashrc/profile?
<vika_nezrimaya>
Does anyone have a Nix function that does something like ({ a = [ b c d ]; e = [f]; } -> { b = [a]; c = [a]; d = [a]; f = [e]; })? My brain for some reason doesn't work properly today and I'm too lazy to list a thousand MIME types in my home-manager config
<halfbit>
is that because I need to seperate debug symbols or something? its just bogus atm that I get glibc in an otherwise musl built set of stuff for a docker
<srhb>
Im_a_newbie: You probably want to look at services.xserver.dpi, but I think alacritty has something special for that too, I must have it somewhere in my config, sec..
<kfound>
the context is that glibc 2.32 moved libnss_nis to a separate codebase; i can build the module but glibc won't find it without something like LD_LIBRARY_PATH
<tomturbo>
thibm: I've already tried runAsRoot with "ln -s ${pkgs.jdk11}/bin/java bin/java" but it complained about there not being enough space left on the device so I'm assuming I did something wrong. I wasn't aware of runCommandLocal, thanks!
<esotericn>
if I'm using nix-env on a non nixos box; how do I remove something previously installed? just delete the symlink in ~/.nix-profile/bin?
<kenran>
I used to build a project that uses OpenGL on NixOS unstable by entering a nix-shell containing pkgs.glfw3 and pkgs.epoxy and including the respective headers. I didn't touch it for some weeks (and some nix-channel updates), but now this no longer works. I get "file not found" errors on all the included header files. Do I need something special now to make the include paths available in a nix shell?
2020-12-13
<DigitalKiwi>
shapr: something like this might work nix-shell --arg config '{ allowUnfree = true; }'
<m1cr0man>
Yeah I'm hoping either someone has had a similar issue with BindPaths before or someone that's a systemd expert tells me I'm doing something wrong :P
<Orbstheorem>
Is there something like RecordFieldPuns in nix? (e.g. `fn = { network=net, ... }: ...` instead of `fn = { network, ... }: let net = network; in ...` ?
* bgamari_
is getting something like 200kbyte/second down
2020-12-12
<KarlJoad>
Yaniel: I am adding Octave packages to nixpkgs. I want to know if I should just specify the package's name, or do something like octave/<module_name>: init at v.x.x
<plfn>
for iwd, do i just chuck `networking.wireless.iwd.enable = true;` into the definition, or do i need to enable/disable something else as well?
<zeta_0>
i'm running xmonad by itself without any desktop environment, so it might be missing some extra functionalities, that's why i'm asking here, I set some nixos options in order for hdmi to work out-of-the-box with xmonad, but it was a while back, so i'm having a hard time remembering/finding the steps that I did, so I'm guessing i have to setup something similar for the usb-c connection to working out-of-the-box.
<unclechu>
what can you say about installing something like raspbian and installing nix inside it?
<Yaniel>
something with pactl and pacmd, IIRC I grabbed it from the arch wiki
<raboof>
mananamenos: you might need something like boot.extraModulePackages = [ config.boot.kernelPackages.rtl8192eu ];
<peelz>
yeah I realized that but the setting I showed in the screenshot isn't tied to the theme, so there must be something else that controls that setting in Gnome/GTK
<kenran>
I stumbled over lispPackages when doing some `nix search` and since I always wanted to try writing something in CL, I'd like to know how I can use those. But I can't seem to find good information on how to actually leverage the nix integration. Any hints?
<peelz>
did something change about Qt derivations between 20.03 and 20.09? The (GTK) theme I use is completely broken for some Qt programs.
<lejonet>
so I think that something that we should probably visit (re-visit?) is to isolate the scripts and programs that do the actual building and switching of generations, so that they don't get affected by the glibc of the system its creating the generation for
<lejonet>
I tried to even fix all the tools that the actual script itself used, to be only of the type that referenced libraries from a single glibc version, without any success, so maybe its even further up the chain, in the perl script that calls append-initrd-secrets, that was using something that was mixing glibc versions, and thus crashing, which the script interprented as failure and exited the whole process
<lejonet>
infinisil, alienpirate5: The problem I had in the logs you mentioned is that something in the tools that the append-initrd-secrets, was mixing libc versions of libraries it dynamically called, I'm currently having exact that issue with Firefox, even tho I've fully reinstalled my machine since then
<jneto>
something like "/nix/store/<hash>-<pname>-<version>.drv!bin"
<pinecamp>
but I think I'm missing something about the usage of these override helpers
<alienpirate5>
first on my computer, now on my server? am I doing something wrong?
2020-12-11
<eacameron>
That might be why I've never run into this. I've always done Haskell dev, but now I'm doing something with C++
<Duponin>
Hi, I'm currently (since a few days) a way to deploys secrets with NixOS (such a privateKeyFile, passwordFile, etc.). It don't looks to exist many thing "builtin". I found NixOps and a PR with security.gnupg. Is something with HashicorpVault or so doable? My ears are wide open :)
<Raito_Bezarius>
can I do something like python3Full.withPackages (ps: [ ps.scapy ]) ?
<thibm>
zeorin: I'm not sure, but try something like nvidiaPackages = super.nvidiaPackages // { stable = … }
<pinpox>
seems I had something wrong and didn't restart x and awesomeWM since fixing it
2020-12-10
<infinisil>
That looks like a strict evaluation of something, which is usually not what you want
<Fare>
Maybe something in one of my overlays?
<dotKuro>
symlinked correctly or I am doing something wrong? Anyone here has some experience with that stuff?
<hexa->
something is trying to access $XDG_DATA_DIRS and because -u was set it will complain about it
<halfbit>
make -C doc install $outputDoc or something
<halfbit>
if I have a custom installPhase, do I need to do something special if its a split derivation?
<halfbit>
I could've just done like buildroot or something, but then how repeatable is it, how cacheable, etc
<esotericn>
is it possible to pass a source path to nix that uses something like `git ls-files` to check the hash?
<tejing>
it's not something I've done before, but I think if you change the name of that unstable channel to something less potentially conflicting, like 'unstable', then you should be able put something like '(import <unstable> {}).vmware-horizon-client' into your environment.systemPackages
<dpnvektor>
I've tried adding nixpkgs as a channel, but still get the same error. I feel like I'm missing something obvious but am stumped. Anyone able to share some insight?
2020-12-09
<immae>
however something is wrong, the package.json should never be read in a production install
<energizer>
when i boot it says 'starting version 246' or something like that, what is it talking about?
<gchristensen>
nice, thanks adisbladis, srhb, nahamu ... something isn't working right, checking t's and i's
<matthewcroughan>
If something is GPL, we cannot use it.
<matthewcroughan>
this is nothing to do with nix itself, it's just about being able to make something that can filter out gplv3 and fail if gplv3 is discovered in the build
<matthewcroughan>
then afterwards, I would go to readline.meta.licenses and see that it is gplv3, great. Now if I go to something that is linked to readline, I need to be able to resolve some attr that says it's gplv3
<veleiro>
i'd rather know when something tries to use a channel i didnt forsee
<srhb>
veleiro: What I'd do first when I need help is try with something very recent (eg. nixos-unstable) and see if I can reproduce it. Then I can share the problematic expression with this channel, if I'm still stuck, or figure out when things were fixed/broken by bisecting.
<urkk>
I need something like: "int(0.3 * num_cpus)"
<ivan>
it's probably something else that I can't think of though, like corrupt /boot or bad grub behavior
<evanjs>
pjt_tmp: yeah, haven't encountered this before, and pythonPackages will still be whatever is passed in, so I don't know if I'm missing something or if it's just a misunderstanding 🤷♂️
<evanjs>
I guess I can post here and check tomorrow lol -- am I missing something here or are Python2 and Python3 indeed getting mixed in this expression somehow?
<colemickens>
My graphics performance in a nixos guest is really bad compared to some other guests I've used. Is there something obvious I should be doing for accelerated graphics beyond including the qemu-agent.nix profile file?
<lukegb>
for your busybox example, you probably want something like `:b busybox.overrideAttrs ({ patches, ... }: { patches = lib.remove ./pkgs/os-specific/linux/busybox/0001-wget-implement-TLS-verification-with-ENABLE_FEATURE_.patch patches; })`
<energizer>
like, i have no idea what that package is doing in my config. i assume it's a dependency of something but idk what
2020-12-08
<Jonathan43>
abathur thanks, I thought I remembered something like that.
<abathur>
as far as literal patches go, you should just be able to override the derivation and do something like patches = old.patches ++ [ new patches ];
<Jonathan43>
Ah, maybe I just got something.
<Jonathan43>
Something like that.
<Jonathan43>
Am I missing something.
<pjt_tmp>
still has that bug where it sometimes messes up your terminal, but using watch -n5 "nix-top -1" or something should skirt that.
<lovesegfault>
I remember there's something in lib but can't quite recall the name
<secondry>
before I had all my inputs in quotes it was giving me something like `unexpected ';' could not find $end blah blah line 62`...
<secondry>
When I tried it without quotes it didn't like something I did
<pumpy>
i just tried something and the same password hash on a different OS i was able to use in my nix user password hash option and login with the same pw! is that expected?
<halfbit>
how do I statically link something, do I need to wrap things in pkgsStatic or something
<raghavsood>
halfbit: You could also do something like `src = "${fetchFromGithub...}/subdir"`
<pumpy>
i just tried something and the same password hash on a different OS i was able to use in my nix user password hash option and login with the same pw! is that expected?
<pumpy>
i just tried something and the same password hash on a different OS i was able to use in my nix user password hash option and login with the same pw! is that expected?
<srhb>
pjt_tmp: Sorry I can't help in more detail right now, workday has started, but if you do make an attempt, I may be able to take a look tomorrow or something. Or you could just open an issue for now, maybe someone more fluent in that tool or python can solve it quickly :)
<srhb>
Once you have something that actually produces $out/bin, you can start worrying about making the packaging proper for both python and the rest of the components.
<srhb>
pjt_tmp: Yeah, it looks like the sort of thing where you'd want to first do the cmake build and then generate bindings to it with toPythonModule or something.
<bqv>
i'll resist the urge to say something salty about nixpkgs
<samueldr>
simpson: how would you wrap something that isn't there yet ;)
<Fare>
Aha, something I forgot to ask: often in configurations, a field depends not only on its parent (the surrounding extensible attrs), but on its parent's parent, etc.
<Fare>
I could use something that uses the passthru to achieve the same effect
2020-12-07
<eacameron>
I'd like to do something that apparently is hard... Dual boot Windows 10 and NixOS running on encrypted zfs root. :D
<dminuoso>
Is there something ergonomic to overlay an haskellPkgs.foo inside nixos?
<praduca>
I noted something strange on nixos website, dont know if opening an issue is necessary
<stevenroose>
Hmm, I wouldn't like to create my database's directory by hacking something with tmpfiles and risking to accidentally change one character and have it wiped :D
<Fare>
And DAG-based multiple-inheritance is something I wanted for a while in prototype objects. It allows for more incremental and decentralized programming without having to constantly worry about who is responsible for order of your inheritance graph, and the poor sod doing the hard work.
<peelz>
fresheyeball: I believe MacOS cross-compilation doesn't work due to whatever technical reasons. I remember reading something about Hydra problems with darwin derivations. I haven't really followed the issue so don't quote me on that :P
<lukegb>
How do I add something to nixpkgs where curl can't download the file because it's on a misconfigured host (they didn't include the intermediate)
<matthewcroughan>
with a single nix command, I wanna boot the kexec of something nixos-generate has made
<tv>
pinpox: by "none at all" I mean that krops would be capable of building your configuration, at least in theory, with something other than nixpkgs :)
<pinpox>
Is there something I have to do to enable that? Or a specific nixops version?
<simonpe^^>
hey! we need to build a .NET core application with nix and it requires msbuild and not xbuild which seems to be deprecated. Is there something akin to buildDotNetPackage with msbuild that supports Nuget packages that we can use?
<veleiro>
how can i prepend something to each of them?
<thibm>
It will evaluate to an empty list for an argument like { pkgs } (but not something else)
<raghavsood>
I do something like that with home-manager managed configs
<stevenroose>
chipb: also, this seems to be an error: my configuration.nix has `let mypkg = pkgs.callPackage "...." {}; in { environment.systemPackages = with pkgs; [ ...... mypkg ];` and I get "attempt to call something which is not a function but a set" on that usage of mypkg
<growpotkin>
`firefox-bin` works, but sadly I need to reinstall and re-configure all of my extensions. bummer. I need to find a way to back those up or something
<stevenroose>
hmm, I think I did something like that with a non-nodejs program in the past
<LilleCarl>
And the best way to get help on the internet is ofc to state something wrong (which could be interpreted as providing kinda bad code that someone will improve) :p
<LilleCarl>
There's something inherently German about NixOS. So far everyone I've talked to about NixOS that I've gotten to know the location of has been German
<LilleCarl>
So now that we're all friends, care to take a look at something NixOS related? https://pastebin.com/0fCYAd9y
<dminuoso>
LilleCarl: well not nixops, but something like that yeah.
<hexa->
Also, as a customer, nag them to provide something less horribly outdated
<LilleCarl>
lunasspecto: It'll look something like this: default via 192.168.87.1 dev eno1 proto dhcp src 192.168.87.221 metric 203
<patagonicus>
So, with pkgs.closureInfo I can get the list of packages that a system needs (I'm currently using something close to pkgs.closureInfo { rootPaths = (import <nixpkgs/nixos> { configuration = … }) } - can I get a closure that also includes build dependencies?
<Yaniel>
something is not needed anymore? garbage collector go brrrr
<pinpox>
That's my current config, am I mising something?
<guisanpea>
Am I missing something from the guide in order to build the package? I appreciate the help because after following it I have no clue :(
<guisanpea>
Am I missing something from the guide in order to build the package? I appreciate the help because after following it I have no clue :*
<guisanpea>
I am missing to undestand if the `all-packages.nix` file is something that I must create or is something that it is there by default
<Yaniel>
but it's something similar to the snippet LilleCarl posted I think