<hexa->
what would be the simplest way to disable a timer?
<hexa->
i need to disable mysql-backup.timer, as its service will be part of my borgbackup service anyhow
<hexa->
something like systemd.timers.mysql-backup = null;?
turlando has joined #nixos
MmeQuignon has quit [Ping timeout: 246 seconds]
erasmas has quit [Quit: leaving]
<gchristensen>
.enable no?
philr has joined #nixos
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
BlessJah has quit [Quit: leaving]
BlessJah has joined #nixos
<risson>
Hey! I'd like to do more packages review, is there any way I can setup some notifications for a defined list of packages so when those get a PR I can review it?
<infinisil>
Not sure if that's good for single packages though
dbmikus__ has joined #nixos
thelounge812 has joined #nixos
_d0t has quit [Remote host closed the connection]
<energizer>
elvishjerricco: if you find out i'd be interested to hear
jabster28 has joined #nixos
dbmikus__ has quit [Ping timeout: 240 seconds]
jabster28 has quit [Ping timeout: 244 seconds]
<elvishjerricco>
energizer: I think I'm just going to try `nixos-generate-config --root / && nixos-install --root /` :P
<energizer>
elvishjerricco: haha alright
<energizer>
i wasnt able to get mine working the normal way but some people have
<kini>
supersandro2000: lol, usually suddenly finding yourself compiling fortran code is supposed to be the opposite of "the feel of enterprise software" where everything is pre-packaged for you, but oh well :)
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JTjKE
<elvishjerricco>
I'm just gonna flash the generic image
ddellacosta has joined #nixos
kloenk has quit [Ping timeout: 240 seconds]
kloenk has joined #nixos
<supersandro2000>
kini: it is enterprise so you can't be on the latest version and NixOS is the most up to date eco system
pbb has quit [Remote host closed the connection]
pbb has joined #nixos
<kini>
right, I'm just saying it's ironic that in order to support enterprise systems I need to be compiling things locally, which is something one usually tries to avoid doing in enterprise systems
rnea- has joined #nixos
rnea- has quit [Remote host closed the connection]
<kini>
I guess it's not really that ironic, though -- people do spend a lot of effort supporting the stability that enterprise systems promise
bn_work has quit [Quit: Connection closed for inactivity]
amfl_ has joined #nixos
amfl has quit [Ping timeout: 240 seconds]
amfl_ is now known as amfl
nopsled has joined #nixos
zarel_ has joined #nixos
<nopsled>
real quick question: How do you install a DE and omit a few applications? For example if I wanted KDE and Alacritty, is there a way to prevent Konsole from being installed?
<{^_^}>
[nixpkgs] @expipiplus1 opened pull request #103063 → haskell: default name to "" when root isn't a path in developPackage → https://git.io/Jkema
<siraben>
samueldr: i see
<aveltras>
is there a way to use the flakes feature without unstable nix binary ? i'm encountering segfaults which seem related to the unstable version now but i'd like to keep using flake as i've migrated my system configuration to use it (i'll rollback or wait if that's not possible)
<colemickens>
there is flake-compat, which apparently lacks a readme
mallox has joined #nixos
fendor has joined #nixos
<aveltras>
seems this is more targeted to projects rather than nixos config, guess i'll rollback for now
patagonicus has joined #nixos
la-jesystani has joined #nixos
<{^_^}>
[nixpkgs] @ilmari-lauhakangas opened pull request #103064 → Remove vigra and glew as obsolete LibreOffice dependencies → https://git.io/JkeYx
njha[m] has quit [Quit: Idle for 30+ days]
amanjeev[m] has quit [Quit: Idle for 30+ days]
spudly[m] has quit [Quit: Idle for 30+ days]
tnias[m] has quit [Quit: Idle for 30+ days]
griff_ has joined #nixos
jabster28 has joined #nixos
lsix has joined #nixos
psy3497 has joined #nixos
jonringer has quit [Ping timeout: 264 seconds]
jabster28 has quit [Ping timeout: 264 seconds]
<psy3497>
Anyone installed rust-analyzer through coc directly and got it working? I am not sure if the problem is using NixOS or not.
<psy3497>
I am running `:CocInstall coc-rust-analyzer`
<psy3497>
it downloads it, get to 100% and then the status message disappears
<psy3497>
And basically nothing happened. If I restart it says "Rust analyzer not found. Download it?" And I can say yes and the process repeats
chrisaw has joined #nixos
<psy3497>
Do I have to install it through nix? Or is it something I can manage independently like `rustup`?
<psy3497>
All my vim plugins and rustup are not managed through nix, so I prefer to just install it directly if possible
hlz has joined #nixos
alp has joined #nixos
<psy3497>
Welp, I opted to install through nix
<eyJhb>
psy3497: did it work?
<psy3497>
I built it
<psy3497>
then in the config I point it to the executable in the nix store
<psy3497>
It seems to have worked
<psy3497>
But I wonder if installing through coc.nvim directly has some extra perks
<psy3497>
like automatic updating for example
<eyJhb>
That sounds like you will have a fun time after a GC :p
<psy3497>
I figured coc tries to install it in my home dir but perhaps I was wrong and it tries to install globally, which will explain why it did not work
<eyJhb>
Yes, that it will not get garbage collected for example, also.. declarative
<psy3497>
eyJhb yes, just for testing I did not actually install in the environment yet, once I am satisfied it will go with the rest of the packages
<eyJhb>
But I have not had much luck with COC and Nix last time I tried...
<eyJhb>
Might have to try again. I only really use Go
<psy3497>
Really?
<psy3497>
For me, it worked. With Haskell as well
<psy3497>
Nothing installed through Nix however
<psy3497>
Nothing as in, neither coc nor neovim
<psy3497>
Ah sorry neovim is installed through nix
<psy3497>
I mean the configuration and the plugins are through vimrc
griff_ has quit [Quit: griff_]
Jackneill has quit [Ping timeout: 246 seconds]
rprije has quit [Ping timeout: 256 seconds]
chrisaw has quit [Read error: Connection timed out]
chrisaw has joined #nixos
astylian has joined #nixos
Jackneill has joined #nixos
la-jesystani has quit [Ping timeout: 260 seconds]
avaq has joined #nixos
avaq has quit [Client Quit]
<{^_^}>
[nixpkgs] @expipiplus1 opened pull request #103066 → haskell: Add documentationTarball to lib → https://git.io/JkeZr
astylian has quit [Remote host closed the connection]
astylian has joined #nixos
MmeQuignon has joined #nixos
noonien has joined #nixos
lasadd[m] has joined #nixos
<siraben>
What is a transitive closure of a package? How does it differ from the regular closure?
orivej has joined #nixos
<{^_^}>
[nixpkgs] @alapshin opened pull request #103067 → skrooge: Use default Qt version → https://git.io/JkenV
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
astylian has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 264 seconds]
astylian has joined #nixos
civodul has joined #nixos
arjen-jonathan has joined #nixos
mmohammadi9812 has quit [Ping timeout: 272 seconds]
arjen-jonathan has quit [Ping timeout: 264 seconds]
astylian has quit [Remote host closed the connection]
superherointj has joined #nixos
<tobiasBora>
Hello, I would like to have a english/french dictionnary file containing all words in english/french. In debian, I used to go in a place like /usr/share/dict/{en,fr} to find the dictionnaries. Any idea if nix provides such dictionnaries easily?
tarruda has quit [Ping timeout: 260 seconds]
MichaelRaskin has joined #nixos
tarruda has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<Ke>
.locate dict/en
<__monty__>
,locate dict/en
<{^_^}>
Found in packages: mwic, hylafaxplus
<__monty__>
> pkgs.mwic.meta
<{^_^}>
{ available = <CODE>; description = "spell-checker that groups possible misspellings and shows them in their contexts"; homepage = "http://jwilk.net/software/mwic"; license = <CODE>; maintainers = <CO...
<tobiasBora>
Ke: this file is super strange and contains lines like @define $BE = be|am|ain’t|I’m|is(n’t)?|(he|she|it)’s|are(n’t)?|was(n’t)?|were(n’t)?|(you|we|they)’re|been|being
<tobiasBora>
__monty__: I tried aspell, but the format is a bit strange looks like it's a binary based file
<tobiasBora>
__monty__: but I don't care about definitions
<tobiasBora>
just want a stupid list of wors that I can grep
<{^_^}>
[nixpkgs] @vcunat merged pull request #102138 → thunderbird: set build timeout at eight hours → https://git.io/JTyHt
<tobiasBora>
I like sometimes to create funny names to search all words that start with something
<MmeQuignon>
Could you please give me a hand on this? Thanks!
<betawaffle>
are there any official nixos images for google cloud?
philr has quit [Ping timeout: 258 seconds]
icey_ has joined #nixos
iceypoi has quit [Ping timeout: 260 seconds]
werner292 has joined #nixos
orivej has joined #nixos
<pbb>
MmeQuignon: you're mixing up packages and configs
<pbb>
either it's a package, which will take all the other packages it needs as inputs for the function defined in line 1, or it's a config, which will take `{ pkgs, ... }:`
<pbb>
MmeQuignon: and then you use pkgs.python3Packages instead
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<pbb>
MmeQuignon: and also I think using "with ...; " in the global scope of a file is discouraged by most people
<{^_^}>
[nixpkgs] @danieldk opened pull request #103078 → libtorch-bin: cleanup passthru test → https://git.io/JkewJ
<MmeQuignon>
yup, I was just trying to make it work. So if I understand correctly, I can't declare a package here, I have to do this in another place and then import it?
<buffet>
hey, im trying to package a python package, but im getting a 404 from pypi and other mirrors. what are possible error sources for this (i already tripple checked the pname and version)?
<__monty__>
I agree a broad with only leads to confusion. Don't see a problem with the expression though. It's just that git-autoshare will be coming from pkgs if it's in there or from the let if it's not, so just get rid of the with pkgs to avoid the shadowing.
<typetetris>
I installed `qtpass` but the `Generate` button to generate a new password isn't working. Do I need to do something special to make it work?
<MmeQuignon>
typetetris: launch it from a terminal, you'll see more informations about what's not working. Maybe some environment variable
aswanson has quit [Read error: Connection reset by peer]
Izorkin has joined #nixos
aswanson has joined #nixos
<m1cr0man>
Hey folks. I just installed opera on my system and I don't have h264/h265 codec support. I figured it's because it can't find gstreamer. Is there an easy way to resolve this? Opera is chromium based
cosimone has quit [Remote host closed the connection]
neiluj has quit [Changing host]
neiluj has joined #nixos
cosimone has joined #nixos
<timjrd>
Hi everyone :) ! I'm trying to build a C++ package on NixOS with clangStdenv (the source code is coming from macOS and it doesn't seems to compile with GCC). But I'm getting errors because Clang is pulling GCC's C++ standard library instead of Clang's one (the project I'm working on is using things like `std::powf` which are not in GCC's C++
<timjrd>
standard library). Any idea? Thanks!
mmohammadi9812 has quit [Quit: Quit]
werner292 has joined #nixos
werner291 has quit [Ping timeout: 246 seconds]
werner292 is now known as werner291
<{^_^}>
[nixpkgs] @vcunat pushed to master « firefox-esr: fix build by using older rust »: https://git.io/JkeP3
expelledboy has quit [Ping timeout: 264 seconds]
<nh2[m]>
pbb: I haven't worked more on the Rust topic since my last comments, and I think my latest code was linked in https://github.com/NixOS/nixpkgs/issues/71195#issuecomment-559987339. I probably won't have time to work more on it in the next 2 months at least, I'll first work on some more static Haskell linking before revisiting the Rust + GUI stuff
magnetophon has joined #nixos
<{^_^}>
[nixpkgs] @danieldk opened pull request #103085 → makemkv: add jre_headless PATH through the wrapper → https://git.io/JkePP
<buffet>
im trying to package a plover plugin, my thing is just {...}: buildPythonPackage {...} and then i call it using super.python37Packages.callPackage from my overlay
<buffet>
FRidh, oh i didnt even notice that, thanks
timjrd has quit [Remote host closed the connection]
AmandaC has quit [Quit: Toodles]
<FRidh>
it is also very unlikely that setuptools is a test dependency
jabster28 has joined #nixos
werner292 has joined #nixos
werner292 is now known as werner291
werner291 has quit [Ping timeout: 272 seconds]
jabster28 has quit [Ping timeout: 244 seconds]
<viric>
Why when I use flakes I get all the time: warning: ignoring the user-specified setting 'experimental-features', because it is a restricted setting and you are not a trusted user
<viric>
If I remove that user setting, flakes don't work.
neiluj has joined #nixos
euandreh` has quit [Ping timeout: 246 seconds]
euandreh` has joined #nixos
ddellacosta has joined #nixos
magnetophon has quit [Ping timeout: 240 seconds]
<nicolas[m]>
Is this setting in your /etc/nix/nix.conf?
<andi->
Is there any env variable that is always set during Nix builds?
<andi->
Trying to detect that the build is running within the sandbox.
<viric>
niksnut: ~/.config/nix/nix.conf
<viric>
nicolas[m]: ^ bad autocompletion.
devhell has joined #nixos
bn_work has joined #nixos
kreyren has quit [Remote host closed the connection]
<devhell>
hey hey, I'm trying to add R kernel to services.jupyterhub, but I'm not sure how to do it really, the nixos-manual example for python works just fine and everything is up and running as expected, but I'm a bit stuck getting an R kernel going, not even sure where to start. Any help would be much appreciated!
<devhell>
MmeQuignon: I have, and I've tried incorporating it, but that didn't work
a4wc6n[m] has quit [Quit: Idle for 30+ days]
Avoozl[m] has quit [Quit: Idle for 30+ days]
SplitFire[m] has quit [Quit: Idle for 30+ days]
bjtitus[m] has quit [Quit: Idle for 30+ days]
cab404[m] has quit [Quit: Idle for 30+ days]
lawr3nce has joined #nixos
cchalc[m] has quit [Quit: Idle for 30+ days]
colmeka has quit [Quit: Idle for 30+ days]
Amit[m] has quit [Quit: Idle for 30+ days]
grahamc[m] has quit [Quit: Idle for 30+ days]
demoulin[m] has quit [Quit: Idle for 30+ days]
ghasshee[m] has quit [Quit: Idle for 30+ days]
chinmayxd[m] has quit [Quit: Idle for 30+ days]
ecou[m] has quit [Quit: Idle for 30+ days]
ialhamad[m] has quit [Quit: Idle for 30+ days]
jfaassen[m] has quit [Quit: Idle for 30+ days]
jumper149[m] has quit [Quit: Idle for 30+ days]
lahmilahsi[m] has quit [Quit: Idle for 30+ days]
killercup[m] has quit [Quit: Idle for 30+ days]
li_matrix has quit [Quit: Idle for 30+ days]
lndn[m] has quit [Quit: Idle for 30+ days]
manu12[m] has quit [Quit: Idle for 30+ days]
mnm[m] has quit [Quit: Idle for 30+ days]
qrilka[m] has quit [Quit: Idle for 30+ days]
nurelin has quit [Quit: Idle for 30+ days]
MElemental[m] has quit [Quit: Idle for 30+ days]
scaroo[m] has quit [Quit: Idle for 30+ days]
verum_alpha[m] has quit [Quit: Idle for 30+ days]
sjn[m] has quit [Quit: Idle for 30+ days]
theglenn888[m] has quit [Quit: Idle for 30+ days]
stu_[m] has quit [Quit: Idle for 30+ days]
sstreet[m] has quit [Quit: Idle for 30+ days]
kueckieben[m] has quit [Quit: Idle for 30+ days]
yeongsheng_tan[m has quit [Quit: Idle for 30+ days]
billsun has quit [Quit: Idle for 30+ days]
AntonioYang[m] has quit [Quit: Idle for 30+ days]
steve[m] has quit [Quit: Idle for 30+ days]
vpfeiffer[m] has quit [Quit: Idle for 30+ days]
Preisschild has quit [Quit: Idle for 30+ days]
evils[m] has quit [Quit: Idle for 30+ days]
toto[m] has quit [Quit: Idle for 30+ days]
menelaos[m] has quit [Quit: Idle for 30+ days]
nyu[m] has quit [Quit: Idle for 30+ days]
AmitLevy[m] has quit [Quit: Idle for 30+ days]
Guest49421 has quit [Quit: Toodles]
<MmeQuignon>
If I understand correctly, you could fetch the kernel declarations, and then call them.
taylskid has joined #nixos
<taylskid>
I have set `services.bitwarden_rs.config.environmentFile = "/bw-backups/bitwarden_rs.env";`, and I have confirmed this file/directory is owned by `bitwarden_rs:bitwarden_rs`, but the service is still unable to find any of the environment variables I have set in that file. Are there any sort of common got-yas here I may be msising?
<devhell>
MmeQuignon: MmeQuignon: yeah, that's what I thought too. I must be doing something wrong though.
<devhell>
MmeQuignon: Oh!!! That's an interesting way of doing it! Wow, thank you, I'll have a look at it and try to get it running. That's a great start, thank you so much!
<{^_^}>
[nixpkgs] @AndersonTorres pushed 3 commits to master: https://git.io/JkeFj
<niksnut>
viric: they're not tied to git, but there is currently no fossil support
sss2 has joined #nixos
<MmeQuignon>
devhell: also, I don't know the difference between jupyter{lab,hub}
cole-h has joined #nixos
<MmeQuignon>
I'm sure someone here, more experienced with Nix that I am, could help you to finish this.
<devhell>
MmeQuignon: JupyterHub is a central online-portal where multiple users can just have their notebooks in a central place, a bit like google docs
<taylskid>
I am trying to pass in an additional environmentFile with some secrets to bitwarden_rs via `services.bitwarden_rs.config.environmentFile`, but I noticed the environment file getting passed to my systemd unit includes a line like `ENVIRONMENT_FILE=`. Shouldn't it instead be interpolating the actual values from that file into this one to pass to the unit? This would make sense since bitwarden can't see any of the variables I've set in this
<taylskid>
file
zimbatm has joined #nixos
<niksnut>
viric: right, and the ability to fetch them as inputs
<pushqrdx>
if i copy a default.nix from the nixpkgs and try to use nix-shell with that why do i get `cannot auto-call a function that has an argument...` why is that nixos can build/install those but nix-shell doesn't
<pushqrdx>
s/but nix-shell doesn't/but nix-shell can't use them
ddellacosta has quit [Ping timeout: 260 seconds]
MmeQuignon has quit [Ping timeout: 272 seconds]
MmeQuignon has joined #nixos
Fare has joined #nixos
<pushqrdx>
this is one of the very confusing distinction that nix has, so what i am seeking is how can i take a default.nix of a package and turn it into a shell environment
werner291 has joined #nixos
Acou_Bass is now known as Acou_Fool
<clever>
pushqrdx: run nix-shell on it, instead of nix-build
<pushqrdx>
clever i am running nix-shell not nix-build
aveltras has quit [Quit: Connection closed for inactivity]
<clever>
what are the contents of the default.nix and shell.nix?
<pushqrdx>
added that default.nix in a directory, and ran nix-shell without any args
cosimone has quit [Quit: cosimone]
Acou_Fool is now known as Piece_Maker
<clever>
that default.nix has to be loaded with callPackage, neither nix-build nor nix-shell can run it
<pushqrdx>
but i want to convert it into a shell environment because i am forking that wingpanel project and i want to use pretty much the same environment
<clever>
pushqrdx: short answer, `nix-shell '<nixpkgs>' -A pantheon.wingpanel`
<pushqrdx>
clever i am not trying to directly build or install it, i just want to use it as a shell, and possible add/remove stuff from it
<clever>
pushqrdx: long answer, copy that default.nix to wingpanel.nix, then make a default.nix containing: with import <nixpkgs> {}; callPackage ./wingpanel.nix {}
Chiliparrot has joined #nixos
<pushqrdx>
what would the callPackage do exactly?
<clever>
supply it with all of the packages it wants, which are listed on the 1st line
<clever>
,callPackage
<{^_^}>
If you're updating a file in nixpkgs that starts with something like `{ stdenv, cmake }:`, use `nix-build -A` in the nixpkgs root with the corresponding package attribute to build it. If it's not in nixpkgs, try `nix-build -E 'with import <nixpkgs> {}; callPackage ./file.nix { }'. The mapping from package attributes to package files is in pkgs/top-level/all-packages.nix.
Piece_Maker is now known as ACou_Tou
ACou_Tou is now known as Acou_Bass
<pushqrdx>
clever just to make sure i understand correctly, the wingpanel.nix requires the stuff at the top { } as input, so when i try to nix-shell with that it doesn't know where to get those
<clever>
pushqrdx: correct, you must use callPackage to fill those in
<pushqrdx>
clever so if i add with import <nixpkgs> {}; it pipes the nix-store into that default.nix
<clever>
it feeds it the packages that are defined in <nixpkgs>
<pushqrdx>
so if i do nix-shell '<nixpkgs>' with that default.nix as is should that work too?
<clever>
the default.nix loads <nixpkgs> for you
<clever>
so you can just `nix-shell`
<pushqrdx>
but that give the error i said earlier, if it loads them for me why does it throw an error if just use the plain default.nix from the nix repo
<clever>
what was the error?
<pushqrdx>
cannot auto-call a function that has an argument without a default value ('stdenv')
<clever>
that means you didnt follow the directions
<clever>
2020-11-07 12:39:44 < clever> pushqrdx: long answer, copy that default.nix to wingpanel.nix, then make a default.nix containing: with import <nixpkgs> {}; callPackage ./wingpanel.nix {}
<pushqrdx>
i followed what you said and it worked, but then you said nix-shell provides them already so i was asking why do i need that in the first place
<pushqrdx>
if it does provides them automatically
<clever>
nix-shell just loads either shell.nix or default.nix
<clever>
the default.nix i gave above, loads wingpanel.nix, and supplies all of the packages it wants
neiluj has quit [Remote host closed the connection]
<pushqrdx>
so just running nix-shell doesn't provide input from nixpkgs, and if i
<pushqrdx>
default.nix or run nix-shell '<nixpkgs>' with the default.nix as is
<pushqrdx>
things into two files or i can also add with import <nixpkgs>{}; at the top of
<pushqrdx>
understand correctly that means that i can either do what you did and split
<pushqrdx>
clever is that correct?
<clever>
if you run `nix-shell '<nixpkgs>'`, then it ignores default.nix
<clever>
it will try to open a shell with every single package at once
<clever>
if you want to load the default.nix as-is, you need to do what {^_^} said
<clever>
but you can also just put that string into a .nix file, and run nix-shell on it
<clever>
so you dont have to remember the whole thing
<clever>
and if you put it into default.nix, it will be the default file nix-shell and nix-build load
<pushqrdx>
i thought {^_^} is a bot :D
<clever>
it is a bit
<clever>
bot*
<pushqrdx>
clever i wonder if i put that expression in my home directory can i then reuse it everywhere by just calling nix-shell -E ~/loader.nix for instance
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/Jkex4
<pushqrdx>
then i can use default.nix files as is anywhere
<clever>
pushqrdx: nope, relative paths in a .nix file, are relative to where that .nix file lives
<clever>
so the ./default.nix will always look at ~/default.nix
<pushqrdx>
will just alias it then lol
<clever>
its usually better to have an app.nix, and then a default.nix in the root dir, that does callPackage, with the right version of nixpkgs
<pushqrdx>
so app.nix is responsible for feeding default.nix with the right packages, but how can i start a shell there then? just nix-shell or do i need extra args too?
<clever>
other way around
<clever>
default.nix feeds packages to app.nix
<clever>
then you just nix-shell with no args
<pushqrdx>
so the default.nix can be something like ` with import <nixpkgs> {}; callPackage ./app.nix {}`
<clever>
exactly
<pushqrdx>
ahh, that's a nice convension, thanks for pointing that out
<clever>
and if you later want to put things into nixpkgs, you can copy app.nix over, and just fill in the right src=
<chrisaw>
Can anyone tell me why this override isn't working as expected? wineCustom = super.wineWowPackages.full.overrideDerivation (oldAttrs: rec { configureFlags = [ "--with-mingw" ]; });
<chrisaw>
The configure script doesn't get run with "--with-mingw" as I would expect. I'm obviously missing something here. I know the compile would fail with just that because mingw wont be there but it doesn't even use that flag at all.
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
magnetophon has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @poelzi opened pull request #103093 → Use wrapQtApp in puddletag → https://git.io/Jkep8
bitmapper has joined #nixos
zupo_ has joined #nixos
magnetophon has joined #nixos
alp has joined #nixos
zupo has quit [Ping timeout: 260 seconds]
jonringer has joined #nixos
<buffet>
oh could the issue be that its mkDerivationWith buildPythonPackage?
<typetetris>
... qtpass had some outdated pwgen in its settings. Tried to update it, clicked Autodetect, it selected pass. Now it doesn't start any more. Tried to delete its config file, still doesn't start. strace output doesn't give me a hind as to why
shibboleth has quit [Quit: shibboleth]
magnetophon has quit [Read error: Connection reset by peer]
magnetophon has joined #nixos
<{^_^}>
[nixpkgs] @markus1189 closed pull request #101082 → haskellPackages.hindent: unbreak by fetching more recent source → https://git.io/JT4xn
<matthewcroughan_>
Is good will and determination all it takes to master Nix?
<etu>
matthewcroughan_: That will take you a long way :)
gustavderdrache has joined #nixos
<MichaelRaskin>
Well, one also probably needs to have or pick up on the go some general unix-like system administration knowledge, and you'd better not dislike the style of mathematically-inclined programming language abstractions
<MichaelRaskin>
(this does not mean you need to know much maths, just be fine with things that require a couple of abstract definitions upfront to discuss efficiently)
<matthewcroughan_>
MichaelRaskin: I already get on with Linux very well.
<matthewcroughan_>
But yes, the functional aspect of this is throwing a curve ball at me.
<srhb>
matthewcroughan_: The best reference is the nixpkgs manual, though not all are documented and derivations can introduce their own ad hoc.
<matthewcroughan_>
srhb: so you cannot differentiate easily between standard attributes crafted automatically by mkDerivation, and those provided by the derivation developer explicitly?
<srhb>
matthewcroughan_: I can, but mostly through experience. :)
<srhb>
It also depends on the package ecosystem. Some I know better than others.
<srhb>
Though this is rarely something I need.
mallox has quit [Quit: WeeChat 2.9]
czer00 has quit [Ping timeout: 240 seconds]
noonien has joined #nixos
<matthewcroughan_>
srhb: It's fine, so it's like js where you can't tell what is a standard js function provided globally for types by the engine, and what is provided by a library you've imported? Everything is absolutely a melting pot?
czer00 has joined #nixos
<srhb>
matthewcroughan_: I don't know the js ecosystem. :)
<simpson>
It's more like, there *aren't* standard attributes. There's the attributes that we're used to, because nixpkgs' tooling adds them.
<matthewcroughan_>
the standard attributes are provided by mkDerivation
<srhb>
matthewcroughan_: If you consider that the standard, sure.
<matthewcroughan_>
they are standard, how can you say they aren't?
<matthewcroughan_>
.system is available on every package to provide the arch, how is that anything but standard?
<srhb>
Well, for some package ecosystems that build on top of that, other attributes may be more or less standard.
<simpson>
As strange as it sounds, nixpkgs isn't the only big pile of Nix code. (Although most of the other big piles are nixpkgs forks.)
teto has quit [Ping timeout: 264 seconds]
<matthewcroughan_>
I would really prefer if it was.
<matthewcroughan_>
Seriously, if I find a package that doesn't have .system, I will scream.
<srhb>
matthewcroughan_: I certainly would be very sad were that the case :P
<matthewcroughan_>
How could you ever live with yourself messing with people like that? Lol
<srhb>
The generality of Nix is a big part of the power.
<srhb>
For some domain, system might be completely irrelevant.
alp has joined #nixos
<srhb>
In fact, it is for me.
<matthewcroughan_>
but how does providing it harm you?
<matthewcroughan_>
not providing it has great potential to upset
<srhb>
Minimal is good, often :)
<simpson>
Some packages are architecture-independent, for example.
<matthewcroughan_>
well, shouldn't xorg.libXTrap. be independant?
<matthewcroughan_>
nix-repl> xorg.libX11.system
<matthewcroughan_>
"x86_64-linux"
<matthewcroughan_>
if I were on nixos-on-arm wouldn't this report arm?
<simpson>
> xorg.xcbproto.system # sure, but it's not *intrinsically* that arch, just *incidentally* that arch
<{^_^}>
"x86_64-linux"
fendor_ has quit [Remote host closed the connection]
gustavderdrache has quit [Quit: Leaving.]
<srhb>
matthewcroughan_: Either way, I didn't mean to get caught up on specific attributes; rather point out that that attribute never carries any meaningful information *to me*, so it's just clutter *to me*
gustavderdrache has joined #nixos
<srhb>
Were I cross-compiling, I'm sure it'd be useful.
Fare has joined #nixos
neiluj has quit [Remote host closed the connection]