<{^_^}>
nix#4295 (by fzakaria, 2 days ago, open): error: moving build output '/nix/store/...-source' from the sandbox to the Nix store: Permission denied
mtr has quit [Quit: WeeChat 2.9]
jonatanb has joined #nixos
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 72 commits to staging-next: https://git.io/JILQK
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 73 commits to staging: https://git.io/JILQP
thc202 has quit [Ping timeout: 244 seconds]
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
jonatanb has quit [Ping timeout: 240 seconds]
cr4y1 has quit [Ping timeout: 256 seconds]
kalbasit has quit [Remote host closed the connection]
kalbasit has joined #nixos
<kalbasit>
using dockerTools.buildImage, how to provide sudo support in the image?
<fuzzypixelz>
hello, can someone please help me with zsh config?
<Yaniel>
zsh configs tend to be beyond help :P
<fuzzypixelz>
apparently the nix store paths to oh-my-zsh isn't right
<Yaniel>
there is a omz module IIRC
<fuzzypixelz>
it's auto generated in /etc/zshrc
<fuzzypixelz>
well
<Yaniel>
programs.zsh.ohMyZsh.enable
<fuzzypixelz>
I'm doing this through configuration.nix
<fuzzypixelz>
I did all that
<Yaniel>
ah, okay
<fuzzypixelz>
I get this :
<fuzzypixelz>
[oh-my-zsh] plugin 'zsh-syntax-highlighting' not found
<fuzzypixelz>
/nix/store/1w64d7l06fy69z5smmi3rfdb9n9ppgk5-oh-my-zsh-2020-09-03/share/oh-my-zsh/oh-my-zsh.sh:source:125: no such file or directory: /nix/store/1w64d7l06fy69z5smmi3rfdb9n9ppgk5-oh-my-zsh-2020-09-03/share/oh-my-zsh/themes/spaceship.zsh-theme
<fuzzypixelz>
when I check the store, the paths are indeed bad
<fuzzypixelz>
but rebuilding doesn't fix them!
<fuzzypixelz>
even removing and then adding omz/spaceship doesn't fix anything
<cirno-999>
noob question; what does 'collision between' (in nix store) really mean?
<cirno-999>
like collision between `/nix/store/6j3xqf34j7aqqbbir5lhfxrn1jpfimnm-libva-1.7.3/lib/libva.so' and `/nix/store/y4z73amcdggqinchni9fdz0w90v9fi4k-libva-2.8.0/lib/libva.so'
manjaroi3 has quit [Quit: leaving]
<fuzzypixelz>
i'll try a reboot then
fuzzypixelz has quit [Quit: fuzzypixelz]
<Yaniel>
cirno-999: two different things are trying to link different libva.so into the environment
<Yaniel>
(you shouldn't put libraries into environment.systemPackages)
<{^_^}>
[nixpkgs] @aanderse opened pull request #105741 → kodi: accept plugins without extraRuntimeDependencies → https://git.io/JILbF
<cirno-999>
well, I don't think I am
fuzzypixelz has joined #nixos
<fuzzypixelz>
sadly that didn't do it
<fuzzypixelz>
btw, I get the 'Z Shell configuration function for new users'
<infinisil>
fuzzypixelz: Did you read what that message say..?
<infinisil>
says*
<infinisil>
It clearly explains why it happens with instructions for how to proceed
<fuzzypixelz>
my problem isn't with that, it's with omz
<infinisil>
Oh, I guess it might be confusing that it still happens even when zsh is configured by nixos
cole-h has quit [Ping timeout: 240 seconds]
cyphase has quit [Ping timeout: 240 seconds]
<fuzzypixelz>
yes it's confusing but that's the least of my problems
<fuzzypixelz>
I get this error:
<fuzzypixelz>
[oh-my-zsh] plugin 'zsh-syntax-highlighting' not found
<fuzzypixelz>
/nix/store/1w64d7l06fy69z5smmi3rfdb9n9ppgk5-oh-my-zsh-2020-09-03/share/oh-my-zsh/oh-my-zsh.sh:source:125: no such file or directory: /nix/store/1w64d7l06fy69z5smmi3rfdb9n9ppgk5-oh-my-zsh-2020-09-03/share/oh-my-zsh/themes/spaceship.zsh-theme
<Fare>
Maybe nix should be replaced by the semantically isomorphic language jsonnet, with a builtin object system instead of 10 bad reimplementations of it.
<Fare>
probably keeping the nix engine underneath, just optionally changing the syntax, and providing builtin support for extensible record prototypes.
<simpson>
Fare: Go for it!
<gchristensen>
does jsonnet have the concept of paths and string context?
<simpson>
In particular, isn't there a jsonnet2nix somewhere?
<gchristensen>
(I guess jsonnet would since it is semantically isomorphic?)
NeoCron has quit [Remote host closed the connection]
<gchristensen>
I suspect it is more of a square <-> rectangle thing, though
veleiro` is now known as veleiro
veleiro has joined #nixos
veleiro has quit [Changing host]
teko has quit [Remote host closed the connection]
<cirno-999>
Yaniel: yeah, no problems. was just curious.
<{^_^}>
[nixpkgs] @marsam opened pull request #105746 → terraform_0_14: init at 0.14.0 → https://git.io/JItTc
sigmundv has quit [Read error: Connection reset by peer]
<samueldr>
the iso image is for booting through UEFI boot methods
<samueldr>
(on aarch64)
<samueldr>
the sd image is for the "installing in place" method of installation
<samueldr>
it has some spare space at the beginning so that u-boot can be burned into the image for platforms needing it
<samueldr>
both are built using the mainline linux kernel
ZaraChimera has quit [Quit: WeeChat 3.0]
patagonicus4 has joined #nixos
AlpineLlama_ has joined #nixos
AlpineLlama has quit [Ping timeout: 272 seconds]
patagonicus has quit [Ping timeout: 260 seconds]
patagonicus4 is now known as patagonicus
<pjt_tmp>
samueldr: cool, thanks. would it be possible to boot either of those on a pi and load the installer into ram so that custom partitioning could be done?
<samueldr>
the sd_image is made to boot on the pi without changes
<samueldr>
that's because it's annoying to get things booting on the pi compared to many other ARM boards :)
<samueldr>
as for partitioning, not exactly
m0rphism has quit [Ping timeout: 240 seconds]
<samueldr>
note that the pi 4 is not supported yet
<samueldr>
but, partitioning, you could use a usb adapter to plug a second SD card to the pi and install to it
<samueldr>
noting that you have to be mindful about how the raspberry pi boots
AlpineLlama_ has quit [Ping timeout: 272 seconds]
<samueldr>
and there is nothing ready to help you set that up in the expected fashion
AlpineLlama__ has joined #nixos
lassulus has joined #nixos
Fare has quit [Ping timeout: 264 seconds]
<pjt_tmp>
hmm. Custom iso road it is then
red[evilred] has joined #nixos
<red[evilred]>
oh sweet - a conversation I've been meaning to have
<red[evilred]>
reading back
lassulus has quit [Ping timeout: 246 seconds]
<pjt_tmp>
iso adventures?
<red[evilred]>
I have a Pi4 or six that I've been wanting to use
<red[evilred]>
I've gotta NixOS working mostly on it
<red[evilred]>
only the one issue
<red[evilred]>
taht being that nixos-rebuild isn't persistent
<red[evilred]>
otherwise everything else seems to work flawlessly
Fare has joined #nixos
<Fare>
jsonnet does have a concept of path relative to the current file, but I'm not sure it has string vs path context indeed.
<Fare>
It could probably be extended with it, though.
<Fare>
(the runtime of jsonnet isn't particularly impressive. The basic syntax and set of operators feels nicer than nix and its ugly builtins, though)
<pjt_tmp>
I gotta wonder if guix is better or not
<pjt_tmp>
I mean it's lisp (scary), but the config samples look clean
<Fare>
Lisp can be great or not, depending on how it's used. My language of choice is Gerbil Scheme, very close to GUIX... and one of the first thing I did was reimplement the jsonnet and nix object system...
<Fare>
that I discovered that T, an ancestor of all Schemes, had implemented in 1981 already(!)
<Fare>
(and some smalltalk systems in 1979)
<Fare>
though they weren't using the object system for configurations as in Nix, or type descriptors as in my code, but for graphical interfaces.
lassulus has joined #nixos
sigmundv has quit [Ping timeout: 264 seconds]
<pjt_tmp>
Fare: is there any lisp that is reasonably beginner friendly? Clojure and Shen have jumped out at me. It's mostly the nesting that has me nervous, I have a grasp on FP with Elixir
<Fare>
pjt_tmp: the Racket guys pride themselves on teaching thousands of students every year, from junior high to adults.
<simpson>
pjt_tmp: Racket's pretty cool, and available in nixpkgs.
<Fare>
"jumped out"—as in good or bad?
<Fare>
and of course, my Lisp of choice is Gerbil, the packaging of which is my main involvement in nixpkgs... but I wouldn't call it beginner friendly at the moment :-(
<Fare>
except for the welcoming community.
<pumpy>
what's standard way to change my "key rate"? like how long it delays till repeating a key and how fast it goes
<Fare>
pumpy: using xset ?
<pjt_tmp>
good. Even not speaking it, looking at clojure's impl of (for example) zippers made me go "hmm I think I like this", and shen also claims to clean up some of the weird historical cruft lisp accumulated
<pumpy>
Fare xset r rate?
lassulus has quit [Ping timeout: 256 seconds]
<Fare>
pumpy: man xset is more knowledgeable than me.
<Fare>
I consult it every so many years, write a config file, and forget
<Fare>
(My, unix is a mess—at least nixos is putting some sense in it)
MarcWeber has quit [Quit: Lost terminal]
heyitsrama has quit [Remote host closed the connection]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 240 seconds]
Supersonic112 is now known as Supersonic
aw has joined #nixos
spacefrogg has joined #nixos
Miyu-saki has quit [Quit: WeeChat 2.9]
lassulus has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
Fare has quit [Ping timeout: 264 seconds]
verdys has joined #nixos
verdys is now known as dyaso
<{^_^}>
[nixpkgs] @r-burns opened pull request #105749 → dolphinEmu: install udev rules on linux → https://git.io/JItcl
<bbigras>
matthewcroughan: no idea if not having it would prevent obs from launching but you might want to use the obs-wlrobs plugin if you are using wlroots
<bbigras>
I'll check if it launches on my laptop
<matthewcroughan>
I do have the obs-wlrobs plugin
<matthewcroughan>
it just won't launch
<matthewcroughan>
doesn't matter what magic qt wayland envvars I have
<bbigras>
it launched on my laptop with sway but I got some compositor errors
<matthewcroughan>
how did you get it to launch and what's your config look like?
<matthewcroughan>
mine is essentially literally this
<bbigras>
matthewcroughan: my config is github.com/bbigras/nix-config/ . I define obs with home-manager in users/bbigras/sway/default.nix and xdg.portal in systems/laptop.nix
<matthewcroughan>
got the contents?
<bbigras>
hang on
<matthewcroughan>
I'm grabbing a nix shell of it like this nix shell "github:colemickens/nixpkgs-wayland#obs-studio" --command obs
<steveeJ>
I'm facing an issue where `callPackage` and `callPackages` (I don't know in how these differ) called on a function that returns a plain set produces a set that has `override` and `overrideDerivation` attributes. how can I prevent this?
<steveeJ>
the rationale is that I'm trying to use `callPackage(s)` to get convenient autoresolve of function arguments
<mrlizard>
Hello. I have strange issue with nixos 20.09 and postfix extraConfig. Example of extraConfig: https://pastebin.com/RQQY3kab
<mrlizard>
However, in postconfig i see: smtp_tls_security_level = may milter_default_action = accept smtpd_milters = unix:/run/opendkim/opendkim.sock non_smtpd_milters = unix:/run/opendkim/opendkim.sock
<mrlizard>
On one line :/.
vidbina_ has quit [Ping timeout: 256 seconds]
<mrlizard>
Maybe something between chair and keyboard? :)
fendor has quit [Remote host closed the connection]
cosimone has quit [Quit: cosimone]
<srk>
nix just adds path to the store, you would need to create another derivation (for example using runCommand) to "modify" it. there's no modification possibly, you only create another derivation and use that instead
<srk>
hence the name derivation :)
<srk>
*possible
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
<Ke>
yes sure, but just --eval does not add it to store and without eval it's an error
<bqv>
about the ever-raging discussion on IFD, what are the current thoughts?
<lich>
hello! i am having difficulties installing nix on artix linux using the install script, idk even at why does that (sorry for screenshot log) https://file0.s3kr.it/ea54e2509660.png
gxt has quit [Quit: WeeChat 2.9]
<Ke>
infinisil: thanks, though I am now unsure, what I learned in the end
<bqv>
also, nice, if i eval with --option allow-import-from-derivation false, and it fails, i then can't eval even with it being true because it's a cached failure. heh
gxt has joined #nixos
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
<{^_^}>
[nixos-status] @garbas pushed to add-readme « branch rename master -> main »: https://git.io/JIqPc
philr has quit [Ping timeout: 256 seconds]
werner292 has joined #nixos
werner291 has quit [Ping timeout: 240 seconds]
werner292 is now known as werner291
<{^_^}>
[nixos-status] @garbas pushed to add-readme « add workflow for pull requests »: https://git.io/JIqPS
raghavsood has joined #nixos
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JIqPh
<steveeJ>
is there such a thing as a nixignore file? when using `./.` to get a directory into the store, it'd be nice to tell nix which files I don't want
cosimone has joined #nixos
<Taneb>
steveeJ: source filters! Um, let me find you a link
<mizukota[m]>
is there any update about c++20 modules support in compilers? Looks like no work is in progress...
<simpson>
Who is "I"? filterSource lets the Nix expression choose which files it does (and doesn't) want, but I don't think it's possible for the git repo author to do that.
<steveeJ>
thanks for that tip Taneb, worked like a charm
<steveeJ>
lich: I think your issue is worth a ticket on the nix repo. maybe you could find out what's looking for libX11 using strace as well
<lich>
steveeJ: ok, managed to move aur version of nix to the installation tar and then run ./install now things crash on https://file0.s3kr.it/eeaac949fb7c.png
<steveeJ>
lich: I'm afriad I have no idea what's going on there. I only have non-NixOS experience on Debian and that was rather smooth
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<steveeJ>
*non-NixOS experiennce with Nix ;-)
Jackneill has joined #nixos
jonatanb has joined #nixos
<lich>
steveeJ: I understand, I am planning to migrate to Nix anyways, my solution is crazy messy but will see if it will fit my needs now.
<angerman>
bsima: thanks!
<thibm>
lich: tbh, I don't understand why you got the first error, /nix/store/fwak7l5jjl0py4wldsqjbv7p7rdzql0b-nix-2.3.9/bin/nix is not linked to libX11
<lich>
thibm: I also dont, but using LD_LIBRARY_PATH=/usr/lib worked in availing it on next runs
respawn_ has quit [Quit: Leaving]
lassulus has quit [Quit: WeeChat 2.9]
mtr has joined #nixos
<thibm>
That's strange indeed. Perhaps it's in some executable invoked by nix-store, not nix-store itself (not sure what the error would look like in that case)
<cransom>
huh, implicitcad. i should poke that sometime and see if it solves any of the beefs with openscad.
<{^_^}>
[nixos-status] @garbas pushed to add-proxy « proxy /grafana and /prometheus »: https://git.io/JImUG
<teto>
evanjs: yep saw that one and because he kept getting complaints about the repo being broken, it finally motivated me to share my nix expression (it's pretty up to dat)
<evanjs>
also, waiting for the rustc-like error messages for nix. have seen them on nixUnstable and omg please
<evanjs>
*error message-formatting
<teto>
the new showtrace is quite verbose, I wish it were displayed in the reverse order since the most relevant message is usally at the top, it forces you to scroll :(
<aterius>
I was getting complaints about the repo being broken?
sangoma has joined #nixos
<aterius>
teto: *
<evanjs>
teto: it seems fine if I don't specify verbose, but yeah, been seeing the same complaints from e.g. infinisil and I would have to agree, at least sorting in the opposite direction might help
<evanjs>
Pretty colors and indicators though :D
Bla[m] has joined #nixos
<{^_^}>
[nixos-status] @garbas pushed to add-proxy « Use "correct" links in header navigation »: https://git.io/JImkt
<pinpox>
from npm when it builds and I don't understand why
bahamas has quit [Quit: leaving]
jonatanb has quit [Remote host closed the connection]
<{^_^}>
[nixos-org-configurations] @garbas pushed to serve-status-under-monitoring « Serve grafana and prometheus under monitoring.nixos.org »: https://git.io/JImtb
jonatanb has joined #nixos
<{^_^}>
[nixos-org-configurations] @garbas opened pull request #138 → Serve grafana and prometheus under monitoring.nixos.org → https://git.io/JImqf
<steveeJ>
pinpox: I don't know too much about npm. generally the buildPhase can't access the network by design. you could try to use https://github.com/svanderburg/node2nix
<pinpox>
steveeJ: I looked at node2nix aswell, but I don't understand how to use it ot create the package
<pinpox>
I'v generated some .nix files from the packages.json file, but what do I do with those?
<matthewcroughan>
does anyone know how to to nuke system state on reboot?
<teto>
with the apt installed nix version, I get "error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': Permission denied " even though I ama trusted-user. The socked is suid with u+rw ? nix-daemon logs show nothing. Any idea ? (2.3.4)
<Lordcirth>
teto, ls -l? Mine is "srw-rw-rw- 1 root root 0 Dec 1 09:10 /nix/var/nix/daemon-socket/socket"
<Lordcirth>
You said yours is srw-?
<Lordcirth>
What about 'other' permissions?
<{^_^}>
[nixpkgs] @gebner opened pull request #105802 → pax: init at 20201030 → https://git.io/JImsJ
malook has quit [Quit: malook]
<teto>
lordcirth: I have the same for the socket but I had to `sudo ls`, permissions to daemon socket have `drwxrwx--- 2 root nix-users 4096 déc. 3 16:39 daemon-socket `. I wonder if I should add myself to nix-users, I cant find the doc on the nix ubuntu package describing that
<Lordcirth>
teto, then probably you are missing permissions to the dirs above. Maybe the installer did add you to nix-users but you need to log in again?
stzsch has joined #nixos
costrouc has quit [Read error: Connection reset by peer]
costrouc has joined #nixos
<mtr>
pinpox: the node2nix readme has a section on packages with binaries that need to be available
costrouc has quit [Remote host closed the connection]
<teto>
lordcirth: that's it I had to add myself to nix-users (the installer didn't do it, I think that's meant as a security since @sudo is trusted by default)
endformationage has joined #nixos
<teto>
no mention of this anywhere xD
<mtr>
pinpox: you basically make a supplemental list of packages of tools that need to be available when the thing builds
jonatanb has quit [Remote host closed the connection]
<mtr>
I think building electron apps under Nix is non-functional rn because they require the chrome-driver, and the package for that tries to download the driver at build-time, which Nix disallows
hyper_ch2 has joined #nixos
hyper_ch4 has quit [Ping timeout: 260 seconds]
jonatanb has joined #nixos
<steveeJ>
pinpox: I really suggest making node2nix work, it's likely your best bet. I made it work once so I know it's possible :-D
<{^_^}>
nix#4295 (by fzakaria, 2 days ago, open): error: moving build output '/nix/store/...-source' from the sandbox to the Nix store: Permission denied
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JIm2R
saschagrunert has quit [Quit: Leaving]
<abathur>
fzakaria: I haven't seen this and am not terribly knowledgable here, but I found an older PR/issue with the same error in case it helps nix#3321 and nix#2984
<fzakaria>
I think the message is somewhat generic in the Nix source itself
<fzakaria>
but it's pretty reproducible for myself & others.
<fzakaria>
NixOS is multi-user correct ? Which may be why many can't reproduce.
<fzakaria>
It's definitely tied to single-user installation
growpotkin has joined #nixos
<fzakaria>
(Wow Nix takes a while to build)
<abathur>
I agree that it sounds like it (and those issues posit why), though I'll note that I haven't seen this in single-user on macOS, so it may just be linux?
zupo has joined #nixos
wnklmnn has joined #nixos
Ariakenom has joined #nixos
sss2 has quit [Quit: Leaving]
Izorkin has quit [Ping timeout: 246 seconds]
kalbasit_ has joined #nixos
Izorkin has joined #nixos
kalbasit has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 72 commits to staging-next: https://git.io/JImV5
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 73 commits to staging: https://git.io/JImVF
alp has joined #nixos
jonatanb has quit [Remote host closed the connection]
xcmw has joined #nixos
jonatanb has joined #nixos
jonatanb has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @jonringer pushed 2 commits to staging-next: https://git.io/JImwx
werner292 has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
genevino has quit [Remote host closed the connection]
heyitsrama has quit [Remote host closed the connection]
heyitsrama has joined #nixos
captn3m0 has quit [Ping timeout: 272 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Guest16519>
Hi! I'm currently getting started with NixOS and am trying to get unstable and the emacs-overlay to work. I'm adding the overlay inside the unstable import in my configuration, but I think this way it isn't able to find other unstable packages (specifically libgccjit) during installation: https://pastebin.com/0dAm519L I would be grateful for any
<Dandellion>
timokau: Is there any info somewhere to find about using sage on nixos?
<red[evilred]>
thanks luke
<srhb>
Guest16519: I think the confusion here is _what_ <nixpkgs> refers to
<raboof>
to be able to use nix-shell inside the image, I guess I have to include the nixpkgs collection somewhere and point the 'nixPath' to that. what would be the typical way to include a nixpkgs collection?
<srhb>
Guest16519: Can you check root's NIX_PATH env var?
<lukegb>
tpw_rules: pkgs.writeShellScriptBin will give you a derivation with a shellscript in bin/
<Guest16519>
colemickens: ah, sorry I stripped out the '{ config, pkgs, ...};' which is the first line in my configuration.nix
<{^_^}>
[nixpkgs] @chkno opened pull request #105819 → python3Packages.jsonstreams: Init at 0.5.0 → https://git.io/JImM0
<srhb>
Guest16519: I would guess that you have a nixpkgs channels as your user that points to unstable, but not as root.
meh` has joined #nixos
<srhb>
Guest16519: For this configuration to work, I assume your intention was to have nixos and nixpkgs channels as root, one being stable and the other unstable.
<tpw_rules>
lukegb: oh so it will. i must have messed the syntax up or something earlier. thanks!
<srhb>
Guest16519: (By the way, I think it would be much less confusing to fetch the correct nixpkgs source _inside_ your config)
<srhb>
Guest16519: and sudo nix-channels --list?
<srhb>
nix-channel, sorry
<colemickens>
oh look, it's this conversation again
<srhb>
Guest16519: From that path entry, root's nixpkgs points to root's "nixos" channel
<srhb>
colemickens: Indeed...
<vika_nezrimaya>
If I want to use CUPS with foo2zjs, which options do I need to set in services.printing? Let's say I have a HP LaserJet 1018 printer - I heard it works with foo2zjs
<Guest16519>
srhb: yes, this is what I wanted to do, nixos as stable and nixpkgs as unstable
<srhb>
Guest16519: And what does `sudo nix-channel --list` say?
<srhb>
pikajude: The easiest way is to build the driverInteractive runner and start the runner from there.
<pikajude>
ok
<srhb>
pikajude: That will give you an entire qemu console (per machine)
<energizer>
is there a different driver i can use instead of amdgpu?
<pikajude>
i see
<pikajude>
i'll try to figure out how to build driverInteractive, i don't know what that is
<srhb>
pikajude: Which test are you lookingat?
<pikajude>
mine
<srhb>
pikajude: If you're using the usual test harness, it'll be an attribute in the test itself. eg for the installer.luksrot test, I would do: nix-build installer.nix -A luksroot.driverInteractive
<pikajude>
oh
Guest16519 has quit [Remote host closed the connection]
<srhb>
pikajude: In the result symlink, there will be launcher scripts.
<pikajude>
right, that doesn't exist for me
<pikajude>
the `driver` attribute exists
<pikajude>
and the `inputDerivation`
<pikajude>
but `driverInteractive` doesn't
<srhb>
pikajude: Are you on an older nixpkgs?
<pikajude>
20.09
<srhb>
pikajude: It's just `driver` then, I think, and inside _that_ result symlink, there's an interactive variant
<pikajude>
oh
<pikajude>
yeah, i found an exe called `nixos-run-vms`, it just doesn't give me a shell ever
<pikajude>
just a ton of output
<srhb>
pikajude: pikajude t'll be the one called test-driver or somesuch
<pikajude>
so it's `Machine`, not `machine`, and the `succeed` function doesn't ever produce output
<pikajude>
so that doc is a little out of date ,possibly
<srhb>
pikajude: I believe `machine` is just the name of your specific machine, so if you named it `Machine`, then that's its name, though I think that's not very canonical :)
<pikajude>
oh, maybe `machine` just isn't defined, i don't know how python works
<pikajude>
oh it's machines[0]
<srhb>
pikajude: You probably named your machine something easier.
<pikajude>
nginx tries to chown something inside /var/cache/nginx, but that path is owned by root and doesn't grant exec privileges to the group (nginx)
<pikajude>
i can't find it in a search through nixpkgs, so, is there a service that creates that directory?
<srhb>
pikajude: I believe systemd sets it up via CacheDirectory
<qyliss>
might have been helpful to mention in the commit message :)
<afreak>
srhb: i managed to build wine with mingwSupport, but I couldnt get wine-staging to build with mingwSupport, do you have any tips :) ? here is my overlay and error https://kopy.io/bvtq2#Qopx8UQssEXB8Y
Boomerang has quit [Ping timeout: 256 seconds]
<srhb>
afreak: Sorry, I'm heading to bed, maybe someone else can help :)
<afreak>
aha np :p
<afreak>
missing dependency: hexdump, not sure how i would add that in, and weird how wine built, but not wine-staging, they seem to have almost the same nix-expression
<pikajude>
ok, well, the problem was the opposite of what i thought it was
<pikajude>
the "permission denied" message is what root is seeing lol
<teto>
lordcirth: actually my problem on ubuntu (with the nix-users group) is mentioned in the nix manual my bad, it's the recommended way to deal with multiinstall in some way
<jlamothe>
So, I've noticed that Gaupol doesn't appear to be in the NioOS repositories. I've tried to create a derivation, but I'm running into a problem.
<jlamothe>
The command being issued is: msgfmt po/cs.po -o locale/cs/LC_MESSAGES/gaupol.mo
<{^_^}>
[nix] @edolstra pushed 0 commits to group-commands-v2: https://git.io/JImjg
<jlamothe>
git grep is finding no instances of that specific command.
cr4y1_ has joined #nixos
__monty__ has quit [Quit: leaving]
<jasom>
jlamothe: manually adding it to the path in preUnpack fixes it. I suspect it has something to do with how the python specific derivation builder works
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
<jasom>
jlamothe: some quick testing makes it look like adding it to nativeBuildInputs makes it available at build-time; propagatedBuildInputs puts it in the makeWrapper. That's not contradictory to what I read in the docs, but not clear either from the docs that it's what will happen
Boomerang has quit [Ping timeout: 256 seconds]
philr has joined #nixos
eoli3n has joined #nixos
aswanson has quit [Quit: aswanson]
aswanson has joined #nixos
werner292 has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<fuzzypixelz>
also, manifest.nix is empty on my system. none of this makes any sense!
<jlamothe>
moving it to nativeBuildInputs doesn't seem to make a difference.
cr4y1 has joined #nixos
<fuzzypixelz>
could it be because all my packages are "system-wide" packages?
eoli3n has quit [Ping timeout: 272 seconds]
<{^_^}>
[nixpkgs] @rnhmjoj pushed 2 commits to release-20.09: https://git.io/JIYv7
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
<fuzzypixelz>
why do we have /nix/var/nix/profiles/system AND /run/current-system ?
Rusty1 has joined #nixos
Darkmatter66 has joined #nixos
<niksnut>
because you can switch to another configuration without changing the system profile
<niksnut>
e.g. with nixos-rebuild test
cosimone has quit [Quit: cosimone]
cr4y1 has joined #nixos
aaabbbbbbbbbb has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<fuzzypixelz>
what is the system profile for then?
<aaabbbbbbbbbb>
Hi, how can found out what's different among two of my boot configurations, because the newest one is producing a kernel panic while the old one still works ok?
<jasom>
fuzzypixelz: where does /run/current-system come from at boot? Where are does it come from when you roll back to an older system?
<aaabbbbbbbbbb>
energizer, how can I get a list of nix derivations, the ones that show up at boot?
<energizer>
aaabbbbbbbbbb: `nix-store -qR /path/to/system` or something like that maybe
rgrau has quit [Ping timeout: 256 seconds]
lordcirth__ has joined #nixos
slabity has quit [Quit: authenticating]
slabity has joined #nixos
<{^_^}>
[nixpkgs] @svanderburg pushed to master « nodejs: apply patch that allows packages with native dependencies to compile again on darwin by bypassing xcodebuild »: https://git.io/JIYLN
<{^_^}>
[nix] @matthewbauer opened pull request #4310 → Add "extra-platforms" automatically for → https://git.io/JIYt3
<{^_^}>
[nixpkgs] @svanderburg pushed to release-20.09 « nodejs: apply patch that allows packages with native dependencies to compile again on darwin by bypassing xcodebuild »: https://git.io/JIYqk