<siraben>
And how would I enable flakes on GitHub actions as well?
<nicolas[m]>
you have to use `nix build` with flakes
<nicolas[m]>
not the old `nix-build`
<siraben>
nicolas: `nix build .#hello` gives `error: don't know what to do with argument '.#hello'`
<nicolas[m]>
are you in a folder with `flake.nix` and have you enabled the experimental-features in your nix.conf
boxscape has joined #nixos
<siraben>
Ah I haven't enabled the experimental features
<NemesisD>
how would one go about writing or symlinking a file in a particular place on disk (not in /etc) in a nix configuration? or is that a bad idea
<NemesisD>
samueldr: this isn't really a volatile file as i understand it. in particular, i need to maintain an htpasswd file in a particular place on disk and the info needed to generate it is in my nix config
<samueldr>
tmpfiles.d is not (only) about volatile files
<NemesisD>
so if i removed it from the config i'd expect the file to be removed but otherwise it should stay in place across reboots
<samueldr>
it clearly outgrew its initial design goal :)
<nicolas[m]>
Oh, I had never thought of using tmpfiles.d to symlink to a /nix/store path
<samueldr>
AFAIK the canonical way to link stuff from storepath to elsewhere would be tmpfiles.d
<siraben>
nicolas: that `warning: unknown setting 'experimental-features'`
<samueldr>
siraben: you'll need nixUnstable I believe
<siraben>
Any way to do that with home-manager?
<NemesisD>
oh ok
<nicolas[m]>
not sure it would be possible to set nix to nixUnstable with home-manager
<samueldr>
NemesisD: L and L+ do a one-shot thing, L will symlink if not present, so won't update; L+ will always symlink
<samueldr>
NemesisD: since you talked about htpasswd, note that adding secrets to the store is... extremely YMMV
<samueldr>
at best
<samueldr>
all of /nix/store is world readable :)
<nicolas[m]>
NixOS and nix-darwin both support setting nix with `nix.package`
<NemesisD>
samueldr: i'm not super concerned about this case, this isn't for a public web server or anything. i read a bit about i think it was nix-sops and the complexity grossed me out
<{^_^}>
[nixpkgs] @mweinelt opened pull request #104119 → pythonpackages: update packages I maintain → https://git.io/Jk8h3
bqv has quit [Quit: WeeChat 2.9]
<samueldr>
NemesisD: yeah, just stating it in case you weren't aware, before you cock the footgun :)
kalbasit has quit [Ping timeout: 240 seconds]
<NemesisD>
the alternative i guess is just imperatively creating the file myself. not the worst thing but it's just kind of a bummer because i conceptually like never directly configuring my system except through nix
<NemesisD>
also i guess an htpasswd file isn't the worst thing to have in the store since it's just a hashed password
bqv has joined #nixos
<samueldr>
yeah, though if you have the password as an input to the derivation and hash during it, the password is an input to the derivation, and thus available in the store when building :)
<samueldr>
if the hashing is done out-of-band beforehand, there shouldn't be any problem
<NemesisD>
hmm, so the password would be in a nix file that's kept out of source control and passed in as an argument. would each argument get written to the store?
<samueldr>
all of the inputs are written in the store, in the derivation, for building
<samueldr>
that's part of hashing all the inputs
<samueldr>
that doesn't mean you get the original nix files
<NemesisD>
hmm. actually pre-creating the htpsswd files and just symlinking those with tmpfiles doesn't sound too bad. i could even commit it to source control
konobi has quit [Read error: Connection reset by peer]
konobi has joined #nixos
bqv has quit [Quit: WeeChat 2.9]
bqv has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
Soo_Slow has joined #nixos
agent47 has joined #nixos
<agent47>
I have been using NixOS for a month now and after a kernel update some apps in my system has started to freeze/stutter.Does anyone know what is causing this (Right now in Linux-5.9)
<bqv>
So I've been trying to rework my streaming setup so it works with wayland. Problem is my compositor doesn't support all those crazy wlroots extensions, and xwayland doesn't seem to support what obs needs. Basically I think I have to resort to starting a new xserver just for streaming, which isn't awful I guess
<bqv>
Also I tried xnest with xwayland but it doesn't have opengl
lordcirth has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
is_null has quit [Remote host closed the connection]
lordcirth has quit [Ping timeout: 264 seconds]
ericsagn1 has quit [Ping timeout: 264 seconds]
lordcirth has joined #nixos
lordcirth__ has quit [Ping timeout: 264 seconds]
lordcirth__ has joined #nixos
kreyren__ has quit [Remote host closed the connection]
kreyren__ has joined #nixos
gthm has quit [Quit: leaving]
ATuin has joined #nixos
upsilon_ has joined #nixos
upsilon has quit [Ping timeout: 272 seconds]
lordcirth has quit [Ping timeout: 264 seconds]
FRidh has joined #nixos
gthm has joined #nixos
<ptotter[m]>
how should I get a contrib script from a package into my $PATH ?
<ptotter[m]>
preferably in e.g. config.nix (vs. configuration.nix)
za1b1tsu has joined #nixos
<za1b1tsu>
Hey, so I want to experiment with NixOS and nix. I download the nix package manager to learn about it. Something weird, when I do "nix-env -qa pythton" all I get is python 2.7.18. But when I search online here: https://search.nixos.org/packages . I find a lot more versions. So something is wrong with the repo I have?
ericsagn1 has joined #nixos
Izorkin has quit [Ping timeout: 240 seconds]
<srhb>
za1b1tsu: probably not, however, the nix-env -q interface can be pretty confusing at the best of times, you're likely to get better results with the online search most of the time. You can also try `nix search` though
<{^_^}>
za1b1tsu also: You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
Izorkin has joined #nixos
<za1b1tsu>
So nix search foobar. Searches not ust the title of the package, but the descripton as well
<za1b1tsu>
*ust just
<za1b1tsu>
I dont see in "--help" any argument that will make it serach only in the title
<za1b1tsu>
so from I can tell the web search in the browser is the preffered way
puckipedia has joined #nixos
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
<EdLin>
why is the GNOME live ISO currently recommended over the Plasma one? Not wanting to start a DE war, just asking about the reasons for the recommendation on nixos.org
<{^_^}>
[nixos-homepage] @garbas pushed to redesign-features « typo »: https://git.io/JkBbd
<EdLin>
leonardp, not sure if I understand what the bottom line is from that thread.... GNOME is less behind than KDE in NixOS perhaps?
sangoma has joined #nixos
<leonardp>
EdLin: as i understand it, the 20.09 release was/is right before KDE/GNOME releases and a good plasma integration seems to be harder in NixOS
<leonardp>
not necessarily because of KDE, but because of a combination of plasma+kde+qt+systemd, so the answer to your initial question might be: because of practical reasons
lordcirth has joined #nixos
graf_blutwurst has joined #nixos
lordcirth__ has quit [Ping timeout: 264 seconds]
<EdLin>
leonardp, at least it isn't Slackware, they're still using KDE4 in -current. To be fair, their release team is much smaller. :)
<EdLin>
i.e Patrick and two or three others
<EdLin>
leonardp, I actually don't like systemd, but recognize it's kind of neccesary in Linux now for reasons beyond my control. :(
Izorkin has quit [Ping timeout: 272 seconds]
alp has quit [Ping timeout: 272 seconds]
Izorkin has joined #nixos
<EdLin>
anyway, thanks for your insight into this.
<infinisil>
AWizzArd: I'm not an op, but I'm certain that's fine :)
<infinisil>
I can also recommend an accompanying discourse post
<AWizzArd>
infinisil: yes, I am going for IRC, Reddit and Discourse, with some delay in-between.
<AWizzArd>
Guys, I would like to make you aware that we are hiring a DevOps Engineer who has a solid background in DevOps, professional experience with cloud services (for example AWS or Azure) and obviously Nix. Have a look at https://www.possehl-analytics.com/career and write me (in private) when you have questions.
za1b1tsu has quit [Ping timeout: 272 seconds]
<infinisil>
A Haskell position as well :o
ertugerata has quit [Remote host closed the connection]
<AWizzArd>
infinisil: yay :)
domogled has quit [Ping timeout: 265 seconds]
domogled has joined #nixos
lordcirth__ has joined #nixos
lordcirth has quit [Ping timeout: 264 seconds]
<dminuoso>
AWizzArd: Nice! So you're finally kicking off. :)
jbox has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @cdepillabout pushed to haskell-updates « haskellPackages.semver-range: disable tests to get building »: https://git.io/JkRI2
lordcirth has joined #nixos
lordcirth__ has quit [Ping timeout: 264 seconds]
<AWizzArd>
dminuoso: yes, we’ll be starting in January. And now is the critical phase. If we can find some Nixers and Haskellers, then we can create more jobs for both areas.
<AWizzArd>
bqv: it might be okay, depending on how the conversation goes. If a candidate fits too well we may consider it.
<AWizzArd>
But I have to write something into that job description, so the preference went in there.
johnw has quit [Ping timeout: 260 seconds]
davidv7 has joined #nixos
<Kazimazi>
colemickens: hi I'm using nixpkgs-wayland as flake, I followed your usage guide there, but it overlaied all all my wayland packages, how would I achive to only explicitly use overlay packages?
johnw has joined #nixos
<{^_^}>
[nixpkgs] @veehaitch opened pull request #104156 → snallygaster: init at 0.0.9 → https://git.io/JkROw
<{^_^}>
[nixpkgs] @ehmry pushed to master « nixos: use nativeBuildInputs in make- iso9660-image and system-tarball »: https://git.io/JkRcY
rnhmjoj_ has joined #nixos
superherointj has quit [Quit: Leaving]
aiverson has joined #nixos
rnhmjoj_ has quit [Quit: rnhmjoj_]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rnhmjoj_ has joined #nixos
thc202 has quit [Ping timeout: 260 seconds]
za1b1tsu has quit [Quit: Leaving]
ericsagn1 has quit [Ping timeout: 260 seconds]
daddy_james[m] has left #nixos ["User left"]
<aiverson>
I've got a git repo that I can fetch with git from my repl, but I can't seem to get fetchFromGitHub to work on it anymore. It's a fork of someone else's project with default.nix added, and I can build a manual clone of it with nix-build, but I can't callPackage the result of fetchFromGithub. It worked fine prior to my latest commit pulling in changes from upstream, but now one of the submodules fails to clone in fet
<aiverson>
chFromGitHub before it even gets to hash validation. The repo is at https://github.com/aiverson/lovr. Could someone else take a look?
__monty__ has quit [Ping timeout: 265 seconds]
rnhmjoj_ has quit [Remote host closed the connection]
asbachb has joined #nixos
Kazimazi has quit [Remote host closed the connection]
<aiverson>
* bash shell, not repl
<{^_^}>
[nixpkgs] @ehmry opened pull request #104163 → setup-hooks/strip: more robust stripping → https://git.io/JkRlg
<{^_^}>
[nixpkgs] @cdepillabout opened pull request #104164 → spago: get building again with ghc8102 → https://git.io/JkRld
sangoma has quit [Read error: Connection reset by peer]
aiverson has joined #nixos
domogled has quit [Remote host closed the connection]
aiverson has left #nixos ["Killed buffer"]
domogled has joined #nixos
aiverson has joined #nixos
<aiverson>
That fetchFromGitHub call also works for me, but it's the wrong commit. I added a new commit to pull in new changes from upstream three days ago, and that commit is the one I'm having trouble using. That previous commit was already working for me and trying to update from it to the latest one is what is causing a problem.
<Boomerang>
I just use the commit on `master`
<aiverson>
That isn't the latest commit on master
<Boomerang>
I would assume changing the commit would work. Make sure you set the sha to something that doesn't exist
<Boomerang>
You can try to change the source of the submodule
hax404 has joined #nixos
sangoma has joined #nixos
SanchayanMaity has quit [Quit: SanchayanMaity]
Sanchayan has joined #nixos
SanchayanMaity has joined #nixos
<aiverson>
But why is that commit fetching successfully when I do a git clone --recursive, or when running a git submodule sync+update, but not inside a fetchFromGitHub?
Sanchayan has quit [Client Quit]
<dutchie>
fetchFromGithub doesn't use git, it just pulls a tarball iirc
<Boomerang>
That's a good question! Usually you can request a commit from any forks of the same projects (as we can see in the browser), maybe the fetchFromGithub doesn't like using the wrong repo though
<Boomerang>
Oh yeah that would do it
<Boomerang>
I think you can modify .gitmodules manually to point to the repo you want
<{^_^}>
[nixpkgs] @FRidh pushed commit from @r-ryantm to staging « faad2: 2.9.2 -> 2.10.0 »: https://git.io/JkRKi
gustavderdrache has joined #nixos
iH8c0ff33 has quit [Quit: WeeChat 2.9]
<{^_^}>
[nixpkgs] @FRidh pushed 52 commits to staging-next: https://git.io/JkR6O
<gchristensen>
whew way to got FRidh
<{^_^}>
[nixpkgs] @FRidh opened pull request #104174 → Staging next → https://git.io/JkR6l
wily has joined #nixos
wily has quit [Remote host closed the connection]
<Ericson2314>
bqv good! we've wrapped up the work for that first contract. Not sure on the main P.R.s. at this time :(, but I have some things in the works (shouldn't elaborate yet, sorry!) that might help sway things in their favor. Also Regnat and I are still working on the CA derivation stuff, which is great.
<pie_>
i sure hope theres an easy way to run cisco webex
<pie_>
aaaaand its windows only
Mateon1 has quit [Remote host closed the connection]
<genevino>
can i easily use something like environment.etc."clamav/helper.sh" = for stuff that is not in /etc ? e.g. to control permissions on /var/www/something ?
<halfbit>
amusing... since microsoft teams works fine everywhere
FRidh has joined #nixos
<halfbit>
webex is terrible man... load up a vm and let it burn
mananamenos has quit [Ping timeout: 260 seconds]
Mateon1 has joined #nixos
endformationage has joined #nixos
cole-h has joined #nixos
domogled has quit [Ping timeout: 260 seconds]
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<genevino>
or to refine my question: how do i create directories and files at arbitrary locations in the filesystem from my configuration.nix?
<simpson>
genevino: Typically, one doesn't do that. What are you hoping to accomplish?
<genevino>
simpson: actually: give members of a specific group write permission to my doc-root of nginx
<simpson>
For your examples, stuff like startup scripts or webroots are usually hard-configured to point to stuff in the Nix store, rather than out in various places on the filesystem.
hnOsmium0001 has joined #nixos
<genevino>
i configured it to point to a directory in my filesystem :)
<simpson>
Like cole-h says, you could use an activation script, so that you could ensure that the directory is made and configured prior to nginx starting.
<cole-h>
Could also modify the nginx service to have a preexec that does this
<cole-h>
(if it doesn't already have a preexec)
sangoma has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gustavderdrache has quit [Ping timeout: 240 seconds]
stree_ has quit [Ping timeout: 264 seconds]
sangoma has joined #nixos
<pie_>
halfbit: i imagine it has a browser version tho? a lecturer is gonna try using the meeting stuff
stree has joined #nixos
nuncanada has joined #nixos
<pie_>
halfbit: but yeah i think someone may have misinterpreted "microsoft teams" as "cisco webex teams" - or not, idk :D
<{^_^}>
systemd/systemd#12447 (by flokli, 1 year ago, closed): tmpfiles: naming is inconvenient
<genevino>
lordcirth: all good, I'm not following 24/7 myself ;)
<genevino>
lordcirth: and thanks so much for your reply!
upsilon_ has joined #nixos
alp has quit [Ping timeout: 256 seconds]
sangoma has quit [Ping timeout: 260 seconds]
domogled has joined #nixos
bitmapper has joined #nixos
jb55 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @veprbl opened pull request #104194 → [20.09] qt5{14,15}.qtbase: fix on darwin → https://git.io/Jk0vc
jb55 has joined #nixos
<genevino>
lordcirth: i was confused by the name indeed, especially i wouldn't have thought something under systemd. is responsible for doing something like this.
euandreh has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @r-ryantm to master « direnv: 2.23.1 -> 2.24.0 (#104109) »: https://git.io/Jk0fs
domogled has quit [Ping timeout: 272 seconds]
sangoma has joined #nixos
domogled has joined #nixos
gustavderdrache has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @Chiiruno opened pull request #104195 → svt-av1: init at 0.8.5 // ffmpeg-full: enable svt-av1 → https://git.io/Jk0fN
cosimone has quit [Quit: cosimone]
<oxalica>
Hi. I'm playing with nix flakes. When I typed `nix run nixpkgs#hello`, it always try to fetch a repo https://github.com/NixOS/flake-registry first before copying store paths. Doesn't flakes pin/lock all these repos? Why still need to fetch everytime?
<cole-h>
Because you're running `nixpkgs#hello` -- it needs to look up the `nixpkgs` flake in the flake registry -> thus it needs to query flake-registry
<cole-h>
The flake-registry does pin/lock the nixpkgs repo. But it updates very frequently.
FRidh has quit [Ping timeout: 264 seconds]
<oxalica>
So there's no user-wide or system-wide flakes.lock?
FRidh has joined #nixos
<cole-h>
You can set your flakes registry with `nix.registry`
<cole-h>
But AFAICT, it still queries flake-registry (just doesn't need to copy the nixpkgs from there if you have your own nixpkgs specified)
<andi->
Shouldn't it cache the registry locally?
<cole-h>
It probably does, but the registry updates frequently (or, at least, that's what Eelco said sometime in the past)
<andi->
this has the nice potential of expiring the moment you step onto a train/plane/… :/
<andi->
I usually see other languages that have a local package index to warn you that your index is N days old and you should consider updating.
jedai42 has joined #nixos
<cole-h>
I'd imagine if you're disconnected, it wouldn't expire.
<oxalica>
I usually just want to try packages from nixpkgs used by current system to avoid mass download (just like `nix run -f '<nixpkgs>' hello`). But it seems hard to do it with flakes without manually pin a registry with a specific revision.
<cole-h>
Does that `nix run -f` not work?
<cole-h>
Because it worked for me.
<andi->
but that usese the systems nixpkgs channel and not the nixpkgs flake used for the running system
<andi->
whenever I see the boiler plate (currentSystem, forAllSystems, legacyPackages) I do think it is too much overhead that everyone has to write very time
Mateon1 has quit [Remote host closed the connection]
Mateon1 has joined #nixos
<andi->
whereas nwo I just instnatiate nixpkgs once for my target architecture and use that same pattern across all my machines regardless of arch. There is one location where I specify the architecture..
<cole-h>
I don't mind it, but I do understand that it's overhead (especially for newbies).
<andi->
My problem is more like this: We have a greenfield. We can invent whatever we want flakes to be. We end up copy&pasting code into all flakes (and even need template flakes for basic usage…) and now we also need support libs because flakes do not support what everyone needs.
<magnetophon>
how can I add a regular user to the allowed users to admin cups? I tried changing printing.extraConf but the cups webUI still says "forbidden" when I run a commando
werner291 has quit [Remote host closed the connection]
<pumpy>
anyone else confirm neovim package is broken in 20.09 pls? (installs fine, starts fine, but stalls on :checkhealth and if it doesn't stall it shows the error from https://github.com/neovim/neovim/issues/13218)
<{^_^}>
neovim/neovim#13218 (by jrock2004, 2 weeks ago, open): ERROR: shada file is not readable
justanotheruser has quit [Ping timeout: 272 seconds]
ilmu has quit [Ping timeout: 260 seconds]
ilmu has joined #nixos
<andi->
pumpy: works on my 20.09 system.
<andi->
but that one has zero plugins outside of the nix managed scope
nnmmp[m] has joined #nixos
<pumpy>
hm ya me too
<srhb>
pumpy: I get the "error" too unless I create it by hand. Not sure whether neovim is supposed to do it on its own.
<pumpy>
ah not just me
<pumpy>
teto and MatthieuCoudronG are nix and neovim experts and can maybe say srhb?
alp has quit [Ping timeout: 272 seconds]
mallox has quit [Quit: WeeChat 2.9]
cosimone has quit [Quit: cosimone]
<srhb>
pumpy: Actually it appears it created it fine after I quit it first time
Morfio has quit [Quit: This computer has gone to sleep]
Scriptkiddi has joined #nixos
mrpi has joined #nixos
das_j has joined #nixos
ajs124 has joined #nixos
cheriimoya has joined #nixos
mananamenos has joined #nixos
mananamenos_ has quit [Ping timeout: 264 seconds]
<pumpy>
srhb tested on fresh system and ya that works, but it's not good enough because where's that need to 'power cycle' nvim declared? wasted hours of my time. im new to nix but that still sucks
<pumpy>
shouldn't the package be fixed?
Morfio has joined #nixos
<superherointj>
I need an example of NixOS configuration mounting LUKS->LVM->EXT4, I was suggested here a time ago to use `systemd.mount` (systemd.mounts.[{...}]), which I am trying to do so but it is not clear for me how I should decrypt LUKS using it. I cannot use "boot.initrd.luks.device" because key it is not available during boot only after it.
mananamenos has quit [Ping timeout: 260 seconds]
proofofkeags has joined #nixos
mananamenos has joined #nixos
<superherointj>
I wish we had a better abstraction than using plain systemd, things are not really clear.
<superherointj>
My struggle to mount LUKS-LVM->EXT4 can actually mean the current fileSystem abstraction not being a good one. Or that I just don't know what I am doing (likely).
<{^_^}>
[nixpkgs] @jonringer pushed commit from @kamadorueda to master « pythonPackages.aioextensions: init at 20.11.1517005 »: https://git.io/Jk0O5
jonringer has joined #nixos
<superherointj>
Orbstheorem, home-manager?
<Orbstheorem>
I'm using home-manager to deploy a text file and then manage stuff using Plug. I'm very divided between building a vim config that just works and having a portable config.
SanchayanMaity has quit [Quit: SanchayanMaity]
iH8c0ff33 has quit [Ping timeout: 240 seconds]
sangoma has quit [Quit: WeeChat 2.9]
<Orbstheorem>
Though I just had the idea of having a minimalistic plugin-light config as a base and then do all the customizations on home-manager.
<Orbstheorem>
Has anybody tried something of the sort?
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<superherointj>
I save my VSCode config in home-manager, in such way I can restore it exactly, which is my goal, by changing things outside of home-manager, changes won't persist.
<{^_^}>
[nixpkgs] @jtojnar pushed commit from @r-ryantm to staging « glib: 2.66.2 -> 2.66.3 »: https://git.io/Jk0s1
cosimone has joined #nixos
iH8c0ff33 has joined #nixos
<{^_^}>
[nixpkgs] @charles-dyfis-net opened pull request #104205 → curaLulzbot: Move from Python 3.8 back to 3.6 to avoid showstopper bugs → https://git.io/Jk0GO
<samueldr>
thar argument contains the attributes as defined originally
<samueldr>
that*
<samueldr>
so you can .overrideAttrs({buildInputs, ...}: { buildInputs = buildInputs ++ [ /*...*/ ] })
<Orbstheorem>
Btw, does anybody use home-manager to manage mimeapps.list and MS teams? MS teams deletes my symlink to the nix store and replaces the file :(
veleiro has quit [Ping timeout: 265 seconds]
<cole-h>
samueldr: Probably want to do `{ buildInputs ? [], ...}:` or `buildInputs = (buildInputs or []) ++ [ /* ... */ ];` ;)
<samueldr>
yes, definitely something like that
<samueldr>
but that muddies up the water in showing the minimum required
<cole-h>
:P
lsix has quit [Ping timeout: 272 seconds]
<{^_^}>
[nixpkgs] @FrancisRussell opened pull request #104207 → Bump GLFW to 3.3.2 → https://git.io/Jk0nP
<D_>
hmm, I guess I could load manifest.nix in the repl, bind the list in it to something, and do whatever I want that way
<D_>
oh, I guess I can do `nix-env --query --installed --meta --json` and run it through jq or something like that, too
<D_>
thanks
omnipotententity has joined #nixos
<omnipotententity>
I guess I'm still wibbly on how the nix language and overriding works. I'm trying to override a derivation to use a different version, just to see if it works, I have this code: https://pastebin.com/qgxfmYBp but my error is that build-bazel is missing. Any ideas?
la-jesystani has joined #nixos
<la-jesystani>
howdy, if i have a package built using a nix flake, is there a way to allow broken packages as part of the nix flake?
<la-jesystani>
oh wow nvm i got it, sorry to be a bother
jbox has joined #nixos
camsbury has joined #nixos
sss2 has quit [Quit: Leaving]
<{^_^}>
[nixpkgs] @mkg20001 opened pull request #104212 → libavif: upgrade + disable libaom decode because performance → https://git.io/Jk04q
mahogany has quit [Quit: Konversation terminated!]
<{^_^}>
All bindings: A ADT AU BRT C'EST CEST CET DKK DRAGONS DRAKONIS EDT ET EUR G K NOK PDT PST SEK USD UTC UTCShift VND __add __div __mul _add _assign _attrName _attrs _blue _bold _bool _bracket _concat _int _null _num _number _red _semi _set _show _string a a' aandb ack add allDeps alphabet array2list assign attr attrName attrs b bar bind bindState bisectFloat bold boldcolors boldpalette bool botsnack bracket buildList builtinTypes builtinsbackup c cToF c
<cole-h>
> :p lib.sublist 1 3 [0 1 2 3 4]
<{^_^}>
[ 1 2 3 ]
<bbarker>
If I see a package in hackage that isn't in nipxkgs, do I just need to add it to configuration-hackage2nix.yaml ?
<cole-h>
cc maralorn ^
<V>
>DRAKONIS
<V>
uh
<asbachb>
Anyone using nwg-launcher in combination with sway?
<V>
> DRAKONIS
<{^_^}>
"here be"
<V>
lol
<la-jesystani>
you can use haskellPackages.callPackage on the toutput of `cabal2nix cabal://package-version` and put it in an override for the nixpkgs haskell package set
Dagger has quit [Excess Flood]
<bbarker>
la-jesystani: thanks, I may try that in the interim. But I was hoping to have this package generally available (I'm the author, and uploaded it to hackage months ago, but noticed it still isn't in nixpkgs master)
Dagger has joined #nixos
<la-jesystani>
ah my bad
<bbarker>
not at all, that sounds like good advice for the time being
cirno-999 has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @zowoq opened pull request #104219 → grobi: fix failing test on go 1.15 → https://git.io/Jk0Rd
<visl>
android-studio downloads the android sdk binaries (like adb) separately and these tend to not work with nix. how do i get these binaries so they work with nixos?
cirno-999 has joined #nixos
<Piece_Maker>
hey everyone, im trying to setup nextcloud + acme for certs, but not sure if im doing it right... i cant get a https connection to my server (http works but obviously it complains about it being non-SSL)... can anyone peek at my configuration and tell me if im doing something stupid? XD
dhess has quit [Remote host closed the connection]
<Piece_Maker>
i think its because I've no webroot in the services.acme section but I'm not sure where this should be pointed to?
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
<bbarker>
la-jesystani: the plot thickens - I get an error: cabal2nix: NoHackageTarballFound. Probably the reason it isn't in nixpkgs
<la-jesystani>
oh uhh, that tool might not work if you havent run cabal update? im not really familiar with how cabal works sorry ive only ever used nix with haskell
foxxxx[m] has joined #nixos
Pwnna has quit [Quit: Bye]
wavirc22 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
lvrp16 has quit [Ping timeout: 240 seconds]
ldlework has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @zowoq pushed commit from @r-ryantm to master « minikube: 1.14.2 -> 1.15.0 »: https://git.io/Jk0EY
pablo1107[m] has joined #nixos
zaeph has quit [Ping timeout: 264 seconds]
kidn[m] has joined #nixos
badmutex[m] has joined #nixos
<omnipotententity>
So I'm trying to override the patches and src for tensorflow 2. But all of the build information is in a let expression before the actual derivation, and it doesn't seem to be easy to override. Any ideas?