<{^_^}>
[nixpkgs] @mweinelt pushed commit from @dotlambda to revert-118719-home-assistant-tests « nixos/home-assistant: warn about `overridePythonAttrs` in package option »: https://git.io/JO82W
jonringer has quit [Remote host closed the connection]
growpotk- has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JO8ax
<jdally987[m]>
Rusty1: oh wow thanks didn't know that existed. figured it'd be included in the default plasma installation
<jdally987[m]>
cuz I am on unstable. but lemme add that
<courajs>
Heya - running `nixos-install` from the gnome installer iso and getting an error: "File system '/dev/block/8:18 is not on a GPT partition table"
<courajs>
This is on a computer with an existing windows install, and I'm trying to install on the second half of the hard drive
<courajs>
ls -l /dev/block
<courajs>
...
<courajs>
8:18 -> ../sdb2
randomnetcat has joined #nixos
<courajs>
I believe sdb is the usb install stick
<courajs>
can anyone point me in the right direction?
<delroth>
I'm packaging something right now that needs multiple git repos to be cloned next to each other to be built properly. Any example in nixpkgs of a derivation with multiple sources via fetchgit that I could look at? (or documentation would be even better)
<jdally987[m]>
courajs: sounds like sdb2 is not on a GPT partition table
<jdally987[m]>
lolol
<jdally987[m]>
but srsly
<jdally987[m]>
how long ago did u install windows on the HD?
<jdally987[m]>
Rusty1_ (IRC):
<jdally987[m]>
whoops Rusty1_ (IRC) looks like plasma-thunderbolt does not really do much except give me a GUI for what I already did with `boltctl` i guess
<jdally987[m]>
-_____- I mean it's authorized & everything. but no external monitor still.
<jdally987[m]>
so my problem probably has to be in the display stack or whatever right
<jdally987[m]>
like idk, xrandr, X-something-or-other... maybe
<jdally987[m]>
does any1 know about display-related stuff that might be able to decipher a syslog if I posted it here
<lukegb>
delroth: hmm, I can't find anything obvious
<jdally987[m]>
I just don’t understand why *Ubuntu live .iso’s would work literally automatically with the external monitor through the AMD card. No problem
<jdally987[m]>
But something’s different on nixos
<delroth>
lukegb: my current approach is to just redefine the unpackPhase and "cp -R ${src-1} src-1; cp -R ${src-2} src-2; chmod u+w -R ." but that seems ugly and I hope someone has figured out a better solution :)
<delroth>
this derivation is going to be ugly anyway so I'm pretty sure the unpackPhase ugliness will just be a footnote against the overall ugliness :)
<lukegb>
your case is a bit different though, I assume, since you probably would need to do some reshuffling in postUnpack at least to get everything in the right place and named the right thing?
<lukegb>
probably worth just overriding the unpackPhase, yeah :P
<delroth>
(trying to cross compile edk2 for one of my systems)
growpotk- has joined #nixos
lambdaman has quit [Remote host closed the connection]
lambdaman has joined #nixos
lambdaman has quit [Remote host closed the connection]
ddellacosta has joined #nixos
lambdaman has joined #nixos
<jdally987[m]>
<delroth "(trying to cross compile edk2 fo"> Like the firmware tool?
<samueldr>
but not in a useful manner describing what srcs actually does
<delroth>
seems like any option involves a custom unpackPhase anyway
<delroth>
so using the srcs convention just avoids naming the inputs... which is probably even worse because it makes setting up the directory tree in the unpackPhase more annoying
<lukegb>
samueldr: #119678 will probably fix the LLVM-on-wendy, but it also makes me sad. I'm waiting for the LLVM folks to create me a Bugzilla account so I can file a bug :/
<delroth>
(honeycomb lx2k, so not super uncommon -- actually thefloweringash did something similar for u-boot on that board, I'm just going the EFI route)
<samueldr>
I think we have at least, now, four known members of the community with one
<samueldr>
so nixos-hardware is probably not a bad idea
<delroth>
technically you don't really need any of that to be built with nix either, it's easy to just get binaries
<samueldr>
haven't had the time to go back to that PR, but maybe you starting fresh can show a good strategy for EDK2
<samueldr>
yeah, but it's always nice to have a good nix build for verifiability :)
<delroth>
in my case I have RAM that needs an XMP profile to go at any decent speed, so I need to rebuild anyway
<samueldr>
oh, and in your case it's even better for easier customization!
<delroth>
I think I'll just keep my custom unpackPhase :)
<delroth>
(that's with srcs = [ two fetchgit with different name=... ])
<samueldr>
sounds fine too
meh` has quit [Ping timeout: 252 seconds]
beertoagunfight has joined #nixos
<thefloweringash>
delroth: just in case you weren't aware, there's a uefi version in https://github.com/lheckemann/lx2k-nix, but I don't know if it cross compiles
<delroth>
interesting, thanks
<delroth>
doesn't look like it does, but I'll have a look
ddellacosta has quit [Remote host closed the connection]
ddellacosta has joined #nixos
<samueldr>
I can't find previous discussions about this quickly, but the gist of it is that something external to the nix store has to be used to "work around" this design decision
ddellacosta has quit [Remote host closed the connection]
ddellacosta has joined #nixos
<samueldr>
feel free to open an issue on the Nix repository if you think this is the wrong approach
ddellacosta has quit [Remote host closed the connection]
<sss2>
this is wrong approach, but to propose correct approach i need to learn nix better first.
<simpson>
To use a phrase here, "it is not entirely clear how to support [setuid executables] in a clean way," and a clean simple API for the store is essential to Nix being useful.
<samueldr>
simpson++ for digging more
<{^_^}>
simpson's karma got increased to 49
<samueldr>
(it's page 91 as per the on-page pagination)
<{^_^}>
tmux/tmux#2659 (by ivan, 7 seconds ago, open): `tmux ls | cat` hangs forever when tmux 3.2 connects to tmux 3.1c server
<sss2>
"nix optimise-store" looks like typo, no ?
Cale has joined #nixos
<ivan>
sss2: british spelling
<sss2>
ok
ddellacosta has joined #nixos
jesystani has joined #nixos
phnom has quit [Quit: WeeChat 3.1]
robmyers has quit [Ping timeout: 240 seconds]
<jesystani>
hello, if i was wanting to get a list of files in a directory, so that i could do something like map builtins.readFile over them, is there a command for that?
<phalrax>
Hi, trying to install nix, but I'm getting the following error: building '/nix/store/pry8v2siq90hb99x4rljwkmlry4qd8hy-unit-zfs-import-tokyo.service.drv'...
<phalrax>
while setting up the build environment: executing '/nix/store/9ywr69qi622lrmx5nn88gk8jpmihy0dz-bash-4.4-p23/bin/bash': Argument list too long
<supercala>
Hi, I want to use a package that depends on unrar in a nixos-container. Setting nixpkgs.config.allowUnfreePredicate in or outside the container does not seem to stop the error about using an unfree package. Any ideas on what I could do to try and solve this?
ddellacosta has joined #nixos
xorino has quit [Quit: Leaving]
<supercala>
At the moment I have to set NIXPKGS_ALLOW_UNFREE=1 for all my nixos command line invocations
justanotheruser has quit [Ping timeout: 258 seconds]
<subsonik20>
hi all, this may be a stupid question, but i see that crispyDoom is in the nixpkgs tree, but is not referenced in all.packages.nix, and so i cant search for or install it with nix-env... how do i go about installing it?
<Guest80>
afontain_ oh, that's cool, thanks!. One more thing, is there way to avoid networkmanagers basePackages picking only openvpn out of 7 others like iodine l2tp?
<subsonik20>
afontain_: not found on either
<afontain_>
Guest80 (IRC): note I never tried :P
<afontain_>
for your second question, dunno, I never tried
<delroth>
tl;dr you need it in both buildInputs and nativeBuildInputs when building the docs
<delroth>
and I suspect you got confused like I was thinking it's needed also for cross builds because the cross build depends on the native build, and so if you do any change in the derivation and try to cross-build you first get a native build
<delroth>
(when in fact the cross build works fine without the input, it's just the native build that fails)
<delroth>
(thanks for the quick merge!)
Guest80 has quit [Quit: Connection closed]
sss2 has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @mohe2015 closed 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
mauro^ has quit []
<pie_>
anyone know how to debug pam?
<pie_>
im trying to log into the installer with an empty password over ssh and i cant get it to work
<MmeQuignon>
Hi everyone, I'm trying to configure aria2 / nginx. Aria2 is downloading files to a folder in which the nginx service user/group have no access. I was thinking about overriding the aria2 systemd service, and make it run as systemd.services.nginx.serviceConfig.User. But I'm not sure it's the right way. Any idea how to do that? Thanks!
alexherbo2 has quit [Ping timeout: 252 seconds]
beertoagunfight has joined #nixos
<supersandro2000>
MmeQuignon: you could add the aria group to the nixos user
<MmeQuignon>
You mean there's an actual user created for nginx ?
<sterni>
MmeQuignon: yes, it's also configurable services.nginx.user
<{^_^}>
[nixpkgs] @mohe2015 reopened 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
<onny[m]>
Hey, I want to package a library which has no tag or version on Github (libutp https://github.com/bittorrent/libutp). What should I use as a version in default.nix?
Evangelina has quit [Killed (Sigyn (Spam is off topic on freenode.))]
ahmedelgabri has joined #nixos
<{^_^}>
[nixpkgs] @jtojnar pushed to gnome-40 « gnome3.cheese: clean up »: https://git.io/JOB02
subsonik20 has quit [Client Quit]
<ronthecookie>
is there a way to expose options from inside a home-manager closure outside?
<ronthecookie>
ive tried nixosConfig.options.cookie.home = options.cookie; but that just gives me a very generic error
<hodapp>
siiigh... build was failing because 'failed to create path for auto-compiled file', so I set GUILE_AUTO_COMPILE=0, and now it doesn't tell me that auto-compilation is enabled anymore... but still fails with the same error
<sterni>
onny[m]: unstable-YYYY-MM-DD where the date is the date of the commit you picked
<{^_^}>
[nixpkgs] @Mic92 merged 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
<abathur>
CptCaptain: not familiar with the ocaml ecosystem, but I can at least confirm that I see the same thing with nix-shell
ddellacosta has quit [Ping timeout: 252 seconds]
<sterni>
CptCaptain: -p doesn't run the ocaml related setup hooks properly (can't remember why exactly), but nix-shell -A works for ocaml related derivations
<abathur>
huh
<sterni>
CptCaptain: ah wait
<sterni>
CptCaptain: you need to include ocamlPackages.findlib in your shell as well, probably should clarify that in the manual
oxalica1 has joined #nixos
<sterni>
CptCaptain: since that package contains the setup hook which does that
<CRTified[m]>
How do I find out what package depends on a package? I'm currently helping someone setting up NixOS and don't know where the dependency for python2Packages.pillow might come from 🤔
orivej has quit [Ping timeout: 240 seconds]
respawn_ has quit [Quit: Leaving]
<__monty__>
supersandro2000, sterni: I'm not able to override an argument because the expression I want to build takes a path to nixpkgs rather than packages as argument.
<gchristensen>
I have a problem on nixos unstable with gnome that typing in to Firefox's URL bar has a multi-second lag before any typing is registered. has anyone seen this?
<{^_^}>
[hydra] @Ma27 opened pull request #918 → hydra-queue-runner: fix building on machines specified with the `ssh-ng` protocol → https://github.com/NixOS/hydra/pull/918
<ronthecookie>
gchristensen: there's a chance that has been happening on my laptop too, not sure
<ronthecookie>
seems to be just badly optimized or something though as it feels shorter on my beefier desktop
MidAutumnHotaru has quit [Ping timeout: 240 seconds]
Izorkin has joined #nixos
jravi2 has joined #nixos
exfalso has quit [Quit: Lost terminal]
<Reventlov>
hey there
MidAutumnHotaru has joined #nixos
<Reventlov>
I updated mariadb, and now I have this error message: Apr 17 19:42:36 sciencesre mysql-post-start[9789]: ERROR 1044 (42000) at line 1: Access denied for user ''@'localhost' to database 'mediawiki'
<Reventlov>
Which is weird because the user seems to be missing ( while it is actually present in the post start: https://0x0.st/-AeK.txt )
<colemickens>
Cadey: always a treat to read your blog posts; not to mention the excitement of knowing your work brings more people into the nix fold. <3 thank you! That you already have a Rust powered kernel deriv is aweseome.
<colemickens>
That and the rust stdenv are my favorite nix things lately, I think
<bpye>
If building an overlay how can I make cross compiling work? it seems that my deps in native build inputs are actually the binaries for my target
<bpye>
I want to use the overlay to introduce new packages, not modify an existing one in case that makes a difference
<bpye>
Huh weird, I do have the host package (in this case gnumake) on the path, but I *also* have the target gnumake, which is obviously a problem.
ddellacosta has quit [Ping timeout: 240 seconds]
gustavderdrache has joined #nixos
ddellacosta has joined #nixos
jesystani has joined #nixos
<jesystani>
howdy, is there a way to (in a flakes system) get nix shell to default to using the same nixpkgs my system is on, rather than always downloading the latest one?
ddellacosta has quit [Ping timeout: 246 seconds]
meh` has quit [Ping timeout: 252 seconds]
<srid>
`nix run github:soywod/himalaya` an email CLI app
fendor has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ml| has joined #nixos
<bpye>
Hm, is there any way to create your own pkgsCross target without modifying nixpkgs - I think I need to build gcc, binutils and newlib with some custom config...
muppeth has quit [Remote host closed the connection]
figsoda[m] has joined #nixos
Guest92373 has quit [Ping timeout: 252 seconds]
mrSpec has joined #nixos
mrSpec is now known as Guest72871
pushqrdx has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
davidv7_ has joined #nixos
ddellacosta has joined #nixos
VideoGameEnjoyer has quit [Ping timeout: 260 seconds]
muppeth has joined #nixos
Guest72871 has quit [Ping timeout: 240 seconds]
pushqrdx has quit [Remote host closed the connection]