justanotheruser has quit [Ping timeout: 260 seconds]
<colemickens>
And -j0 didn't help, just forced a different failure
* colemickens
this is why I have multiple scripts where I manually copy derivations, then build, then copy back...
<colemickens>
I think that possibly Nix daemon is not running on the suggested remote.
<colemickens>
okay, well it's still doing the same thing with a known usable remote builder.
<{^_^}>
[nixos-search] @samueldr merged pull request #208 → Always use NixOS/nixpkgs instead of NixOS/nixpkgs-channels → https://git.io/JUxf1
<{^_^}>
[nixos-search] @samueldr pushed commit from @andir to master « Always use NixOS/nixpkgs instead of NixOS/nixpkgs-channels (#208) »: https://git.io/JUxJm
jani1234 has joined #nixos
ris has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JUxJR
patagonicus138 has quit [Ping timeout: 260 seconds]
patagonicus1388 is now known as patagonicus138
zecnate has joined #nixos
<zecnate>
I just spent way too long tracing down a bug only to find out that `x:x` parses as a string instead of `x: x`. This surprised me. I reread the manual and realized this must be triggering the "url parser".
<zecnate>
> x: x
<{^_^}>
<LAMBDA>
jani1234 has joined #nixos
<zecnate>
> x:x
<{^_^}>
"x:x"
<zecnate>
:-(
<zecnate>
How useful is the url literal in practice?
jani1234 has quit [Ping timeout: 240 seconds]
<V>
zecnate: all instances of it in nixpkgs were removed not so long ago
<V>
so I think it was decided as "not"
<zecnate>
Oh, that's good to hear.
<zecnate>
It doesn't seem worth the complexity/confusion IMO.
<zecnate>
I think I'm ok with path literal syntax based on the belief that if a token begins with '.' or '<' it must be a path value otherwise it must not be a path value, which is a fairly simple rule.
<zecnate>
Is my belief accurate?
<V>
or a /
<V>
except if it's two or more / then it's parsed as the attrset update operator
aw_ has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
<AluisioASG>
The RFC 45 discussion is too long to load but I wonder if warning upon parsing an URI was considered
spacefrogg has joined #nixos
zecnate has quit [Remote host closed the connection]
rajivr has joined #nixos
<samueldr>
it's only been deprecated for use in Nixpkgs
liuyb has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @ericdallo opened pull request #99920 → flutter: Bump and add dart cache to flutter → https://git.io/JUxmh
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
knerten2 has quit [Ping timeout: 240 seconds]
jabster28 has quit [Ping timeout: 240 seconds]
jabster28 has joined #nixos
MrCoffee has quit [Quit: Lost terminal]
<{^_^}>
[nix] @AmineChikhaoui opened pull request #4116 → support name attribute in fetchGit → https://git.io/JUxYu
ReqGame has quit [Ping timeout: 272 seconds]
jabster28 has quit [Ping timeout: 240 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
jabster28 has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<DigitalKiwi>
colemickens: i get that error a lot too :(
<colemickens>
I just don't get it. Am I doing something wrong or is it just flat out broken?
jabster28 has quit [Ping timeout: 240 seconds]
<DigitalKiwi>
we couldn't both be wrong now could we?
<DigitalKiwi>
it has to be nix
* colemickens
would rather just be wrong :P
ransom has joined #nixos
domogled has quit [Ping timeout: 260 seconds]
<{^_^}>
[mobile-nixos-website] @samueldr pushed to master « Add August and September 2020 round-up »: https://git.io/JUxOV
<{^_^}>
[nixos-search] @garbas pushed 0 commits to channel-diff: https://git.io/JUxuk
sputny has joined #nixos
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
sputny has quit [Ping timeout: 260 seconds]
fresheyeball has quit [Quit: WeeChat 2.7.1]
sputny has joined #nixos
zecnate has joined #nixos
<zecnate>
The man page for nix-build says "When evaluating Nix expressions, the expression evaluator will automatically try to call functions that it encounters." in the help for `--arg`.
patagonicus1381 has joined #nixos
<{^_^}>
[nix] @edolstra pushed to master « Prevent a deadlock when user namespace setup fails »: https://git.io/JUxzk
<zecnate>
Which functions does it "encounter" in this situation? Is it only the top-level, so if I say `nix-build foo.nix` only if `foo.nix` evaluates to a function then only that layer is called automatically? Or is it somehow deeper?
<{^_^}>
[nix] @edolstra pushed to 2.3-maintenance « Prevent a deadlock when user namespace setup fails »: https://git.io/JUxzm
wrl_ has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
ml| has quit [Ping timeout: 246 seconds]
jluttine_ has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
ambroiseur has joined #nixos
patagonicus138 has quit [Ping timeout: 272 seconds]
patagonicus1381 is now known as patagonicus138
sputny has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @jonringer pushed to master « python3Packages.azure-servicemanagement-legacy: use fetchPypi »: https://git.io/JUxa1
<zecnate>
infinisil: woah. Ok, thanks.
cole-h has quit [Ping timeout: 265 seconds]
<zecnate>
Hm, but I can't set `A` in a derivation like this, right? `let foo = { A ? null }: thingy: do_stuff; in mkDerivation { ...; blah = foo myThingy; }`
konobi has quit [Remote host closed the connection]
<zecnate>
I'm guessing that there's a "top-level" expression that `nix-build` is evaluating, and while resolving *that* expression, it does the auto-arg thing, but "deeper" expressions aren't accessible? (I'm guessing.)
sangoma has quit [Read error: Connection reset by peer]
knerten1 has joined #nixos
<dminuoso>
We're starting to use nixos in our infrastructure which is vmware managed. Right now, that means we manually install nixos, and then let nixops take over.
<dminuoso>
That workflow is somewhat annoying and a bit too manual.
<dminuoso>
Do any folks here have success stories on something more automated in a vmware environment?
<fadenb>
dminuoso: A while back I built a custom nixos iso that was booted by folks that operated the VM infra. It had a pre-configured SSH key and we could just SSH in and replace it with the target system
rajivr has quit [Quit: Connection closed for inactivity]
<fadenb>
Basically nixos live iso, ssh in, trigger install script, reboot -> final system
<fadenb>
It's "just a shell script" that wipes the disk, uses sfdisk to set up partitions, formats them, ...
<{^_^}>
[nixpkgs] @elseym opened pull request #99934 → nixos/murmur: add option `environmentFile` for injecting secrets → https://git.io/JUxXm
<dminuoso>
fadenb: Ah cheers, that looks interesting.
<dminuoso>
How does that fit into a nixops flow?
<dminuoso>
Im not quite sure how everything is tied together with that
<fadenb>
I used it to get to a base-system that I can just add to the nixops setup
<dminuoso>
Mmm, so that justdoit was baked into the ISO?
<fadenb>
Create VM, boot from iso/pxe boot, the script runs (wipe disk, partition, format, nixos-install), reboot -> Enter ip etc in nixops and you are good to go
<fadenb>
yes, in the example from cleverca22 you have to manually execute it by typing justdoit in a shell but you can create a systemd unit to do that automated
<dminuoso>
Oh I was just wondering. You just said "the script runs" - what invokes it?
<dminuoso>
(Since that's a nix expression, not a shell script)
<{^_^}>
[nixpkgs] @vcunat pushed to master-test-eval « Re-Revert "xorg: mark fonts with proprietary licences as unfree" »: https://git.io/JUxXo
<{^_^}>
[nixpkgs] @alexbakker opened pull request #99935 → libsass-python: init at 0.20.1 → https://git.io/JUxXK
<fadenb>
I use a hacky systemd timer to trigger a unit that calls the script
zebrag has quit [Ping timeout: 246 seconds]
inkbottle has joined #nixos
<dminuoso>
oh heh
<dminuoso>
I see, and that systemd timer is then burned into the ISO presumably
<{^_^}>
[nixpkgs] @alexbakker opened pull request #99938 → google-re2: init at 0.0.7 → https://git.io/JUx1i
<__monty__>
Should I be backporting to 20.09 already? Since it's not out yet afaik?
cosimone has joined #nixos
<infinisil>
__monty__: Yeah, it's branched off already
<srhb>
__monty__: Yes, in general, if you can. Otherwise it'll probably be forgotten, and there's no full merge from master from the time of the branchoff in general
cosimone has quit [Read error: Connection reset by peer]
cosimone has joined #nixos
cosimone has quit [Remote host closed the connection]
alexherbo2 has joined #nixos
amfl_ is now known as amfl
cosimone has joined #nixos
fendor has joined #nixos
<{^_^}>
[nixpkgs] @siraben opened pull request #99939 → cyclone-scheme: init at 0.21 → https://git.io/JUxyi
<{^_^}>
[nixpkgs] @vcunat pushed to master « Revert "apparmor: fix and improve the service" »: https://git.io/JUxyj
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
simonpe^^ has joined #nixos
<simonpe^^>
I'm trying to use lib.sourceByRegex but it's throwing me `cannot refer to other paths`. The thing is that the sources I want to filter is imported by Niv so I can't give a path as an argument
rprije has quit [Ping timeout: 240 seconds]
<simonpe^^>
I've trie wrapping the paths tring in `builtins.toPath` but it aint helping
<{^_^}>
[nixpkgs] @jsimonetti opened pull request #99948 → nixos/security/acme: Add DNS resolver option → https://git.io/JUx7O
boxscape has quit [Quit: Connection closed]
nixuser has joined #nixos
kdlv_ has joined #nixos
kdlv has quit [Ping timeout: 260 seconds]
<sphalerite>
simonpe^^: you can't really filter stuff that's already in the store, and it's usually counterproductive (taking up more space) to do so.
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Chiliparrot has joined #nixos
domogled1 has joined #nixos
<{^_^}>
[nixpkgs] @edolstra pushed 2 commits to release-20.09: https://git.io/JUx5y
<simonpe^^>
sphalerite: ah, I thought there was some symlink magic going on. thx
<{^_^}>
[nixpkgs] @peterhoeg pushed commit from @domenkozar to nix-upgrade « Provide correct instructions how to upgrade Nix without nixpkgs. »: https://git.io/vFtHM
<{^_^}>
[nixpkgs] @peterhoeg pushed 2 commits to f/networkd: https://git.io/JUxxV
<{^_^}>
[nixpkgs] @peterhoeg pushed to p/nvidia « nvidia-firmware: init at 325.15 »: https://git.io/JUxxw
<{^_^}>
[nixpkgs] @peterhoeg pushed 3 commits to u/dnsmasq: https://git.io/JUxxr
<simpson>
Yeah, infinisil is saying what you can do now if you're bothered. I presume that the longer fix is to alter the bot's code so that it understands this special case "push" as a branch deletion.
<immae>
oh is it edolstra doing some cleanup?
<{^_^}>
[nixpkgs] @edolstra pushed 0 commits to broken.p/wmi: https://git.io/JUpeN
<blackriversoftwa>
I have the profile `my-profile` in ~/.aws/credentials, and if I run `nix-copy --from 's3://my-bucket?profile=my-profile` /nix/store/some-path it works fine
<blackriversoftwa>
If I put `s3://my-bucket?profile=my-profile` in `trusted-substituters` in `/etc/nix/nix.conf` I get `warning: AWS error fetching 'nix-cache-info': Access Denied`
<blackriversoftwa>
So it seems like Nix is ignoring my credential settings when I try to use that s3 url as a cache
<{^_^}>
[nixpkgs] @NeQuissimus pushed 3 commits to release-20.09: https://git.io/JUpTS
mmohammadi981266 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
<blackriversoftwa>
niksnut: also, I tried making those credentials the default profile but that didn't help either
<blackriversoftwa>
so that theory seems more likely
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
domogled1 has joined #nixos
<blackriversoftwa>
niksnut: even removing the profile argument entirely and putting the AWS key in environment variables does not work
domogled has quit [Ping timeout: 246 seconds]
domogled1 is now known as domogled
<blackriversoftwa>
niksnut: is it just not possible to use a private s3 bucket as a cache in multi-user mode?
eddyb has quit [Quit: killed]
mnm[m] has quit [Quit: killed]
aniketd[m] has quit [Quit: killed]
Preisschild has quit [Quit: killed]
grin[m]1 has quit [Quit: killed]
porphyrogenetos has quit [Quit: killed]
mcaju has quit [Quit: killed]
srid has quit [Quit: killed]
l_inus[m] has quit [Quit: killed]
david-sawatzke[m has quit [Quit: killed]
michaelpj1 has quit [Quit: killed]
tristan[m] has quit [Quit: killed]
ghasshee[m] has quit [Quit: killed]
maralorn has quit [Quit: killed]
ThaEwat has quit [Quit: killed]
mullein[m]1 has quit [Quit: killed]
Ericson2314 has quit [Quit: killed]
Amit[m] has quit [Quit: killed]
yoctocell[m] has quit [Quit: killed]
sstreet[m]1 has quit [Quit: killed]
fzakaria11 has quit [Quit: killed]
jojosch|Johannes has quit [Quit: killed]
scaroo[m] has quit [Quit: killed]
AmitLevy[m] has quit [Quit: killed]
codyopel has quit [Quit: killed]
DanP[m] has quit [Quit: killed]
alexfmpe has quit [Quit: killed]
mkg20001 has quit [Quit: killed]
cchalc[m] has quit [Quit: killed]
siraben has quit [Quit: killed]
duktus[m] has quit [Quit: killed]
verum_alpha[m] has quit [Quit: killed]
qbit[m] has quit [Quit: killed]
alexarice[m] has quit [Quit: killed]
davidak[m] has quit [Quit: killed]
das-g[m]1 has quit [Quit: killed]
colemickens has quit [Quit: killed]
jonte[m] has quit [Quit: killed]
jfaassen[m] has quit [Quit: killed]
a4wc6n[m] has quit [Quit: killed]
Anonymous[m] has quit [Quit: killed]
yeongsheng_tan[m has quit [Quit: killed]
crazymind-102[m] has quit [Quit: killed]
Guest29939 has quit [Quit: killed]
hr[m] has quit [Quit: killed]
juan[m] has quit [Quit: killed]
srxl has quit [Quit: killed]
user_account[m] has quit [Quit: killed]
demoulin[m] has quit [Quit: killed]
TomaszKsiak[m] has quit [Quit: killed]
AntonioYang[m] has quit [Quit: killed]
chinmayxd[m] has quit [Quit: killed]
ipv6[m] has quit [Quit: killed]
aloiscochard[m] has quit [Quit: killed]
bk1603[m] has quit [Quit: killed]
SplitFire[m] has quit [Quit: killed]
faya01[m] has quit [Quit: killed]
ZerataX1 has quit [Quit: killed]
worldofpeace has quit [Quit: killed]
test128383[m] has quit [Quit: killed]
chreekat[m]1 has quit [Quit: killed]
bennofs[m] has quit [Quit: killed]
unclechu has quit [Quit: killed]
jtojnar has quit [Quit: killed]
qrilka[m] has quit [Quit: killed]
Ox4A6F has quit [Quit: killed]
nyu[m] has quit [Quit: killed]
menelaos[m] has quit [Quit: killed]
musicmatze has quit [Quit: killed]
Valodim[m] has quit [Quit: killed]
94KAATL6B has quit [Quit: killed]
jumper149[m] has quit [Quit: killed]
habbasi[m] has quit [Quit: killed]
GuillaumeChrel[m has quit [Quit: killed]
felschr1[m] has quit [Quit: killed]
eadwu[m] has quit [Quit: killed]
theglenn888[m] has quit [Quit: killed]
hazel[m]1 has quit [Quit: killed]
Rian[m] has quit [Quit: killed]
DamienCassou has quit [Quit: killed]
billsun has quit [Quit: killed]
bloodyfish[m] has quit [Quit: killed]
kueckieben[m] has quit [Quit: killed]
Hayden[m] has quit [Quit: killed]
ffl^ has quit [Max SendQ exceeded]
Guest39010 has quit [Quit: killed]
ffl^ has joined #nixos
nixuser_ has joined #nixos
grobi has joined #nixos
nixuser has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @siraben opened pull request #99952 → spasm-ng: init at unstable-2020-08-03 → https://git.io/JUpIQ
sangoma has joined #nixos
cfricke has quit [Quit: WeeChat 2.9]
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
<{^_^}>
[nix] @Ericson2314 opened pull request #4120 → Remove generic std::optional<T> suppport from worker proto → https://git.io/JUptU
<blackriversoftwa>
So it appears the only way to use an authenticated s3 bucket as a cache on a multi-user installation is to have the credentials for that bucket be the `default` profile for the `root` user
<{^_^}>
Found in packages: toybox, busybox, coreutils, klibcShrunk, coreutils-full
<{^_^}>
Found in packages: toybox, busybox, coreutils, coreutils-full
arahael has quit [Ping timeout: 260 seconds]
Henson has joined #nixos
alp has joined #nixos
kirc has quit [Quit: kirc]
<l-as>
In this PR for freeimage https://github.com/NixOS/nixpkgs/pull/92708, I am trying to unbundle the dependencies, but freeimage needs private headers for some functionality. Right now I just export the headers by making some small changes to CMakeLists.txt for the dependencies, but obviously freeimage is the only thing that needs these headers, and it isn't possible to extract them from the source since they are headers built when
<l-as>
building the dependencies. What is the right decision here?
<{^_^}>
#92708 (by L-as, 13 weeks ago, open): [WIP] freeimage: Unbundle dependencies, fix AAarch64 support, and other fixes
gustavderdrache has joined #nixos
<{^_^}>
[nix] @edolstra merged pull request #4120 → Remove generic std::optional<T> suppport from worker proto → https://git.io/JUptU
<fionera>
I am trying to cross compile in a nix-shell but I cannot get ncurses to be recognized by make. Do I have to do smth different then just adding it in buildInputs
arahael has quit [Ping timeout: 240 seconds]
cfricke has quit [Ping timeout: 260 seconds]
fendor has joined #nixos
kirc has joined #nixos
cfricke has joined #nixos
fendor__ has joined #nixos
arahael has joined #nixos
fendor_ has quit [Ping timeout: 272 seconds]
fendor_ has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
<simonpe^^>
Can I check whether it is nix-build or nix-shell that is being run?
cosimone has quit [Quit: cosimone]
cfricke has quit [Quit: WeeChat 2.9]
ryjm has joined #nixos
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUpWm
grobi has quit [Quit: WeeChat 2.8]
<{^_^}>
[nix-pills] @sbellem opened pull request #156 → Add missing "about" word → https://git.io/JUpWF
<elux>
does anyone here use i3 and vscode? i recently upgraded and am experiencing a super annoying UX issue. I develop across many WM workspaces, and previously when i would run `code .` to open a folder, the vscode would open and select the current WM workspace to open vscode. Now, it is opening the window in the WM workspace where vscode is already running.. any tips..? super annoying and productivity hurting
<{^_^}>
[nix-pills] @doronbehar pushed 2 commits to master: https://git.io/JUp8i
kreyren has joined #nixos
<elux>
i assume this is some vscode issue because other programs open up just run in the current workspace
<superherointj>
elux, I am using i3 and vscodium. Didn't notice a problem yet. But when I open a new application in a new workspace, the already opened VSCodium instance (in another workspace) will flash, but it still opens fine in the new workspace.
fendor_ has quit [Remote host closed the connection]
<superherointj>
The relevant part seems that when I open a new terminal in a new workspace and I open a new VSCodium instance it pings the already openned VSCodium instance.
kirc has joined #nixos
saschagrunert has quit [Quit: Leaving]
<elux>
yea, interesting that it pings the other instance.. i dont notice it doing that, it just switches. but perhaps in the past it did ping it and i never noticed. it used to open in the new workspace and just randomly stopped from the last update
jco has quit [Quit: WeeChat 2.9]
<superherointj>
The icon # at i3 workspace bar becomes red. I'm sure you would notice it.
<superherointj>
I'm using Polybar (instead of i3status). Not sure how the behavior would be otherwise.
<elux>
so.. i checked my i3 settings, i had "focus_on_window_activation focus" i turned this off, and now it opens in current workspace, but its still activating otehr workspaces with the vscode lol
<{^_^}>
[nixpkgs] @FRidh pushed commit from @jorsn to master « picard: apply new licensing convention »: https://git.io/JUpBy
<{^_^}>
[nixpkgs] @FRidh closed pull request #99465 → fix picard crash: use consistent qt5 version → https://git.io/JU7I0
ddellacosta has joined #nixos
bahamas has quit [Ping timeout: 260 seconds]
<superherointj>
elux, so we are having same issue?
<elux>
yep, its activating red now. which explains why it was opening in the old workspace, cuz it was activating it, and i3 was focusing to that workspace
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Chiliparrot has joined #nixos
joesventek_ has joined #nixos
joesventek has quit [Read error: Connection reset by peer]
joesventek_ is now known as joesventek
growpotkin has joined #nixos
<virus_dave>
another QQ: Are there any good examples of a nixpkgs derivation which is a source build of a repo/project that builds via a self-contained, in-repo build derivation?
<virus_dave>
…and if so, are there any nonobvious consequences of this approach, such as “hydra won’t build & cache these” ?
bahamas has quit [Ping timeout: 272 seconds]
cosimone has joined #nixos
<Taneb>
virus_dave: to my knowlege, there are not. They would cause "import from derivation", which NixOS's Hydra server bans
<{^_^}>
:): import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result. It has been described as "such a nice footgun."
bahamas has joined #nixos
domogled has quit [Quit: domogled]
domogled has joined #nixos
<virus_dave>
oh interesting. and rats, that seems really suboptimal, since now i have nix vs nix :(
<virus_dave>
so do people just “not use a local nixified build config” or “don’t include in the global nixpkgs” as a rule?
<simpson>
The latter. nixpkgs is a collaborative holistic ports tree, so it has its own style guide, including forbidding IFD.
<Taneb>
I think most people in this position are content with duplicating the nix if they want it in nixpkgs
Ariakenom has quit [Ping timeout: 256 seconds]
<aman>
Is there a possibility to change /etc/hosts using shell.nix + lorri for a project?
<{^_^}>
[nixpkgs] @risicle opened pull request #99960 → terraform-providers.cloudfoundry: init at 0.12.4 → https://git.io/JUpVf
<virus_dave>
yuck! ok, i’ll have to think about this then. Thanks, all :(
cosimone has quit [Ping timeout: 260 seconds]
hnOsmium0001 has joined #nixos
cosimone has joined #nixos
<simpson>
virus_dave: It requires no thought whatsoever. Just copy what you've got into nixpkgs, or accept not going into nixpkgs. Maybe it's not desirable, but it's not a big think either.
ransom has joined #nixos
amanjeev[m] has joined #nixos
dtz has quit [Quit: Idle for 30+ days]
<simpson>
amanjeev[m]: It looks like this can be done by setting the HOSTALIASES environment variable in .envrc; see https://blog.tremily.us/posts/HOSTALIASES/ for more information.
<exarkun>
Anyone have any guides for running a nixos container with only a wireguard-supplied interface for its network?
<amanjeev[m]>
Thank you simpson !
<amanjeev[m]>
simpson++
<{^_^}>
simpson's karma got increased to 35, it's a crit!
<amanjeev[m]>
* simpson++
<{^_^}>
simpson's karma got increased to 36
jabster28 has joined #nixos
lunik1 has joined #nixos
srhm has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @dasJ opened pull request #99961 → asterisk: Bump all packages → https://git.io/JUpwm
alp has quit [Ping timeout: 246 seconds]
grobi has joined #nixos
jehova[m] has quit [Quit: Idle for 30+ days]
fendor has joined #nixos
maxdevjs has joined #nixos
srhm has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
raju[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
dermetfan has quit [Ping timeout: 246 seconds]
<mica[m]>
For the new oci containers module, how will you create the bridged network for containers to talk to one another?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<virus_dave>
@simpson - the “thought” is “do i actually want to push to use nix for the local build now, and have to keep it in sync in nixpkgs”. I don’t own the repo, and i’m not a committer to nixpkgs.
orivej has joined #nixos
<virus_dave>
since they’re not currently using nix for local build, it might just be simpler to keep it that way
<charukiewicz>
I want to use home-manager on a NixOS machine that has two normal user accounts for me and my team member. The home-manager installation instructions say to create a home-manager channel. I noticed that as a regular user, nix-channel --list does not list the system channels. So should each of us follow the instructions and create our own copy of a home-manager channel, or is there a system-wide way of
<charukiewicz>
doing this?
lsix has joined #nixos
<simpson>
charukiewicz: IIUC root's channels are the system channels; run nix-channel as root to change the system's channel configuration.
n9nes has joined #nixos
<charukiewicz>
simpson: I figured I can do that. But the next step in installing home-manager is to run `nix-shell '<home-manager>' -A install` as my user. So if instead of '<home-manager>' I reference the path to the system channel, it should work?
<charukiewicz>
I think it's somewhere like /nix/var/nix/profiles/system/...
<simpson>
'<home-manager>' references the channel by name, doesn't it?
<charukiewicz>
Yeah, but if the channel is installed as root, I don't think I'll see it as a user, will I? Because running nix-channel --list doesn't show anything as the user, only as root
<charukiewicz>
unless I'm mistaken about that, and channels are shared globally
waleee-cl has joined #nixos
<charukiewicz>
I guess I'll just try adding the channel as root and see
bdju has joined #nixos
<cole-h>
Channels are inherited.
<charukiewicz>
ah gotcha. that makes sense. I guess nix-channel --list is only printing the output of ~/.nix-channels
<charukiewicz>
which doesn't contain the inherited channels
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
fendor_ has joined #nixos
<{^_^}>
[nixpkgs] @guserav opened pull request #99964 → horizon-eda: init at 1.2.1 → https://git.io/JUp1X
noonien has joined #nixos
fendor has quit [Ping timeout: 272 seconds]
<rnhmjoj>
i have to use the patched sources of a package from another package. is there an attribute or some cleaver way to copy the source after the patch phase?
meh` has quit [Ping timeout: 260 seconds]
<rnhmjoj>
maybe i could use multiple outputs
grobi has quit [Remote host closed the connection]
<{^_^}>
[nix-idea] @JojOatXGME opened pull request #16 → GitHub Actions workflow to publish releases → https://git.io/JUpMm
<cole-h>
rnhmjoj: Could refer to the packages `.patches`?
ninjin_ has quit [Remote host closed the connection]
<cole-h>
e.g. `patches = (pkg.patches or []) ++ [ ./another.patch ];` maybe
ninjin_ has joined #nixos
<qyliss>
there's also pkgs.srcOnly
<qyliss>
which gives you a derivation containing the patched sources
<qyliss>
but if you're just using it for another build I'd recommend cole-h's suggestion
Chiliparrot has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<rnhmjoj>
cole-h: uhm, that won't work because the patches won't apply in the location where i need to copy the soruces
<rnhmjoj>
what i'm doing is basically emulating a git submodule in another project, not doing a variant of the same package
alp has joined #nixos
<cole-h>
Oh. Then maybe `pkgs.srcOnly`.
<rnhmjoj>
qyliss: thank you, i didn't about srcOnly. i think it looks cleaner that adding another output for the patched source
<jasom>
I'd like to crib some configuration-file generation from nixos/modules for generating a docker image with nix's docker tools (i.e. I'd like to have configuration options that I set instead of just dumping a wall of text for the config file). Has anyone done something like this before?
kreyren_ has joined #nixos
kreyren has quit [Remote host closed the connection]
alexherbo23 has joined #nixos
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo23 is now known as alexherbo2
grobi has joined #nixos
ixxie has joined #nixos
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<simpson>
juliusdeane: You're `import`ing a set from your libfoo. Sets can't be used as build inputs directly; you need to ask for its `.libcookbook` or whatever.
<juliusdeane>
simpson: so if I understand correctly, `libfoo` is a set and `libfoo.libcookbook` is the actual path to the package?
<{^_^}>
[nix-pills] @jonringer merged pull request #157 → Change install arg from `man` to `man-db` → https://git.io/JUp6x
<{^_^}>
[nix-pills] @jonringer pushed commit from @sbellem to master « Change install arg from `man` to `man-db` »: https://git.io/JUhvj
<simpson>
Well, the latter is a derivation, which can be coerced to a path, which is what's desired and intended. Derivations aren't paths. But otherwise yes, I think you've got it now.
BlessJah_ has joined #nixos
jani1234 has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
BlessJah has quit [Ping timeout: 260 seconds]
zupo_ has joined #nixos
<juliusdeane>
simpson: yes, this seems to work.
<juliusdeane>
So does libcookbook work like its own set of packages, except it just holds a single package (libcookbook.libcookbook)?
<numkem>
I'm not sure I undertand what I'm missing, I'm trying to call virt-what from an app I'm writing. within a nix-shell it works just fine but if it's started by a systemd service it's not enough to add pkgs.virt-what to systemd.services.<service>.path
<numkem>
it complains about missing virt-what-cpuid-helper that is part of the virt-what package
erasmas_ is now known as erasmas
otulp has joined #nixos
alp has joined #nixos
BlessJah_ has joined #nixos
BlessJah has quit [Ping timeout: 272 seconds]
grobi has quit [Quit: WeeChat 2.8]
grobi has joined #nixos
elux has quit [Quit: leaving]
boogiewoogie[m] has joined #nixos
jabster28 has quit [Ping timeout: 260 seconds]
cr4y1__ has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
cptrbn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rawtaz>
and what about all the Dockerfiles from others i might want to run, i cant imagine you're supposed to rewrite them in this stuff
grobi has quit [Quit: WeeChat 2.8]
jabster28 has quit [Ping timeout: 260 seconds]
<rawtaz>
seems they suggest using dockertools for pulling stuff as well. i just dont get it
<simpson>
You can turn FROM statements into `fromImage` and friends. But yeah, the original design goals for dockerTools were AIUI to package Nix derivations in a Docker-compatible format and not much more.
cosimone has quit [Remote host closed the connection]
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
Darkmatter66 has joined #nixos
knerten1 has quit [Remote host closed the connection]
<rawtaz>
so its not meant to replace the docker command really
<boogiewoogie[m]>
hey, I wrote a derivation for a kernel module and want to have it installed through my configuration.nix.
<boogiewoogie[m]>
2. am I correct in that including my derivation in `boot.extraModulePackages` is all I need to do for it to be `insmod`ed after rebuilding?
<boogiewoogie[m]>
1. is there anything special to kernel modules I need to take care of in its nix expression? i'm just fetching and building it: https://hastebin.com/yanexeyoto.properties
ggp0647 has quit [Remote host closed the connection]
ggp0647 has joined #nixos
grfn has joined #nixos
le_jonge has joined #nixos
never_released has quit [Remote host closed the connection]
knerten1 has joined #nixos
never_released has joined #nixos
mk_modrzew has quit [Ping timeout: 240 seconds]
mrpi has quit [Ping timeout: 240 seconds]
V has joined #nixos
WilhelmVonWeiner has quit [Ping timeout: 240 seconds]
bahamas has joined #nixos
WilhelmVonWeiner has joined #nixos
fps has joined #nixos
orbekk has joined #nixos
WilhelmVonWeiner is now known as Guest19493
<rawtaz>
feels like it would make sense to make something where nix can just take a Dockerfile and built it in its special way
<rawtaz>
build*
mrpi has joined #nixos
mightybyte has joined #nixos
mk_modrzew has joined #nixos
<rawtaz>
so that one doesnt have to rewrite Dockerfiles for dockertools
kwork has joined #nixos
cransom has joined #nixos
bahamas has quit [Ping timeout: 258 seconds]
cosimone has quit [Remote host closed the connection]
<bqv>
because if not, suffice to say, that's a pretty damn big indictment on the structural integrity of hydra and people's understanding of how it works
kaliumxyz has joined #nixos
zupo has quit [Ping timeout: 240 seconds]
liff has quit [Ping timeout: 244 seconds]
<{^_^}>
[nix-pills] @sbellem opened pull request #159 → Re-word "modified setup.sh" in pill 10 → https://git.io/JUhtU
fendor has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
__monty__ has quit [Quit: leaving]
BlessJah_ is now known as BlessJah
endformationage has joined #nixos
liff has joined #nixos
datakurre has joined #nixos
cosimone has joined #nixos
knerten2 has joined #nixos
ent has joined #nixos
cr4y1__ has quit [Remote host closed the connection]
<Raito_Bezarius>
are there cool alternatives to dhcpcd for NixOS?
jabster28 has joined #nixos
<Raito_Bezarius>
i'm having strange bugs with (Online provider) ipv6 & dhcpcd duid mechanism which requires me to reboot my machine to have working IPv6 sometimes
<Raito_Bezarius>
systemctl restarting dhcpcd does nothing and I see really nothing in routing tables & co
<Raito_Bezarius>
but maybe dhcpcd does not support IA_PD
lordcirth has quit [Remote host closed the connection]
jani1234 has joined #nixos
erasmas has quit [Quit: leaving]
jabster28 has quit [Ping timeout: 272 seconds]
jani1234 has quit [Ping timeout: 260 seconds]
kaliumxy1 has joined #nixos
<julm>
bqv: so far I've been able to get one of the reported error: [json.exception.type_error.302] type must be string, but is null; since closureInfo looks like the only thing in this PR using JSON, I'm trying a new hydra run without the closureInfo. It's still building so far
<julm>
evaluating file '/home/julm/src/nix/nixpkgs/.git-worktree/apparmor/pkgs/build-support/closure-info.nix' error: "error: --- ThrownError ------------------------------- hydra-eval-jobs\nNon-EFI boot methods are only supported on i686 / x86_64"
<julm>
but I have no idea if this is normal or not
cptrbn has joined #nixos
jabster28 has joined #nixos
Rusty1 has joined #nixos
<bqv>
i wouldn't expect it is, but i imagine there's someone more qualified to answer that question
jabster28 has quit [Ping timeout: 260 seconds]
<bqv>
and if there isn't, that's really not great
<julm>
I haven't dive into the usage of hydra so far, but it looks like my second run does not benefit from the first and is as slow as the first run, no caching or else seems to happen, I don't know if it cannot or if I'm not using it correctly
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
cptrbn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mcpcpc has joined #nixos
mcpcpc is now known as mcpcpc1
mcpcpc1 has quit [Client Quit]
cr4y1 has joined #nixos
smyds has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<julm>
So, I now see more "error: --- ThrownError ------------------------------- hydra-eval-jobs\nNon-EFI boot methods are only supported on i686 / x86_64" not just after closure-info.nix, so I guess it's just normal as hydra keeps going on
cosimone has quit [Quit: cosimone]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
zupo has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
cr4y1 has quit [Remote host closed the connection]
<{^_^}>
#52534 (by samueldr, 1 year ago, merged): nixos/release-combined: adds aarch64-linux as supported
<exarkun>
Anyone have any guides for running a nixos container with only a wireguard-supplied interface for its network?
jabster28 has joined #nixos
mcpcpc has joined #nixos
zupo has quit [Ping timeout: 272 seconds]
mcpcpc has quit [Client Quit]
Darkmatter66 has quit [Ping timeout: 272 seconds]
<julm>
exarkun: I don't know about the container part, but for the interface part the wireguard module has support for the net namespace isolation described at the end of https://www.wireguard.com/netns/
<samueldr>
I don't really understnd "that's a pretty damn big indictment on the structural integrity of hydra and people's understanding of how it works" then
<bqv>
Because he has no idea why it breaks things
cr4y1 has quit [Ping timeout: 246 seconds]
<bqv>
I can understand if he knew why, but he reverted things at random until it worked
<bqv>
That seems very iffy
<samueldr>
did he?
<samueldr>
it reads to me, while going quickly through the info, that it was bisected
<samueldr>
hm, maybe not
<bqv>
That doesn't seem so for me, and even if it was, I'm not sure thats any better
<samueldr>
eh, not sure I want to get involved into whatever shade you're throwing on hydra and contributors
<samueldr>
though if you have a suggestion instead of idly being annoyed at the situation, please share
<julm>
exarkun: note that I don't know containers, maybe there is another way to do what you want, maybe less declarative, I don't know
<samueldr>
it really is not a trivial piece of how everything works
mcpcpc has joined #nixos
<bqv>
Anything I say from here will inevitably start an argument. So I'll keep to my distancing plan
<samueldr>
jlpeters: as for the issue that pinged me, yeah the throws about EFI boot methods are not problematic themselves in the eval
<samueldr>
oops, julm*
mcpcpc is now known as mcpcpc1
mcpcpc1 has quit [Client Quit]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<samueldr>
julm: do you know if anyone has a copy of the hydra eval log from when it failed?
emmanuel_erc has joined #nixos
<emmanuel_erc>
Hello there! Are there any general tips for minimizing the size of derivations (built using nix-build)?
<emmanuel_erc>
It seems like there are always extra unnecessary items in the closure of my derivations.
mcpcpc has joined #nixos
<mcpcpc>
nick mcpcpc1
mcpcpc has quit [Client Quit]
<julm>
bqv: I'm frustrated like you, waking up this morning and see my work blamed for causing troubles, but I understand the brutal revert as vcunat said it helps unblocking the whole release process, so well.. let's inquire and see what we can make sense of it
mcpcpc has joined #nixos
<julm>
samueldr: I'm not sure of what you want, but I've reproduced one of the error mentionned and there is no calltrace no nothing but the json error