<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj8QS
dansho has joined #nixos
<{^_^}>
[nixpkgs] @worldofpeace opened pull request #61729 → nixos/geoclue2: don't run as root → https://git.io/fj8QH
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
buffet_ has quit [Ping timeout: 258 seconds]
buffet has joined #nixos
najib has joined #nixos
jluttine has joined #nixos
najib is now known as najibpuchong
MmeQuignon has quit [Quit: WeeChat 2.4]
_ris has quit [Ping timeout: 246 seconds]
<najibpuchong>
Hi, I have installed openra game with command 'nix-env -iA nixos.openraPackages.engines.playtest'. But in the game, it still say "Your are running an outdated version of OpenRA". I have no idea which package to install. Please enlight me.
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj8Qh
fusion809 has joined #nixos
___laika has quit [Quit: WeeChat 2.4]
justanotheruser has joined #nixos
mmlb285 has joined #nixos
mmlb28 has quit [Ping timeout: 255 seconds]
ym555 has joined #nixos
ym555_ has quit [Ping timeout: 246 seconds]
drakonis2 has quit [Read error: Connection reset by peer]
drakonis2 has joined #nixos
drakonis2 has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
drakonis_ has joined #nixos
acarrico has quit [Ping timeout: 258 seconds]
<najibpuchong>
How to install Openra so I can join multiplayer compatible with 20190314 release?
drakonis has quit [Ping timeout: 252 seconds]
mexisme has joined #nixos
<nh2>
domenkozar[m]: with stack2nix, is there a good way I can find out from nix which compiler was generated to be used, e.g. `ghc864`?
<aanderse>
najibpuchong: looks like the version in nixos needs a bump
alp has quit [Remote host closed the connection]
MmeQuignon has joined #nixos
MmeQuignon has quit [Client Quit]
MmeQuignon has joined #nixos
MmeQuignon has quit [Client Quit]
MmeQuignon has joined #nixos
<najibpuchong>
aanderse, ok thanks.
alexherbo2 has joined #nixos
aszlig has quit [Quit: Kerneling down for reboot NOW.]
drakonis has joined #nixos
<aanderse>
najibpuchong: trying a version bump now... hold on a sec
alexherbo21372 has quit [Ping timeout: 245 seconds]
nD5Xjz has quit [Ping timeout: 246 seconds]
aszlig has joined #nixos
nD5Xjz has joined #nixos
disasm| has quit [Ping timeout: 268 seconds]
<domenkozar[m]>
@nh2 don't think that's exported but it could be :)
gchristensen has quit [Quit: Connection closed for inactivity]
toppler`` has quit [Ping timeout: 245 seconds]
endformationage has quit [Ping timeout: 255 seconds]
wfranzini has quit [Remote host closed the connection]
toppler`` has joined #nixos
dansho has joined #nixos
___laika has quit [Read error: Connection reset by peer]
___laika has joined #nixos
InFlames has joined #nixos
Izorkin has quit [Ping timeout: 268 seconds]
mexisme has quit [Ping timeout: 258 seconds]
palo1 has joined #nixos
revtox has joined #nixos
Mateon3 has joined #nixos
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
Mateon1 has quit [Ping timeout: 255 seconds]
Mateon3 is now known as Mateon1
___quietlaika has joined #nixos
<revtox>
trying to boot nixos minimal on usb, but it doesn't seem to be working (goes straight to my existing OS's boot menu). I tested another os (ubuntu) and it worked fine. uefi btw, with secure boot disabled. Any ideas to debug this?
Glider_IRC__ has joined #nixos
___laika has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @peterromfeldhk opened pull request #61734 → elasticmq-server-bin: init at 0.14.6 → https://git.io/fj854
mexisme has joined #nixos
Glider_IRC_ has quit [Ping timeout: 268 seconds]
domogled has joined #nixos
MinceR_ is now known as MinceR
<v0id72[m]>
anyone able to help me with an i3 issue? Still unable to get an i3status file except for the one stuck in the store :(
wangoe has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
<v0id72[m]>
i haz reddit gold for anyone who can help :)
mexisme has quit [Read error: Connection reset by peer]
___quietlaika has quit [Ping timeout: 246 seconds]
<angerman>
can I easily get the md5 and sha256 of a derivation $out?
<angerman>
from within a nix expresison.
Xal has quit [Ping timeout: 245 seconds]
dansho has quit [Ping timeout: 258 seconds]
Xal has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
dansho has joined #nixos
thc202 has joined #nixos
max1 has joined #nixos
phaebz has quit [Ping timeout: 255 seconds]
<srhb>
angerman: No.
<srhb>
angerman: Wait, not sure I understood that question.
<srhb>
angerman: What do you have, and what do you want?
<angerman>
srhb: I have some `writeText ...` and I want to get the md5, sha256 and length of that. So I can construct another `writeText` wit those values.
<angerman>
But I've since considered using `substitute ${./path/to/template} $out/filename ...`
<etu>
angerman: You can probably have a runCommand that take the first writeText's out as a param and run md5sum or sha256sum on that in the command
PLPD-Bot has quit [Remote host closed the connection]
<v0id72[m]>
because who wants to kill themselves and be sad when you cannot figure out a simple thing like how to configure a simple bar that you can easily do in Arch for example :)
<kaliumxyz>
just running nix-env -i {name} will reinstall it for you.
<kaliumxyz>
The program installation itself is immutable though so it should not be in a bad state, and more likely its the configuration thats cousing you problems
<tobiasBora>
Hello,
<tobiasBora>
I'm just curious to know, is there a way to know when nixos was installed?
<kaliumxyz>
one problem I ran into with containers was that the default ssh port nixops wants to use is 22 and my main box runs openssh on port 22 too :d
lambda-11235 has quit [Quit: Bye]
zupo_ has quit [Ping timeout: 268 seconds]
<kvda>
etu yep pardon the confusion.
<kvda>
so VM would be slow, but it's the default suggestion in nixops by the looks of it
<kvda>
Where there's not much about containers like kaliumxyz said
vid has quit [Read error: Connection reset by peer]
<kvda>
Is running NixOS in a VM then using that base NixOS to get NixOS containers setup a thing?
<tobiasBora>
Regularly, when I compile some LaTeX documents, I get:
<tobiasBora>
"luaotfload | db : Reload initiated (formats: otf,ttf,ttc); reason: "File not found: lmroman10-regular.".
<kvda>
No-one runs mutliple services locally with Nix?
<v0id72[m]>
does anyone have any advice as I just setup nixos again. But before going to do i3 - how can I make it so that I get a file in my user ./config directory this time. AS istatus.conf is only in the store. :(
<tobiasBora>
and my system blocks for a ~20s, time to reload fonts I guess. But this appears at every reboot, which is a bit annoying (as far as I can tell I don't have this issue with debian). Any idea if I can avoid that?
<etu>
v0id72[m]: I thought it read the config from your homedirectory by default
<etu>
But it was a while since I used i3
<v0id72[m]>
unfortunately no. I somehow only appears in the store for istatus.conf :(
<v0id72[m]>
its a FU day as I got fed up and just wiped
Guest46690 has joined #nixos
Guest46690 has quit [Changing host]
<fusion809>
aanderse: did you see my reply to #61730?
<revtox>
anyone have any idea why my nixos usb might not be booting? ubuntu worked fine when I tested it, but for some reason nixos won't boot (goes to my normal OS's boot menu straight away). I'm using nixos-minimal-19.03.172396.d740b2ee855-x86_64-linux.iso. UEFI with secure boot disabled btw.
<angerman>
that should produce the same output store path for each invocation with the same arguments. But because `index` changes over time, the command's shell input changes over time and as such it's output hash changes over time as well :-/
<Synthetica>
... Right
<Synthetica>
I don't know of a way to do that, sorry
Ariakenom has joined #nixos
Mister_Magister has joined #nixos
<pie_>
does nix eval have a strict evaluation mode?
<xorAxAx>
deepSeq?
<pie_>
guess i should just use deepseq actually
<pie_>
ah there we go :p
fendor has joined #nixos
<pie_>
xorAxAx, you seem to have gotten oriented quite fast :D
<xorAxAx>
pie_, heh
<xorAxAx>
yeah, i like it
<xorAxAx>
it being nixos
<xorAxAx>
btw, does anyone have a t480s so that i can test a kernel driver that i wrote yesterday?
<wucke13>
When I clone a nixos vm (including storage), what do I have to do to ensure no problems occur when running the clone and the original side by side? How do I regenerate ssh host fingerprints?
<wucke13>
xorAxAx, Does a t480 work too?
InFlames has joined #nixos
<xorAxAx>
wucke13, i dont think so
esmerelda has quit [Ping timeout: 258 seconds]
<xorAxAx>
wucke13, but we can quickly check: run as root "cat /sys/firmware/acpi/tables/DSDT > dsdt.dat", then do "nix-shell -p iasl --command 'iasl -d dsdt.dat'", then grep GSSS dsdt.dsl
<wucke13>
xorAxAx: I'm currently at work, and the thinkpad isn't. Is it ok if I run it sometime today and hit you up with a PM once I have results?
<pie_>
I can never get this deepseq stuff to work right:
<pie_>
nix-repl> builtins.deepSeq gg.a.a gg.a.a
<pie_>
{ a = [ ... ]; b = true; c = true; f = "a winner is you"; }
<pie_>
shouldnt that a = [ ... ] be expanded?
<kaliumxyz>
how do I access a virtual box deployment of which SSH is broken?
<kaliumxyz>
without any users accessable without keys ofc
<{^_^}>
[nixpkgs] @abbradar opened pull request #61746 → gdm service: unload PulseAudio modules which conflict with user daemon → https://git.io/fj8AV
<pie_>
kaliumxyz, with the GUI?
fendor has quit [Quit: Leaving]
<kaliumxyz>
what GUI?
<kaliumxyz>
I broke the sshd config in the nixconfig that I used for deployment
<xorAxAx>
VirtualBox
<xorAxAx>
is the GUI called
revtox has quit [Quit: leaving]
<pie_>
ok maybe i misunderstood whats meant by "virtual box"
<pie_>
kaliumxyz, if its a remote deployment to which you have no access...well you have no access. you have to use some out of band method to access it or load a new machine image?
drakonis2 has quit [Ping timeout: 245 seconds]
<kaliumxyz>
Its on a local image.
<kaliumxyz>
Virtualbox, tho I was not using the GUI. I can use the GUI to acess it till the login screen after which things go sideways because I don't have a user with a password
cyberwolf[m] is now known as byzoni[m]
mexisme has quit [Ping timeout: 268 seconds]
drakonis2 has joined #nixos
<kaliumxyz>
I lost access to my virtualbox guest
<kaliumxyz>
hmm..
<xorAxAx>
kaliumxyz, you can boot with init=/nix/store/...bash
<xorAxAx>
init=/bin/sh should work
<xorAxAx>
in the bootloader (edit with "e")
<yorick>
pie_: no, the print just goes two levels deep
<kaliumxyz>
xorAxAx TIL the easy way for getting past login 0_o
pointfourtwo has quit [Read error: Connection reset by peer]
<alexarice[m]>
has a recent home-manager update changed the home.file option, I feel it used to just create a symlink as it now seems to create an immutable copy and link to that
<jomik>
It depends on how you refer to the file I am pretty certain. Nix will copy a file to the store if you refer to it as a path, but if you refer to it as a string, it will just symlink.
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
markus1189 has quit [Ping timeout: 245 seconds]
fendor has joined #nixos
endformationage has joined #nixos
Izorkin has quit [Ping timeout: 258 seconds]
camsbury has joined #nixos
{^_^} has quit [Remote host closed the connection]
marusich has quit [Remote host closed the connection]
markus1189 has joined #nixos
iyzsong has quit [Ping timeout: 248 seconds]
reinhardt has quit [Quit: Leaving]
<gchristensen>
FWIW I've been migrating {^_^} to a new system. it is nearly done, but obviously something is going up. will continue work on it shortly
<alexarice[m]>
jomik: Mine are written as strings but seem to copy to store
nschoe has joined #nixos
orivej has joined #nixos
camsbury has quit [Ping timeout: 258 seconds]
<pie_>
is there any way to access the old arguments of a previous .override?
zupo has joined #nixos
<tilpner>
I don't thin kso
<nschoe>
Hi all, I was curious to see that `steam` was available in nixOS. But when I try to run it, I get `glXChooseVisual` error. From a quick search it seems to be related to the graphics driver not being correct. I have the well-spread intel hd graphics 5500. Does anybody know what I should do?
<pie_>
I want to have an overridden field that accumulates stuff
<Shoubit>
tilpner, figured it out just now but thank you. I didn't know you could `man configuration.nix`, that's awesome.
<tilpner>
Shoubit: Much better than the web search thing
<tilpner>
pie_: Don't trace all of it. hello.override (old: builtins.trace old.fetchurl old)
<pie_>
apparently hello.override (old: builtins.trace old old) is a BAD thing
cswl has joined #nixos
<pie_>
oh
<pie_>
i guess that makes sense
<cswl>
Im using nixpkgs in mulit user mode..
<cswl>
How do I install global packages?
<pie_>
i probably wanted attrNames old
<pie_>
for starters
<tilpner>
pie_: Tracing all of stdenv is expensive, apparently
<pie_>
tilpner, i like how you immediately knew what i did to
<pie_>
tho
o1lo01ol1o has quit [Remote host closed the connection]
<tilpner>
Well, I tried the same thing, sooo
<cswl>
Okay just prefixing with sudo seems to work :V
o1lo01ol1o has joined #nixos
Zer0xp has joined #nixos
<cswl>
Is that how you install nix package globally.. it seems to work..
<tilpner>
Maybe. What's your PATH?
<Zer0xp>
Hey, I'm relatively new to NixOS and I'd like to know how to get the apt package to work in NixOS because I've installed the apt package and tried to run an apt-get command but I can't seem to get it to work.
<tilpner>
While it may be possible to use apt, I've never heard of anyone doing that
<infinisil>
Zer0xp: With Nix/NixOS you *don't* want to use another package manager, this really goes against Nix and there's probably nobody that does this
<cswl>
Im not even using my Distro package manager on Nixpkgs
<simpson>
Zer0xp: It seems strange to want apt purely on the basis of having tried to use apt. What are you actually wanting?
<cswl>
And youre trying to run apt in NixOS WTF
<Zer0xp>
The thing is, I'm trying to set up a HA cluster using Kubernetes but the tutorial suggests that I install some command line updates via apt-get like in any other distro.
hisham has joined #nixos
<simpson>
cswl: Nix doesn't really *do* global package installation; a lot of Nix usage involves getting rid of the idea of installing packages, and instead simply *having them available* when needed.
hisham has quit [Client Quit]
<Zer0xp>
I'm looking for an alternative to that.
hisham has joined #nixos
<simpson>
> kubernetes # Zer0xp: the standard k8s tooling is already packaged, can you use that?
<simpson>
Well, if a bot were here, they might say: «derivation /nix/store/0b6kv2xrblhhrp3zj3qnkm8yy1gys02m-kubernetes-1.14.0.drv»
Izorkin has joined #nixos
knupfer has joined #nixos
<cswl>
Oh its just having two three binaries in every user..
o1lo01ol1o has quit [Remote host closed the connection]
<cswl>
Using root's profile seem to solve it on Nixpkgs
o1lo01ol1o has joined #nixos
<yorick>
so I need the .git directory out of a fetchGit
camsbury has joined #nixos
<Zer0xp>
Yes, I know that that k8s package exists but if I want to set up nodes I have to use commands like this apt-get update && apt-get install -y apt-transport-https curl
<yorick>
so should I do fetchGitDir = uri: builtins.seq (fetchGit uri) ("${builtins.getEnv "HOME"}/.cache/nix/gitv2/${builtins.hashString "sha256" uri}") ?
<simpson>
Zer0xp: Effort must be made to translate these old instructions. In general, don't look at what they tell you to *install*, but what they tell you to *use*.
<Taneb>
...you can only really use apt in Debian and Ubuntu and derivatives of those
<Taneb>
So people using a whole load of distributions, like Arch or Fedora or Gentoo, would have to translate the instructions too, not just NixOS
M-Gregoire has joined #nixos
hmpffff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
M-Gregoire4 has joined #nixos
___quietlaika has quit [Ping timeout: 255 seconds]
<yorick>
oh, it needs import-from-derivation to get a base32 hash
zupo_ has quit [Read error: Connection reset by peer]
M-Gregoire has quit [Ping timeout: 257 seconds]
mmlb285 has joined #nixos
drewr has quit [Quit: ERC (IRC client for Emacs 26.2)]
jomik has quit [Quit: WeeChat 2.4]
pointfourtwo has quit [Quit: Leaving]
mexisme has joined #nixos
Izorkin has quit [Ping timeout: 255 seconds]
wfranzini has quit [Ping timeout: 246 seconds]
astrofog has joined #nixos
Zer0xp has quit [Ping timeout: 256 seconds]
wfranzini has joined #nixos
Izorkin has joined #nixos
mexisme has quit [Ping timeout: 258 seconds]
hyper_ch2 has quit [Quit: Page closed]
camsbury has quit [Ping timeout: 258 seconds]
schjetne has quit [Ping timeout: 245 seconds]
erasmas has joined #nixos
drakonis has joined #nixos
zupo has joined #nixos
IRCsum has quit [Ping timeout: 250 seconds]
astrofog has quit [Remote host closed the connection]
jackdk has quit [Quit: Ping timeout (120 seconds)]
jabranham has joined #nixos
<pie_>
is it possible to check if something is a derivation?
<Taneb>
lib.isDerivation
<pie_>
oh duh. thanks \o/
<pie_>
trying to write some tests
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<pie_>
do we have some kind of test library for nix expressions yet
talqu has quit [Read error: Connection reset by peer]
najib has quit [Remote host closed the connection]
{^_^} has joined #nixos
MmeQuignon has joined #nixos
<gchristensen>
,botsnack=Oh thanks, have a cookie yourself
<gchristensen>
,botsnack = Oh thanks, have a cookie yourself
<{^_^}>
botsnack defined
<gchristensen>
infinisil: ^
<infinisil>
:D
<gchristensen>
with this change, events.nix.gsc.io and the gateway have moved to the new host and shouldn't go away
o1lo01ol1o has quit [Remote host closed the connection]
Ariakenom has quit [Quit: Leaving]
wfranzini has quit [Quit: wfranzini]
mekeor has joined #nixos
fusion809 has quit [Remote host closed the connection]
MmeQuignon has quit [Ping timeout: 244 seconds]
InFlames has joined #nixos
npmccallum has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jetien_ has quit [Quit: WeeChat 2.4]
schjetne has joined #nixos
<marek>
I have a ${hostname}.nix file - is there a way to use this hostname as an variable inside the script
<infinisil>
marek: Only in a very hacky way..
<marek>
infinisil: hrm, too bad
<devalot>
marek: I do it like this: hostname = builtins.getEnv "HOST";
<devalot>
Then put ${hostname}.nix into imports = [ ]
<devalot>
Another way of doing it is use -Ihostfile=/path/to/hostname.nix and then import <hostfile>
ddellacosta has joined #nixos
<Baughn>
Zer0xp: There's a kubernetes *service* in NixOS. I don't know if I'd call it fully baked (it worked very badly when I tried it last year), but it's under active development so who knows.
<Baughn>
Check your configuration.nix, it should have instructions.
winem_ has quit [Ping timeout: 246 seconds]
<devalot>
You may need to use a directory instead of a file for the import <...> trick.
<Baughn>
Almost definitely want to use -unstable, though.
<marek>
devalot: I have server1.example.com.nix, but I would like to get server1.example.com from it as a variable
<clever>
devalot: -I can work with files and directories
<devalot>
marek: Yeah, I'd use -I when you call nixos-rebuild and then you can use import <foo> in your module list.
<marek>
devalot: I mean, I would like to have the hostname variable just from the file name, not in the code itself
<marek>
nice, I will give that a try, thank you!
<Baughn>
Zer0xp: That being said, unless you have a particular want to try _Kubernetes specifically_, I've always found that running software as Nixified services (under systemd) is way more comfortable and easier to understand.
<Baughn>
K8s is great, assuming you have at least a dozen machines and a full-time employee dedicated to running it.
<johnw>
is there a good way to debug why a binary cache isn't being used?
linarcx has joined #nixos
acarrico has quit [Ping timeout: 245 seconds]
<clever>
johnw: nix-store -r /nix/store/foo -vvvvv, and then read the logs
<pie_>
yorick, you too? <yorick> so I need the .git directory out of a fetchGit
MmeQuignon has joined #nixos
<pie_>
yorick, something something .gits can be nondeterministic, but i havent checked that
<infinisil>
.git is very much impure
<pie_>
the hack i did was i wrote my own fetchgit >_> which just runs normal git and doesnt delete anything
InFlames has quit [Ping timeout: 246 seconds]
<pie_>
infinisil, im open to suggestions
<infinisil>
What do you need .git for?
<infinisil>
pie_: Oh um, the default fetchgit has a leaveDotGit options :)
<infinisil>
I think that strips it from its impurities
<pie_>
that is fake
<pie_>
in my experience anyway
<infinisil>
Huh?
<pie_>
it leaves some horribly mangled .git that didnt work
<johnw>
clever: thanks!
astrofog has joined #nixos
<pie_>
ah, well, didnt work for whatever i was using that was trying to use it at least
<infinisil>
pie_: Yeah so, wha do you need it for?
<yorick>
infinisil: stackage specifies the sha1 hashes of .cabal files, because they sometimes change
<pie_>
go2nix i think
<yorick>
infinisil: so I need to git show that hash to get the right version of a cabal file
<infinisil>
pie_: More specifically?
o1lo01ol1o has joined #nixos
<pie_>
i dont know more specifically. didnt think to look into it. i might later. it used git rev information to do pinning
<yorick>
also, this repo is much too large to check out on disk
srid has quit [Ping timeout: 246 seconds]
<infinisil>
yorick: Where does the sha1 hash come from? A git hash?
<yorick>
infinisil: yes
<infinisil>
So you need to check out that sha1 version of the repo and get the cabal file you want from there?
<yorick>
infinisil: no, you just do git show $FILE
<yorick>
(the tool I'm wrapping uses libgit for it)
<infinisil>
Am a bit confused still
o1lo01ol1o has quit [Ping timeout: 244 seconds]
drakonis has quit [Quit: WeeChat 2.4]
<yorick>
infinisil: git is a content-addressable store, by sha1 hash, so if you have the .git, you can use 'git show' to get any version of a file if you know it's git-sha1 hash
<yorick>
the stackage lts files include a "GitSHA1: d3246a36cfd03aa0f315502cbcc33d0046aa668c"
<yorick>
then you do `git show d3246a36cfd03aa0f315502cbcc33d0046aa668c` to get that file
<Shoubit>
How do I run `nix repl` with a different channel, e.g. say I have an unstable channel aliased to "unstable"?
<yorick>
Shoubit: nix repl '<unstable>' ?
<tilpner>
nix repl channel:nixos-unstable
<tilpner>
That will download and :l nixos-unstable
<pie_>
bbiab
<Shoubit>
yorick, I tried that initially and it doesn't seem to be working :( tilpner, nice, that works
<infinisil>
yorick: Ahh, so the hash isn't a commit hash, but some other git object hash
<yorick>
infinisil: right :)
<yorick>
(I think this is horrible and that cabal files should be immutable after publication)
<tilpner>
Shoubit: Note that this will be the newest (cached) version of nixos-unstable
<infinisil>
yorick: And pkgs.fetchgit with leaveDotGit didn't work because it would take too long to clone?
<infinisil>
yorick: Yeah I agree with that..
<yorick>
infinisil: pkgs.fetchgit doesn't work if I don't have the sha yet, and it would take too much space, yes
<tilpner>
Shoubit: Not any unstable pin you may have elsewhere
<infinisil>
yorick: OH crazy idea: Maybe you could precalculate the hash, because ultimately it's just a combination of already known hashes + a directory layout
<tilpner>
Uhhh
<yorick>
infinisil: I checked, sha uses padding here
hmpffff has joined #nixos
<tilpner>
That seems like a brittle idea
<yorick>
this idea breaks bitcoin :P
<infinisil>
yorick: Still, I think it should be doable in theory
<infinisil>
Oh
vid has quit [Ping timeout: 245 seconds]
<infinisil>
You mean that Nix doesn't pad the files, but the hashes you have did pad the files?
<greenerworld[m]>
btw how is btrfs support for nixos?
<yorick>
greenerworld[m]: nothing is lacking except upstream btrfs being good
<infinisil>
Yeah it would still work, would just have to pad the files in the fixed-output derivation :P
<yorick>
infinisil: you can't combine two sha hashes
<infinisil>
Oh..
<infinisil>
nix-hash computes the hash over a dump of the directory
<infinisil>
Well darn
<greenerworld[m]>
yorick:
<greenerworld[m]>
yorick: what do you mean with upstream being good?
<cizra>
worldofpeace: Better?
<yorick>
greenerworld[m]: btrfs is about half the speed of ext4 and has lost my data multiple times
<yorick>
greenerworld[m]: also, anything but raid0 or raid1 is not stable
stranger___ has joined #nixos
<greenerworld[m]>
I'm using raid0
<yorick>
okay, then you probably don't care about your data
<yorick>
go ahead and use btrfs :D
<greenerworld[m]>
didn't had any problems with data loss on other distros
<greenerworld[m]>
exactly right :D
<yorick>
greenerworld[m]: nixos also has pretty good zfs support, you might consider that
<greenerworld[m]>
oh yeah, forgot about zfs, how does it compare to btrfs and ext4?
<yorick>
greenerworld[m]: it's more stable and featureful than btrfs, but it's relatively flaky since it's not in the kernel
<infinisil>
yorick: How about this: Get a rev for all-cabal-files impurely by choosing one that got created at about the time the LTS got created, then use that with pkgs.fetchgit and leaveDotGit
run500 has quit [Remote host closed the connection]
<yorick>
infinisil: hmm, they probably do base it on some rev I hope
<infinisil>
yorick: Oh and cloning all-cabal-files doesn't seem like a problem to me, it's "only" 200MB (still big, but manageable)
<yorick>
infinisil: the resulting directory?
<infinisil>
Yea
<infinisil>
210MiB to be exact
<JonReed>
Hi, let's say I have a package like `polybar` installed some time ago through `configuration.nix`, now I'm trying to update it and it breaks. What would be the easiest way to use old `polybar` that is already installed and working but to update everything else? I think I need to just include the derivation ("/nix/store/..") of that old `polybar` in `packages = ` somehow, right?
<infinisil>
I guess this would still be pretty bad because you still need to have many many fixed-output derivations..
<infinisil>
I really feel like nix-hash should recursively hash directories instead of hashing a dump of it. Then you should be able to precompute the combined hashes
<goibhniu1>
JonReed you could install the old version in your user or root profile instead of in the system profile (`nix-env -i /nix/store/blah/polybar`)
nschoe has quit [Quit: Program. Terminated.]
<yorick>
infinisil: yes, but now you can just hash the nars
<infinisil>
yorick: How do you mean that?
<yorick>
infinisil: you can easily validate downloaded nars by hashing them and checking the result
<infinisil>
Yeah but in this case you don't have nars?
<yorick>
I think it uses nars to determine the dependencies, too
<infinisil>
You mean you could run a single fixed-output derivation to get all 2000+ files with a bogus hash first to get the correct one for all of them?
wangoe has quit [Ping timeout: 268 seconds]
<yorick>
no, I mean that's why they do concatenated hashes instead of hashing directory contents
<yorick>
infinisil: also, the roommate is working on bringing back gnat
wangoe has joined #nixos
<JonReed>
goibhniu1: Yeah, I guess I'm struggling the most with trying to figure out what /nix/store that specific polybar had. But I think I'll be able to find it through nix-generations somehow (I did not had to do it for so long that I forgot).
<infinisil>
yorick: gnat?
<yorick>
the ada compiler
<alexarice[m]>
JonReed: You could just `find | grep polybar` in /nix/store
<infinisil>
yorick: No idea what this has to do with me :P
<alexarice[m]>
JonReed: as long as you haven't gced it
InFlames has joined #nixos
<yorick>
infinisil: oh I thought you cared, must have been viric
<yorick>
viric: also, the roommate is working on brining back gnat
<yorick>
currently stuck on some configure thing
ym555 has joined #nixos
<infinisil>
I see
<simukis_>
is there a way to disable builder sandbox for a particular package?
<simukis_>
s/package/derivation/
<yorick>
simukis_: sudo nix-build --sandbox false
<infinisil>
JonReed: You should get the last nixpkgs version where polybar succeeded, then import polybar from that version
o1lo01ol1o has joined #nixos
<infinisil>
JonReed: Do you know that nixpkgs version?
<JonReed>
infinisil: No, is there a way to track it from /nix/store path? I just found what path the polybar had.
<simukis_>
yorick: is it possible from within derivation? I have a derivation which I know will never work in a sandbox because it uses bazel nonsense which goes out to the internets to fetch stuff during build.
GiGa has joined #nixos
GiGa has joined #nixos
GiGa has quit [Changing host]
<infinisil>
JonReed: It's in general impossible to go from store path -> nix value, but maybe it's possible if it was built by hydra, I'll check
<yorick>
simukis_: no
<yorick>
simukis_: you could pre-cache it for bazel somewhere maybe?
<GiGa>
Hello. I just ran "nix-env --install" in error. What impact will this have please? Executed as a limited user (without sudo) on my NixOS system.
acarrico has joined #nixos
<JonReed>
alexarice[m]: Thanks. That turned out of the be easiest way to find the path.
sudoforge has quit [Ping timeout: 258 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<simukis_>
yorick: I *could* but it would involve me patching out about a hundred such dependencies. (--option sandbox false does not work either – I’m probably not in a list of trusted users and I cannot add myself there)
o1lo01ol1o has joined #nixos
<infinisil>
JonReed: Hmm there doesn't seem to be a way even in hydra to get back to the nixpkgs version from a store path
<yorick>
git bisect
oida has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 246 seconds]
Myhlamaeus has joined #nixos
<infinisil>
yorick: You can't know what's new/old (or good/bad)
<yorick>
I know it worked in 18.09
<infinisil>
yorick: To find a nixpkgs version for a store path?
<JonReed>
infinisil: Thanks for verifying it.
<yorick>
no, polybar
<infinisil>
Ah yeah if you just need any working version that works
oida has joined #nixos
<infinisil>
Or you could just get the last working version from hydra
<infinisil>
But JonReed tries to get the very version he already has in their store
<yorick>
also it builds in master
<infinisil>
Yeah it's easier to just pick a version that works
<JonReed>
infinisil: Ah, it won't be there, because it was build with additional support (like for i3).
<infinisil>
Ah well then it's almost hopeless :P
<infinisil>
Well actually no
o1lo01ol1o has quit [Remote host closed the connection]
cswl has quit [Quit: Connection closed for inactivity]
<infinisil>
If you really wanted to find the nixpkgs version you could still go through all previous channel nixpkgs versions and check for the store path in each of them :)
<worldofpeace>
cizra: I don't think so, ol the github ui is acting strange
<cizra>
worldofpeace: eh, my bad, too many versions of history floating around. Fixed it now.
JonReed has quit [Ping timeout: 256 seconds]
<worldofpeace>
cizra: thanks, having it build it now. Once that passes we should be good for merge :)
inquisitiv3 has joined #nixos
Neo-- has quit [Ping timeout: 248 seconds]
<cizra>
worldofpeace: Yarr! Me, an OS developer :D
<worldofpeace>
cizra: lol, but this is really how that happens though.
mekeor has quit [Ping timeout: 250 seconds]
ddellacosta has joined #nixos
<inquisitiv3>
What's necessary for running Cabal (Haskell)? When I run `cabal init` in an environment with `cabal-install` installed and try to chose a license it craches.
<inquisitiv3>
Do I miss something, or is it a bug?
<inquisitiv3>
Running Nix on Fedora
esmerelda has quit [Ping timeout: 255 seconds]
esmerelda has joined #nixos
halfbit has joined #nixos
<blackriversoftwa>
elvishjerricco:
schjetne has quit [Ping timeout: 258 seconds]
<blackriversoftwa>
elvishjerricco: I'm trying to get into a shell with ghcjs86, using the latest master (as of earlier today) of nixpkgs. `nix-shell -p haskell.compiler.ghcjs86`
<blackriversoftwa>
it seems like ghcjs86 was marked broken for a while, then unbroken recently (looking at the history on ghcjs-ng/default.nix). If it was marked unbroken then presumably it worked for someone? But it seems it was marked broken and then unbroken since the last bump to the source fetch. Any ideas?
<cizra>
worldofpeace: World of yumminess. What's the usual timeline of master commits to percolate down to a stable channel? I'm on 19.03.
pie_ has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
drakonis has quit [Ping timeout: 248 seconds]
<pie_>
how does nix do equality checking on attrsets?
max1 has joined #nixos
<pie_>
> (pkgs.hello // {a = 1;}) == pkgs.hello
<{^_^}>
true
<pie_>
oh no.
<pie_>
so much for a unit test i wanted to make
<gchristensen>
what does that even mean O.o
<pie_>
gchristensen, hm?
<pie_>
what I actually wanted to check?: (root.extend emptyOverlay).extend emptyOverlay = root
<pie_>
s/?//
<gchristensen>
I guess I'm asking how is that possible
<gchristensen>
it is not sensible
<pie_>
oh
o1lo01ol1o has joined #nixos
<pie_>
maybe its just doing a derivation specific check
<pie_>
tilpner, well thats a start i guess. I could write my own checking function
<pie_>
hm, how to avoid infinite recursion though
<cizra>
I'm developing a Nix package that takes a while to compile, and it's taking me A LOT of retries. Is there a way to hook ccache into nix-build? Or avoid compilation by reusing a dirty tree?
<pie_>
sphalerite, ive been wondering, how to you start a nix-shell that actually behaves like a build sandbox though
<sphalerite>
cizra: although if you're fiddling with build flags it's likely to affect the whole build
<tilpner>
infinisil: In PM it says "file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):5:16"
<sphalerite>
cizra: with /build and all that? There isn't currently any provision for that
<worldofpeace>
cizra: that actually doesn't happen on its own. the changes need to be backported to the stable branch
<cizra>
sphalerite: I'm not, I'm fiddling around with install scripts. Can I still fiddle with install scripts using nix-shell? I thought they're kind of incompatible.
<sphalerite>
cizra: sure you can, just set $out to a non-nix-store path :)
<pie_>
cizra, you might be able to goad cntr into doing what you want as well but idk
<pie_>
see also breakpointHook
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<sphalerite>
cizra: so you can do something like `export out=/tmp/inst ; ( genericBuild ; )
* gchristensen
pokes {^_^}
<gchristensen>
c'mon now
<cizra>
worldofpeace: And some day a new stable branch would be created, containing all of master, I suppose, not only backports?
<sphalerite>
infinisil: will we get ,find back soon? ;)
<infinisil>
Soon? No. Eventually? Maybe
<gchristensen>
,find searched the repo for a file?
<{^_^}>
,find is temporarily unimplemented
<infinisil>
Yea
<infinisil>
And it preferred files with more commits
<gchristensen>
fancy
<pie_>
ok...im actually looking for the implementation of "=="
esmerelda has quit [Ping timeout: 246 seconds]
<infinisil>
But I guess i could just not implement this commit thing, then it would be much easier
phaebz has joined #nixos
<pie_>
searching "equa" (-l-ity) got nothin
<infinisil>
Why did i get rid of the implementation? Because i generated the file -> commit count mapping manually. It wouldn't have worked for new files
<zeta_wolf>
hello guys, when i tried to set these packages to automatically update emacs nixos threw the `read only file system` error, i have my emacs packages declaratively installed in home.nix so will they automatically be updated by nixos? https://hastebin.com/otenahugun.sql
ondrejsl has joined #nixos
<ondrejsl>
hello, I am trying to build my haskell project with nix. I've done stack2nix which generated a 40k lines nix file which takes ages to compile (no cache seems wrong) and then fails with "binutils-2.31.1/bin/ld: cannot find -lpthread" and similar lines -- can you please advise what's needed?
<infinisil>
ondrejsl: No cache is expected, the nixpkgs build farm can't possibly build every package for all possible versions of dependencies
<sphalerite>
pie_: I guess you'll implement your own equality operator that does care about attrs on derivations? :D
<sphalerite>
(in nix, since that should be perfectly possible)
<infinisil>
ondrejsl: Ideally stack2nix should generate working builds, but it seems that in your case something went wrong and you might need to fix something manually, what's the full error? From the first suspicious line to the end
<pie_>
ondrejsl, infinisil, maybe worth an additional comment, if this is correct?: stack2nix probably wont be using the same packages as in the in-tree nixpkgs haskell packages, and if you happen to have a different version of something thats a core dependency, its no surprise you end up rebuilding the world
<infinisil>
pie_: Yeah it generates a completely new Haskell package set that has nothing to do with the nixpkgs one. It would be really surprising if it would evaluate to the exact same derivations
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil>
Whew!
<pie_>
w00t
<drakonis>
sweet christmas
<pie_>
make it rain
<gchristensen>
these are not necessarily recent bumps, but the system running the tracker died.
<sphalerite>
RIP
<gchristensen>
definitely
_ris has joined #nixos
<ondrejsl>
zeta_wolf: I'll try to post it later, the gist is that it takes haskell.packages.ghc864 and does compiler.override. Now I am guessing I need to add some dependencies to the override(?) but I can't find where it's documented.
<ondrejsl>
infinisil: ah, good to know, thank you
<clever>
ondrejsl: you can use .extend to add more overlays to things
<averell>
wow, we have a FF 67 PR before they even released their release notes
<clever>
> haskellPackages.extend
<{^_^}>
<LAMBDA>
<pie_>
averell, maybe they want to put nix in the release notes :P (jk)
<clever>
ondrejsl: the extend function takes a single overlay, and returns a new package set, that also has its own .extend
<zeta_wolf>
i am setting up some web devopment tools in nixos, but the instructions on how to setup postgresql and nginx do not go in depth, also i am trying to setup yesod web framework, is there instructions(links) that go in depth on setting this stuff up? thanks in advance!!!
<pie_>
zeta_wolf, i cant think of anything other than piecing together information from random tutorials and the programs documentation
mexisme has joined #nixos
<infinisil>
andi-: Why backport FF major releases? (<- gchristensen averell: Do you know?)
<gchristensen>
browsers are security critical
<gchristensen>
and not really an API
<infinisil>
Hm alright
<andi->
yeah that is exactly the reason why I started picking that package up..
<andi->
averell: I have been doing pre-release PRs for ~5 versions now.. It is pretty predictable since they schedule is an iCal file you can add to your calendar
<ondrejsl>
clever: I am not sure I need an overlay. I can just edit my default.nix. The problem is I don't know how to add pthread, gmp and similar dependencies.
<zeta_wolf>
well are any of you guys using: 'postgresql', 'nginx', or 'yesod' for web development? It would be nice to have some nixos configurations to use as a reference
<andi->
s/they/their/
<averell>
oh i see. cool.
cswl has joined #nixos
<infinisil>
ondrejsl: First, can you paste the full error?
<pie_>
zeta_wolf, calm down, read some docs, wait at least until your question has gone off the screen before asking again :p
<clever>
ondrejsl: why do you need to add things like pthread and gmp?
<infinisil>
clever: (Read their first message in the backlog)
<bourbon>
where can I see what platforms a derivation is good for, and what would I do to make this derivation okay for darwin? it seems like just trying to run telegraf works. maybe the problem is the systemd service?
<infinisil>
bourbon: I'm confused, are you on NixOS or Darwin? Because those two are very much disjoint. The file you linked to is a systemd service for NixOS
<{^_^}>
#42117 (by nh2, 48 weeks ago, open): NixOS setuid wrapper prevent running sudo in user namespace
<judson_>
Is there a workaround for this?
<ondrejsl>
clever: so curiously the error is the same pretty much,... I tried to go with the guide to cabal2nix in the manual and got https://pastebin.com/uMb3M3B8 I'll try your expression next
<clever>
ondrejsl: can you pastebin the cabal file?
tokudan has joined #nixos
<bourbon>
I'm just trying `nix-shell --run "some stuff"`
<bourbon>
our main default.nix does something along the lines of `pkgs.stdenv.mkDerivation rec {...`
<bourbon>
I added `pkg.nix` to buildInputs`
mmlb285 is now known as mmlb
mnoronha has joined #nixos
<infinisil>
The error is..?
waleee has quit [Quit: WeeChat 2.4]
<mnoronha>
This is a beginner question: I'm trying to make an isolated python environment with nix-shell like what's specified here: https://nixos.org/nixpkgs/manual/#python
<mnoronha>
This works initially, but when I go add a package, it seems to be "caching" my shell
<bourbon>
error looks like
<bourbon>
"2019/05/17 21:15:20 ui error: ==> qemu: error: Package ‘telegraf-1.7.0’ in /nix/store/220kpvq17xqg89vr25b1g69lsgksvi7k-source/pkgs/servers/monitoring/telegraf/default.nix:25 is not supported on ‘x86_64-apple-darwin’, refusing to evaluate."
<bourbon>
sorry, took a minute to track it down
<infinisil>
It looks like you might be using a nixpkgs meant for Linux on Darwin
<bourbon>
sure does
<ondrejsl>
clever: perfect clue! I forgot some flags for static linking there from previous attempts!
<bourbon>
oddly, it never complained when the build guy was using the same channel for ruby packages, even ones with native lib dependencies
<bourbon>
perhaps there's a way I can make a derivative derivation from the one that exists for telegraf that is compatible?
<{^_^}>
{ darwin = { _type = "exec-format"; name = "darwin"; }; }
<infinisil>
bourbon: By default when you import nixpkgs something like this: `import <nixpkgs> {}`, it infers some default impure arguments in the {}, one of which is `system` which defaults to something like builtins.currentSystem
<infinisil>
So I suspect there might be an instance where these defaults aren't used because such an argument is passed explicitly
<bourbon>
first few expressions in the default.nix are:
<bourbon>
`let` followed by ` _pkgs = import <nixpkgs> {};`
<bourbon>
or... sec...
<clever>
ondrejsl: ah, so you forced it to be fully static, and it couldnt find libgmp.a and libc.a
<bourbon>
so I could get through this hell by just using a newer version of the package repository?
<infinisil>
bourbon: You just need to override it to have it indicate support for darwin as well
<infinisil>
Hold on..
<fresheyeball>
I got GTK_DATA_PREFIX set
<clever>
ondrejsl: so now you should have 2 ways of building it, with either cabal or stack2nix, and need to decide if obeying stack.yaml is worth the build time
<fresheyeball>
and the setting sticks in gnome-tweak-tool
<fresheyeball>
and I see Arc-dark in gnome-tweak-tool
<clever>
ondrejsl: or if you would rather ignore stack.yaml and get help from cache.nixos.org!
<fresheyeball>
but no change to the windows
<infinisil>
bourbon: Replace `telegraf` with `telegraf.overrideAttrs (old: { meta = meta // { platforms = lib.platforms.unix; }; })`
<infinisil>
(untested, but I'm fairly certain this should do it)
<ondrejsl>
clever: my stack.yaml is trivial so I think the latter works better
<ondrejsl>
clever: thank you!
InFlames has quit [Ping timeout: 246 seconds]
<infinisil>
fresheyeball: Does it work with lxappearance? Specifically lxappearance-gtk3?
<fresheyeball>
I will try
<fresheyeball>
but on my other machine I couldn't get it work with lxappearence (the setting would not persist)
<fresheyeball>
and had better luck with gnome-tweak-tool
<pie_>
oh no we're up to 1200 PR again :D
<infinisil>
fresheyeball: Yeah try lxappearance-gtk3, standard lxappearance never worked for me
<bourbon>
infinisil: so to make a derivative derivation, I just use `telegraf.overrideAttrs(old: { __NEW_STUFF__ ..` and base it on the default.nix you linked?
<infinisil>
pie_: Down to! It has been between 1200-1300 for a while now
<infinisil>
bourbon: Not sure what you mean by "base it on", but yeah that's how you customize derivations
<aveltras>
are there examples of derivations similar to https://github.com/GoogleChrome/rendertron ? I'm trying to package it taking inspiration from yarn but with no success
<infinisil>
In this case at least, there's a bunch of other override techniques
<bourbon>
I mean... I just set fields, and anything I set in that dictionary overrides stuff that default.nix provides?
hmpffff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil>
bourbon: Yes, specifically it overrides the mkDerivation attributes
<bourbon>
infinisil: what's the relationship between nixpkgs/nixos/modules/services/monitoring/telegraf.nix and nixpkgs/pkgs/servers/monitoring/telegraf/default.nix ?
<infinisil>
bourbon: The former is a NixOS service that sets up a systemd service to run telegraf, the latter is just the package definition
<{^_^}>
[nixpkgs] @cizra opened pull request #61764 → tdm: init at 2.07 → https://git.io/fj4Lm
<fresheyeball>
infinisil: interesting
<clever>
pie_: but if you can predict what root is going to nixos-rebuild to next, you could beat them to it
linarcx has quit [Quit: WeeChat 2.4]
<clever>
pie_: and "prebuild" the wrong one
<cizra>
manveru and others: I packaged The Dark Mod (phew! That was quite some compilation!) @ https://github.com/NixOS/nixpkgs/pull/61764 -- however, it only runs if I add the path containing libGL.so.1 to the LD_LIBRARY_PATH manually. How do I fix it?
<bourbon>
I notice in the dox, it's `oldAttrs: ...`
<bourbon>
but some issues on github use `old:`
<bourbon>
(and you suggest `old:...`
<bourbon>
)
zupo_ has joined #nixos
drewr has quit [Quit: ERC (IRC client for Emacs 26.2)]
ym555_ has quit [Ping timeout: 246 seconds]
<immae>
bourbon: "old" is a variable name for the function argument, you can name it fooBar if you want. If you don’t use it in the function body, you may name it _ to clarify the fact that you don’t need it
zupo_ has quit [Client Quit]
<bourbon>
just making sure I'm not dealing with named args here
<bourbon>
I'm... very new to nix's config language, still
ym555_ has joined #nixos
schjetne has quit [Ping timeout: 248 seconds]
<immae>
yes, it’s a function argument here
zupo has quit [Ping timeout: 252 seconds]
<immae>
like probably everywhere you’d see `<something>:` actually
<infinisil>
bourbon: Yeah I just used "old" because it contains the old attributes to mkDerivation
<bourbon>
immae: but I can be safe in assuming this label is applied only at the call-site, not the actual function definition?
<immae>
there is nothing clever nor unclever in there
<bourbon>
just no defaults
<immae>
Ok, so here you have something else
<immae>
Usually you "import" file, like `import ./file.nix { function args }`
shiver has quit [Ping timeout: 244 seconds]
<immae>
Here they’re using a very handy thing that is callPackage
drewr has joined #nixos
<immae>
Which is used like `callPackage ./file.nix { function args }`, very similar to imports
<immae>
but it has a big difference
<bourbon>
I don't see any invocations of callPackage, though
<immae>
It will automatically replace elements of pkgs in the function, so in your case you can expect them to be filled in correctly with the values
<immae>
bourbon: that’s the job of the caller, which you don’t see here
<bourbon>
that's baked into the implementation of `nix-shell`?
<immae>
(if anyone knows a wiki page or so that explains the thing better than me, please share)
<immae>
yep
<immae>
and most nix-foo's
<immae>
in your case, lib, buildGoPackage, fetchFromGitHub are all "direct children" of nixpkgs, so they will be filled in automatically when using callPackage facility
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<immae>
but you could also say `import ./default.nix { inherit (pkgs) lib buildGoPackage fetchFromGitHub; }` and it would be exactly the same
<bourbon>
so in which cases will the default pkgs get used instead of the one provided from outside?
Ariakenom has quit [Quit: Leaving]
<immae>
you mean in your code?
<bourbon>
yeah
<immae>
nix-build doesn’t use the callPackage for instance
<praetorg>
is building of bcachefs kernel on unstable currently broken? patch fails to apply, stating "Reversed (or previously applied) patch detected!"
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #61738 → arandr: Stop crashing when trying to open dialog boxes → https://git.io/fj8bU
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj4ti
rfold has quit [Quit: WeeChat 2.4]
ddellacosta has joined #nixos
shibboleth has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
ym555 has joined #nixos
sir_guy_carleton has joined #nixos
<viric>
yorick: Good luck :)
ym555_ has quit [Ping timeout: 244 seconds]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
MmeQuignon has quit [Ping timeout: 246 seconds]
Copenhagen_Bram has quit [Read error: Connection reset by peer]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
hamishmack has joined #nixos
ddellacosta has quit [Ping timeout: 255 seconds]
jackdk has quit [Ping timeout: 258 seconds]
ddellacosta has joined #nixos
schjetne has joined #nixos
<markasoftware>
will nixos run well on a VPS with 0.5gb of memory?
jackdk has joined #nixos
<simpson>
markasoftware: That should be enough to boot. NixOS isn't special in terms of footprint; you should be able to plan for it like you'd plan for any other Linux+systemd distro.
<markasoftware>
i'm worried abouth the package manager, mainly
<markasoftware>
it seems to use more memory than apt, substantially
<simpson>
Which command? nix-env is known to use a lot of memory, but the rest of them should be relatively well-behaved.
<markasoftware>
if i install things using configuration.nix instead of nix-env, will it use less memory?
selfsymmetric-mu has joined #nixos
<simpson>
Sure. Or nix-shell or nix-build. It's nix-env in particular that builds extra structures in memory while doing its work, and IIUC only when evaluating nixpkgs to do package lookups by name.
<markasoftware>
ok, i'll take your word for it!
<markasoftware>
i can always upgrade the VPS if it isn't enough.
jackdk has quit [Ping timeout: 245 seconds]
<simpson>
Or destroy it if you tire of it. It's just a VPS.
<abathur>
I'm using an overlay on darwin to run bash 5 as my default interactive shell; is it meaningful to file issues for anything I see that seems related before there's a real attempt to make 5 the default?