<clever>
viric: the a.out has a similar limitation to cygwin
<clever>
viric: for complex reasons (which may have since been fixed?), cygwin cant use fork(), so it emulates fork, by spawning a new proc, then copying all data over! lol
<viric>
clever: nevertheless I understood that if I want to build a software to compare two versions of the same lib at once.... I'll have to wrap them statically-linked in a shared object for which I write the visible symbols
<viric>
clever: I know that cygwin thing, yes. It's pretty fast though, compared to the superslow windows process spawn
<clever>
viric: but for that hack to work, the libs must load to the same addr each time, which means avoiding the OS doing automatic relocation, so every dyn lib in cygwin must have its addr assigned, and managed centrally
<viric>
clever: I know, I know, that /etc/nextaddr thing trick used in nix
<clever>
ah
<viric>
They basically lack relocation
<clever>
yeah
<viric>
for their fork trick to work
<viric>
amazingly they made the whole thing 'work' with 'that' package manager :)
<viric>
by 'work' it means that it breaks, and then you go reinstall all over.
lordcirth has quit [Remote host closed the connection]
ambroisie has joined #nixos
<colemickens>
I'm really lost on what most hydra folks are doing about restricted mode
lordcirth has joined #nixos
<viric>
clever: I understand, yes. But do you think that the buffers are not copied?
<clever>
viric: i would have expected the api to allow writing results into the other devices buffer
<viric>
I don't know how that can be done
<clever>
viric: the old omx api was crazy good at linking components (like gstreamer) and sharing buffers automagically
<viric>
Take a vaapi path
<viric>
mjpeg in memory -> upload to gpu, mjpeg decoding, passing pointer to the h264 encoder -> download to memory. How can that be done with v4l2 m2m?
<clever>
viric: on the whole VC4 line, the "gpu mem" isnt special, and is basically just a partition
<viric>
clever: in 'mmal' they had a particular opaque buffer format that would be optimal, I think.
<viric>
otherwise you have to settle to a specific pixfmt
grawlinson has left #nixos ["WeeChat 3.1"]
<clever>
viric: in omx, you could cross-link components, like mjpeg decode, and h264 encode, and the library would magically figure out when things can stay within the gpu
<clever>
*looks*
mbrgm has quit [Ping timeout: 244 seconds]
mbrgm has joined #nixos
<viric>
maybe in rpi m2m it works close to optimal. I don't think it's so easy with other gpus.
grimvar has quit [Ping timeout: 264 seconds]
<viric>
but I gave up with rpi for this... for the price, I bought a 2nd hand celeron that can do a lot more work.
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
Dr8128 has quit [Ping timeout: 256 seconds]
ahmedelgabri has quit [Ping timeout: 240 seconds]
<gchristensen>
matthewcroughan_: I can't reach it, I don't have working ipv6 :(
<gchristensen>
matthewcroughan_: also, no, there isn't -- but I'd really like that to be possible. you could use ldap or something if you're super facny.
<matthewcroughan_>
We'll give you an ipv6 tunnel if you want lol
<matthewcroughan_>
mwuhaha
<matthewcroughan_>
One downside, there's lots of dangerous javascript that will root your machine.
<supersandro2000>
LTE, VoLTE, Bluetooth, all Camera modes?
<matthewcroughan_>
Now, all camera modes I have yet to check. But bluetooth and lte, yes.
<supersandro2000>
but VoLTE!?
Agustin2021 has joined #nixos
<matthewcroughan_>
We don't have VoLTE here in the UK, I've never used it.
<matthewcroughan_>
AFAIK we don't anyway
<supersandro2000>
yeah, I don't even know if I can use it
<supersandro2000>
but on XDA VoLTE is the number one question for my phones
<supersandro2000>
but can it turn on VoLTE!?
<matthewcroughan_>
the fingerprint on display works much better than the crap I got from XDA, someone has definitely worked on that
<matthewcroughan_>
supersandro2000: I remember seeing so much spam about VoLTE on the XDA forums.
<supersandro2000>
yeah, yeah
<supersandro2000>
good old times
<supersandro2000>
not on all phones features get better. There are enough where almost all things get worse
<Agustin2021>
Hey, I know this is kinda random but, how would you maximize your chances to get a first job as Data Analyst?
<gchristensen>
Agustin2021: no idea, that is pretty off topic for here, sorry :)
<Agustin2021>
sorry too
Agustin2021 has quit [Client Quit]
Agustin2021 has joined #nixos
<simpson>
This is kind of a function of a random variable, but is there any interesting overlap between Nix and data analytics? Like, does anybody put databases into the Nix store?
Dr8128 has joined #nixos
<matthewcroughan_>
gchristensen: is it possible to make hydra use a different disk for its stuff?
<gchristensen>
it *might* be possible ... but I sort of doubt it, it isgoing to want /nix to be /nix I think
<colemickens>
lol its all down to the not at all confusin buildMachinesFiles behavior
<colemickens>
hydra will happily show you machines registered to your local nix, even if it's just ignoring them, very cool
<colemickens>
how is the host kye verification failing now? I use this as a remote builder all the time
<gchristensen>
note hydra runs as hydra-queue-runner
<gchristensen>
does that user have the authorized host key?
<veleiro>
hi tomberek! i'm tgunnoe on GH, sorry for all the reviews on sourcehut PR!
<veleiro>
only thing that hasnt been figured out is the builds with the api
cole-h has joined #nixos
<veleiro>
drew has been very helpful but i had to pause momentarily
<gchristensen>
colemickens: ^
teto has quit [Ping timeout: 264 seconds]
<colemickens>
I realize I'm going to have to provision a key for this either way, but it sounds like on top of that there's a manual step of accepting the host key as that user?
<veleiro>
arch user repo doesnt have any 'nix-git' or flakes support version of nix at the moment, im writing an updated version of nix-git so that arch and manjaro users can experience flakes
<colemickens>
I guess if that's it, I'll update the wiki and wonder how anyone else has ever done this
<colemickens>
thanks for the info/ping gsc
<gchristensen>
colemickens: the machines file (for hydra, nix ignores this except in master) can contain the host's host key base64 encoded as the 8th field
codygman__ has quit [Remote host closed the connection]
codygman__ has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
codygman__ has quit [Remote host closed the connection]
codygman__ has joined #nixos
oxalica has quit [Ping timeout: 240 seconds]
hke_ has quit [Read error: Connection reset by peer]
oxalica has joined #nixos
hke has joined #nixos
dbmikus has joined #nixos
dbmikus has quit [Ping timeout: 256 seconds]
<kini>
When I upgraded from NixOS 20.09.3223 to 20.09.3301 my `services.udev.extraHwdb` stopped working.
<kini>
Anyone have any suggestions on how to track down the issue? If it were a nixpkgs package I could use `git bisect` but I'm not sure how to do it at the system level.
<redcedar[m]>
Hey folks, I've got a system that suddenly won't boot. Need some pointers. I restarted and it selected the latest config from the grub menu, but stalled on boot. The only read out is "EFI stub: Loaded initrd from command line option". Rebooting from an old configuration has no effect. How should I try to fix this?
krkini has joined #nixos
respawn_ has joined #nixos
kini has quit [Ping timeout: 264 seconds]
<unclechu>
hey, how do i release my haskell package on nixpkgs? i see that hackage database is automatically generated. how does a new package goes in there?
<unclechu>
i just published my package on hackage recently. what do i do to make it appear in nixpkgs too?
<krkini>
Hmm, odd. `services.udev.extraHwdb` works fine on a different machine with the latest NixOS 20.09.3505 .
Guest1 has joined #nixos
<Guest1>
anybody know how to change default behaviour of xsession.windowmanagers.xmoonad? It launches xterm terminals and keyboard not responding. launcing with custom xinitrc exec xmonad works just fine.
<Guest1>
I tried looking for something like xprofile xession
addcn has quit [Read error: Connection reset by peer]
<krkini>
*facepalm* Unbelievable. Somehow I'd managed to screw up the indentation of my `services.udev.extraHwdb` string on the problematic machine. Never mind...
<{^_^}>
#116965 (by peti, 11 hours ago, open): Update Haskell package set to Stackage Nightly 2021-03-19 (plus other fixes)
<pie_>
clever: not sure about this off the top of my head, is there a simple way to pin nixpkgs in a configuration.nix for sharing a repro? is is the way just to give a NIX_PATH command that uses a github tar.xz
<simonpe^^>
I'm writing a custom module, is it possible to require an option based on whether another option in the same module is set to a particular value? Like `config.mymodule = mkIf ...` but for options.mymodule.conditionalOption = mkIf config.mymodule.condition`
<maralorn>
simonpe^^: Do you want the option only to exist when the other one is activated? I am not sure that’s a good idea. What you can certainly do is write an assert that option 2 needs to be set when option 1 = true.
<simonpe^^>
maralorn: yes I realized it'll be a problem when generating the documentation so I'm backing off on that idea, I'll just have to polish up my skills to "make illegal states unrepresentable"
<simonpe^^>
maralorn: I was hoping as an alternative to do something like `mkOption { type = oneOf [ (submodule { type = strMatching "A"; }) (submodule { type = strMaching "B"; }) ]; }` but the behavior is not what I expect
<{^_^}>
[nixpkgs] @FRidh pushed to staging-next « python3Packages.sphinx: add missing dep packaging »: https://git.io/JmSOP
<{^_^}>
[nixpkgs] @FRidh pushed 16 commits to python-unstable: https://git.io/JmS3s
jumper[m] has joined #nixos
<jumper[m]>
Hi, I am trying to install a ca certificate on NixOS and it ends up in /etc/ssl/ca-certificates.crt, but firefox and chromium dont pick up on it automatically. Is that possible?
chaoflow has joined #nixos
<clever>
jumper[m]: i think chrome and firefox ignore the host ca list by default, they ship internal lists
<clever>
but there are options to restore the expected function
<tpw_rules>
^
<tpw_rules>
at least they do by default on windows and macos
<tpw_rules>
when i had this problem i just manually imported the cert into firefox. but i'm not sure what would be best to do in nix
<s1341_>
and I'm getting error: while evaluating the attribute 'buildInputs' of the derivation 'nix-shell-aarch64-unknown-linux-android' at /home/shmaryar/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:198:11:
<s1341_>
cannot coerce a set to a string, at /home/shmaryar/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:198:11
<yaymukund>
so I've tried everything regarding this "hand cursor won't appear on mouseover" bug that appears on firefox-wayland (but works as expected on non-wayland firefox). Just opened a bug w mozilla :cross_fingers:
<codygman__>
Does anyone use a local irc server? Any easy to setup on nixos? I'm trying to use matterbridge (https://github.com/42wim/matterbridge) to pull all of my discord, slack, teams, and other communication into my irc client but I only want that communiction going through my own local private irc server.
<numkem>
LnL: I see in the logs you've had the std::bad_alloc error in hydra queue-runner. Have you ever figured it out? My builds were running fine until this started happening
n-osborne has quit [Remote host closed the connection]
<numkem>
Taneb: you seem to have had the same issue as well
oxalica has quit [Remote host closed the connection]
simonpe^^ has quit [Remote host closed the connection]
missionformilk has quit [Ping timeout: 264 seconds]
<Taneb>
numkem: if I figured it out I've long forgotten, I'm afraid
Lord_of_Life has quit [Ping timeout: 256 seconds]
<numkem>
Taneb: no worries, I was getting it with nixFlakes and after switching back to 2.3 it's working just fine again... Seems like it's still not ready
<redcedar[m]>
hi folks, I'm getting an error trying to build emacs with org from epkgs.orgPackages. It says it cannot download the tarball from any mirror. I've upgraded the channel to latest (unstable). Any idea how to approach this problem?
<remexre>
hm, should ghcWithPackages automatically pull in llvm on aarch64?
<remexre>
currently it doesn't, but GHC can't actually produce executables on aarch64 without it
pageless has joined #nixos
<pageless>
How do you access man pages of programs installed via nix, for example, I have feh installed through nix
<rmcgibbo[m]>
On nixos with channels (non-flakes), is it typical to have a channel named `nixos` or a channel named `nixpkgs`? When is one used over the other?
missionformilk has joined #nixos
<Orbstheorem>
iirc nixos
<Orbstheorem>
(At least for the system configuration)
`slikts has joined #nixos
<Orbstheorem>
I don't know when the nixpkgs is used, maybe as a fallback ?
<Orbstheorem>
Though I'm quite sure nixos will be used first.
shibboleth has joined #nixos
domogled has joined #nixos
<rmcgibbo[m]>
I have like `nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos` in my NIX_PATH, so I guess that's how `import <nixpkgs>` connects to being the same thing as import <nixos>`?
shibboleth has quit [Read error: Connection reset by peer]
<rmcgibbo[m]>
When I run `nix-env -qaP -f {local-nixpkgs-checkout}`, I see (for example) a package called `sudolikeaboss`, and when I run `nix build -f . sudolikeaboss`, I get a "bla bla bla not support on x86_64-linux, refusing to evaluate use NIXPKGS_ALLOW_UNSUPPORTED_SYSTEMS=1 if you want".
<rmcgibbo[m]>
Is there a way to have nix-env -qaP _not_ output packages that are only for unsupported systems?
attila_lendvai_ has quit [Ping timeout: 246 seconds]
<rmcgibbo[m]>
Ah, --system-filter is what I want. But how about packages that are marked broken or insecure, and also fail to evaluate without a special env var?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
codygman` has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @mohe2015 opened pull request #117071 → nixos/zfs: Fix regression that prevents people to boot from zfs using grub if they didn't add zfs to boot.initrd.support… → https://github.com/NixOS/nixpkgs/pull/117071
<aei>
ok, thanks adisbladis++ and supersandro2000++ for getting things D moving (others as well but i don't know their nicks). The two D compilers dmd and ldc were broken, dmd in particular for a long time along with whatever depended on it; ldc is fixed, the modest D toolchain (dub package manager and dtools) now defaults use ldc (ldc targets more architectures than dmd and produces faster and usually smaller/cleaner binaries) (so they are
<aei>
back up after being broken along with dmd); most of the not many applications depending on D in nixpkgs are now compiled by ldc ... This diatribe is because it appears (i just found out that) dmd remains broken for the time being (despite also having been updated), i should file an issue; but, the circumstances described are to explain also that things are much better now than they have been for a while (dmd has been broken for a lot
<{^_^}>
adisbladis's karma got increased to 150
<aei>
longer than ldc has been or this patch, i.e. this patch is not what breaks it, #115265 once again provides a D compiler and fixes a number things D), so again thanks (and no doubt will need you more in future)
<{^_^}>
supersandro2000's karma got increased to 41