<{^_^}>
[nixpkgs] @matthewbauer reopened pull request #43300 → [wip] haskell: add core libraries logic to remove need for global package db → https://git.io/fNTR7
toppler has joined #nixos
drakonis1 has quit [Ping timeout: 250 seconds]
jlv has quit [Remote host closed the connection]
<lordcirth_>
Trying to figure out how to create a 'services.foo.enable' for a package... I found the existing ones in nixpkgs/nixos/modules/services, but I am finding them difficult to follow
dsx has quit [Quit: dsx]
<infinisil>
lordcirth_: For a nixpkgs PR?
<lordcirth_>
infinisil, hopefully, yes
<infinisil>
Or for yourself
wildtrees has quit [Quit: Leaving]
<infinisil>
Basically it's just creating your module file with a structure `{ lib, config, ... }: { options.services.foo = { enable = lib.mkEnableOption "foo"; ... }; config = mkIf config.enable { ... }; }`
<infinisil>
lordcirth_: Where the last ... indicates the thing that should be set when it's enabled
<lordcirth_>
I'm looking for where they define a systemd service file, but it seems that's hidden below some layers?
<infinisil>
Systemd services are defined with `systemd.services.foo = ...`
Guanin has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @worldofpeace pushed 3 commits to staging: https://git.io/JeB8o
<lordcirth_>
Hmm ok, thanks. I will grep for examples
<infinisil>
Cool
jluttine has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @risicle opened pull request #71370 → rsyslog: add patch for CVE-2019-17040 → https://git.io/JeB8i
t58_ has joined #nixos
abathur has joined #nixos
jluttine has joined #nixos
t58 has quit [Ping timeout: 246 seconds]
toppler has quit [Ping timeout: 240 seconds]
<evils>
i added doCheck = true; to krita's default.nix, it fails with "libkritaSuchAnd.so cannot open shared object file: No such file or directory" the shared objects are in /nix/store/[hash]-krita-version/lib though, any suggestions?
isHavvy has joined #nixos
kri404 has joined #nixos
kri404 has quit [Remote host closed the connection]
Havvy has quit [Ping timeout: 240 seconds]
travelion7 has quit [Remote host closed the connection]
<clever>
evils: is that library in DT_NEEDED, or being opened with dlopen?
isHavvyGhosting has joined #nixos
<evils>
clever: i don't even know what that means, i just incidentally built krita and saw it didn't have a doCheck
isHavvy has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<clever>
evils: you can use readelf to dump the elf headers, one of them is DT_NEEDED
jluttine has quit [Ping timeout: 276 seconds]
strobelight has quit [Ping timeout: 250 seconds]
locallycompact has quit [Remote host closed the connection]
<clever>
evils: ldd will also list those
locallycompact has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeB8N
<evils>
damn krita xD `krita` is a shell wrapper for a shell wrapper for the binary
isHavvyGhosting has quit [Read error: Connection reset by peer]
<clever>
evils: heh, that sometimes happen with wrapProgram
<evils>
clever: readelf -h?
Havvy has joined #nixos
<evils>
clever: with ldd i get a bunch of stuff like; libkritaflake.so.18 => /nix/store/cgnqxmv51r53964j77dzkxzm6dkgsxqq-krita-4.2.7.1/lib/libkritaflake.so.18 (0x00007fb751ae0000)
acarrico has joined #nixos
<clever>
evils: try checkInstall = true; ?
<clever>
evils: ah no, its doInstallCheck = true;
lunik1 has quit [Quit: :x]
<evils>
clever: i'll give that a go when this compile finishes so i got a full log of the failure :P
<evils>
clever: doInstallCheck instead of doCheck?
drakonis has joined #nixos
<clever>
evils: yep
t58_ has quit [Quit: Leaving]
<evils>
see ya in ~15m xD
Lilly has joined #nixos
<lordcirth_>
infinisil, I think I'm making progress - what's the easiest way to test the service definition I wrote? I tested the package with nix-build -A, but this is a service...
<clever>
lordcirth_: you can just add the module for it to the imports in configuration.nix
drakonis_ has quit [Ping timeout: 246 seconds]
toppler has quit [Ping timeout: 240 seconds]
<lordcirth_>
clever, ooh, ok
<kyren>
sorry if this is a basic question, but if I need to read a users UID in a nixos configuration, can I just read the config variable `users.users.<user>.uid` even if it is auto-generated?
<clever>
lordcirth_: configuration.nix itself is a nixos module, and imports is just a list of more modules
<clever>
kyren: that field can only be read if the uid is being set at eval time
<kyren>
clever: okay, darn
<Lilly>
Hello all. I have been trying to get csh on nixos. Aside from writing my own package file, I saw that tcsh used to have a symlink fo csh but not anymore? Is there already a way to get csh on nixos?
<lordcirth_>
Right. So I can specify the modules by path (to the git repo in my homedir), not just the default stuff
<kyren>
I didn't know if there was some recursive magic going on or something, but I guess it can't work that way
mexisme_ has quit [Ping timeout: 264 seconds]
<kyren>
is there any reliable way at all of getting the UID of a user inside a nixos container then? I need to do things that cross the host <-> container boundary
<clever>
kyren: only if you set the uid yourself, in a nixos module
<clever>
kyren: but nixos wont change the uid after a user has been made
<kyren>
clever: okay, thanks, I guess I'll just have to set the UID manually
<{^_^}>
[nixpkgs] @bb010g opened pull request #71375 → jq: build from Git tag (instead of dist tarball) → https://git.io/JeB4b
ddellacosta has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
slack1256 has quit [Ping timeout: 240 seconds]
drakonis1 is now known as drakonis
<lordcirth_>
clever, I tried switching 'pkgs' in /etc/configuration.nix for '/home/bob/nixpkgs' but it failed an assert in impure.nix. What is the correct syntax? Thanks!
<lordcirth_>
I also tried it as an import
iyzsong has joined #nixos
<clever>
lordcirth_: if you want to just load a single custom module, just add it to imports
<lordcirth_>
clever, anonymous function at /home/bob/nixpkgs/pkgs/applications/networking/ipfs-cluster/default.nix:1:1 called with unexpected argument 'config', at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:170:8
<clever>
lordcirth_: that file is not a nixos module
<clever>
lordcirth_: the modules all live under nixpkgs/nixos/modules/
<clever>
thats a package, so you want to use an overlay to do `ipfs-cluster = self.callPackage home/bob/nixpkgs/pkgs/applications/networking/ipfs-cluster {};`
<clever>
or for testing, just `cd /home/bob/nixpkgs ; nix-build -A ipfs-cluster`
<Arahael>
What's the security like in nixos? By which, I mean, specifically "hardening" - ie, AppArmour, SELinux, and the like. (I've been looking at the discussion on https://github.com/NixOS/nixpkgs/issues/7220 and wondering if there's anything more recent)
<DigitalKiwi>
kaliumxyz: preference for any particular language or editor?
eraserhd has joined #nixos
eraserhd has quit [Client Quit]
<DigitalKiwi>
i know emacs has a few options (i use doom-emacs because i like vim more >.> but emacs does some things i want better for certain kinds of editing, namely haskell)
eraserhd has joined #nixos
<DigitalKiwi>
of course there's vs code if you want to go heavy
<DigitalKiwi>
or the jetbrains offerings, android studio, eclipse...
toppler has quit [Ping timeout: 276 seconds]
<DigitalKiwi>
those are moving beyond editors though, have you looked at sublime?
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « rsyslog: 8.1907.0 -> 8.1910.0 (#69954) »: https://git.io/JeBEs
<kaliumxyz>
package on mepla is version 0.0.1 since 2015, it uses nixos-options to do suggestions but doesn't seem to be capable of doing anything beyond the global scope objects.
<kaliumxyz>
Thats in company mode, the helm inspector thing seems to be able to do it fine.
zupo has quit [Client Quit]
eraserhd has quit [Quit: WeeChat 2.6]
eraserhd has joined #nixos
<kaliumxyz>
I've never ran doom, but I use their themes
<edef>
asymmetric: re namespaces, you're aware of JoinNameSpaceOf and stuff?
<edef>
asymmetric: and the various Private* options
xtf has joined #nixos
<edef>
asymmetric: which NixOS systemd service confinement (systemd.services.*.confinement) uses
kraem has joined #nixos
_lawlesseel has joined #nixos
<biboto>
edef: thanks, should check the manual of nix-store for when other stuff like this happens
<biboto>
it probably happened because my power cut off
<biboto>
and the path got corrupted
<biboto>
nix should automatically check for broken paths and repair them automatically, but that's just me, will probably just add more overhead and cause the package management to be slower
lawlesseel has quit [Remote host closed the connection]
<asymmetric>
edef: no i didn't know of JoinsNameSpaceOf, very interesting, thx edef++
<{^_^}>
edef's karma got increased to 7
ixxie has quit [Ping timeout: 268 seconds]
<edef>
biboto: we have --verify which verifies the entire store
ixxie has joined #nixos
<edef>
biboto: which also takes --repair
<edef>
biboto: nix-store --verify --check-contents --repair will hash *everything* and check that it matches, and repair if it can
<edef>
biboto: analogous to zpool scrub, if you're a ZFS person
nikola_i has joined #nixos
toppler has joined #nixos
<Arahael>
DigitalKiwi, hyper_ch: Thanks for those links, will check them out! :)
Havvy has quit [Read error: Connection reset by peer]
nikola_i has quit [Remote host closed the connection]
Havvy has joined #nixos
nikola_i has joined #nixos
knupfer has joined #nixos
<{^_^}>
[nixpkgs] @c0bw3b merged pull request #71344 → rrsync: Make perl a run-time dependency → https://git.io/JeBIg
<{^_^}>
[nixpkgs] @c0bw3b pushed commit from @ryanfitzsimon to master « rrsync: Make perl a run-time dependency (#71344) »: https://git.io/JeBuz
<{^_^}>
[nixpkgs] @c0bw3b pushed commit from @ryanfitzsimon to release-19.09 « rrsync: Make perl a run-time dependency (#71344) »: https://git.io/JeBua
idf has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
ixxie has quit [Ping timeout: 240 seconds]
<kaliumxyz>
Asking how to share now, will try to make PR with repo in hopes of alerting the maintainer but seems like he isn't maintaining it anymore.
tmaekawa has quit [Ping timeout: 240 seconds]
biboto has quit [Quit: leaving]
captn3m0 has quit [Ping timeout: 240 seconds]
captn3m0- has joined #nixos
LnL has quit [Ping timeout: 250 seconds]
toppler has joined #nixos
cmacrae has joined #nixos
<cmacrae>
Hey peeps o/ Are there any packages available that provide the wayland header files?
<deni>
anybody running home assistant on nix os? I tried using the packaged service from nixpkgs but I'm running into and issue where it hangs on the second onboarding screen.
<{^_^}>
[nixpkgs] @Profpatsch merged pull request #71357 → execlineb: change execlineb wrapper to C script → https://git.io/JeBnZ
<{^_^}>
[nixpkgs] @Profpatsch pushed to master « execlineb: change execlineb wrapper to C script »: https://git.io/JeB2W
<rnhmjoj>
can anyone review #63696? it's a fix for the "Option virtualisation.qemu.program has no description" warning that comes up when evaluating release-combined.nix
<ArdaXi>
hi, I've got a bit of a weird issue on a nixos system where /nix got a little too full (forgot that GC existed) and I had to abort a nix-collect-garbage call, now every time I run it it stays on "finding garbage collector roots..." for hours with no progress
<tilpner>
ArdaXi: strace it, it may be cleaning invisibly
<lordcirth_>
I notice that misc/ids has uids and gids out to 315 already, and it says not to go over 399. Is this an impending problem?
<tilpner>
ArdaXi: With optimisation, slow storage, and a large store, multi-day collections can happen
otulp has quit [Remote host closed the connection]
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo26 has joined #nixos
<ArdaXi>
tilpner: I'm used to it at the very least printing the path it's working on before it does things though
<freeman42x>
how can I change first day of week in the KDE calendar to Monday?
wfranzini has quit [Quit: wfranzini]
<lordcirth_>
Can I somehow point my whole nixOS install at a local git repo of nixpkgs, instead of a channel?
knupfer has joined #nixos
<simpson>
,NIX_PATH
<simpson>
Aw. lordcirth_, you can set the NIX_PATH environment variable for any command, including nixos-rebuild; you'll need to configure `nixos` and also `nixpkgs`. https://nixos.org/nixos/nix-pills/nix-search-paths.html
kleisli has joined #nixos
Izorkin has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 240 seconds]
fendor has quit [Quit: Leaving]
ixxie has quit [Remote host closed the connection]
<nilsirl[m]>
I am trying to get obs to work, so I ran addOpenGLRunpath on the binaries of
<Yaniel>
note that you have to call that in the postFixup phase
<nilsirl[m]>
* I am trying to get obs to work, so I ran addOpenGLRunpath on the binaries of obs in postFixup
<nilsirl[m]>
that's what I did
<Yaniel>
also, "OpenGL applications" is quite a generalization from obs
<nilsirl[m]>
Well, OBS doesn't start saying "Failed to initialize video. Your GPU may not be supported, or you graphics driver may need to be updated."
<Yaniel>
that does not even mention opengl
<Yaniel>
does it link to libglvnd explicitly?
<Yaniel>
if it's using opengl it should
<nilsirl[m]>
And I get a similar error with Godot (game engine), that I build manually
<mog>
does anyone have screen sharing working in wayland? i was able to get a single window shared with webrtc thing. but no other software plugins seem to work for me
<{^_^}>
[nixpkgs] @mweinelt opened pull request #71394 → steam: add at_spi2_atk to chrootenv → https://git.io/JeBVt
<mla>
trying to package a rust application, it depends on unstable, how can i tell rustPlatform.buildRustPackage to use the unstable version of cargo/rust?
boxscape has joined #nixos
lord| has joined #nixos
eraserhd has joined #nixos
<Yaniel>
doesn't look like that is supported in nixpkgs
<wedens[m]>
you can probably use `unstable.rustPlatform.buildRustPackage` where unstable is unstable nixpkgs defined from a channel or pinned version
ebzzry has quit [Read error: Connection reset by peer]
ebzzry has joined #nixos
<softinio>
when creating the APFS partition for disk<number> do I choose the existing data disk?
<AmandaC>
I assume so
civodul has joined #nixos
<tavixvi>
I've been using `nixos-rebuild switch -I /path/` to test modifications, but I'd like to just have my repository be the default. is there a way to do that?
* AmandaC
hasn't updated to catalina yet, since she's not in the mood to firefight half her shit being broken. Esp since she'll just be using this macbook for the next couple days until her linux laptop comes back from the shop
toppler has quit [Ping timeout: 240 seconds]
<softinio>
AmandaC: new laptop no choice it comes with Catalina
<softinio>
do i need nix-darwin or is that optional if I want to manage hardware related stuff?
boxscape has quit [Remote host closed the connection]
leons has joined #nixos
<AmandaC>
nix-darwin is just nixos modules for darwin, not required unless you want to mange your darwin settings with a nix expression like you can on nixos
ixxie has quit [Ping timeout: 240 seconds]
<softinio>
AmandaC: good to know won't need it then as only want to use Nix as package manager and to manage my dev environments
<softinio>
AmandaC: thx
eraserhd has quit [Quit: WeeChat 2.6]
eraserhd has joined #nixos
Kritnich has joined #nixos
<softinio>
AmandaC: Disks I have are Macintosh HD and Macintosh HD - Data which one do I choose
<softinio>
going with data one guess it doesn't really matter\]
freeman42x has quit [Remote host closed the connection]
freeman42x has joined #nixos
bahamas has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
eacameron has quit [Quit: Connection closed for inactivity]
<leons>
My current best bet is to override the pkgs in the container config with _module.args.pkgs = my_own_pkgs;, but that doesn't seem to update any other parameters such as lib
<leons>
And I'm guessing also no modules
mounty has quit [Read error: Connection reset by peer]
mounty has joined #nixos
toppler has joined #nixos
dm9 has quit [Quit: WeeChat 2.6]
<softinio>
home manager vs nix-darwin any thoughts?
noudle has joined #nixos
<simpson>
nix-darwin is quite useful on Darwin on its own. home-manager has always looked appealing to me, but also I've taken the stability warnings seriously and never quite made the leap to using it.
talqu has quit [Ping timeout: 265 seconds]
<softinio>
simpson: think you convinced me to stick to nix-darwin
phreedom has quit [Remote host closed the connection]
lawlesseel has quit [Remote host closed the connection]
<simpson>
softinio: I think that home-manager can be used with nix-darwin. Not sure though; haven't done it myself.
xelxebar has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @thoughtpolice pushed 7 commits to master: https://git.io/JeBwP
<AmandaC>
It can've got it set up myself
xelxebar has joined #nixos
phreedom has joined #nixos
horner has quit [Quit: zzZzZzZzZZZzzz…]
bahamas has quit [Quit: leaving]
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
<{^_^}>
[nixpkgs] @d-goldin opened pull request #71397 → release-notes 19.09: removal of non-LTS kernel attrs → https://git.io/JeBwh
toppler has joined #nixos
idf has quit [Quit: WeeChat 2.6]
<drakonis>
wait, really, non lts kernels got removeD?
<drakonis>
removed?
<ddima>
drakonis: no, the attributes though
<ddima>
there is a PR linked, that in turns links to a bit of background info. Just thought it might be worthwhile/avoid confusion to retroactively also mention it in the release notes.
softinio has quit [Remote host closed the connection]
slack1256 has joined #nixos
slack1256 has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 268 seconds]
<ddima>
drakonis: didn't mean to cause a panic or sth ;)
<Yaniel>
the most interesting bits it posts are when it announces that a channel has advanced
<Yaniel>
but those get lost in the rest of the traffic
<hpfr[m]>
That’s a good feature, keep that, but the automatic logging in the main discussion channel is just fluff that hinders the chat
<omnipotententity>
I assume the people who actually maintain a lot of packages find value in it? Not people like me who maintain... 3?
<hpfr[m]>
Yeah and keeping advancing channels would be fine too that makes sense it’s not too frequent
eraserhd has quit [Quit: WeeChat 2.6]
<omnipotententity>
3 weird, random, low traffic, low value packages.
eraserhd has joined #nixos
<hpfr[m]>
I don’t see how even people who maintain a lot of stuff would find value in a bot that just dumps all changes into an IRC channel, I’d imagine they would get mentioned in important PR’s
GiGa has joined #nixos
<omnipotententity>
You can do notification on arbitrary strings in most IRC clients. Just stick your package names and voila IRC notification (on top of email notification etc)
toppler has joined #nixos
<hpfr[m]>
Well if that’s the case then a separate channel seems like the way to go
<hpfr[m]>
Although there must be a way to set up notifications on a repo directly rather than needing a bot to watch everything, post to IRC, and then set up your notifications from the IRC output haha
<omnipotententity>
*shrug* gchristensen what's your input?
<Yaniel>
well yes, but IRC is much nicer to use than email or the gh webpage
<omnipotententity>
and 90% of the work is already done, you don't have to setup your own bot.
cosimone has quit [Quit: Quit.]
<hpfr[m]>
You find IRC notifications easier than email?
<omnipotententity>
I get a LOT of email.
<hpfr[m]>
Well that’s neither here nor there I guess I’m just suggesting moving the bot to a dedicated channel
fusion809 has joined #nixos
<hpfr[m]>
Same here
abathur has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
alexbakker has quit [Quit: Dikke doei]
<lordcirth_>
simpson, thanks, that's perfect!
toppler has joined #nixos
cmacrae has quit [Remote host closed the connection]
evanjs- has joined #nixos
evanjs has quit [Ping timeout: 268 seconds]
isHavvy has joined #nixos
barrucadu has quit [Quit: Rebooting for kernel updates (etc)]
Havvy has quit [Ping timeout: 268 seconds]
leothrix has quit [Ping timeout: 264 seconds]
abathur has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @sweber83 opened pull request #71400 → update home-assistant-frontend to correct version for home-assistant 0.99.2 → https://git.io/JeBoZ
<_pash>
hi guys, i have downloaded Irssi, but one of my perl plugins is missing a perl dependency. How can i build it with irssi? I tried using package overrides with no luck
Havvy has joined #nixos
barrucadu has joined #nixos
barrucadu has joined #nixos
barrucadu has quit [Changing host]
toppler has joined #nixos
<lassulus>
Well I can't help you. but for the next guy it would be nice to have code of what you have tried and which effects it had
<samueldr>
(not from builtins, but from the package set)
toppler has quit [Ping timeout: 240 seconds]
<samueldr>
I'm not sure that the sha256 will match; both will hash the contents, but I'm not 100% sure they use the same code path; so just double-check it does or not
_pash has quit [Quit: leaving]
ddellacosta has quit [Ping timeout: 240 seconds]
isHavvy has joined #nixos
Havvy has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
zupo has joined #nixos
reallymemorable has joined #nixos
<Shouou>
Ah, alright, thanks! How come it's unavailable in restricted mode? What does fetchzip do differently?
<clever>
Shouou: you want to use pkgs.fetchzip, the builtin fetch functions can be impure
<edef>
fetchzip is a fixed-output derivation
<edef>
builtins.fetchTarball doesn't take a hash, it just fetches the latest
<clever>
Shouou: also, you dont want to use $src in the installPhase, the source has been copied to . for you
<rotaerk>
thinking about getting a 2-in-1 HP laptop, with a multi-touch screen...
<rotaerk>
anyone have experience running Linux, NixOS even, on one of these?
<samueldr>
rotaerk: depends what "one of these" is exactly
<samueldr>
a 2-in-1? it's likely to work like most laptops
<samueldr>
except you can pull it all the way back
<samueldr>
will the keyboard still respond then? depends on how they implemented it
<evelyn>
Apple use USB internally (yikes)
<samueldr>
touch screen support in laptops is quite good in Linux, though app support varies
<evelyn>
Lenovo emulate PS2 or something
<rotaerk>
hmm k
<evelyn>
in fact why Apple can't emulate PS2 is beyond me
<samueldr>
evelyn: pretty sure they just don't have any PS/2 in their stack due to lineage of not coming form the intel world
<evelyn>
probably something to do with the keyboard+trackpad combo (it shows up as the same device)
<evelyn>
and they do 'funky' stuff with the trackpad
gkmn1 has joined #nixos
<{^_^}>
[nixpkgs] @matthuszagh opened pull request #71402 → symbiyosys: add smt solver backends as optional deps → https://git.io/JeBK1
<evelyn>
my old HP UX workstation just had the keyboard turn up as a serial input device
gkmn2 has joined #nixos
<clever>
evelyn: ive heard (from lous rossman) about how funky the apple touchpad is
<clever>
evelyn: in early boot, its a usb device, so it can work in the bios
gkmn1 has quit [Disconnected by services]
gkmngrgn has quit [Disconnected by services]
gkmn2 is now known as gkmngrgn
<clever>
evelyn: but when in the os itself, it switches to a custom spi device, to get the full feature set out of the touchpad
toppler has joined #nixos
<clever>
the problem, is that the spi traces are more likely to get water damage, downgrading it to usb only mode
<clever>
you can hotwire it to force it to stay in usb mode
<clever>
but darwin lacks the usb drivers for its own touchpad mouse!!
<clever>
(linux works just fine though)
<balsoft>
Hey all! I've got a question regarding building docker images with nix. A simple example: https://github.com/balsoft/nix-hydra-docker-example . It gets built by hydra and then auto-pushed to dockerhub. It's a simple build of mc. You can get it with docker pull: docker pull balsoft/nix-hydra-docker-example:4.8.22 . The problem is: it doesn't work.
<clever>
balsoft: how exactly does it not work?
<balsoft>
The example is a bit complicated because it's bascially a stripped-down copy of a very complex thing that doesn't work
<clever>
balsoft: what exactly is failing? at which step?
<balsoft>
When I try to actually run /bin/bash from the image
Okinan has quit [Quit: Konversation terminated!]
<clever>
balsoft: what about `docker run -it --rm <image> bash` without a /bin/ ?
<balsoft>
If I take the image apart, it appears that /bin/bash is inside the image, but it can't run it for whatever reason
<clever>
balsoft: is /nix/store also present?
<balsoft>
Whoops, the output was from `docker run --rm -t -i balsoft/nix-hydra-docker-example:4.8.22 bash`
Okinan has joined #nixos
<balsoft>
And /bin/bash doesn't work either
<evelyn>
clever: wth :(
<balsoft>
It fails with /nix/store/r5dr7lqfh7mr89217c2fzf2ddwj6j74v-docker-18.09.7/libexec/docker/docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory": unknown.
knupfer has joined #nixos
<pikajude>
usually means it's linked with /lib64/ld or something like that
<pikajude>
or i don't remember exactly what the path is, but it doesn't exist
<pie__>
neverming x2goserver does the same thing and serves as a sufficient example
<pie__>
im basically rediscovering whats done there heh
<pie__>
(just searched for something that uses perl.withpackages)
<{^_^}>
[nixpkgs] @Shou opened pull request #71404 → etcher: init at 1.5.60 → https://git.io/JeB6O
<qyliss>
pie__: the Nixpkgs manual section on wrapProgram is good
<clever>
Shouou: what happens if you run the nixpkgs electron instead of copying the electron that came with etcher?
ddellacosta has joined #nixos
<evils>
clever: seems i was mistaken, doInstallCheck did nothing, except: running install tests
<evils>
no installcheck target in Makefile, doing nothing
<Shouou>
Let me give it a try. I didn't have much luck trying to build it from source because of Node version mismatches, so we might run into the same thing(?) but I'll hope for the best.
<clever>
evils: ah, you need to tweak it to run the other `make check`
<clever>
Shouou: before the nodejs could compile in nix, this package was just extracting the js from a darwin installer, then running a linux electron against it
toppler has quit [Ping timeout: 276 seconds]
Havvy has joined #nixos
isHavvy has quit [Ping timeout: 240 seconds]
reallymemorable has quit [Quit: reallymemorable]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<evils>
:q
<clever>
evils: :q!
<hpfr[m]>
clever: I was running nrs again (laptop building qt) and the qtbase-5.12.3 build failed, after it said all these derivations failed because of 1 dependency: “hook” “kcrash-5.61.0” “kdoctools-5.61.0” “keepassxc-2.4.3” “kidletime-5.61.0” “knotifyconfig
red_beard has joined #nixos
<hpfr[m]>
Whoops
<clever>
hpfr[m]: is the machine set to use kde/plasma?
<hpfr[m]>
Basically a few more k-5.61.0 things and then zbar-0.23
<clever>
hpfr[m]: all of those k things depend on qt directly, the bigger question is why qt differs
<hpfr[m]>
No which is what I was going to ask. I’m running i3. Have keepassxc but I’m not sure why the 5.61.0 stuff is there
<clever>
hpfr[m]: are you sure the binary cache is enabled?
toppler has joined #nixos
<hpfr[m]>
Yes, i haven’t upgraded in a while and it gets a whole bunch of stuff from the cache before starting on qt
<hpfr[m]>
Not sure what zbar is either
<clever>
hpfr[m]: any overrides that modify qt?
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
the-kenny has quit [Quit: WeeChat 2.5]
<hpfr[m]>
I override keepassxc with withKeePassNetworking but don’t think that should modify qt, I also override libwacom for the patched surface version
<clever>
hpfr[m]: wacom is probably doing it, if you temporarily comment out wacom, what happens?
<hpfr[m]>
Oh really
<hpfr[m]>
I’m afk but I will try that later thank you
the-kenny has joined #nixos
<hpfr[m]>
I actually was concerned about that a while ago but dismissed it because I didn’t think qt would depend on it as a build dependency. Ended up searching the nixpkgs qtbase expression for “wacom” but found nothing so ignored it
<clever>
hpfr[m]: checked the same thing, and its not a direct dep, but it may be an indirect dep (via something else)
<hpfr[m]>
Oh ok bummer
<hpfr[m]>
clever: found it, it’s libinput
<hpfr[m]>
That’s too bad because I don’t think standard libwacom works with my pen, which I use daily, but I’ll try it for now since the kernel build is also failing and I need to get one to build haha
knupfer has quit [Ping timeout: 245 seconds]
<clever>
hpfr[m]: you could try to make the override only apply to xorg, or you could PR the fix to nixpkgs, so hydra.nixos.org builds things for you
<hpfr[m]>
PR the libwacom fix? It’s nonstandard I think I’d have to PR it to libwacom and I’m assuming that hasn’t happened yet for some valid reason
<hpfr[m]>
clever: the xorg thing seems promising but it must be a run time dependency since I’m not rebuilding xorg
ebzzry has quit [Ping timeout: 240 seconds]
ebzzry has joined #nixos
toppler has joined #nixos
<evils>
clever: ok, installCheckTarget = "test"; yields installing: ...; shrinking ...; running tests...; Test project /build/krita-4.2.7.1/build; Could not find executable /build/krita-4.2.7.1/build/libs/global/tests/KisSharedThreadPoolAdapterTest; looked in the following places /build/...; build/...
<evils>
considering i'm entirely unfamiliar with cmake, i maybe should have just left this sleeping dog lie...
<clever>
evils: yeah, you kind of need to know how the tests work and how to make them pass, and what they are doing, to get things fully working
<clever>
part of why nix just defaults to not testing things
<{^_^}>
[nixpkgs] @veprbl pushed commit from @OmnipotentEntity to master « geant4: 10.4.1 -> 10.5.1 (#70535) »: https://git.io/JeBif
gkmngrgn has quit [Ping timeout: 240 seconds]
<evils>
clever: the only thing i've packaged had a `make test` target, i copied over `doCheck = true;` from hello's default.nix without knowing what it did, so i guess that kinda set a target of "it just works" :P
<clever>
evils: yeah, it also depends heavily on how complex the tests are
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #71115 → nixos/plymouth: do not order `plymouth-quit` after `display-manager` → https://git.io/Je8Wf
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeBiY
<evils>
ok, on to the next thing i want to try
<evils>
has anyone managed to boot native encrypted ZFS on BIOS on NixOS?
<clever>
evils: biggest detail is if /boot is on zfs or ext4
<evils>
zfs
<clever>
evils: that would require grub to support the encryption, which i dont think it does
<evils>
yea, last time i tried i got something like "unknown filesystem" from grub
<evils>
i believe there's an issue open for that since 2016 on grub's github?
<evils>
but ubuntu's been up to some stuff :P
<clever>
evils: i have gotten grub to boot from zfs, without encryption
<clever>
but while it does boot, all directory listing operations fail
<evils>
clever: that i have right now
<clever>
so its near imposible to debug when it stops working, lol
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeBi3
softinio has joined #nixos
ng0 has quit [Ping timeout: 260 seconds]
<evils>
clever: /boot is just a directory in / which is zfs here (unencrypted) but root can list its content
<clever>
evils: ah, thats pretty similar to the testing i did
<clever>
though i had no encrypted datasets
<evils>
gonna see if ubuntu 19.10 can do encrypted zfs on bios
Fare has joined #nixos
toppler has joined #nixos
ng0 has joined #nixos
shibboleth has joined #nixos
<evils>
btw, i'm often getting "error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': Connection refused" on nixos-rebuild, but not if i repeat that
<clever>
evils: that happens randomly if nix-daemon was stopped
<evils>
i need a better RNG :P, it's just about every time