<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeQ8A
boegel has quit [Remote host closed the connection]
boxscape has quit [Remote host closed the connection]
ng0 has quit [Quit: Alexa, when is the end of world?]
lovesegfault has quit [Ping timeout: 265 seconds]
cinimod`` has quit [Ping timeout: 240 seconds]
vuko has quit [Quit: leaving]
vuko has joined #nixos
jwinnie has quit [Ping timeout: 276 seconds]
fragamus has joined #nixos
jluttine has quit [Ping timeout: 265 seconds]
lovesegfault has joined #nixos
jwaksbaum[m] has joined #nixos
zeta_0 has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<jwaksbaum[m]>
What's the recommended way to run a custom kernel with a custom kconfig? I've tried to use linuxPackages_custom, and I can build the kernel, but when I set it as boot.kernelPackages it complains about missing attributes like version or features.
<clever>
jwaksbaum[m]: you must use this function, to generate a linuxPackages set around a given kernel
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<jwaksbaum[m]>
clever: I've tried that and it still had missing attributes, but maybe I did it wrong. It seems like linuxPackages_custom returns a linuxPackages set already. Should I pass that to linuxPackagesFor, or should I get the kernel from that set and pass that to linuxPackagesFor?
<clever>
jwaksbaum[m]: linuxPackages_custom is a function, which will take a version+src+configfile, and then wrap whatever linuxManualConfig made with that
<clever>
jwaksbaum[m]: so i think you want boot.kernelPackages = pkgs.linuxPackages_custom { version = "123"; src = /path/to/source; configfile = ./config; };
<clever>
src could also be another nix expression or derivation
<pie__>
how can I build-vm such that the vm has a copy of the configuration?
<clever>
system.copySystemConfiguration
<clever>
If enabled, copies the NixOS configuration file (usually /etc/nixos/configuration.nix) and links it from the resulting system (getting to /run/current-system/configuration.nix). Note that only this single file is copied, even if it imports others.
<clever>
pie__: ^^
<jwaksbaum[m]>
clever: right, that's what I have. I can build the kernel from that set separately, but using the whole thing as boot.kernelPackages gives the missing attributes. I also checked this with linuxPackages_custom_tinyconfig_kernel, where the actual kernel builds, but the whole set won't even evaluate to a derivation. So I think there's something wrong with linuxPackages_custom maybe?
<clever>
jwaksbaum[m]: what error does it give, and what exactly did you set in configuration.nix?
jwinnie has joined #nixos
<{^_^}>
[nixpkgs] @flokli opened pull request #75673 → exa: apply patch to not panic on broken symlinks → https://git.io/JeQ4t
zeta_0 has joined #nixos
<jwaksbaum[m]>
clever: I don't have it in front of me right now (I'm sorry). but I know that I get the same result if: find the linuxPackages_custom_tinyconfig attribute in all packages, and see that it builds a linuxPackages set and then gives the kernel of it. Try to instantiate the whole set instead of just the kernel and it will give the error. Or I will send the exact error message when I am able.
cinimod`` has joined #nixos
<pie__>
clever: thanks <3
hlolli_ has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @andir merged pull request #75673 → exa: apply patch to not panic on broken symlinks → https://git.io/JeQ4t
<{^_^}>
[nixpkgs] @flokli pushed to release-19.09 « exa: apply patch to not panic on broken symlinks »: https://git.io/JeQ4Y
<zeta_0>
clever: i finally finished fixing the problems i had with my git configurtion in home.nix, now i was wondering if you could help me with some of the steps involved in building ghc?
<clever>
zeta_0: ive only built ghc under nix-build, never under nix-shell
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeQ43
<pie__>
um..I guess that didnt work.
<pie__>
clever: sigh ok, so what I *actually* want to do is be able to run nixos-option inside the vm
<pie__>
to inspect stuff
<clever>
pie__: why?, you can run it from outside if you set the right flags
vld has joined #nixos
<pie__>
because the nixos-option thats running on my system isnt the new fancy c++ one
<clever>
pie__: the vm thing simply adds a file to imports
<clever>
pie__: so you could add it to imports yourself
<pie__>
oh yeah
<pie__>
weird. looks like unstable changed something and now you need to set partiiton information or something for a vm?? https://bpaste.net/show/D7HGO
<gchristensen>
this has always been true afaik
<gchristensen>
hum
<pie__>
well, somethings screwy because the output doesnt change even if i add boot.loader.grub.devices = [ "nodev" ];
<pie__>
and I guess I cant really inspect anything because trying to eval it fails the assertion
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
emily has quit [Remote host closed the connection]
cinimod`` has quit [Ping timeout: 265 seconds]
<pie__>
ok i did some sory of lazy PEBCAK when I exposed the variable
emily has joined #nixos
<pie__>
i think it works now
<pie__>
._.
noudle has quit []
o1lo01ol1o has joined #nixos
<pie__>
infinisil: wild guess: mkIf will let me predicate on whether a module option has been set?
<nh2>
in a python package, how can I check if it's being built with python3 or 2 in nix?
<clever>
pie__: i think that mkIf and mkMerge can be recursively pushed down
<clever>
pie__: so if you do `config = mkIf condition { a=1; b=2; };` and something needs to read `config.c`, it will automatically translate into `config = { a = mkIf condition 1; b = mkIf condition 2; }`
<clever>
pie__: then nix can safely figure out what `config.c` is, and worry about a/b later
<fresheyeball>
hmm
<fresheyeball>
I am getting timeouts on all docker requests
<fresheyeball>
I can't login or pull images
<pie__>
clever: I think I kind of need this in the "other direction"; anyway here's what im trying to do:
<pie__>
infinisil: a further reason it doesnt work is mkIf returns some kind of set structure and imports expects a list
felixfoertsch23 has joined #nixos
<pie__>
infinisil: dumb workaround: always include the imports, just have them check inside
<{^_^}>
[nixpkgs] @nh2 opened pull request #75677 → glog: Add upstream patch to fix tests with musl. → https://git.io/JeQB4
felixfoertsch has quit [Ping timeout: 240 seconds]
fragamus has joined #nixos
<pie__>
is it visible here whats going wrong, or is this some module system related mess that my calling coonvention broke? https://bpaste.net/show/2XFLI
<pie__>
looks like more pebkac, my workflow isbad
hmpffff_ has joined #nixos
hmpffff has quit [Ping timeout: 276 seconds]
wavirc22 has quit [Read error: Connection reset by peer]
<clever>
lovesegfault: oh, and also try doing a git bisect
<clever>
[ 5.491912] Please append a correct "root=" boot option; here are the available partitions:
<clever>
:O!!!
<clever>
i think i did it!
<lovesegfault>
clever: Can bisect automagically find the first failure?
<clever>
lovesegfault: start by running `git bisect bad` to tag the current one as bad
<clever>
lovesegfault: then go to `job->overview` to see every build hydra has done for that, and find one where it worked, then run `git bisect good <rev>`
<clever>
lovesegfault: then just repeatedly nix-build the test, and `git bisect good` or `git bisect bad`
vld has joined #nixos
<lovesegfault>
clever: Trying
<clever>
bisect can also be told to run nix-build directly, but ive never trusted that mode
ajs124 has quit [Quit: Gateway shutdown]
<lovesegfault>
I see :P
<lovesegfault>
I'm bisecting
<clever>
lovesegfault: you can also `git bisect view` if you have gitk installed
<lovesegfault>
5 steps left
<clever>
then you can see every change between good&bad
<lovesegfault>
clever: gitk?
<{^_^}>
[nixpkgs] @marsam opened pull request #75679 → grafana-loki: fix build on darwin → https://git.io/JeQB9
<clever>
lovesegfault: install gitAndTools.gitFull instead of git, and youll get `gitk` and `git gui`
<lovesegfault>
Oh, I have gitFull IIRC
<clever>
lovesegfault: then whack a `git bisect view` into that shell and oogle at it!
<lovesegfault>
:O
<lovesegfault>
This is nice!
<clever>
you can also `gitk` to just view relative to the current rev
<clever>
and `gitk branch1 branch2` to force both branches to be visible
<clever>
lovesegfault: i have a single nix-build command, that can build arm assembly, vc4 assembly, a linux kernel, and then assemble all of them into a single directory
<clever>
dansho: is clangd being ran under nix-shell with clangStdenv?
<lovesegfault>
clever: That's wild
<clever>
lovesegfault: you try getting 3 cross-compilers setup without nix :P
<lovesegfault>
you also have that not-os thing :P
<lovesegfault>
clever: I had it on Gentoo and it was tough
<dansho>
clever: i just have buildInputs = [ clang clang-tools ];
<clever>
dansho: you must use clangStdenv if you want clang working
<dansho>
i swear it was working a few hours ago
<dansho>
i added clangStdenv to buildInputs, didn't help
<clever>
dansho: replace stdenv.mkDerivation with clangStdenv.mkDerivation
<clever>
then it gives you clang automatically, without any clang in buildInputs
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}>
#75668 (by jtojnar, 6 hours ago, open): Another batch of Python 2 removals
<worldofpeace>
do pretty cool stuff, care a lot, committers notice this, time passes, for you to contribute in the way you need to (and we trust you) you need to have commit bit. Some one with privileges will give it to you.
<worldofpeace>
^ lovesegfault
<lovesegfault>
worldofpeace: I see, I gave up on getting my Gentoo commit bit after they asked me a huge (HUGE) quiz which annoyed me
EdLin has joined #nixos
<worldofpeace>
lovesegfault: we don't really have a process really yet https://github.com/NixOS/nixpkgs/issues/50105. So it's pretty organic, and about earning people's trust through interactions.
<{^_^}>
#50105 (by Infinisil, 1 year ago, open): New nixpkgs committers requirements/process
<dansho>
how can i use this with clangd?
<dansho>
or is there another c language server that will work out of the box on nixos?
<lovesegfault>
worldofpeace: Oh, sweet :)
<DigitalKiwi>
i don't trust anyone that loves segfaults with commit bit ;p
<DigitalKiwi>
(luckily for you i hold no power in that decision so :P)
<worldofpeace>
lovesegfault: but there's a lot of responsibility. one couldn't perform this task properly if they arent' informed enough. because people will see you as an instant authority of what should and shouldn't be in nixpkgs/nixos.
<lovesegfault>
DigitalKiwi: every segfault is one more year of job security
<lovesegfault>
My non-evil twin brother however convinced work to move to Rust
<lovesegfault>
haven't seen a segfault in over a yea
<lovesegfault>
*year
<lovesegfault>
Oh I miss valgrind
<DigitalKiwi>
i've been seeing segfaults about every day now :<
<DigitalKiwi>
unfortunately they're in the kernel
<lovesegfault>
yikes
<clever>
DigitalKiwi: [ 0.000000] Division by zero in kernel.
<clever>
DigitalKiwi: ive just solved that one today, lol
<adamantium>
hi , using the nix pkg manager on another distro-- How can I install nixpkgs.pinentry-emacs . I tried nix-env -i pinentry-emacs and it error: selector 'pinentry-emacs' matches no derivations
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeQ0f
<lovesegfault>
worldofpeace++
<{^_^}>
worldofpeace's karma got increased to 51
<lovesegfault>
thanks for the merge
<worldofpeace>
lovesegfault: Merged ✨
<lovesegfault>
🚀
<pie__>
idk why but xfce is the only desktop that works for me in qemu
<worldofpeace>
Nice. Somedays I'm good at this, and other days I endorse totally broken changes 🤣
fragamus has joined #nixos
<EdLin>
pie__: KDE works for me, but it launches real slow with the nixos vm creator, maybe it's defaulting to one core or something?
<EdLin>
it takes forever, be patient. :P
<DigitalKiwi>
we use an older version of the startkde which might be slower than the one the rewrote in c++ that other distros use
<EdLin>
for a long time you just get a blank screen
* DigitalKiwi
is not convinved of the necessity of that change for improving speed but that's how it is
<EdLin>
I dunno, shell scripts for inits worked fine before systemd. <grumble>
<worldofpeace>
Well, not to mention all processes are lauched through wrapper scripts. There's now a greater noticable overhead.
<EdLin>
ouch
<EdLin>
wow, lots of stuff got updated in the last 27 hours or so.
<pie__>
hm
<DigitalKiwi>
people used to always complain about yaourt (bash wrapper around pacman on arch linux) being slow. excuse was it was slow because it was bash (spoiler: it wasn't) and could not be improved. i wrote one in lua that was hundreds of times faster (clyde). at the same time someone wrote another bash version (packer) that was sufficiently fast dispelling all myths that yaourt was slow because it was bash (and at some point it started to improve somewha
<DigitalKiwi>
t in large part because of the additional clyde/packer competition :) )
<DigitalKiwi>
tl;dr sometimes bash programs are just slow because they're not written well not out of necessity *shrug*
<DigitalKiwi>
caveat: this extends to all programs not just bash heh. rewrites are often better just because they're rewritten with more care and the language/runtime isn't as much of a factor as it seems
<EdLin>
I just installed git, and at the same time updated my whole system
<worldofpeace>
DigitalKiwi: Though you're correct. Startup there is slow for a different reason.
o1lo01ol1o has joined #nixos
<DigitalKiwi>
oh
<EdLin>
authentication failed.
<clever>
EdLin: did you tell github about your ssh keypair?
<EdLin>
I use 2fa on my github account, how do I use git now?
<lovesegfault>
I recommend using one just for GH stuff
o1lo01ol1o has quit [Ping timeout: 240 seconds]
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
<EdLin>
I told KDE to save the password, now git no longer asks for my password, and just fails.
<Unode>
hi all, Every once in a while I get in troubles with sudo asking for password despite having NOPASSWD rules in place. These rules worked during the last install and stopped working after the latest update.
<Unode>
Any suggestions how to troubleshoot what could be causing this?
<EdLin>
I'd put in the wrong password btw
<Unode>
this = sudoers/passwordless commands still asking for password
<EdLin>
lovesegfault: I created a seperate non-default SSH key, how do I tell git to use it?
<EdLin>
I put the key in there too, the public one
<EdLin>
but I don't think git is trying to use it
<lovesegfault>
EdLin: Ah, then it should just work
<lovesegfault>
did you add it to your ssh keyring?
<lovesegfault>
ssh-add -l
<EdLin>
could not open a connection to your authentaction agent
<clever>
then an agent isnt running, and ssh will load ~/.ssh/id_rsa by default
is_null_ has joined #nixos
<EdLin>
what agent?
<clever>
EdLin: what does `ssh git@github.com` report?
<lovesegfault>
EdLin: An ssh agent
<EdLin>
permission denied publickey
ntsrth^ has quit [Read error: Connection reset by peer]
<lovesegfault>
Yeah, your ssh agent isn't running
<clever>
an agent isnt needed
<EdLin>
brb
<lovesegfault>
clever: Fair
<clever>
it just makes it simpler if you have a pw
is_null has quit [Ping timeout: 276 seconds]
<EdLin>
I tried to add the one in the configuration.nix file, it now says "cannot make a connection to the authentication agent
<lovesegfault>
EdLin: What does that mean
<EdLin>
for ssh-add -l
<lovesegfault>
add what
<EdLin>
the new non-default key
<EdLin>
I need to add it for git.
<clever>
EdLin: short term, try doing: eval "$(ssh-agent)" and then ssh-add
vld has joined #nixos
<EdLin>
the agent has no identities
<EdLin>
whatever that means
<lovesegfault>
EdLin: ssh-add the key
<lovesegfault>
ssh-add ~/.ssh/whateverkey
<EdLin>
that's precisely what I typed in!
<clever>
EdLin: the error only happens if you use `-l`
<EdLin>
oh
<EdLin>
I did the -l
<clever>
then thats not precisely what you typed in!
<EdLin>
ah....
<EdLin>
I added the pub key also, it complained about permissions, it wanted a different file...
<EdLin>
lol
<clever>
you only add the private key to the agent
<clever>
it computes the public from the private
<EdLin>
OK, now to try git clone.
<lovesegfault>
yep
<EdLin>
invalid user name or pasword
<EdLin>
authentication failed
<clever>
EdLin: you have to clone from git@github.com:owner/repo
<clever>
not https://
<lovesegfault>
EdLin: reference the ssh url, git@github.com:PloniAlmoni/nixos.git
<EdLin>
permission denied publickey
<EdLin>
could not read from remote repository
<clever>
EdLin: what does `ssh git@github.com` report?
<EdLin>
permission denied (publickey)
<lovesegfault>
did you close your terminal since running `eval "$(ssh-agent)"`?
<clever>
EdLin: then your ssh key isnt working yet
<EdLin>
yes
<EdLin>
(lovesegfault)
<clever>
EdLin: that broke your connection to the agent, re-start the ssh-agent, and redo ssh-add
<lovesegfault>
^
fragamus has quit [Ping timeout: 265 seconds]
<EdLin>
same errors
<clever>
EdLin: does `ssh-add -l` show a key?
<lovesegfault>
EdLin: That means nothing to me, which errors
vld has quit [Ping timeout: 240 seconds]
<EdLin>
I ran ssh-add again
<EdLin>
It worked!
<lovesegfault>
Again, eval "$(ssh-agent)"
<EdLin>
I think.
<EdLin>
I ran eval also before
<lovesegfault>
then ssh-add ./ssh/yourkey (not the .pub!)
<EdLin>
with ssh-agent.
<lovesegfault>
then ssh-add -l should show you a key
<lovesegfault>
then git clone ...
<clever>
and then test with `ssh git@github.com`
<EdLin>
it's working now I said.
<lovesegfault>
Sweet
<clever>
having an ssh agent configured, will automate the `eval "$(ssh-agent)"` step
<EdLin>
do I have to run ssh-agent manually every tyime?
<clever>
and share it between every terminal
<EdLin>
I'd like that. Sorry for the noob questions.
<clever>
programs.ssh.startAgent
<clever>
Whether to start the OpenSSH agent when you log in. The OpenSSH agent remembers private keys for you so that you don't have to type in passphrases every time you make an SSH connection. Use ssh-add to add a key to the agent.
<lovesegfault>
EdLin: if you use gnome-keyring and seahorse it will unlock your keys on login too, it's neat
<EdLin>
wow, this zsh myzsh stuff is sweet, has an informative prompt for when I'm in a git tree
<EdLin>
lovesegfault: I'm using KDE
<lovesegfault>
EdLin: Doesn't matter, but you can use kde passwords or w/e
<EdLin>
wow, the prompt changed colors when I added a file too. <3
<EdLin>
zsh is awesome.
<clever>
bash can do the same things
<clever>
its just a matter of enabling it
<EdLin>
I see.
<clever>
some people just make everything on by default :P
<lovesegfault>
3. git commit -m "Oh hey another change!"
<lovesegfault>
4. git push
andrewrk has left #nixos ["Leaving"]
<EdLin>
OK, thanks for putting up with me. The nixos community's nice. <3
<lovesegfault>
EdLin: Np, glad you got it working!
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
<worldofpeace>
EdLin: NixOS irc is a serious level up for anyone who enters
<EdLin>
worldofpeace: I agree with that assesment, I would have either gotten flamed or not any useful help most places for a question like this.
<EdLin>
I figured that if I want to benefit from nixos's easy deployment, I'd want a place to store my nixos configuration files....
<EdLin>
so I figured github would be a good idea...
<EdLin>
I definitely learned some useful stuff today.
<EdLin>
how do I store the password in the KDE equivalent of gnome-keyring btw?
<EdLin>
if one exists....
<EdLin>
that sounded useful
<lovesegfault>
EdLin: I think it's called KPassword
<lovesegfault>
But I don't use it and cannot be of much help
<worldofpeace>
Kwallet
<worldofpeace>
should work out of the box, but I think plasma5 gets less qa in nixos.
ddellacosta has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
oldandwise has joined #nixos
<EdLin>
worldofpeace: hm, I'd assumed KDE was better for nixos because it had an example installation in the config file.
<oldandwise>
i think this is currently a bug in nixos as i'm working on a niche javacard stuff. How do i work around this? I tested that gradle is fine, but during conversion to cap i encounter this error https://termbin.com/krlk
<lovesegfault>
EdLin: I use sway with Gnome stuff (gdm, seahorse, gnome-keyring)
<lovesegfault>
oldandwise: You should talk to ekleog
<lovesegfault>
He's a javacard master
<EdLin>
lovesegfault: sway is not an option, nvidia card. :(
<oldandwise>
I launched my shell by `nix-shell -p gradle -p openjdk8`
<lovesegfault>
EdLin: Just use the intel one :D
<worldofpeace>
EdLin: that's just my evaluation. I make Gnome work well, and I see a slower stream of commits for plasma5
<EdLin>
on an AMD FX?
<EdLin>
no igpu here. lol
<EdLin>
I do plan on getting an AMD host card for my upcoming VFIO passthrough stuff tho
<EdLin>
my 750ti died, I was using that earlier
<oldandwise>
java,javac and $JAVA_HOME do exists...
ddellacosta has quit [Ping timeout: 240 seconds]
vld has joined #nixos
domogled has joined #nixos
<EdLin>
worldofpeace: how would I switch from KDE to GNOME? What do I need to add?
<worldofpeace>
EdLin: using your configuration.nix
<worldofpeace>
man configuration.nix
<worldofpeace>
or the options section in your local nixos manual
<wavirc22>
Hi. In nixos add systemd services to the "config.services" dictionary outside of the nixpkgs repository, do I need to use an overlay? What I'm trying to do is something like this: """let cfg = config.services.myapp; in { config = mkIf cfg.enable { ...; users.groups.myapp.gid = config.ids.uids.myapp; } }"""
<wavirc22>
My problem atm seems to be that config.ids.uids.myapp is not available. How would I update that list to it's available in my definition?
<clever>
wavirc22: you dont have to set the uid or gid of your thing, nixos will just auto-generate one on startup
<ivan>
~/code is a symlink to some NFS but this machine with the symlink problem has been rebooted many times
<ivan>
not sure I'm shutting down properly
<clever>
ivan: how do you shutdown the machine?
<wavirc22>
clever: thanks :)
<ivan>
but my /etc is on XFS and it should be saved after ~30 seconds, no?
<ivan>
clever: I wait a little bit for systemd to try to unmount things and then I force it off
<clever>
ivan: why is it hanging? you should probably fix that issue first
<ivan>
something to do with NFS
<clever>
ivan: i think you need a special flag to make systemd aware that nfs is using the network, and to umount those before shutting off the network
<ivan>
ah, thanks
<ivan>
that would explain it
wavirc22 has quit [Read error: Connection reset by peer]
jwinnie has quit [Ping timeout: 268 seconds]
viric has quit [Read error: Connection reset by peer]
jwinnie has joined #nixos
viric has joined #nixos
Heirlung- has joined #nixos
jwinnie has quit [Client Quit]
Heirlung has quit [Read error: Connection reset by peer]
Heirlung- is now known as Heirlung
rardiol has quit [Ping timeout: 265 seconds]
<raboof>
gchristensen: btw I'd be happy to update https://r13y.com every now and then until the autobuilder is back
<raboof>
(I guess we could make an account that has no permissions except writing to /var/lib/nginx/r13y/r13y.com)
<`_>
Having an odd error, I'm trying to build a package, and during the build it needs to perform an SVN checkout. For some odd reason, it's saying that it can't connect to the repo due to an unknown hostname, however if I manually svn checkout it works. Any ideas?
ixxie has joined #nixos
EdLin has joined #nixos
<clever>
`_: nix disables all network access during a build, you must use pkgs.fetchsvn to fetch from svn
<`_>
To clarify: When I run `nix-env -f file.nix -i package` it tries to perform the checkout and fails due to an unknown hostname, but if I subsequently run the exact command that failed in my CLI it works.
<`_>
Oh
<`_>
Wait really
<clever>
`_: also, you want to use `nix-build file.nix -A package` for testing, nix-env isnt suited well for testing
<clever>
`_: yes, the network is disabled to make sure the builds are reproducable
<`_>
Ah thank you
<`_>
Ohhhhhhhhh good point
orivej has joined #nixos
<`_>
Ok looks like I've got a bit of work to do then.
<`_>
This isn't my project
<clever>
`_: does the script detect if things are already checked out at a certain dir?
<`_>
Nope
<clever>
`_: then it may need to be patched by the nix build process
<`_>
Yeah that's what I'm thinking
<`_>
As an aside, any idea as to why basically none of the haskellPackages seem to work anymore?
<clever>
`_: they seem to work just fine for me, how are you testing them?
<`_>
That's an exaggeration obviously, but the ones I've used previously seem to be broken
<clever>
how do they fail?
<`_>
They're ones I've previously had installed on another system, dhall2nix, jenkinsPlugins2nix
<`_>
They're marked as broken
<`_>
Said system has since gotten in a fight with moisture and lost
<clever>
thats because they fail to compile, and marking it as broken stops you from wasting time building something that will fail
<clever>
youll need to set allowBroken = true, find the real problem, and then file a PR to nixpkgs to fix it (and mark it as not broken)
h0m1 has quit [Quit: WeeChat 2.6]
<`_>
Would it be prudent to attempt to build it with other tags in nixpkgs-release?
shabius has quit [Quit: Leaving]
<clever>
other channels may not have the problem
<`_>
Like I'll submit a PR if I can when I get time but I'd rather have the packages working sooner than later.
h0m1 has joined #nixos
<`_>
Yeah I might as well try
<`_>
It's just interesting, it seems that all the packages I used previously on 19.03 are suddenly broken in 19.09
<`_>
Or perhaps it was 18.09
<`_>
Err, all the haskellPackages
<clever>
if nobody uses it in nixos-unstable, its unlikely to be fixed
<`_>
Figured
<clever>
and then it winds up in the next stable release, in a broken state
<clever>
part of why i always run nixos-untable
<clever>
then the stuff i care about remains in a working state
<`_>
Oh
<`_>
That's honestly not a bad call
<clever>
because i fix it when it breaks, and then it doesnt get into a stable channel!
<EdLin>
that's very... clever. ;)
<`_>
I'm not certain I'd be knowledgeable to fix half the packages I'm trying to get going right now
* colemickens
is usually surprised when finding people running stable
<`_>
I'm #1 on a nostalgia trip so trying to build some things I used in the early 00s and have no idea how to maintain, and #2 have no idea how to haskell
<EdLin>
um, I'm running stable. :(
<colemickens>
not a judgement thing, I would pull my hair out quickly.
<EdLin>
`_: for me, nostalgia is the early 90s, but I'm afraid kernel 0.95 wouldn't run on this system. ;)
<clever>
[ 6.544240] potentially unexpected fatal signal 4.
<clever>
[ 6.699657] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
<`_>
EdLin: This was back when I was using Windows
<clever>
ive been trying to solve this problem lately, i'm pretty sure i have the right arch for this build...
<`_>
It's a GTK project so at least worked on Windows
<EdLin>
I didn't use Windows at all in the 1990s basically.
<`_>
I'm >10 years sober
<EdLin>
it was too broken at the time, wasn't worth my while I figured.
<`_>
And never going back
<`_>
Are you insinuating it isn't broken currently?
<clever>
:D
<EdLin>
not as badly, ever used Windows 95/98? BSODs constantly.
<`_>
I thought the Windows and broken were synonymous
<`_>
Yes
<`_>
Ever used ME?
<clever>
EdLin: ive heard about the ping of death in win95
shabius has joined #nixos
<clever>
EdLin: a malformed ping packet, would cause a bluescreen
<`_>
95 made ME look like CentOS
<`_>
Err, other way around sorry
<EdLin>
yeah, I never had the pleasure of running ME.
<EdLin>
I did use 98, and 95, on other's systems.
<`_>
Pressing the i key at the wrong time of day would BSOD
<clever>
ive ran dos, win3.11, 95, 98, xp, 7, and 10 i think
<`_>
Yeah I used 3.1-XP
<`_>
After vista came around I had moved to Mac and was content for quite a few years
<clever>
around the age of xp, i began switching to linux
<clever>
but i still had to use windows for games
orivej has quit [Ping timeout: 240 seconds]
<`_>
Then I realized that I spent 99% of the time in the CLI and didn't need to spend > $2000 for what is basically a raspberry pi
<clever>
but steam and proton have mostly solved that
<pie__>
does nixos store logs for activation scripts somewhere?
<clever>
pie__: the journal maybe
<EdLin>
during the vista era I ran a mac also, it's when I got into making music on computers a bit, so I did find Windows 7 useful for a while because of Linux's bad low latency audio support at the time
<`_>
pie__: journalctl -xeu service-name
<clever>
`_: heh, funnily enough, i'm currently working on open source firmware, for the rpi!
<pie__>
yeah i have no idea what the service is called
<clever>
pie__: its probably not under -u, since it doesnt have a unit name
<`_>
Yup
<`_>
EdLin: Yeah I did use Windows for audio when I was predominantly mac
<`_>
clever: Keep it up. I intend to have quite a few RPIs running nixos
<EdLin>
macs actually are best at audio, due to built in sane drivers, but Apple doesn't seem interested in making powerful computers for less than 5999 anymore.
<clever>
`_: my current issue, is that busybox crashes with SIGILL when ran as init in the initrd
<`_>
EdLin the reason I used Windows for audio was because I at least knew how to lol
<EdLin>
plus the OS is bad compared to Linux to me.
<clever>
EdLin: at one point, i was looking into a custom audio capture system, ethernet based at the time, that would allow for 32 channel audio capture, 24bit, 96khz
<`_>
clever: I'd imagine a bit out of my scope for the time being
<clever>
the idea was to have predictable latency, and high bandwidth, with linux support
<`_>
EdLin: I honestly used to love the Mac, but it became their bad design decisions combined with the idiotic price tag that drew me away from them
<EdLin>
yeah, they really have been getting worse fast.
Cale has quit [Read error: Connection reset by peer]
<`_>
I'm a vim user and the touchbar was like
<pie__>
ok the stuff im looking for showed up in the systemd boot logs \o/
<`_>
Yeah
<`_>
I heard they recently got the escape key back which is nice
<EdLin>
haha
<EdLin>
no esc key?
Cale has joined #nixos
<`_>
The original systems with the touchbar got rid of the escape key
<EdLin>
^] only then?
<`_>
It was a soft key instead of a hard key
<`_>
No it existed, it was just on a stupid little touch screen with no tactile feedback and worse, no physical button
<thefloweringash>
don't vim users put escape to the left of A?
<`_>
Some do
<`_>
I happen to be one of the ones who actually cares about my work
<thefloweringash>
what does that mean?
<`_>
Just a bad trolling attempt
<`_>
Yeah I've noticed that a lot of fellow vim users use the caps lock key for esc
<`_>
I just personally use the caps lock key too much to remap it
<EdLin>
BUT THEN HOW WILL YOU DO THIS?
<`_>
EXACTLY
<EdLin>
CAPS LOCK IS CRUISE CONTROL FOR COOL.
<`_>
LIKE I WANT TO HOLD DOWN A BUTTON WHILE I'M YELLING
<`_>
YES IT IS.
<thefloweringash>
If you're not going to hold down shift, are you really yelling, or just making a machine yell for you ;-)
<clever>
EdLin: i turned on shiftlock, instead of capslock
<EdLin>
it's all making a machine do stuff for you, it's what computers are for.
<`_>
See but then when I'm typing in constants it feels like I'm yelling at the computer
<clever>
so now, the capslock key, affects numbers!
<clever>
so capslock does !@#$%^&*()_+ to the top row!
<clever>
`_: the sha256= is a promise that your build will always have the same result, and that promise is what gives you permission to access the network
<clever>
`_: and if you fail to meet that promise, your build is considered as failing
<`_>
Fair, but then why doesn't fetchGit require an sha256?
<clever>
`_: because it happens at eval time, and nix will just hash the directory before it does the eval
<`_>
Ah
<`_>
Ok
<clever>
`_: which forces you to fetch the entire source before you know the output path of anything
<`_>
Err, wait then why doesn't fetchsvn behave the same?
<`_>
Like, it seems that one of these is not like the other in a way that doesn't make sense.
<clever>
`_: all of the pkgs.fetch* functions are build-time fetches, which need a sha256, and can be ran in parallel
<clever>
`_: the builtin.fetch* functions are eval time fetches, only one can run at once, and sha256 is optional
<clever>
so they both slow down the build, and harm purity
<`_>
Ok
<pie__>
clever: no idea what this actually needs to work, right now it seems to break things other than itself too https://bpaste.net/show/QIOTM
<`_>
Yes that makes sense, but then why does fetchGit work differently?
<clever>
`_: builtins.fetchGit is is mostly for private git repos
<`_>
clever: Of course but this script seems to want to check out the repo every time it needs something from it. So it's not that the files exist, it's that every single time it wants to get something it has to check out the repo again, so I have to dive in a bit deeper to figure out how to make it read from the repo that nix has grabbed
<clever>
i dont know what SyslogIdentifier will do to it
<pie__>
oh i got rid of all that
<pie__>
i can try again with that stuff added back
<clever>
pie__: also, because of RemainAfterExit and oneshot, it may not re-run after a rebuild
<`_>
At least that's how it seems
<`_>
Bad programmers exist. I'm one of them.
knupfer has quit [Ping timeout: 250 seconds]
<pie__>
clever: it only needs to run once ever
<clever>
pie__: try without RemainAfterExit, and you may need to systemctl stop it
<`_>
Hm nope I'm wrong time to dive into this
<`_>
I'll be back in 3 weeks
<pie__>
ok well it acutally seems to run and log now
<pie__>
ive been runnin the chown first and the mkdir afterwards
Jackneill has joined #nixos
<pie__>
so i might have gone through several otherwise successful possibiities
<`_>
Ok so after diving into this whole build, there's absolutely no way I'm going to make this work without a ton of work. It's pretty ridiculous. If the libraries don't exist, it'll download them itself, etc.
<`_>
So yeah I'm just gonna give this one up for the time being.
<`_>
All the files it's trying to get exist but I'd still rather not jump that deep into the logic at the moment.
<thefloweringash>
Splitting out the game paks into their own package might make sense. They're not part of the build. Something like "gtkradiant-unwrapped" without data, "gtkradiant-data" for just the resources, and "gtkradiant" that glues them together. I don't know if this can by symlinks, of if you'll have to patch support for external data into the source via an environment variable for the wrapper to set (or equivalent injection
<thefloweringash>
point).
thc202 has joined #nixos
akaWolf has quit [Remote host closed the connection]
<jakobrs>
I tried to look in the wiki but I couldn't find any relevant functions
<pie__>
ive neer used filtersource
<pie__>
what are you trying to do
<jakobrs>
I'm trying to find out if one path is inside another path
<jakobrs>
I'm using filtersource to only include the relevant directories
<jakobrs>
because otherwise lots of unrelated files will also be included
gkmn2 has joined #nixos
<pie__>
yeah idk
<jakobrs>
thanks anyway
gkmn1 has quit [Ping timeout: 276 seconds]
jophish has joined #nixos
<jophish>
Is there an easy way to add python packages to nixpkgs?
<jophish>
it seems like the process is very mechanical at the moment
<{^_^}>
[nixpkgs] @kampka opened pull request #75688 → postgresql: Add ensureExtensions option to service setup → https://git.io/JeQgb
jakobrs has quit [Quit: leaving]
tmaekawa has quit [Quit: tmaekawa]
orivej has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
<__monty__>
jophish: Ideally it'd be 100% mechanical, like the haskell package sets : )
<ekleog>
can't remember… we don't have a bot for telling people stuff when they come back, right?
<__monty__>
,tell ekleog Of course we do.
<{^_^}>
__monty__: I'll pass that on to ekleog
<ekleog>
oh cool, thanks!
<{^_^}>
ekleog: 5 seconds ago <__monty__> Of course we do.
<clever>
and it waited until you spoke up in the channel!
<ekleog>
that's neat :)
<__monty__>
I'd personally rather get bombarded when I join rather than when I'm trying to have a conversation. But we can't have nice things because of people with bouncers.
<__monty__>
: >
<ekleog>
,tell oldandwise I haven't been using ant or gradle with javacard (just a plain old .ninja file), but the error you're getting makes me think you have .java files that you haven't compiled to .class before running the converter (or that you've forgotten the -source 1.5 -target 1.5 --- I've also got -Xlint:-options, but not sure it's required) -- I'm not totally sure if it's supposed to be working
<{^_^}>
ekleog: I'll pass that on to oldandwise
<ekleog>
even this way, but by compiling before you should be able to at least work around this issue :)
<ekleog>
erhm
<ekleog>
too long :(
<ekleog>
__monty__: Potentially the bot just bombards you with messages as soon as you join, too :)
<ekleog>
,tell oldandwise (continuing) I'm not totally sure if it's supposed to be working even this way, but by compiling before you should be able to at least work around this issue :)
<nilsirl[m]>
grw: Thank you, hopefully, next time i'll be able to understand this on my own
<{^_^}>
[nixpkgs] @softinio closed pull request #75683 → Add and update vim plugins → https://git.io/JeQEq
domogled has joined #nixos
domogled has quit [Client Quit]
domogled has joined #nixos
asheshambasta has joined #nixos
polman has joined #nixos
Chiliparrot has joined #nixos
<asheshambasta>
So it seems like on my system, adding my user to the group "audio" and rebooting has broken my sound output completely. It seems that no gui application now can output sound.
<asheshambasta>
however, sound output from the cli seems to be fine: I'm using csound and csound-expression (haskell); and I can output sound from the Haskell repl.
polman has quit [Read error: Connection reset by peer]
<duairc>
I set up NixOS on one of my servers at the end of last year when I was just getting started with NixOS, and I split the configuration into loads of different files that all import each other and it's a bit of a tangled mess.
<duairc>
Is there some way to find what the result of all of that is without detangling it all by hand?
<duairc>
I want to make some changes and I can't keep track of where everything is anymore
<EdLin>
asheshambasta: I know on other distros, if you use pulseaudio, you must not add your user to audio.
<asheshambasta>
EdLin: I've already done that
<asheshambasta>
it seems like no pulseaudio daemon is running
<asheshambasta>
however, I've followed the guide on this and have hardware.pulseaudio.enable = true;
ajs124 has joined #nixos
<EdLin>
pulseaudio isn't a system daemon, at least, on other distros it isn't, it's a user-daemon.
<EdLin>
is there a reason why you need to be in the audio group?
<EdLin>
if it's alsa programs, pulseaudio can be configured to handle alsa...
<asheshambasta>
EdLin well, the nixos wiki seems to suggest one has to be in the audio group to be able to control audio
asheshambasta has quit [Remote host closed the connection]
ixxie has joined #nixos
<jD91mZM2>
Hi! I'm trying to set up my existing NixOS config on a new computer, and as it's quite involved it's not quite as easy as symlinking /mnt/nixos/configuration.nix and being on my way. I noticed there is `nixos-install --system <closure>` which sounds insanely useful. I don't, however, know exactly how to generate a closure. The documentation says it's `nix-build "<nixos>" -A system`, which seems
<jD91mZM2>
wrong. I'm having better luck with `nix-build "<nixpkgs/nixos>" -A system`, but that instead complains about a missing system-2-link/kernel directory. What's the correct derivation to build?
<{^_^}>
[nixpkgs] @scaredmushroom opened pull request #75698 → aircrack-ng: fixed missing dependency for airmon-ng → https://git.io/JeQ6t
iz16 has quit [Ping timeout: 246 seconds]
<infinisil>
jD91mZM2: It should really be that
<infinisil>
jD91mZM2: What's the full error and the context?
<{^_^}>
[nixpkgs] @FRidh pushed commit from @dtzWill to staging « nghttp2: 1.39.2 -> 1.40.0 »: https://git.io/JeQ6u
jgeerds has joined #nixos
polman has joined #nixos
<jD91mZM2>
infinisil: It was a python panic because /nix/var/nix/profiles/system-2-link/kernel was missing or something, I would post it but I will first try booting regularly
Chiliparrot has joined #nixos
<jD91mZM2>
Worth mentioning: It managed to install with --no-bootloader
<{^_^}>
[nixpkgs] @scaredmushroom opened pull request #75699 → backport: aircrack-ng: fixed missing dependency for airmon-ng → https://git.io/JeQ6o
fresheyeball has joined #nixos
<fresheyeball>
hey
<fresheyeball>
has anyone tried to generate a nvidia-docker image from nix?
ghhg has joined #nixos
<{^_^}>
[nixpkgs] @FRidh pushed 114 commits to staging-next: https://git.io/JeQ66
<{^_^}>
[nixpkgs] @FRidh opened pull request #75700 → Staging next → https://git.io/JeQ61
ghhg has quit [Remote host closed the connection]
polman has quit [Ping timeout: 250 seconds]
polman has joined #nixos
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
noudle has joined #nixos
<jD91mZM2>
infinisil: More details: Building actually works, what fails is the installation of the built derivation. I'm building like this: `nix-build -I nixos-config=$PWD/etc/nixos/configuration.nix -I dotfiles=$PWD "<nixpkgs/nixos>" -A system`, and then running `nixos-install --system $(realpath result)`. The error is as follows: https://hastebin.com/pixeyipadu.sh
<{^_^}>
[nixpkgs] @kampka opened pull request #75701 → Port NixOS tests to python → https://git.io/JeQic
<srhb>
jD91mZM2: That path is quite surprising if you really just ran that nix-build command.
<infinisil>
Hm, seems like it might be missing a chroot
ddellacosta has joined #nixos
<srhb>
I think there's a switch for that?
<srhb>
--root /mnt or something like that.
inkbottle has joined #nixos
<srhb>
But that's the default, so maybe the bootloader install has bene messed up...
zebrag has quit [Ping timeout: 250 seconds]
polman has quit [Ping timeout: 252 seconds]
[Leary] has joined #nixos
Lears has quit [Read error: No route to host]
polman has joined #nixos
<srhb>
jD91mZM2: Does that profile directory exist within the chroot?
<{^_^}>
[nixpkgs] @risicle opened pull request #75702 → allowInsecureDefaultPredicate: fix to use getName → https://git.io/JeQia
<srhb>
jD91mZM2: Looking at the script, the nix-env command to create it _looks_ right...
polman has quit [Ping timeout: 252 seconds]
polman has joined #nixos
drakonis has joined #nixos
endformationage has joined #nixos
scasc has joined #nixos
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
mounty has quit [Remote host closed the connection]
mounty has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
polman has quit [Excess Flood]
polman has joined #nixos
ddellacosta has quit [Ping timeout: 265 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
polman has quit [Ping timeout: 252 seconds]
ninegrid has joined #nixos
knupfer has joined #nixos
<jD91mZM2>
srhb: Yep, it exists within /mnt
<jD91mZM2>
But outside there's only system-1-link. Sorry for the late response
<jD91mZM2>
Another problem: I have no network access inside nixos-enter
<srhb>
jD91mZM2: You're not running this from within nixos-enter, right?
<srhb>
jD91mZM2: Anyway, I suppose you got past it. The only network issue I remember off the bat in nixos-enter is that resolv.conf wasn't mounted in automatically, not sure whether that's still the case, but that should only affect dns resolution.
cosimone has joined #nixos
<{^_^}>
[nixpkgs] @kampka opened pull request #75703 → Port tests 3 → https://git.io/JeQiQ
polman has joined #nixos
johnw has quit [Remote host closed the connection]
<sphalerite>
nh2: you were working on rust+musl stuff recently, right? How far did you get with that?
<manveru>
hmm, i'd really like to split crystal into multiple outputs to avoid having a dependency of crystal-built executables on crystal and in turn llvm and gcc...
<manveru>
but i'm really not sure how to achieve that easily
fling has joined #nixos
<manveru>
basically, in the binaries i have references to `/nix/store/gzqzl0h2x7m8mx5qcp7fhhfl33gwb03n-crystal-0.31.1/lib/crystal/callstack.cr` and such, including just those files in `lib` would suffice, but that package also contains the `crystal` binary, which has references to llvm
<jD91mZM2>
srhb: Sorry for the late response again, heh. Been a little too much in the real world this evening. I haven't really gotten past it, although I have an idea of how
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
kazimazi has joined #nixos
kazimazi has quit [Client Quit]
kazimazi has joined #nixos
phreedom_ has quit [Remote host closed the connection]
phreedom has joined #nixos
polman has quit [Read error: Connection reset by peer]
`_ has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
doublex_ has joined #nixos
polman has joined #nixos
the_scou1ge has joined #nixos
<kazimazi>
hi! I have a newbie question. I generated some nix files woth node2nix and I would like to import them to my configuration.nix. How do I do it?
<ddima>
kazimazi: you should be able to import it as most things, like `let nodePkgs = import ./your_node_pkgs.nix {inherit pkgs}; in {...}` or similar, iirc the doc has an example
<ddima>
maths_lover: for a simple case, if you just want it as a user, you can do; `nix-env -i -A nixos.python37Packages.pip`, alternatively if you want to use nix-shell, `nix-shell -p python37Packages.pip`. you won't get far though without either using virtualenvwrapper or nix as outlined in `Emulating virtualenv with nix-shell`
<maths_lover>
Umm... no I don't want it as a user package
<maths_lover>
otherwise I would have done it long ago
<ddima>
Alright
polman has joined #nixos
<maths_lover>
ddima: ok so virtualenvwrapper is my option
<ddima>
I suggest you familiarize yourself with nix-shell and try to get this example working
<ddima>
its more idiomatic and kinda nice to work with.
<maths_lover>
ok so nix-shell
<maths_lover>
alright I'll try
polman has quit [Excess Flood]
<maths_lover>
I'll ask for help here if stuck
maths_lover has left #nixos ["bye bye"]
<ddima>
sure. it will basically give you a shell with proper environment and you get to define your dependencies and what not as buildInputs from the standard nixpkgs pythonPackages quite easily.
leotaku has joined #nixos
<kazimazi>
ddima: thx for your help I couldn't figure out. I will rather tell what I would like to accomplish. I need to install ´intelephense´ npm package as a systemPackage.
<ddima>
nix-shell is essentially like a general virtualenv for anything and everything
<{^_^}>
[nixpkgs] @manveru opened pull request #75719 → crystal: reduce closure size of compiled exes by splitting outputs → https://git.io/JeQ1g
<manveru>
anyone wanna review this? :)
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
philr has joined #nixos
<ddima>
kazimazi: but you likely want it as a dependency to something, it doesnt seem to have any executables etc. but maybe it helps.
<rendeko[m]>
Kind of a silly question, but I have no idea how to get markdown support in the Pelican python3.7 package. Any ideas? I see a pull request saying you should go into the env and install it, but I have no idea how to do that.
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
gustavderdrache has joined #nixos
leotaku has quit [Ping timeout: 276 seconds]
<{^_^}>
[nixpkgs] @danbst merged pull request #75692 → postgresql-backup: Use saner defaults for pg_dump → https://git.io/JeQaL
<ddima>
rendeko[m]: it could be as simple as `nix-shell -p python37Packages.pelican pkgs.python37Packages.markdown` for interactive work.
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
<{^_^}>
[nixpkgs] @sikmir opened pull request #75720 → gpxlab: init at 0.7.0 → https://git.io/JeQ1P
<rendeko[m]>
ddima: Amazing! That worked and was a lot simpler than I figured. Thank you!
<gchristensen>
gustavderdrache: probably should just auto-join :)
<gchristensen>
etu: ^
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
cosimone has quit [Quit: Terminated!]
<chrisaw>
How can I escape a '@' character in a nix derivation?
<infinisil>
chrisaw: That shouldn't need escaping
<infinisil>
Unless it's an attribute key I guess
<chrisaw>
In the install phase I have "for isoimage in ${_isoimages[@]}; do" and it's being interpreted by Nix: error: syntax error, unexpected '@'
<infinisil>
chrisaw: Oh so you want to escape ${
<infinisil>
The whole part inside ${...} is evaluated as nix
<infinisil>
,escape'' chrisaw
<{^_^}>
chrisaw: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
`_ has quit [Ping timeout: 240 seconds]
<infinisil>
In a '' string ^^
polman has quit [Excess Flood]
polman has joined #nixos
turion has joined #nixos
maths_lover has joined #nixos
<kazimazi>
ddima: ty it works, although I get an error ´error: attribute 'nodejs-8_x' missing, at ...´ which seems to be some other hurdle with node2nix, after editing nodejs-8_x to nodejs in generated default.nix it seems fine
<ddima>
kazimazi: see gist, you need to generate with some nodejs thats still available, there are flags to node2nix
polman has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @kampka opened pull request #75721 → nixosTests.networking: Port tests to python → https://git.io/JeQ1N
mexisme_ has quit [Ping timeout: 245 seconds]
drakonis1 has joined #nixos
kleisli has joined #nixos
<{^_^}>
[nixpkgs] @flokli opened pull request #75722 → xilinx-bootgen: init at 2019-10-23 → https://git.io/JeQ1p
EdLin has quit [Ping timeout: 265 seconds]
<chrisaw>
@{^_^} Cheers, much appreciated. Sorted now. :)
<ddima>
it's a bot ;)
<chrisaw>
Oh, doh! :|
polman has quit [Ping timeout: 252 seconds]
<chrisaw>
Well, still have to be nice to the robots. Hopefully they'll keep me as a pet when they overthrow us!
__monty__ has quit [Quit: leaving]
knupfer has quit [Remote host closed the connection]
turion has quit [Ping timeout: 246 seconds]
<{^_^}>
BEEP BOOP INSERT INTO nice_list (Nick) VALUES ('chrisaw');
<chrisaw>
Wait, nice_list? Are you Santa?! :O
<ddima>
just a future murderous robot
<chrisaw>
Complete off-topic but man - packaging VMware workstation for NixOS is painful! >_>
<chrisaw>
Made a load of progress and nearly there - now I just need to figure out how to convince NixOS to be nice enough to build kernel modules for me. Eugh! :(
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeQMq
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @Kiwi to release-19.09 « wire-desktop: fix desktop icon »: https://git.io/JeQMs
chloekek has quit [Ping timeout: 268 seconds]
<ivan>
I recommend virt-manager if you can use that instead
<chrisaw>
Yeah I know virt-manager + KVM is awesome - just that 1.) I have a VMWare license so I'd like to use it and 2.) I run an ESXi box and workstation has a nice UI for managing it.
<ivan>
ah
<ddima>
chrisaw: you can probably get some inspiration from how virtualbox kernel modules are made.
<{^_^}>
[nixpkgs] @fpletz pushed commit from @r-ryantm to master « xmr-stak: 2.10.7 -> 2.10.8 »: https://git.io/JeQMr
halfbit has joined #nixos
<{^_^}>
[nixpkgs] @fpletz merged pull request #75193 → nixos/networkd: only set gateway if it's explicitly specified in the module system → https://git.io/JeSel
<{^_^}>
[nixpkgs] @danbst pushed to master « dolt: init at 0.12.0 (#75693) »: https://git.io/JeQDx
fragamus has joined #nixos
mexisme_ has quit [Ping timeout: 240 seconds]
mehlon has joined #nixos
<mehlon>
hey so what's the sha256 of a github repository supposed to be?
<mehlon>
i'm trying to use fetchFromGitHub
<evils>
,tofu mehlon
<{^_^}>
mehlon: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<mehlon>
oh okay
fresheyeball has joined #nixos
mexisme_ has joined #nixos
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos
noudle has quit []
jgeerds has quit [Ping timeout: 276 seconds]
<mehlon>
so there's this binary that always reads files from the current directory, is there some simple way to patch it to read from a specific directory?
anttih_ has quit [Quit: Connection closed for inactivity]
<clever>
mehlon: libredirect?
<clever>
mehlon: or wrapProgram + --run "cd foo"
<lovesegfault>
clever: Any success?
<mehlon>
that latter one seems good
<clever>
lovesegfault: with which project?
<lovesegfault>
clever: RPi3
<clever>
lovesegfault: not yet, still stuck at vpush
<lovesegfault>
clever: darnit
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}>
[nixpkgs] @marsam opened pull request #75727 → pango: fix build on darwin → https://git.io/JeQyB
<mehlon>
hmm.. would it work if I made it change directory to $out?
<mehlon>
how do I put it
rardiol has joined #nixos
<genesis>
when i need to update desktop entry, i do update-desktop-database ~/.local/share/applications/
<clever>
mehlon: yeah, $out may work
noudle has joined #nixos
<genesis>
i'd like to know if people have investigate to make this update automatically by nix after an install
<{^_^}>
[nixpkgs] @fpletz merged pull request #75694 → spamassassin: enable IPv6 support with Socket6 → https://git.io/JeQVh
<genesis>
home/genesis/.local/share/applications/userapp-mpv-LNEZMZ.desktop: error: value "Other;" for key "Categories" in group "Desktop Entry" contains an unregistered value "Other"; values extending the format should start with "X-"
<genesis>
such test, the desktop file is incorrect according to standard.
<gchristensen>
oh cool
<genesis>
just try to discuss the pb, it seems my icons pb come from elsewhere
vyorkin has joined #nixos
<genesis>
desktop-file-validate seems to not check icons existences.
<duairc>
I'm trying to recover a broken nixos system from the NixOS live CD. I have all the partitions mounted, but when I go to chroot into the mounted root file system, nothing is in my $PATH. Is there some trick to chrooting into a NixOS install that I'm missing?
<duairc>
nixos-enter
<duairc>
I knew I remembered there being something like that