thomashoneyman has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
___laika has quit [Ping timeout: 245 seconds]
simukis__ has joined #nixos
thomashoneyman has joined #nixos
simukis_ has quit [Ping timeout: 268 seconds]
MmeQuignon has joined #nixos
DariusTheMede has joined #nixos
alex`` has quit [Ping timeout: 244 seconds]
lambda-11235 has quit [Quit: Bye]
lovesegfault has quit [Quit: WeeChat 2.5]
xnqg8h has joined #nixos
DariusTheMede has quit [Ping timeout: 248 seconds]
Rusty1 has joined #nixos
Edes has quit [Ping timeout: 246 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
mkoenig_ has quit [Read error: Connection reset by peer]
<hyperfekt>
can anyone who can actually read makefiles and isn't just taking blind stabs help me figure out how i can avoid linux-pam's dependency on a browser that itself transitively depends on linux-pam? i'm trying to package a version with the redhat modules.
mkoenig has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjSH8
kvda has joined #nixos
___laika has joined #nixos
___laika has quit [Ping timeout: 268 seconds]
<{^_^}>
hyperfekt: Please expand your question to include more information, this will help us help you :)
Rusty1 has quit [Quit: WeeChat 1.4]
xkapastel has joined #nixos
MmeQuignon has quit [Ping timeout: 248 seconds]
<{^_^}>
[nixpkgs] @gcv opened pull request #65617 → Allow GnuPG1 to build on all platforms. → https://git.io/fjSH2
justanotheruser has joined #nixos
psy3497 has joined #nixos
<DigitalKiwi>
that was awfully sentient of {^_^}
Hail_Spacecake has quit [Remote host closed the connection]
Hail_Spacecake has joined #nixos
<craige>
Is there anyone lurking who runs NixOS on Linode with encrypted disks?
<craige>
My lack of Google foo is leading me to believe I'm pioneering a problem when I expect there are others who've gone before me.
thomashoneyman has quit [Read error: Connection reset by peer]
ris has quit [Ping timeout: 260 seconds]
thomashoneyman has joined #nixos
day|flip has joined #nixos
wildtrees has quit [Quit: Leaving]
thomashoneyman has quit [Ping timeout: 268 seconds]
ivegotasthma has quit [Ping timeout: 245 seconds]
pjan has quit [Ping timeout: 245 seconds]
drakonis has joined #nixos
<hr[m]>
Does anyone know how I can source a file into ~/ using home-manager/a user defined nix file in nixpkgs, currently I'm using `xdg.configFile."hammerspoon".source = ../../de/darwin-only/hammerspoon;` but that places the files in ~/.config/hammerspoon
pjan has joined #nixos
<infinisil>
hr[m]: You seen the home.file option?
<hr[m]>
no, I thought I could find something with google but I couldn't. That sounds like the right option.
<hr[m]>
It works, thanks.
<infinisil>
Google isn't very useful for nix things most of the time
ivegotasthma has joined #nixos
[Leary] has joined #nixos
ddellacosta has quit [Ping timeout: 248 seconds]
Lears has quit [Ping timeout: 245 seconds]
IRCsum has joined #nixos
meteo has quit [Ping timeout: 246 seconds]
thomashoneyman has joined #nixos
justanotheruser has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @peterhoeg opened pull request #65618 → pwgen_secure: init at 0.9.1 → https://git.io/fjSQT
fusion809 has joined #nixos
thomashoneyman has quit [Ping timeout: 272 seconds]
<ivan>
craige: I've done it elsewhere, what are you doing
<ivan>
my telepathy says you're using grub to boot but it doesn't support secrets
<craige>
Heya Ivan.
<craige>
Building a luksencrypted filessytem on linode and installing NixOS on it but at boot grub returns "prefix not set" - trying to narrow down the cause of that.
<ivan>
do you have an unencrypted /boot and boot.initrd.{network,availableKernelModules} set up?
* craige
nods
<craige>
and after each failed boot, /boot's FS is corrupted.
<ivan>
did you see any warnings in the nixos-rebuild message output?
<craige>
Clean as a whistle.
<{^_^}>
[nixpkgs] @changlinli opened pull request #65619 → ls4: init at 1.0 → https://git.io/fjSQs
xnqg8h has quit [Ping timeout: 244 seconds]
<craige>
On the plus side, I'm starting to memorise my 36 character encryption password.
<ivan>
I've seen that message before but only in a "situation fubar" way that I know little about
<ivan>
craige: does unencrypted install work on linode?
<craige>
It has for me in the past.
<ivan>
craige: you might need to copy kernel boot options out of the install that linode does like which tty to print messages to
<craige>
I've got a copy of that and it's replicated in the boot process. I'll have to review it again though, triple check as my last tweak just failed :-D
Hail_Spacecake has quit [Remote host closed the connection]
<ashkitten>
Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.FileChooser” on object at path /org/freedesktop/portal/desktop
<ashkitten>
in firefox
<ashkitten>
worldofpeace: maybe you might know what this is?
<gchristensen>
I think this was reverted on master
<worldofpeace>
ashkitten: resolved on master to my knowledge
<kalbasit>
I'm trying to setup a Rasberry-Pi but I don't have a Serial console cable (uart). I flashed the default image (https://hydra.nixos.org/job/nixos/trunk-combined/nixos.sd_image.aarch64-linux) and I can't seem to power HDMI it goes away right after kernel boot. Where can I disable console/enable hdmi so I can enable SSH on it?
<ashkitten>
worldofpeace: what commit? i'm on 239fffc90d7
<hr[m]>
The above is my first PR to nix. It includes a new derivation for the golang file sharing program croc. If you have a moment could you please give it a quick check, just three file changes.
<simpson>
hr[m]: Three things. First, cool! Thanks for contributing to nixpkgs. Second, you have a syntax error in your PR, which is why ofborg is warning that your PR has failing checks. Third, please be patient, and don't be disheartened if your PR isn't merged right away.
<simpson>
Oh, I guess four things: magic-wormhole is already in nixpkgs, if you happen to need this functionality *right now* and can't wait~
glasserc has joined #nixos
ronny has joined #nixos
<hr[m]>
simpson: Thanks for the quick reply. I'm happy to be patient. I just fixed the error, so hopefully the error will go away. I'm not in need of croc urgently and up until now I've just been compiling it with go on new systems.
AbraKidAbra is now known as abrakidabra
<simpson>
hr[m]: No worries. The quick reply is precisely because you otherwise may not hear anything for a while.
<{^_^}>
[nixpkgs] @vcunat pushed 5 commits to release-19.03: https://git.io/fjSdj
thc202 has joined #nixos
bakakuna has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<layus>
Got a strange question: Is wrapGAppsHook supposed to be a buildInput or a nativeBuildInput. Both are used just as frequently
<symphorien>
Iirc there is an issue where you have to put it in both
fendor has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.5]
<{^_^}>
[nixpkgs] @endocrimes opened pull request #65629 → nomad: Upgrade to 0.9.4 → https://git.io/fjSFn
pietranera has joined #nixos
<joko>
Hey, is anyone having problems with open/save GTK dialogs? I get msgs in Firefox like the following: "Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.FileChooser” on object at path /org/freedesktop/portal/deskt"
<{^_^}>
#56943 (by emmanuelrosa, 20 weeks ago, open): setup hook of gobject-introspection in nativeBuildInputs does not run with strictDeps
<layus>
DariusTheMede: that definitely a case that is easier to debug with nix shell. The issue seems to be unrelated with building the executable. A directory is not found in your error log
LysergicDreams has quit [Ping timeout: 245 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
arahael1 is now known as Arahael
cyris212 has joined #nixos
cyris212 has quit [Client Quit]
ThatDocsLady has joined #nixos
cyris212 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
hyper_ch2 has quit [Remote host closed the connection]
cyris212 has quit [Client Quit]
cyris212 has joined #nixos
Makaveli7 has joined #nixos
knupfer has quit [Ping timeout: 258 seconds]
veske has joined #nixos
cyphase has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
<{^_^}>
[nixpkgs] @abbradar merged pull request #65584 → pythonPackages.tensorflow: Hardcode a second search class. → https://git.io/fjSBj
<{^_^}>
[nixpkgs] @abbradar pushed commit from @c00w to master « pythonPackages.tensorflow: Hardcode a second search class. (#65584) »: https://git.io/fjSNJ
<tazjin>
has anyone built any profiling tools for Nix?
linarcx has quit [Client Quit]
tjg1 has joined #nixos
linarcx has joined #nixos
<__monty__>
Could someone help me find the infinite recursion in this derivation I'm trying to write? http://ix.io/1Q8S
wpcarro has joined #nixos
<__monty__>
I also have an overlay for this which uses callPackage but a nix-build seems to indicate the infinite recursion is in the derivation not the overlay. Unless the derivation being in the overlays directory is a problem?
<{^_^}>
nix#2782 (by grahamc, 13 weeks ago, open): Track function start and end
DariusTh` has quit [Ping timeout: 246 seconds]
<yorick>
__monty__: use super.callPackage, not self.callPackage
Makaveli7 has quit [Quit: WeeChat 2.5]
<__monty__>
Already am.
linarcx has quit [Client Quit]
<yorick>
nothing in here would cause an infinite recursion
<__monty__>
I think the problem was the derivation being in the overlays directory. But now I get undefined variable nixpkgs.
<wpcarro>
Can anyone help me debug what I believe to be a linux kernel issue? My laptop keyboard stopped working and only works in BIOS. I've tried rolling back versions, but that doesn't restore the behavior. Now I've tried change kernelPackages from `4.19` to `4.18` and now `4.4`. Still nothing is working. Anyone have any troubleshooting ideas? I've tried
<wpcarro>
`xev`, `evtest`, `sudo hexdump /dev/input/by-path/*-kbd` and a few others... nothing is firing
orivej has joined #nixos
<tazjin>
yorick: cool, thanks, I'll try that. The link to the flamegraph example is down unfortunately, but it might go in the right direction
<__monty__>
I guess, nix-shell -p doesn't do what I thought it does? Seems to work with nix-build.
<yorick>
wpcarro: does it work in your boot loader?
<yorick>
wpcarro: did it work earlier on these linux versions?
<wpcarro>
It worked earlier. Yes. Which is why I thought rolling back versions would restore it.
<wpcarro>
yorick is the boot loader the view where I choose versions? If so, yes the arrow keys work there
<yorick>
wpcarro: okay, does it work on a live us with another distro?
linarcx has joined #nixos
linarcx has quit [Client Quit]
<wpcarro>
yorick I haven't tried that yet. I don't have any other live USBs available
<yorick>
wpcarro: "Restart your computer, when it is on the black screen with 'Dell' written on it, hold the F8 key until it turns on" (of course it hasn't to be "Dell").
<wpcarro>
yorick haha I saw this yesterday on a Windows 10 forum
<wpcarro>
I tried it... nothing seemed to happen. I have an Acer and tried holding when it said "acer" but nothing appeared to change
Guest32326 has joined #nixos
<yorick>
wpcarro: does the touchpad work?
<wpcarro>
yorick yes until I try to type something. After which point, it breaks
<xorAxAx>
ah
<xorAxAx>
can you ssh into your machine?
<xorAxAx>
and check the kernel log output
<wpcarro>
xorAxAx I can input text with a USB keyboard
<xorAxAx>
or like that
<wpcarro>
that's how I've been using it so far
<xorAxAx>
boot, login with usb keyboard, press an internal keyboard key, run dmesg|tail
orivej has quit [Ping timeout: 268 seconds]
linarcx has joined #nixos
ni291187 has joined #nixos
<ivan>
konsole in master seems to have weird rendering bugs where it shows old content
noonien has quit [Quit: Connection closed for inactivity]
Makaveli7 has joined #nixos
<__monty__>
yorick: The infinite recursion was definitely due to having it in nixpkgs/overlays. I'm not quite sure why `nix-build '<nixpkgs>' -A karabiner-elements` works while `nix-shell -p karabiner-elements` doesn't though.
freddie-freeload has quit [Ping timeout: 245 seconds]
ericsagnes has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.5]
linarcx has quit [Quit: WeeChat 2.5]
ni291187 has quit [Remote host closed the connection]
<sphalerite>
__monty__: what does the overlay look like?
veske has quit [Quit: This computer has gone to sleep]
<yorick>
should timers.target be part of basic.target instead of multi-user.target?
Makaveli7 has joined #nixos
<yorick>
maybe my backup script should depend on multi-user.target
<nihh>
I'm trying to alias an option config.foo.bar as config.bar; config.bar = mkAliasDefinitions options.foo.bar errors with The option 'bar' does not exist
<{^_^}>
[nixpkgs] @edef1c pushed 0 commits to openssh-known-hosts-ca: https://git.io/fjSxx
Makaveli7 has quit [Quit: WeeChat 2.5]
Makaveli7 has joined #nixos
kfound has joined #nixos
<{^_^}>
[nixpkgs] @Mic92 merged pull request #61521 → buildRustPackage: fix cargo flag for release/debug build → https://git.io/fjlOa
<{^_^}>
[nixpkgs] @Mic92 pushed commit from @adelbertc to master « buildRustPackage: fix cargo flag for release/debug build (#61521) »: https://git.io/fjSpc
Jackneill has joined #nixos
Guest32326 has quit [Ping timeout: 245 seconds]
tmaekawa has joined #nixos
Guest32326 has joined #nixos
__Sander__ has joined #nixos
kfound_ has joined #nixos
knupfer has joined #nixos
kfound has quit [Remote host closed the connection]
meteo has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @NeQuissimus pushed 2 commits to release-19.03: https://git.io/fjSjk
<niso>
ahhh in nixpkgs, makes sense. thanks! :)
<gchristensen>
yep!
<gchristensen>
(the idea of strings having dependencies is an idea ingrained in Nix)
Hail_Spacecake has quit [Ping timeout: 260 seconds]
Soo_Slow has joined #nixos
Hail_Spacecake has joined #nixos
ThatDocsLady has quit [Quit: Leaving]
Neo-- has joined #nixos
srid has quit [Ping timeout: 245 seconds]
xkapastel has joined #nixos
orivej has joined #nixos
<mdash>
I'm having trouble with `nixos-container` -- it seems like `nixos-container start foo` hangs for a while, during which the contaner is up and functioning, but then it exits killing the container
<mdash>
the logs show normal startup followed by "Start operation timed out. Terminating."
srid has joined #nixos
shibboleth has joined #nixos
ThatDocsLady has joined #nixos
pareidolia has quit [Ping timeout: 248 seconds]
ThatDocsLady has quit [Client Quit]
pareidolia has joined #nixos
ThatDocsLady has joined #nixos
kfound has joined #nixos
<averell>
what does systemctl say? anything in the journal?
<gchristensen>
at this point I'm wondering if we'd be doing better by just disabling ipv6.
<Dagger>
that much seems to work for me, at least
<gchristensen>
I'm in the process of scheduling a meeting with some people at Fastly to try and understand the problems a bit better
wildtrees has joined #nixos
freddie-freeload has joined #nixos
<Dagger>
do share if you find out, because I couldn't get my head around the explaination I saw last time
<gchristensen>
there are a number of problems
<Dagger>
and I have quite a few v6-only machines, so I do care about v6 working
<gchristensen>
but one of them has to do with a popular modem which doesn't have a standards compliant ipv6 implementation and sends RST packets
noudle has quit []
noudle has joined #nixos
<DigitalKiwi>
gchristensen++ (disabling it)
<{^_^}>
gchristensen's karma got increased to 132
<gchristensen>
no, that is probably not a valid idea :(
<DigitalKiwi>
:(
<DigitalKiwi>
honestly though i haven't been having as much trouble lately idk what's up
Makaveli7 has joined #nixos
<DigitalKiwi>
then again i also don't upgrade as frequently as i used to sooo
<gchristensen>
first things first, though: ipv6 is not the cause of all the problems we're seeing, so the first step is getting more info about what is gonig wrong
freddie-freeload has quit [Ping timeout: 245 seconds]
<hyperfekt>
it'd be awesome if the fastly problems could get fixed, i really wanna be a fan of theirs
m1sosoup has joined #nixos
<mgdm>
Fastly have confused me for a while
<mgdm>
I think they use a lot of Varnish, because their errors are clearly supposed to say 'Guru Meditation' which is the Amiga-inspired error that Varnish presents
<mgdm>
but their one is typoed to 'Guru *Mediation*'
ubert has quit [Quit: Leaving]
Makaveli7 has quit [Quit: WeeChat 2.5]
mvnetbiz_ has quit [Ping timeout: 245 seconds]
<Taneb>
That's when you have an argument with someone and get a guru to resolve the dispute
DariusTh` has quit [Ping timeout: 246 seconds]
<mgdm>
:D
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DariusTh` has joined #nixos
kfound has quit [Ping timeout: 245 seconds]
<cransom>
fastly is varnish all over. all the configuration is in vcl/varnish config language.
<gchristensen>
yeah
<gchristensen>
some problems are config. some problems are their network design.
gentauro has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
gentauro has joined #nixos
Makaveli7 has joined #nixos
freddie-freeload has joined #nixos
fendor__ has quit [Ping timeout: 245 seconds]
srid has joined #nixos
DariusTh` has quit [Ping timeout: 258 seconds]
<pietranera>
https://www.openwall.com/lists/oss-security/2019/07/31/2 icedtea_web: "CVE-2019-10182 and CVE-2019-10185 are considered High, since they can easily be used to take over the client before checking signatures. All versions of icedtea-web are believed to be vulnerable." The email points to a PR on GitHub that hasn't been yet merged though.
<enteee>
vagrant with winrm does not seem to work, i suspect a missing ruby dependency. Can somebody confirm this? https://pastebin.com/zQXT5imN
<pietranera>
meant to post this on #nixos-security ¯\_(ツ)_/¯
erasmas has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
chloekek has joined #nixos
<{^_^}>
[nixpkgs] @ThibautMarty opened pull request #65671 → urh: add PlutoSDR support → https://git.io/fj9J8
<ottidmes>
question about NixOS on ZFS, I just followed several guides about it understanding most of it, but one thing I found unclear was why do pool/root/nixos and not pool/nixos? For example this guide: https://nixos.wiki/wiki/NixOS_on_ZFS
drakonis has quit [Ping timeout: 250 seconds]
srid has quit [Read error: Connection reset by peer]
srid has joined #nixos
drakonis has joined #nixos
Makaveli7 has joined #nixos
<srhb>
ottidmes: I've found that it really only matters depending on the kind of option inheritance you want
<srhb>
(Like, inheriting everything from root to root/nixos and root/foo etc.)
<colemickens>
How does one do string interpolation with paths?
srid has quit [Ping timeout: 246 seconds]
<srhb>
colemickens: Like any other string interpolation :)
Guest43664 is now known as benny
<colemickens>
I need to use a non-quoted path for an import to get around absolute path requirements but I can't seem to do that when I need to concat the path with a variable?
<gchristensen>
./foo + "${bar}" might work
<colemickens>
I had been doing `import "${home_code}/overlays/${name}"` but I'd rather do something like `import ../overlays/${name}` but that doesn't seem to work?
<ottidmes>
srhb: ah ok, guess I will just make it pool/nixos for my next system then
<srhb>
ottidmes: Yeah. My main concern now isn't even options but whether I have sufficient datasets for the various snapshotting rules I want :)
<srhb>
For instance, I explicitly don't care about /nix/store but do care about other parts of /nix...
<marek>
what is the difference between staging and staging-next?
drakonis has quit [Ping timeout: 250 seconds]
<ottidmes>
srhb: I have setup some datasets thinking I might need them in the future for snapshots, but I only used snapshots for my ZFS drives that are used to store my backups
<srhb>
ottidmes: Backups! Yes.. I should get some of these...
<ottidmes>
the NixOS installer available for download on nixos.org is just installation-cd-graphical-kde.nix right? My laptop fails to boot with my custom LiveCD, but the one from nixos.org does work
<ottidmes>
srhb: just curious, wouldnt you want the whole of /nix to be snapshot, wouldn't otherwise e.g. the database get out of sync?
<srhb>
ottidmes: it's whatever's in nixos/release.nix's attribute iso_graphical iirc
<{^_^}>
[nixpkgs] @xaverdh opened pull request #65676 → android-file-transfer: fix building with qt → https://git.io/fj9Jb
<srhb>
ottidmes: Yes, but I don't actually care about that so much as various profile links. the db I can recreate.
<{^_^}>
[nixpkgs] @disassembler pushed 2 commits to staging: https://git.io/fj9UT
<srhb>
You can explore the manifest files from older profiles then.
<wildtrees>
like I think I have multiple ghc's floating around and need to get rid of them to free up some space
<srhb>
or just... ls /nix/store | grep ghc :P
<srhb>
wildtrees: Why not garbage collect?
<wildtrees>
how do I remove them/garbage collect them
<wildtrees>
i did
<wildtrees>
still probably not enough space
<wildtrees>
might need to resize my partition
<srhb>
Then they are still rooted somewhere
<srhb>
You can't/shouldn't make more space by manually deleting them, breaking Nix integrity.
<srhb>
but sure, you can find them in the nix store, find out what they are rooted by, get rid of the roots and then gc again
<srhb>
If you have not deleted your old profiles that might be all :)
<infinisil>
For finding roots: nix-store -q --roots /nix/store/...
<srhb>
*ghc*. Might take a while if your store is like mine xD
dm9 has quit [Quit: WeeChat 2.5]
<srhb>
Oh, not so bad actually..
<wildtrees>
yea I thought 25 gigs with 8 gigs taken out for swap would be enough space for a barebones install maybe with a few programming languages inx nixos, it is not for like haskell!
<infinisil>
sudo sqlite3 -noheader -csv /nix/var/nix/db/db.sqlite "select path from ValidPaths where path like '%ghc%';"
<infinisil>
Or this :)
<srhb>
wildtrees: ghc is really amenable to enabling store hardlinking.
<srhb>
wildtrees: Lots of identical files in different store paths that need not take up extra space :)
<wildtrees>
i have like 3 versions of it in the store it seems!
<srhb>
wildtrees: try nix-store --optimize if you want to see what you can save
<srhb>
--optimise even
<srhb>
wildtrees: I have 96. :-P
<wildtrees>
how much space should I give to nixos for haskell development?
<wildtrees>
also do you happen to know how to build a package from a nix file without running the tests for every package it requires
<wildtrees>
?
<srhb>
For development where I switch a _lot_ between versions I like to have like 50G.
<srhb>
wildtrees: I also use the hardlinking, plus I have my store compressed.
<srhb>
wildtrees: (right now it's 140G compressed, 280 uncompressed approx)
<wildtrees>
sounds quite massive
<srhb>
wildtrees: If you want to dontCheck for all haskell packages, you may want to override mkDerivation. I think it's in the nixpkgs manual
<wildtrees>
does compression slow it down alot?
<srhb>
wildtrees: Yes well, I like to trade space usage for less download and build time :)
<srhb>
wildtrees: I don't even notice it. Maybe it's even faster?
<wildtrees>
crazy
<srhb>
wildtrees: Fewer bytes to suck out of slow storage, just let the cpu pick up the slack, I guess is the logic...
<wildtrees>
i am running nixos in a 1 vcpu 1 gig of ram vm on my windows machine atm
<colemickens>
is there a sort of panic() or other unreachable expression I can use if I'm in an else block that shouldn't be reached?
DariusTh` has joined #nixos
<colemickens>
I guess for now I can just use `else (import ./you-must-vendor-overlay-imports);` and let that error pop out :)
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
stites has joined #nixos
liberiga has joined #nixos
<stites>
My /etc/hosts file seems to be blocking `nixos-rebuild build`s. I think it's trying to run this file, which is pretty weird
<__monty__>
Are you sure it's not trying to replace that file?
<__monty__>
And not doing it to prevent loss of data?
<stites>
I am trying to replace it, but i get weird errors
<stites>
if i remove etc/hosts I get: `error: getting status of '/etc/hosts': No such file or directory`
<__monty__>
Maybe it's systemd? It manages that file for me. And doesn't like me touching it.
mexisme has joined #nixos
<stites>
mmmm!
o1lo01ol1o has quit [Remote host closed the connection]
DariusTh` has quit [Ping timeout: 272 seconds]
<stites>
I guess I could turn off networking, but I'm not sure how to tell if things have been changed around
<stites>
in full disclosure, I did move the /etc/hosts folder...
<stites>
...yeah, but moving the symlink back seems to have no effect -- nix tries to read and run /etc/hosts as if it was a nix script
mexisme has quit [Ping timeout: 264 seconds]
<stites>
I know it's trying to run it because ` sudo bash -c ' echo "127.0.0.1 localhost" > /etc/hosts ' && nixos-rebuild build` returns an `error: undefined variable 'localhost' at /etc/hosts:1:11`
bakakuna has joined #nixos
m1sosoup has quit [Remote host closed the connection]
puck has quit [Quit: nya]
puck has joined #nixos
imuli has quit [Remote host closed the connection]
<__monty__>
stites: What does your expression for the file look like?
<stites>
I've actually commented it out
srid has quit [Ping timeout: 245 seconds]
<stites>
I've also tried `environment.etc."hosts".text = "";`
<tilpner>
stites: /etc/hosts folder? Did you mean file?
<tilpner>
Or symlink
noudle has quit []
<stites>
It's just a file right now. Usually it's a symlink to /etc/static/hosts
noudle has joined #nixos
englishm has quit [Excess Flood]
<stites>
(I meant "file" not "folder" from before)
englishm has joined #nixos
<tilpner>
I am curious what causes the error, but what are you trying to accomplish in the first place?
<tilpner>
Can you try to "rm /etc/hosts; nixos-rebuild switch"?
<tilpner>
I don't think I could just nuke all my config files :c
<tilpner>
Another way of getting information about the cause would be to pass more -v
lambda-11235 has joined #nixos
<stites>
I just commented out all of my imports -- it seemed to work
<tilpner>
Binary search the culprit!
<stites>
yup!
enuiarte has joined #nixos
<stites>
okay, this is very weird but I have to run to a meeting in a minute
orivej has joined #nixos
<andi->
Does the stdenv have something to merge two directory trees? Say I want to move files (recursively) from $out/bar to $out/foo but $out/foo might already have a few directories and additional files?
o1lo01ol1o has joined #nixos
<stites>
symlinkJoin?
<qyliss>
andi-: I would use a tarpipe for that, if you don't want symlinks
<andi->
I prefer moving them around :-)
<andi->
mhm tarpipe
<qyliss>
I've seen tarpipes in nixpkgs before (and maybe written one)
<infinisil>
I bet there's an rsync invocation that would merge two directories
<pingveno[m]>
Wow, I'm really liking Flatpak for packages that are difficult to get playing nice with Nix's filesystem layout.
<__monty__>
rsync --ignore-existing.
<pingveno[m]>
ApacheDirectoryStudio in my case.
<{^_^}>
[nixpkgs] @FRidh opened pull request #65686 → WIP: enable `__structuredAttrs` in `stdenv.mkDerivation` → https://git.io/fj9Tx
johnny101m has quit [Remote host closed the connection]
endformationage has quit [Ping timeout: 244 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
enuiarte has quit [Ping timeout: 264 seconds]
linarcx has quit [Quit: WeeChat 2.5]
bakakuna has quit [Ping timeout: 245 seconds]
Hail_Spacecake has quit [Ping timeout: 260 seconds]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tilpner>
Exists in source data, I would expect nixpkgs to reflect that
<tazjin>
yeah, I assume they all have a reason
<tazjin>
it's just an issue because the registry protocol for container runtimes doesn't allow uppercase characters (thanks docker)
<tilpner>
The ugliest hack I can think of is to put an escape sequence in there that makes the next character uppercase
<tilpner>
But let's pretend I never said that
<tazjin>
I did think of that but it's the furthest away from "intuitive"
<tazjin>
most users will probably try lowercasing after they get an error about uppercase characters
<tazjin>
so it might make sense to support that anyways, despite not having a 100% success rate
o1lo01ol1o has joined #nixos
hmpffff has quit [Ping timeout: 252 seconds]
<tazjin>
there are some of those in `perlPackages` and `pythonPackages`, too ... probably more
<tazjin>
emacsPackages is clean though :smuggo:
<yorick>
tazjin: I have my doubts about your url -> nixpkgs package mapping. is this ever going to be useful for deployment?
<tazjin>
I've successfully deployed my blog and some other small software with it in a k8s cluster
<tazjin>
so, yes
<yorick>
tazjin: huh, how does that work?
<tazjin>
in fact this casing thing is the only hiccup I've run into so far
<tazjin>
you can run Nixery inside of a kubernetes cluster and then use it as the local package registry
<tazjin>
and additionally you can point it at a custom Nix repository (e.g. one that overlays your own packages over nixpkgs) and then you get the ability to add arbitrary software in there, esp. useful if your company already uses Nix
<yorick>
I see how nixery is useful for custom-service that have entry points and volumes and other stuff set
<yorick>
but how does having arbitrary packages in a docker image help, by building on it using dockerfiles?
<tazjin>
but entry points & volumes & whatever are just metadata, if you're deploying into kubernetes those are all available through the API anyways
<yorick>
ah!
<tazjin>
example for how it helps with arbitrary stuff:
<tazjin>
I had to deploy `ngrok` at a previous job, inside a k8s cluster
<tazjin>
with no special magic
<tazjin>
so I had to get alpine (or something), install the thing in there, upload the image, download the image ... and so on
<tazjin>
with nixery you can just go `image: nixery.appspot.com/ngrok` and that's it
<tazjin>
actually you currently can't because I've not allowed unfree packages on the public instance :eng101:
stites has quit [Remote host closed the connection]
<tazjin>
I'm planning to do a NixCon talk about this with examples, that will probably clear it up :)
zupo_ has joined #nixos
scoates has joined #nixos
zupo has quit [Ping timeout: 272 seconds]
<scoates>
hello; I'm attempting to run nix on MacOS Catalina and I have a /nix but since my last reboot, the / filesystem is read-only. Is there a document I can read on how to get out of this mess? (-:
<{^_^}>
nix#2925 (by mroi, 7 weeks ago, open): /nix will not be writable on macOS Catalina
<scoates>
thanks. I'll read
<niso>
does nix usually set a channel during installation?
Neo-- has quit [Ping timeout: 264 seconds]
<djahandarie>
If you have a derivation (which is a fetchgit), how do I create another derivation which is just a subdirectory of that one?
___laika has quit [Ping timeout: 248 seconds]
___laika has joined #nixos
srid is now known as srid2
hyperfekt has quit [Remote host closed the connection]
srid has joined #nixos
<chloekek>
Say it's called foo. Then you can do it like this: stdenv.mkDerivation { name = "bla"; phases = ["installPhase"]; installPhase = ''cp -R ${foo}/subdir $out''; }
<chloekek>
You can also make a symlink if that works for you, is more efficient.
<djahandarie>
Thanks. I take it that means there's no shortcut for this operation?
<chloekek>
I have no idea, I only ever use stdenv.mkDerivation :)
<{^_^}>
[nixpkgs] @vitaliy-zinchenko opened pull request #65687 → gnupatch: update links to patches → https://git.io/fj9k7
<infinisil>
djahandarie: Do you need it to be a new derivation? Because "${the-derivation}/subdirectory" will also give you a path to its subdirectory
<djahandarie>
It's the input into 'src' for buildRustPackage
<djahandarie>
I think that means it needs to be a derivation, I'm not sure just a string would work...
<gchristensen>
printing out the Nix manual produces like five short paragraphs per page, it has comically large font
___laika has quit [Ping timeout: 245 seconds]
___laika has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
Okinan has joined #nixos
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Shoubit has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<chloekek>
src can be a path, doesn't have to be a derivation.
drakonis_ has joined #nixos
<maralorn>
I tried to install https://github.com/Synthetica9/nix-linter. Via it‘s default.nix which contains a pinned nixpkgs version. Never-the-less it fails to build because of broken hnix-0.6.1. Does that make sense?
o1lo01ol1o has joined #nixos
wildtrees has quit [Remote host closed the connection]
endformationage has joined #nixos
npmccallum has joined #nixos
<maralorn>
Hm, kinda makes sense as it says on github the build is broken and the ci has the same problem as I.
<adamantium>
Hi, I'm trying to upgrade zfs version on a livedisk on the fly without rebuilding / restarting the livedisk. It seems to not be able to reload the kernel module with modprobe. When systemctl stop zfs-zed ; rmmmod zfs ; modprobe zfs # gives me errors about unknown symbols
<adamantium>
i could just reboot using my 0.8 zfs iso, but the thing is that I am actually trying to build a feature into a script I maintain; I just want to be able to upgrade to the zfsUnstable using any livedisk, if it were possible.
<adamantium>
Anyone have an idea to make this work?
srid2 has quit [Remote host closed the connection]
Denommus has joined #nixos
<Denommus>
hey
<Denommus>
I'm getting a hash error when trying to enable gitlab-runner
<adamantium>
I am guessing it cannot upgrade zfs versions without rebooting as a safety feature, but in this case, it's the livedisk iso, should be harmless?
Jackneill has joined #nixos
thomashoneyman has quit [Remote host closed the connection]
zupo has joined #nixos
<trebuh>
Hello, what would be your advice to migrate and learn NixOS: Do it on a server or on a laptop?
<MarcWeber>
trebuh: depends on your machine. You can also use virtualization ..
<azazel>
trebuh: you already know Nix?
<MarcWeber>
You can install nix in your home directory. You can also browse the nixos/nixpkgs sources without installing.
<trebuh>
MarcWeber:oh true. but my laptop is a bit old and the 4GB of RAM might not be enough.
<trebuh>
azazel: nope, my experience is Archlinux/CentOS for several years each.
<clever>
adamantium: the zfs has to be built for the right kernel
<clever>
adamantium: kexec may help
<infinisil>
adamantium: Maybe the people in #zfsonlinux know more about it
zupo_ has quit [Ping timeout: 245 seconds]
chloekek has quit [Ping timeout: 248 seconds]
<azazel>
trebuh: then I would split the thing in two, first get confident with Nix on wathever distro are you using now, and then experiment with NixOS
<adamantium>
clever: i think you're right, seems to be some kind of kernel mismatch. how can i use kexec on the livedisk to sync the latest kernel and zfs versions together without rebuilding the iso / rebooting
<clever>
adamantium: if you nix-build this kexec script, it will generate a kernel+initrd pair, using configuration.nix to generate the entire nixos image, which is baked into the initrd
<clever>
adamantium: if you run that kexec script, it will immediatelly switch kernels and boot into it
<clever>
adamantium: session.md shows how to build the tarball image, but if your already using nix, you can skip tar'ing it up
<{^_^}>
[nixpkgs] @abbradar opened pull request #65694 → Refactor and fix Mumble → https://git.io/fj9Lm
<adamantium>
clever: K, this is getting a little deep..
fendor has joined #nixos
mmlb4 is now known as mmlb
<adamantium>
clever: nix-build kexec.nix --> "cannot auto-call a function that has an argument without a default valkue ('pkgs)"
rpg has joined #nixos
<clever>
adamantium: read session.md
<clever>
adamantium: very first line, change it from kexec_tarball to kexec_script
Jackneill has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 258 seconds]
<adamantium>
clever: now attribute system.build.kexec_script already defined
<adamantium>
I'm afraid I must not have modified it the way you said properly.. I'm not sure what you meant.
<{^_^}>
[nixpkgs] @nicknovitski opened pull request #65697 → bundlerApp: meta.platforms defaults to platforms of ruby dependency → https://git.io/fj9L7
fendor has joined #nixos
IRCsum has quit [Ping timeout: 276 seconds]
adamantium has left #nixos ["ERC (IRC client for Emacs 26.2)"]
<clever>
adamantium: change it in the nix-build command, not the nix file
Edes has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 272 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yurb is now known as yurb_afk
ddellacosta has joined #nixos
<hr[m]>
Does anyone know how nixpkgs handles security updates? Say a critical bug/security issue is found in a package in nixpkgs and a fix is released in the upstream repo for the package, what process is used to quickly merge the fix into nixpkgs unstable and the latest release tag ie. 19.03? I presume you open a pull request with the package to nixpkgs with the appropriate version bump as per usual. Is this request then marked as
<hr[m]>
urgent? Once the fix is merged, how is it applied retroactively to the stable nixpkgs channel?
Blessjah has quit [Remote host closed the connection]
Denommus has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @nyanloutre opened pull request #65700 → <!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you … → https://git.io/fj9t5
DariusTh` has joined #nixos
enuiarte has quit [Ping timeout: 264 seconds]
IRCsum has joined #nixos
DariusTh` has quit [Ping timeout: 272 seconds]
drakonis_ has quit [Ping timeout: 268 seconds]
npmccallum has quit [Quit: npmccallum]
drakonis_ has joined #nixos
shibboleth has quit [Quit: shibboleth]
mexisme has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]