worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
woleium has joined #nixos
camsbury has quit [Remote host closed the connection]
woleium has quit [Remote host closed the connection]
__red__ has joined #nixos
<__red__> Is there a way to get a date/timestamp of a specific nixos-version?
<__red__> I don't have the github repo cloned
<__red__> which is the way I would normally do it
<__red__> can I get it from the website? or is there a bot here that will identify it for me?
<qyliss> You could just look it up on GitHub, presumably?
<qyliss> Although it depends what timestamp you want. The timestamp of the channel release, or of the commit being applied, or something else?
Henson has joined #nixos
Henson has quit [Client Quit]
<{^_^}> [nixpkgs] @equirosa opened pull request #93376 → tut: 0.0.10 -> 0.0.13 → https://git.io/JJZjK
woleium has joined #nixos
<__red__> This:
<__red__> 20.03.2533.76adfc180c0
<__red__> a friend gets that on a nix-channel --update
<__red__> I get:
<__red__> 20.03.2593.aaa66d8d887
<__red__> trying to decode the difference between 2533 and 2593
<__red__> (this came about because he wasn't getting binary cache-hits on packages)
<__red__> so trying to minimize variables.
woleium has quit [Remote host closed the connection]
lollo has joined #nixos
<{^_^}> [nixpkgs] @chkno opened pull request #93377 → pythonPackages.backoff: init at 1.10.0 → https://git.io/JJZjy
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93378 → python37Packages.aioftp: 0.16.0 -> 0.16.1 → https://git.io/JJZjS
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJZj5
woleium has joined #nixos
woleium has quit [Remote host closed the connection]
proofofkeags has joined #nixos
user_0x58 has quit [Quit: Leaving]
proofofkeags has quit [Ping timeout: 240 seconds]
<__red__> thanks!
stteevveen has joined #nixos
woleium has joined #nixos
<stteevveen> Hi! I'm stumbling on one of my old nix script. There I use an imports variable. Usually I do unit import, one by one. Although I sort of understand how the import funtion may work... I'm more puzzled about how the imports variable works. Is it part of the language to make that any imports variable will map the import function on its element. What
<stteevveen> is the mechanism behind ?
dongcarl has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @lasandell opened pull request #93379 → direwolf 1.4 -> 1.5 → https://git.io/JJneO
woleium has quit [Ping timeout: 246 seconds]
nixbitcoin has quit [Remote host closed the connection]
shibboleth has joined #nixos
nixbitcoin has joined #nixos
bwh_ has quit [Quit: Leaving]
<codygman___> I'm struggling still to get diagrams-builder working. Here is a minimal nix file of what I'm trying. Basically each override doesn't seem to take the other's override into account: https://gist.github.com/codygman/a07472c5e33bbc034828cd4a214c36eb
<stteevveen> It happens that I have read today an article that was saying that overideAttrs can only have effect inside a mkDerivation call. Otherwise it is not used. Not sure I remember properly, but that was more or less about that. Do you think it can relate to your problem ?
<armin> trying to empty my login screens but neither environment.etc."issue".text = ""; nor services.mingetty.helpLine = ""; helped, any hints?
<codygman___> Maybe. Maybe it's something to do with "propagated build inputs" that I know nothing about. Or it's the composeExtensions thing. I'm not sure really, lol. So many things.
lollo has quit [Quit: Leaving]
<stteevveen> propagateBuildInputs, if I remember correctly, it displays the input derivation not only to the target derivation you currently build, but also to the other buildInputs. I have to check my notes again on that.
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
codygman has quit [Read error: Connection reset by peer]
<{^_^}> [nixops-aws] @adisbladis pushed to master « Type run_command call »: https://git.io/JJneC
codygman has joined #nixos
<colemickens> I'm debugging this make-disk-image.nix/efi business. IT looks like /dev/block is missing? how's this possible?
<stteevveen> codygman___ not sure you could read my message: propagateBuildInputs, if I remember correctly, it displays the input derivation not only to the target derivation you currently build, but also to the other buildInputs. I have to check my notes again on that.
<colemickens> (to be more clear, make-disk-image uses runInLinuxVM and inside, /dev/block is missing, and systemd-boot's bootctl install seems to expect it)
seku has quit [Quit: Connection closed]
Rusty1 has joined #nixos
ex-parrot has joined #nixos
<ex-parrot> hello all. struggling to work a thing out which seems like it ought to be simple. at the moment I have an imports = [ ... ] section to import a service.nix file from the local filesystem, so I can services.foo.enable = true later. what if I want to move that directory where the service.nix lives to be pulled from e.g. GitHub?
<ex-parrot> I can find a lot of examples of pulling packages from GitHub but not pulling a whole directory with a NixOS service etc
<stteevveen> I don't think there are many differences between a tar or a gzip, and a directory that you recover over https. What difference do you see ?
CMCDragonkai1 has joined #nixos
thc202 has quit [Ping timeout: 256 seconds]
<ex-parrot> stteevveen: is that question for me?
<stteevveen> @ex-parrot more or less, I'm also thinking aloud ;-)
<ex-parrot> I'm struggling to work out the syntax mainly, I'll pastebin what I've got at the moment
<ex-parrot> that's imported in to my configuration.nix ^
<ex-parrot> and instead of that /opt/hotplate... path I'd rather just say "grab this .zip over https" or whatever
Heirlung has quit [Ping timeout: 240 seconds]
<stteevveen> what's the url ?
<ex-parrot> which URL?
proofofkeags has joined #nixos
<stteevveen> of the file you want to download instead of /opt/.../service.nix
scatteredray[m] has joined #nixos
<ex-parrot> well let's say for instance https://github.com/fincham/paste/archive/master.zip
<ex-parrot> though I'm hoping to repeat this in a generic way for all my other webapps :)
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
<ex-parrot> as you can prob see it's not a 1:1 replacement for the file, it's a zip file of the app. it needs to be downloaded, unpacked etc
<ex-parrot> this seems like it ought to be a common pattern though
<stteevveen> ex-parrot looking at your zip , I'm not there yet. In my own scripts I only import local .nix file. The fetchFromGitHub example I have saw, seems to be only focussed on source, not nix expression. However I have a magit nix expression that basically does what you say, though I have not worked for understanding it. Let me paste it.
<ex-parrot> cheers
<stteevveen> for the moment I have an alias in my nixos bashrc: alias magit='nix-shell https://github.com/akirak/nix-magit/archive/master.tar.gz'
<stteevveen> obviously nix-shell knows how to do it, but I would not know how to do it in nix expression
<ex-parrot> ah yeah, I guess there's a default.nix in there
Heirlung has joined #nixos
vonfry has joined #nixos
dbmikus has quit [Ping timeout: 264 seconds]
stteevveen has quit [Remote host closed the connection]
oida has quit [Remote host closed the connection]
oida has joined #nixos
philr has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93380 → python27Packages.chart-studio: 1.0.0 -> 1.1.0 → https://git.io/JJnej
sarcasticadmin has quit [Quit: WeeChat 2.8]
rajivr has joined #nixos
ris has quit [Ping timeout: 256 seconds]
romanofski has joined #nixos
<romanofski> is it possible to choose a Python version for a python nix package when installing? If I install the 'hamster' package it uses Python 3.8 which needs a newer version of dbus-python
<cole-h> There is
<Ashy> romanofski: nix-shell -p python37Packages.hamster
<romanofski> :O so easy? jeez.. why didn't I try this before
<cole-h> I don't see any hamster package in any of the python3 package sets
<cole-h> > pkgs.python37Packages.hamster
<{^_^}> attribute 'hamster' missing, at (string):318:1
<romanofski> yeh :/
<romanofski> it seems to be only available in the top level
slack1256 has quit [Remote host closed the connection]
<cole-h> In which case you'll have to override it
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos
<abathur> hmm; romanofski are you actually using it as a library, or as an application?
<abathur> if as an application, the dbus-python mismatch probably needs to be fixed? Unless maybe you're doing something else custom leading to that?
<romanofski> yeh I'd like to use it as an application
<romanofski> abathur: alright I see if I can figure out the fix... I guess it's a bump of dbus which would supply the binding.. not sure
<romanofski> cheers for the pointer
<abathur> I don't know exactly; it might be that the app's not yet 3.8 compatible and might've been updated by mistake, maybe automatically; but anyways--an app should ideally work without the user needing to know anything about how the sausage got made
patagonicus3 has joined #nixos
mrpi has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
ajs124 has quit [Quit: killed]
das_j has quit [Quit: killed]
mrpi has joined #nixos
ajs124 has joined #nixos
das_j has joined #nixos
Scriptkiddi has joined #nixos
patagonicus has quit [Ping timeout: 246 seconds]
patagonicus3 is now known as patagonicus
vonfry` has joined #nixos
vonfry has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #93382 → ncspot: 0.1.4 -> 0.2.0 → https://git.io/JJnfm
Henson has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #93354 → nsd: 4.3.1 -> 4.3.2 → https://git.io/JJZym
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJnfn
tim[m]9 is now known as nrdxp[m]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e7c435cbbdf (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> [nixpkgs] @marsam merged pull request #93373 → brave: 1.10.97 -> 1.11.97 → https://git.io/JJZp3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJnfl
<{^_^}> [nixpkgs] @marsam merged pull request #93362 → libmysqlconnectorcpp: 8.0.20 -> 8.0.21 → https://git.io/JJZHP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJnf4
nikita_ has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
nikita` has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93383 → python27Packages.flask_sqlalchemy: 2.4.3 -> 2.4.4 → https://git.io/JJnfz
vonfry`` has joined #nixos
alp has quit [Ping timeout: 272 seconds]
andi- has quit [Remote host closed the connection]
vonfry` has quit [Ping timeout: 256 seconds]
eyenx has quit [Quit: bye]
<{^_^}> [nixpkgs] @marsam pushed 4 commits to release-20.03: https://git.io/JJnfi
eyenx has joined #nixos
eyenx has joined #nixos
eyenx has quit [Changing host]
andi- has joined #nixos
nwspk has quit [Quit: nwspk]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
nwspk has joined #nixos
nDuff has quit [Quit: zzz]
proofofkeags has joined #nixos
symphorien has quit [Ping timeout: 260 seconds]
shibboleth has quit [Remote host closed the connection]
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
symphorien has joined #nixos
mzan has joined #nixos
vonfry`` has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/36adeebde6c (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
LnL has quit [Ping timeout: 272 seconds]
LnL has joined #nixos
LnL is now known as Guest15009
o1lo01ol1o has joined #nixos
justache has quit [Read error: Connection reset by peer]
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
dongcarl has joined #nixos
justache has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93384 → python27Packages.argcomplete: 1.11.1 -> 1.12.0 → https://git.io/JJnJo
proofofkeags has quit [Ping timeout: 240 seconds]
andymandias has quit [Ping timeout: 265 seconds]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
abathur has quit [Quit: abathur]
codygman___ has quit [Ping timeout: 260 seconds]
Henson has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
WeblordPepe has joined #nixos
<monokrome> Has anyone else ever seen this error? "/nix/store/lgnkbnskg8jh5ki5yw8fxwbpv4m7isr0-vulkan-validation-layers-1.2.131.2/nix-support/setup-hook: line 1: XDG_DATA_DIRS: unbound variable". The build is at: https://builds.sr.ht/~monokrome/job/257952
* WeblordPepe declares that he will join
<monokrome> you already joined WeblordPepe
<WeblordPepe> damn. failed right from the start ><
<ex-parrot> hey WeblordPepe
<monokrome> Seems like nixos is really not ready to be used for a lot of development tasks? IDEs can never find libclang and I've been trying to get vulkan dev to work off-and-on for like 2 weeks but it thinks there's no GPU for some reason even though my compositor is using it perfectly fine? It doesn't think I have DRI
Supersonic112 has joined #nixos
<monokrome> Is there some manual task that needs to be done to get that stuff to work?
<tpw_rules> monokrome: https://github.com/guibou/nixGL try this maybe
<tpw_rules> it was the only way i could get GL applications to work with my intel card on my lubuntu machine
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @kini opened pull request #93385 → perlPackages.FilePid: import Debian patch → https://git.io/JJnUd
<tpw_rules> basically it's just a wrapper that detects and sets some environment variables appropriately
pjt_014 has joined #nixos
khumba has joined #nixos
<monokrome> tpw_rules: thanks, that may help!
<monokrome> still won't help IDEs not finding clang.so
<monokrome> but launching the app would be nice lol
dbmikus has joined #nixos
<tpw_rules> also for the record the way i do development on that machine is by using sshfs to mount the filesystem on my daily driver computer ;P
<WeblordPepe> whats sshfs like using it daily? my take of it is that it must be a bitch cos you cant update bits of files but rather the whole file at once
<WeblordPepe> i would have thought that'd make it impossible to do fidgety work
<tpw_rules> i mean i just use a text editor so i'm not really partially updating files
<tpw_rules> the sucky part is that it in combination with my editor is somewhat bad at detecting files being added/deleted on the remote machine. i have to wait a bit for the OS to decide to reload the directory or whatever
<WeblordPepe> ;(
andymandias has joined #nixos
<tpw_rules> but i mean it's how i do basically all my development so it's just fine for me. any file surgery i just write/install the appropriate program on the remote machine
<tpw_rules> i just have to give it a few seconds to catch up if i do like myProgram > log.log and want to open the log on my local computer
dbmikus has quit [Ping timeout: 240 seconds]
<simpson> I use sshfs to replace nfs on my local network, mostly because network failure is less likely to wedge the client. It's not perfect, but compared to nfs~
<tpw_rules> i just use smb for anything with meaningful quantities of data. sshfs seems a bit brittle in my experience. it doesn't wedge anything but it gets in funny states occasionally and isn't that fast
<tpw_rules> like rarely i'll find out it arbitrarily unmounted itself and i've been saving my files into the empty directory on the local fs for the past 10 minutes
<WeblordPepe> hmmm. the reason i ask is because im setting up my 'forever server' nas/fileserver and i picked samba cos i have windows workstations. but i was investigating others
<tpw_rules> i would say samba is good
<WeblordPepe> tpw_rules: :O
Havvy has quit [Ping timeout: 264 seconds]
<tpw_rules> just make sure you set the protocol level to SMB3 so you get actual security
<tpw_rules> i sometimes run into this weird fault though on my samba server (and it may not be the server's fault) where a windows client will refuse to connect to it complaining that you're using incorrect credentials but it never gives you an opportunity to put them in. it works fine if you manually insert the credentials into the windows password store thing
<tpw_rules> but i have an equal mix of windows, mac, and linux client and it's fast and reliable on all of them
<monokrome> tpw_rules: Thanks for the help. Unfortunately didn't work and doesn't help the weird error w/ the build failing, but still worth a try
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93386 → python37Packages.limnoria: 2020.04.11 -> 2020.07.01 → https://git.io/JJnTB
Havvy has joined #nixos
<WeblordPepe> hmmm interesting
<kmplsv> is there a good guide out there on how to renew lets encrypt certs properly "the nixos way" for noobs?
<kmplsv> i'm just getting back into linux/unix and am still very new to nixos.
chimay has joined #nixos
<infinisil> kmplsv: If you're using nginx it's as simple as `services.nginx.virtualHosts.<name>.enableACME = true`
camsbury has joined #nixos
<infinisil> kmplsv: Check https://nixos.wiki/wiki/Nginx for more regarding this
<kmplsv> i am. and thank you.
CMCDragonkai1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mogorman closed pull request #64760 → localstack: init at 0.9.6 → https://git.io/fjXVm
rail has quit [Quit: gone...]
rail has joined #nixos
orivej has joined #nixos
stree has quit [Excess Flood]
stree has joined #nixos
khumba has quit [Quit: khumba]
<{^_^}> [nixpkgs] @jtojnar merged pull request #92348 → licenses: Make single-version-only GPL explicit → https://git.io/JJInZ
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JJnkt
Rusty1 has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @jtojnar merged pull request #92628 → update.nix: Allow passing overlays → https://git.io/JJtXP
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JJnkZ
<{^_^}> [nixpkgs] @jtojnar merged pull request #93045 → gnome3.gnome-shell: clean up → https://git.io/JJOix
<{^_^}> [nixpkgs] @jtojnar pushed 5 commits to master: https://git.io/JJnkn
<{^_^}> [nixpkgs] @jtojnar merged pull request #93166 → cmake.setupHook: define shareDocName → https://git.io/JJs6y
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to staging: https://git.io/JJnkC
<{^_^}> [nixpkgs] @marsam merged pull request #93382 → ncspot: 0.1.4 -> 0.2.0 → https://git.io/JJnfm
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJnkX
o1lo01ol1o has joined #nixos
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93387 → python27Packages.ipympl: 0.5.6 -> 0.5.7 → https://git.io/JJnkQ
o1lo01ol1o has quit [Ping timeout: 256 seconds]
dbmikus has quit [Ping timeout: 256 seconds]
domogled has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8a5e6ede39b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @zowoq pushed to master « doc/perl: fix build »: https://git.io/JJnI4
drakonis has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @alyssais merged pull request #93349 → cataclysm-dda: 0.E -> 0.E-2 → https://git.io/JJZXG
<{^_^}> [nixpkgs] @alyssais pushed to master « cataclysm-dda: 0.E -> 0.E-2 »: https://git.io/JJnIg
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @alyssais merged pull request #93364 → rust: 1.44.1 -> 1.45.0 → https://git.io/JJZQZ
<{^_^}> [nixpkgs] @alyssais pushed to staging « rust: 1.44.1 -> 1.45.0 »: https://git.io/JJnIi
stites has joined #nixos
camsbury has quit [Remote host closed the connection]
kaptin has joined #nixos
yunamus has joined #nixos
<yunamus> What does it mean if an install gives me: Package could not be installed. But it actually finishes installing fine and it works.
mac10688 has quit [Quit: WeeChat 2.7.1]
<yunamus> wget
chimay has quit [Ping timeout: 256 seconds]
palo1 has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #93388 → rocm-runtime: make ROCR_EXT_DIR handling more local → https://git.io/JJnLh
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @danieldk merged pull request #93376 → tut: 0.0.10 -> 0.0.13 → https://git.io/JJZjK
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJntg
reanimus has quit [Ping timeout: 260 seconds]
_reanimus_ has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93369 → osmo: 0.4.2 -> 0.4.4 → https://git.io/JJZdK
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJnqv
bqv has joined #nixos
kaivai has quit [Quit: ZNC 1.7.5 - https://znc.in]
bkv has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @danieldk merged pull request #93359 → nomacs: 3.14.2 -> 3.15.1616 → https://git.io/JJZ9o
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJnq0
chimay has joined #nixos
turlando has joined #nixos
cole-h has quit [Quit: Goodbye]
chimay has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @danieldk merged pull request #93290 → nixos/manual: add a section about enabling OpenCL for AMD GPUs → https://git.io/JJGhM
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJnqo
<{^_^}> [nixpkgs] @dywedir merged pull request #93130 → spacebar: 0.5.0 -> 1.1.0 → https://git.io/JJ3jS
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JJnqy
chimay has joined #nixos
zupo has joined #nixos
stree has quit [Excess Flood]
o1lo01ol1o has joined #nixos
stree has joined #nixos
chimay has quit [Ping timeout: 246 seconds]
simba2 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
yunamus has quit [Remote host closed the connection]
MichaelRaskin has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #93390 → drawio: 13.3.9 -> 13.4.5 → https://git.io/JJnms
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f71b91f4ebc (from 43 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nix] @Mic92 opened pull request #3832 → fix make's impurity on /bin/sh → https://git.io/JJnmG
stites has quit [Ping timeout: 240 seconds]
stites has joined #nixos
lhurttila has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8a5e6ede39b (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> [nixpkgs] @zowoq opened pull request #93391 → etcd_3_4: 3.4.9 -> 3.4.10 → https://git.io/JJnmR
asheshambasta has joined #nixos
zupo has joined #nixos
mallox has joined #nixos
mallox has quit [Client Quit]
nikita_ is now known as nikita`
<{^_^}> [nixpkgs] @zowoq opened pull request #93392 → fedora-coreos-config-transpiler: use upstream vendor → https://git.io/JJnm2
sangoma has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pjt_014 has quit [Ping timeout: 240 seconds]
dermetfan has joined #nixos
<armin> trying to get rid of that "<<< Welcome to NixOS" thing and of that "nixos-help" line on my tty's, any hint how to do so?
<{^_^}> [nix] @edolstra merged pull request #3828 → nix edit: call restoreSignals() before `execvp`-ing the $EDITOR → https://git.io/JJZXh
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJnmp
<{^_^}> [nix] @edolstra merged pull request #3832 → fix make's impurity on /bin/sh → https://git.io/JJnmG
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJnmh
domogled has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93393 → python37Packages.pylint-django: 2.0.15 -> 2.1.0 → https://git.io/JJnYU
<{^_^}> [nixpkgs] @zowoq pushed to revert-89017-package-grouping « Revert "Group packages by language/builder via dummy maintainer" »: https://git.io/JJnYT
<{^_^}> [nixpkgs] @zowoq opened pull request #93394 → Revert "Group packages by language/builder via dummy maintainer" → https://git.io/JJnYY
<armin> oh, just realized i need lib.mkForce
maier has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<romanofski> armin: you're trying to change /etc/issue - not sure where exactly the configuration option for this is
<armin> romanofski: i had success with services.mingetty.helpLine and services.mingetty.greetingLine set to "libMkforce '';"
<romanofski> ah nice
ex-parrot has left #nixos [#nixos]
<{^_^}> [nixpkgs] @hmenke opened pull request #93395 → ZFS: Request credentials only for selected pools → https://git.io/JJnYu
maier has quit [Ping timeout: 264 seconds]
<{^_^}> [nix] @Mic92 opened pull request #3833 → flakes: rename devShell to developPackages → https://git.io/JJnYw
jbgi has joined #nixos
<Mic92> a good morning pr
arahael1 is now known as Arahael
redmp has joined #nixos
<redmp> hi, i've encountered a sort of non-deterministic behavior when building a haskell package with `nix-build` .. i'm not sure if it's a problem with a GHC plugin under development, or something to do with nix.. and i'm new enough to both, that i'm not sure i'm capable of debugging it
o1lo01ol1o has joined #nixos
<redmp> in any case, if somebody here has some spare CPU cycles and would be willing to build my repro, it would help to determine if i'm the only one seeing this at the very least: https://github.com/plredmond/liquidhaskell-uscd-progsys-tut/tree/modules-ignored
<redmp> i'll add a readme to the branch to explain the expected and actual behavior..
o1lo01ol1o has quit [Remote host closed the connection]
jbgi has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @zowoq merged pull request #93394 → Revert "Group packages by language/builder via dummy maintainer" → https://git.io/JJnYY
<{^_^}> [nixpkgs] @zowoq pushed 2 commits to master: https://git.io/JJnYh
<{^_^}> [nixpkgs] @zowoq pushed 0 commits to revert-89017-package-grouping: https://git.io/JJnYj
o1lo01ol1o has quit [Ping timeout: 258 seconds]
Guest15009 has quit [Quit: exit 1]
LnL has joined #nixos
asymptotically has joined #nixos
LnL is now known as Guest37915
nonickname has joined #nixos
Guest37915 has joined #nixos
Guest37915 has quit [Changing host]
ckauhaus has quit [Ping timeout: 256 seconds]
<redmp> readme is up.. the issue occurs with `nix-build` but not with `cabal v2-build`, which is part of the reason why i'm posting it here!
orivej has joined #nixos
Guest37915 is now known as LnL
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
chimay has joined #nixos
Soo_Slow has joined #nixos
alexherbo2 has joined #nixos
davidv7 has quit [Remote host closed the connection]
davidv7 has joined #nixos
julm has quit [Remote host closed the connection]
knerten has joined #nixos
<srhb> redmp: I can run the build, sure.
julm has joined #nixos
spinus has quit [Ping timeout: 256 seconds]
waleee-cl has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93388 → rocm-runtime: make ROCR_EXT_DIR handling more local → https://git.io/JJnLh
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJnO4
jbox has quit [Ping timeout: 260 seconds]
S0rin has joined #nixos
<benny> how do I set a string to either "linux" or "darwin" based on the platform? I basically don't know how to do a simple if in nix :-)
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<srhb> benny: This depends on the context in which you want to detect the system, really. You probably want to inspect stdenv.isDarwin in a nixpkgs context
<srhb> (as opposed to impurely trying to use builtils.currentSystem)
<benny> I have a package and the fetchurl src path is different for darwin than it is for linux
<srhb> benny: Right. so url = if stdenv.isDarwin then ... else ...l
stteevveen has joined #nixos
<srhb> > let url = if pkgs.stdenv.isDarwin then "darwin url" else "linux url"; in url # for instance
<{^_^}> "linux url"
_reanimus_ has quit [Ping timeout: 260 seconds]
reanimus has joined #nixos
<stteevveen> Hi! I was trying to refresh my memory on propagateBuildInputs, but contrary to what I thought I had written nothing about it in my notes. After a fast string search at nixos.org/nix/manual , then nixos.org/nixos/manual, then nixos.org/nixpkgs/manual, I do not seem to have found occurences of the string propagateBuildInput . Where would you search
<stteevveen> for the documentation about it ?
<srhb> stteevveen: It is mentioned in the nixpkgs manual.
<srhb> `propagatedBuildInputs`
<srhb> (notice the 'd')
<srhb> redmp: Confirmed.
<stteevveen> @srhb ... thanks for the notice... sometimes little details are crucial ;-)
<srhb> Indeed. :)
<stteevveen> By the way, I was wondering, is it possible to grab bits of documentation with nix repl or command line tools like that ?
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
<benny> srhb: thanks!
<srhb> stteevveen: Not in a simple way I'm afraid. Sounds like a cool idea though.
<srhb> redmp: with --cores 1 it seems it fails consistently. Race?
Soo_Slow has quit [Quit: Soo_Slow]
orivej has quit [Quit: No Ping reply in 180 seconds.]
cr4y1 has quit [Remote host closed the connection]
orivej has joined #nixos
mariatsji has joined #nixos
bkv has joined #nixos
lhurttila has quit [Ping timeout: 245 seconds]
S0rin has quit [Quit: WeeChat 2.3]
bqv has quit [Ping timeout: 260 seconds]
<asheshambasta> I'm trying to add overlays for a package (supercollider); and my overlayed supercollider builds and installs; but fails to start with a Qt related error (qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "").
<asheshambasta> The overlay also contains only a newer supercollider version and nothing else; and the recipe is a copy paste of https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/supercollider/default.nix
<asheshambasta> I'm not sure why pkgs.supercollider doesn't have this issue whereas mine does.
<srhb> asheshambasta: Not sure, but the lack of a qt wrapping hook looks suspect.
<asheshambasta> srhb: I'm not sure of how Qt works; however, then I'd like to see what the original supercollider pkg def is doing differently in this regard.
<srk> asheshambasta: do you use callPackage or libsForQt5.callPackage?
<srhb> asheshambasta: That's the part I'm not sure about, but try adding wrapQtAppsHook to your nativeBuildInputs if not using the qt callPackage
<asheshambasta> I just used callPackage
<srk> original uses the latter - supercollider = libsForQt5.callPackage ../development/interpreters/supercollider ...
<srhb> That'd do it :)
orivej has quit [Ping timeout: 240 seconds]
<bkv> Planning on smashing some atoms?
orivej has joined #nixos
<asheshambasta> srk: you're the boss.
<asheshambasta> srk: a noob question; how did you view where the supercollider callpackage is hapenning?
<bkv> /pkgs/top-level/all-packages.nix
<bkv> It's not searchable on github
<asheshambasta> I just resort to a github search for something like `supercollider =` which always has misleading reseults
<asheshambasta> results*
<asheshambasta> bkv: thanks!
Elorm[m] is now known as frim[m]
Guest96058 has joined #nixos
<srk> asheshambasta: gg is aliased to `git grep -i' :)
<srk> nix edit nixpkgs.supercollider is also handy
<asheshambasta> building sc3plugins with supernova=ON is slow even on my threadripper
<wrl> is it parallelising correctly?
<asheshambasta> most likely not; since my derivation for sc3plugins is naive at best.
<srk> asheshambasta: does it work now? sc + sc3plugins?
<asheshambasta> wrl ^
<asheshambasta> srk: sc3plugins seems to build; I've so far introduced 2 overlays. The first adds sc3plugins to nixpkgs; the latter then does a callPackage on a copy-pasted supercollider/default.nix with an additional sc3plugins argument. Now I'm a tad lost on how to link this to sc's systemExtensionsDir (that is; which phase must this go in; I'm assuming installPhase)
<{^_^}> [nixpkgs] @Mic92 merged pull request #76487 → nixos/docker: explicitly load kernel modules → https://git.io/JebLQ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JJn3X
<srk> I see. testing that build, looks like it isn't running in parallel
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<wrl> asheshambasta: yeah pass in "-j 32" or whatever to "cmake --build"
<asheshambasta> srk: perhaps `enableParallelBuilding = true;`
Guest7988 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<asheshambasta> wrl: isn't that what enableParallelBuilding does?
jbox has joined #nixos
Guest96058 has quit [Quit: Lost terminal]
jbox is now known as Guest33567
<{^_^}> [nixpkgs] @primeos pushed to master « tdm: Fix the build »: https://git.io/JJn3A
<srk> yeah, that should be it, docs says "By default, parallel building is enabled as CMake supports parallel building almost everywhere."
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93397 → python37Packages.mpv: 0.4.6 -> 0.4.7 → https://git.io/JJnsU
__monty__ has joined #nixos
<asheshambasta> srk: I believe now its only a matter of cp $sc3plugins $outPath/extensions (or similar) in the `fixupPhase`
<srk> asheshambasta: cool!
<asheshambasta> also; the builds for sc3plugins are significantly faster for me since enableParallelBuilds is set to true.
<srk> aaa, doesn't seem to do anything for me
<srk> stopped it twice on like 60% now trying to add that .. :D
<asheshambasta> so there's $outPath and also $out; $outPath seems to be the directory in which the build is happening.
<{^_^}> [nixpkgs] @IvarWithoutBones opened pull request #93398 → appimage: switch to gst-plugins-base 1.0 → https://git.io/JJnsG
alp has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #93348 → ghc: add 8.8.4 (copied from 8.8.3) → https://git.io/JJZio
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JJnsZ
lsix has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5da2d61bd4f (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<asheshambasta> so now I have the dreaded infinite recursion encountered error.
<asheshambasta> ah well.
o1lo01ol1o has joined #nixos
<asheshambasta> this fixup phase breaks things: https://pastebin.com/NzMDHy72; all I did was change $sc3plugins to ${sc3plugins} (the former is an env-var)
<{^_^}> [nixpkgs] @ruuda opened pull request #93400 → mopidy-local: init at 3.1.1 → https://git.io/JJnsl
orivej has quit [Ping timeout: 256 seconds]
<asheshambasta> and I believe it has to do with overlays; and the fact that sc3plugins needs supercollider as a build input.
<asheshambasta> yowza.
orivej has joined #nixos
alp has quit [Ping timeout: 256 seconds]
<asheshambasta> srk: I can also confirm that enableParallelBuilding does nothing for me.
<asheshambasta> (sc3plugins, the value, was not getting evaluated so far since I was not using it)
o1lo01ol1o has quit [Ping timeout: 256 seconds]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @davidak opened pull request #93401 → mbrola: init at 3.3 → https://git.io/JJnsz
<asheshambasta> maybe this _is_ as fast as it gets? :-)
<{^_^}> [nixpkgs] @Tomahna closed pull request #86418 → mopidy-iris: 3.46.0 -> 3.48.0 → https://git.io/JfOCP
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
fendor has quit [Ping timeout: 256 seconds]
<asheshambasta> wrl, srk: passing `-j 32` to cmake is the only thing that makes a difference.
<asheshambasta> but again; the build seems to not be in parallel when instead doing a `nixos-rebuild switch` with these overlays.
<{^_^}> [nixpkgs] @pacien opened pull request #93402 → beamerpresenter: 0.1.1 -> 0.1.2 → https://git.io/JJnGI
<{^_^}> [nixpkgs] @primeos merged pull request #93186 → [20.03] chromium: 83.0.4103.116 -> 84.0.4147.89 → https://git.io/JJsAX
<{^_^}> [nixpkgs] @primeos pushed 3 commits to release-20.03: https://git.io/JJnGL
<mariatsji> is there a nixpkg that contains the binary 'adduser'?
<srk> ,locate bin adduser
<{^_^}> Found in packages: busybox
<mariatsji> ty!
<srk> or just use useradd :)
<romanofski> I'm browsing the documentation to figure out where this "magic" nixpkgs variable in my configuration comes from... any pointers?
<asheshambasta> ... aand I'm back at the Qt platform related error.
<asheshambasta> I cannot understand overlays for the life of me.
<{^_^}> [nixpkgs] @dywedir opened pull request #93404 → rink: 0.4.5 -> 0.5.0 → https://git.io/JJnGE
S0rin has joined #nixos
<Mic92> romanofski: which one?
<Mic92> romanofski: some are described here: https://nixos.wiki/wiki/C
<romanofski> Mic92: ah sweet! thanks! that'll do
<{^_^}> [nixpkgs] @fgaz opened pull request #93405 → curseofwar,curseofwar-sdl: 1.2.0 -> 1.3.0 → https://git.io/JJnG5
<{^_^}> [nixpkgs] @lsix opened pull request #93406 → gama: init at 2.09 → https://git.io/JJnGj
<asheshambasta> I believe the fixupPhase for QT applications cannot be overriden. If I supply a custom fixup phase, I get the Qt related errors (scide crashes on start); if I remove it; things work as expected.
justanotheruser has quit [Ping timeout: 246 seconds]
<bkv> Use pre/postFixup
stteevveen has quit [Ping timeout: 245 seconds]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
iMatejC has quit [Quit: WeeChat 2.8]
iMatejC has joined #nixos
<{^_^}> [nixpkgs] @lsix merged pull request #93393 → python37Packages.pylint-django: 2.0.15 -> 2.1.0 → https://git.io/JJnYU
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JJnnU
mariatsji has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #93407 → palemoon: 28.10.0 -> 28.11.0 → https://git.io/JJnnm
orivej has quit [Ping timeout: 265 seconds]
kreyren_ has joined #nixos
bennofs[m] has quit [Quit: Idle for 30+ days]
david-sawatzke[m has quit [Quit: Idle for 30+ days]
mkg20001 has quit [Quit: Idle for 30+ days]
dpc has quit [Quit: Idle for 30+ days]
kreyren has quit [Ping timeout: 240 seconds]
mariatsji has joined #nixos
zarathustra[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
goibhniu has quit [Quit: Idle for 30+ days]
<eyJhb> What is the corret syntax, to assert a mkOption is one of X values?
<symphorien> type = types.enum [...]
<{^_^}> [nixpkgs] @justin-gerhardt opened pull request #93408 → stm32cubemx: 5.3.0 -> 5.6.1 → https://git.io/JJnnS
<eyJhb> Thanks <3 symphorien
<{^_^}> symphorien's karma got increased to 29
<{^_^}> [nixpkgs] @zowoq opened pull request #93409 → gnomeExtensions: add runHook to {build,install}Phase → https://git.io/JJnn5
Extends has joined #nixos
nikita` has quit [Quit: leaving]
nikita` has joined #nixos
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @liff opened pull request #93410 → nixos/manual: Fix reference to copy_from_host → https://git.io/JJnnj
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/bb8f0cc2279 (from 66 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
mariatsji has quit [Remote host closed the connection]
fendor has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/bb8f0cc2279 (from 71 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> [nixpkgs] @primeos merged pull request #92920 → scons: 3.1.2 -> 4.0.0 → https://git.io/JJYzQ
<{^_^}> [nixpkgs] @primeos pushed 3 commits to staging: https://git.io/JJncZ
Extends has quit [Quit: leaving]
<{^_^}> [nixpkgs] @jtojnar merged pull request #93409 → gnomeExtensions: add runHook to {build,install}Phase → https://git.io/JJnn5
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JJnc0
EsperLily has quit [Remote host closed the connection]
<TheSirC[m]> Could someone explain why after clonig nixpkgs and trying `sudo nixos-rebuild boot -I nixpkgs=path/to/clone/nixpkgs/` sends back `warning: Nix search path entry 'path/to/clone/nixpkgs/' does not exist, ignoring`
o1lo01ol1o has joined #nixos
<armin> anyone a clue what i need to install to get the ZSH "command-not-found" like functionality that tells me what to install when i type the name of a program that does not exist?
orcus has quit [Quit: ZNC 1.7.5 - https://znc.in]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
alp has joined #nixos
orcus has joined #nixos
<armin> even more confusing: i have a command-not-found program installed, but calling that with a program i have not installed as argument just gives me "programname: command not found"
stites has quit [Ping timeout: 256 seconds]
alp has quit [Remote host closed the connection]
stites has joined #nixos
alp has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #93411 → dbxml: use multiple outputs → https://git.io/JJnCv
<srk> armin: NIX_PATH=nixos-config=/etc/nixos/configuration.nix;nixpkgs=/path/to/checkout nixos-rebuild
<armin> srk: mind to elaborate?
<srk> oh, that was for TheSirC[m]
<srk> armin: sorry, not sure about command-not-found
<armin> oh, no worries :)
<jtojnar> any comments on https://etherpad.gnome.org/p/dO6vUs88ip3GKF0JqLdw before I post it?
<TheSirC[m]> srk: Thanks for answering ! Do I need the `-I` flag in `nixos-rebuild` then ?
<srk> TheSirC[m]: yw! not needed if NIX_PATH is set
<srk> jtojnar: last section is a bit confusing - If no such statement is found (which one? > This program is free software: you can .. ?)
<armin> jtojnar: looks fine to me, only the "do not rely on the COPYING file" thing seems a bit harsh. :)
<TheSirC[m]> Jan Tojnar: I wonder why not enforce those rules with Github Actions of the sorts because it seems that we would end up having some licenses that would still be accepted because maintainers would not have read the memo or something along this line
<TheSirC[m]> Jan Tojnar: I do not have any comment on the wording : as a non-native english speaker, the text looked neutral and understandable.
Rusty1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a838caa33a7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93412 → python37Packages.xarray: 0.15.1 -> 0.16.0 → https://git.io/JJnC4
lurker has joined #nixos
<jtojnar> srk thanks, that got confusing during rewrite
<jtojnar> armin yeah, the issue is that the file is useless for the purpose of determining `-or-later` or `-only`
<{^_^}> [nixpkgs] @liff opened pull request #93413 → nixosTests.taskserver: Port to python → https://git.io/JJnCz
<armin> jtojnar: yeah but 5 sentences before that you "kindly ask" the reader to do something and then comes this "DO **NOT** DO SOMETHING" thing, i was a bit confused. :)
<armin> anyways, since i use services.mingetty.helpLine = lib.mkForce ""; i now am lost enough to ask myself what the default value of that thing was, any pointer?
<atemu12[m]> Jan Tojnar: Shouldn't that be an RFC? Standardising how to determine a project's license and changing license names sounds pretty RFC-y to me
alp has quit [Ping timeout: 260 seconds]
<jtojnar> armin yeah, I can see how that can come across as harsh but do not have the mental energy to come up wth a better phrasing at the moment
<armin> jtojnar: it's probably perfectly fine, i didn't spot one single spelling error.
ris has joined #nixos
<jtojnar> atemu12 I am uncertain about if it should be RFC, it is a minor thing that has always been a best practice
<jtojnar> on the other hand, it does rename an attribute that is used throughout nixpkgs
michaelstrogoff[ has left #nixos ["User left"]
<lurker> If I have a `rust = rustChannel.rust.override (o: {` and then right below a `rustc = rustChannel.rustc.overrideAttrs (o: {`, is there a way for me to "unify" both, so I only end up with one outcome?
<jtojnar> TheSirC unfortunately, GitHub actions are no-go for nixpkgs at the moment due to how GitHub handles results
maier has joined #nixos
slack1256 has quit [Remote host closed the connection]
wildtrees has joined #nixos
<asheshambasta> srk: I've managed to get things to build but now sc outputs a bunch of SC3-plugins related errors on SuperDirt.start
<srk> asheshambasta: /o\ paste em
maier has quit [Ping timeout: 256 seconds]
wildtrees has quit [Remote host closed the connection]
<asheshambasta> also the https://github.com/supercollider/sc3-plugins#compile-from-source -- these instructions are broken (at least within a nix sandbox)
wildtrees has joined #nixos
<asheshambasta> the creating the build dir and cd-ing into it and then invoking cmake doesn't seem to work correctly; cmake fails with "could not load cache"
<asheshambasta> there are a bunch of debug statements in there but that can be cleaned up.
<asheshambasta> for the filenames I've placed them under the subdirs with s/_/\//g
<srk> yup, looking good
mariatsji has joined #nixos
<srk> oh it's even recursive a bit, hence the new package
<asheshambasta> yeah I wanted to ensure the sc3plugins and sc itself were built with the same version of sc.
kreyren_ has quit [Ping timeout: 240 seconds]
<asheshambasta> but since the gh instructions do not apply here; I'm also wondering if the `cp -r` part can be that straightforward.
<asheshambasta> The classes seem to be available within sc though
<{^_^}> [nixpkgs] @primeos opened pull request #93415 → scons: 4.0.0 -> 4.0.1 → https://git.io/JJnWn
nixbitcoin has quit [Ping timeout: 240 seconds]
nixbitcoin has joined #nixos
dermetfan has quit [Ping timeout: 260 seconds]
<asheshambasta> srk: also; when a derivation seems to have an explicit `buildPhase`; enableParallelBuilding has no effect.
<asheshambasta> (which makes sense)
<srk> asheshambasta: there's also /lib in the output of sc3plugins and you only copy /share
<srk> ah!
<asheshambasta> srk: yeah that could be the cause of my issues
<asheshambasta> not sure where the lib dirs need to be copied too though; checking that.
<{^_^}> [nixpkgs] @davidak opened pull request #93416 → nixos/speechd: init module → https://git.io/JJnWw
<typetetris> I have an open pull request in nixpkgs, which has already been approved by someone like a week ago. What do I need to do, to get it merged? https://github.com/NixOS/nixpkgs/pull/92322
<{^_^}> #92322 (by typetetris, 1 week ago, open): nixos/tests/common/acme/server/*: use X.509 v3 certificate
<manveru> typetetris: oh, i'd love to have that merged
<manveru> but i also don't know how ACME is actually tested atm
<asheshambasta> srk: when copying plugins; this happens: https://pastebin.com/b0WUWbmi
<asheshambasta> (that is after copying the plugins into the sc plugins dir.)
<manveru> sounds like the plugin has the worng version?
<asheshambasta> how so?
<srk> asheshambasta: somehow it fails to depend on fftw despite being passed explicitely
<asheshambasta> hm; yeah.
waleee-cl has quit [Quit: Connection closed for inactivity]
<asheshambasta> not sure how to fix these C (?) dependency issues though.
<srk> me neither yet
sangoma has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a838caa33a7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
alp has joined #nixos
<asheshambasta> I also cannot find any docs. for the FFTW3F_LIBRARY cmake options on the sc3plugins readme
<srk> ah I see it now - there are warnings during sc3plugins configure https://paste.rs/kAU
<asheshambasta> srk: interesting
<das_j> Is there a way to use flakes in nix-shell shebangs? Or are the shebeangs deprecated for some weird reason?
xeijin has joined #nixos
<srk> asheshambasta: trying with "-DFFTW3F_LIBRARY=${fftw}/lib/libfftw3.so"
sangoma has joined #nixos
<asheshambasta> srk: yeah I guessed it could be something like that;
<xeijin> Hi - when I run `nixos-generate-config --root /mnt` from the installer, it fails to add a filesystem entry for my boot partition (mounted to `/mnt/boot`) in `hardware-configuration.nix` does anyone know what could be causing this?
<xeijin> It has no trouble finding my zfs partitions
<xeijin> and I can see the boot partition is mounted when I run `mount`
<xeijin> `/dev/sda2 on /mnt/boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)` is the entry from `mount`
acarrico has joined #nixos
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93418 → libsForQt5.qtutilities: 6.0.6 -> 6.2.0 → https://git.io/JJnlp
<asheshambasta> srk: same issues with the .so file AFAICS
<srk> it seemes to grow dep on fftw, need to test with sc as well
<asheshambasta> dirty and impure cmake stuff :-)
<asheshambasta> wild guess: can fftw be a propagated build output?
<emilsp> hrm, is there a way to make rush not use the default config file at all?
<typetetris> how do you manage github tokens for nixpkgs-review? I don't want to just put them in .bashrc or some such.
<{^_^}> [nixpkgs] @stigtsp opened pull request #93419 → convos: fix time() dependent test → https://git.io/JJn84
<asheshambasta> srk: doesn't work with propagated build inputs either (I'm assuming it means transitive depenency)
<armin> localectl gives me "Failed to set keymap: Changing system settings via systemd is not supported on NixOS." and i can't find something like keymap in the nixos options. what am i doing wrong?
sreybastien[m] has joined #nixos
<qyliss> armin: console.keyMap
<armin> nb: i want to set the x11 keymap, not the console one.
<armin> sorry, had to add that. :)
<sreybastien[m]> hi here !
<patagonicus> xejin: Probably worth filing a bug for that. And you don't have to use what nixos-generate-config is generating, it's more of a convenience thing. So just add it yourself (`"/boot" = { device = "/dev/sda2"; type = "vfat"; };` or something like that).
<sreybastien[m]> If anyone as installed Nixos with LUKS encryption on Hetzner VPS cloud, i'm interested by some config exemple to deploy.
<armin> sreybastien[m]: would you be fine with having to enter the luks passphrase each time from a graphical tty representation like web interface or do you require ssh from within initrd?
<qyliss> armin: services.xserver.layout ?
<armin> qyliss: that's what i'm looking for, thank you so much.
kreyren_ has joined #nixos
<sreybastien[m]> armin: I suppose the best way was to use initrd solution on cloud architecture like Hetzner no ?
<armin> sreybastien[m]: well it would open a tiny ssh server on boot where you can connect to and where you have to input the passphrase in some way.
<armin> sreybastien[m]: if that's what you want, yes, there are nixos options for that - and no, i don't think that makes too much sense on a cloud server. :)
<sreybastien[m]> armin:
<sreybastien[m]> * armin: yes this is a poor level of security, i understand
<sreybastien[m]> but, this is better than nothing isn't it ?
<sreybastien[m]> if i want to store my email on VPS for example
<armin> sreybastien[m]: well i set up laptops with a script like this here which does the luks thing for you: https://gitlab.com/shellmachine/nixos-configs/-/blob/master/phoenix/nixos-init.sh
<patagonicus> sreybastien[m]: I've got root on LVM on LUKS on a Kimsufi root server. It's quite simple to set up, actually, just look for the boot.initrd.network.ssh settings. That machine is still using dropbear for the initrd SSH, but with Nixos 20.03 that was replaced with OpenSSH, but the config is almost the same.
<armin> sreybastien[m]: you could probably easily adapt that setup for such a cloud vm and add the initrd/ssh stuff.
mariatsji has quit [Remote host closed the connection]
<armin> yeah what patagonicus said. ;)
mariatsji has joined #nixos
<sreybastien[m]> Thanks @patagonicus @armin
<sreybastien[m]> * Thanks patagonicus armin
<sreybastien[m]> i check that
<sreybastien[m]> (i'm a newbie on nixos, moving from ubuntu, but i already code in FP a little)
<sreybastien[m]> (summer project :) )
orivej has joined #nixos
<stigo> sreybastien[m]: welcome to nixos :)
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #93420 → _3270font: init at 2.0.4 → https://git.io/JJn4e
mariatsji has quit [Ping timeout: 264 seconds]
<sreybastien[m]> The more difficult part i found was to understand the different way to manage /home env; I found the way adopted by doom-emacs maintener pretty cool : https://github.com/hlissner/dotfiles
<xeijin> patagonicus thanks yeah was hoping to avoid that as I'm trying to automate the install process with a Makefile
<{^_^}> [nixpkgs] @marsam merged pull request #93387 → python27Packages.ipympl: 0.5.6 -> 0.5.7 → https://git.io/JJnkQ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJn4Y
<xeijin> I actually figured it out, I was mounting the boot partition to `/mnt/boot` but then mounting my root zfs fs to `/mnt` which basically overwrote the `/mnt/boot` mountpoint ... doh
<armin> oh and while we're at it: any way to set the keyboard repeat rate under xorg? i currently set it via "xset r rate 210 30" from my .xsession/.xinitrc files, but as soon as i unplug and re-plug my keyboard, i'm again at slow speed.
o1lo01ol1o has quit [Ping timeout: 264 seconds]
mariatsji has joined #nixos
alp has quit [Ping timeout: 272 seconds]
acarrico has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @minijackson opened pull request #93421 → haskellPackages.pandoc-sidenote: 0.19.0.0 -> 0.20.0.0, remove broken → https://git.io/JJn4B
<typetetris> Is there any pro and con to use `fetchurl` instead of `fetchTarball` ?
cosimone has joined #nixos
mariatsji has quit [Remote host closed the connection]
cosimone has quit [Client Quit]
cosimone has joined #nixos
cosimone has quit [Client Quit]
<{^_^}> [nixpkgs] @dasJ opened pull request #93422 → nixos/gitlab: Drop sidekiq PID file → https://git.io/JJn4a
<tpw_rules> typetetris: fetchurl won't unpack anything. it just downloads the file. fetchTarball downloads and unpacks it so you get the unpacked directory
<emilsp> in fact, rush doens't seem to read from /etc/rush.rc at all.
<typetetris> tpw_rules: So for `src` in `stdenv.mkDerivation` it doesn't matter?
<armin> fun fact: on the same file ( https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.7.9.tar.xz ) fetchurl reports 107MB whereas fetchTarball reports 215MB. ;)
<armin> hi eric. :)
<tpw_rules> typetetris: i imagine mkDerivation might have trouble compiling a tarball
<tpw_rules> not sure if unpackPhase would extract it. i would use fetchTarball. but you can try either way and use whatever if both work i guess
<tpw_rules> armin: extracted vs downloaded size?
<typetetris> tpw_rules: Thats used 18k+ times in nixpkgs in that way. `fetchTarball` only 4 times
<gchristensen> typetetris: use pkgs.fetchul instead of fetchTarball
<armin> tpw_rules: i don't think so because the prefix of the line is the same: [107.5 MiB DL]
<tpw_rules> gchristensen certainly knows more than me
<gchristensen> fetchTarball is essentially only for bootstrapping in the outermost layers of code. pkgs.fetchurl is more general purpose
<tpw_rules> armin: yeah huh. the tar is almost 1 gigabyte
<tpw_rules> i was gonna say that that didn't sound like a good compression ratio anyway
<armin> ok the size seems somewhat estimated, on another call i get 322MB
<lurker> Can I override the attributes of rustc passed to the makeRustPlatform?
xeijin has quit [Remote host closed the connection]
mariatsji has joined #nixos
<typetetris> When should `doCheck` be set to true for packages in nixpkgs?
orivej has quit [Ping timeout: 258 seconds]
sangoma has quit [Quit: WeeChat 2.8]
orivej has joined #nixos
<simpson> Whenever the test suite successfully runs and isn't a serious chunk of build time.
mariatsji has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<asheshambasta> srk: I believe the issue with the fftw linking is that it is not linked properly; plus there is a confusing number of fftw* libs.
<{^_^}> [nixpkgs] @dasJ opened pull request #93423 → nixos/gitlab: Make redis URL configurable → https://git.io/JJnBt
orivej has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @dasJ opened pull request #93424 → nixos/gitlab: Support incoming mail → https://git.io/JJnBl
<srk> now I just need tidal to test .. :D
<asheshambasta> ah yeah I've also done the latter
mananamenos has joined #nixos
<{^_^}> [nixpkgs] @dasJ opened pull request #93425 → nixos/gitlab: Support extra config for shell → https://git.io/JJnBM
<srk> yeah, seems to work
<asheshambasta> I'm still getting the same linking issue
meh` has joined #nixos
knupfer has joined #nixos
mmokulus[m] has joined #nixos
evanjs has quit [Read error: Connection reset by peer]
mmokulus[m] has left #nixos ["User left"]
acarrico has joined #nixos
<padok[m]> Hi, I've been lurking at nix for a while now and have already tried a few things with it, but it's hard for me to really get a foothold in it.
<padok[m]> Is there any guided way to introduce myself to nix that may takes smaller steps than the official wiki and uses examples?
<simpson> The Nix Pills are much smaller steps: https://nixos.org/nixos/nix-pills/index.html
orivej has joined #nixos
evanjs has joined #nixos
<simpson> What kind of goals do you have in mind? Do you want to package existing software? Configure NixOS systems? Perhaps develop your own custom build toolchains?
orivej_ has quit [Ping timeout: 258 seconds]
<padok[m]> I would like to start moving all my development projects to nix, since the idea of the pure function for builds is very appealing to me.
cosimone has joined #nixos
<padok[m]> Later I may plan to run some homelab projects on nixos to get rid of some of the system integration work
<padok[m]> But that's for the future
<padok[m]> But I may take a "to much to early" approach on it since my software projects tend to grow quickly
cosimone has quit [Client Quit]
cosimone has joined #nixos
<padok[m]> And I find a lack of real life examples to learn from
<patagonicus> The nixpkgs repo has a lot of real life examples. :) I'm currently diving into it, but mostly on the NixOS side, less the packages side, since I'm setting up a system on ARM, but I've already learned quite a bit about Nix during that.
<asheshambasta> srk: https://pastebin.com/rDimwEtz -- I'm trying to test the build this way; however.
<asheshambasta>
<asheshambasta> anyway; I'll stop bothering you. I'll probably revisit this later.
<padok[m]> But I consider revisiting the pills, maybe I can solve the transverse problems with that
<srk> asheshambasta: np, I'm just playing with tidal now .. :D
Extends has joined #nixos
<asheshambasta> srk: nice; no luck for me on that :P
bugra has joined #nixos
<padok[m]> <patagonicus "The nixpkgs repo has a lot of re"> I may expected to get to fast to solutions. But I also started with environments that are not easily to project on nix, like using nix environments for platformio
<padok[m]> The world of embedded development is very "dirty" in my experience and I liked to solve it with nix environments
<srk> padok[m]: all the tools platformio uses are available in nixpkgs
<srk> with standalone toolchains for arm/avrs
<padok[m]> I think the problem is that I'm a beginner and I couldn't find a project that I could lern from regarding platformio
<srk> why platformio? what's the goal?
bugra has quit [Quit: Leaving]
<padok[m]> I have a project where we use a lot of esp32 and the esp-idf isn't quite widely adopted. Every time I search for a problem I get Ardurino or platformio discussions.
<kaptin> platformio is pretty neat for embedded dev, gives you a single environment that manages tool chains for multiple targets
confus has joined #nixos
<srk> had success with this recently, building fw for few esp8266
<padok[m]> And I also like an environment that doesn't require me to write all drivers for some hardware myself
<padok[m]> And platformio or Ardurino make it easier to integrate with libraries
<srk> sure
<padok[m]> But there are also build systems dependent as far as I got it
<padok[m]> It's very annoying
<{^_^}> [nixpkgs] @Ma27 merged pull request #93410 → nixos/manual: Fix reference to copy_from_host → https://git.io/JJnnj
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJn0Y
asheshambasta has quit [Ping timeout: 256 seconds]
<padok[m]> I was hoping so solve some of the problems with nix
<{^_^}> [nixpkgs] @Ma27 merged pull request #93390 → drawio: 13.3.9 -> 13.4.5 → https://git.io/JJnms
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJn0O
<confus> I'm a bit shaky with overlays and pretty newI have a set of packages in `./pkgs/`then I have a `./default.nix` that I already works with nix-build `./default.nix` and does what I wantthe default nix looks something like:```{ pkgs ? import <nixpkgs> {} }:rec { package1 = pkgs.callPackage ./pkgs/Package1 {}; # ... package9 = pkgs.callPackage
<confus> ./pkgs/Package9 { Package1 = package1 };}```now I want to have `./another_default.nix`, that I can build with nix-build `./another_default.nix`that should just apply one overlay:```self: super:{ package1 = (super.package1.override { defaultTerminal = self.pkgs.kitty; });}```but otherwise build the exact same thing as `default.nix` - i.e.
<confus> sometimes I want to build it with the over sometimes without depending on which of the files I specifyhow would `./another_default.nix` look like?
<confus> oh wow, formatting
<confus> I'm sorry
<kaptin> padok[m]: seems reasonable, use nix to manage toolchains?
<padok[m]> That's my target
<padok[m]> But it's also my first production use of nix and I couldn't manage to get it to work
<{^_^}> [nix] @ajkovar opened pull request #3834 → Add newline to profile sourcing line #3393 → https://git.io/JJn0n
<padok[m]> Thanks for your help so far, I keep trying and come back in a few days to share my progress
<padok[m]> And look at the links
<kaptin> I'd be interested in what you find, I'm just diving into nix myself
<padok[m]> I'm happy to share!
<{^_^}> [nixpkgs] @filalex77 merged pull request #93404 → rink: 0.4.5 -> 0.5.0 → https://git.io/JJnGE
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JJn0E
tertl3 has joined #nixos
tertl3 has left #nixos [#nixos]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d7e20ee25ed (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d7e20ee25ed (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @erictapen closed pull request #77392 → nixos/waybar: restart service → https://git.io/JvvWb
o1lo01ol1o has quit [Ping timeout: 256 seconds]
cymitch has joined #nixos
* cymitch looks around
<cymitch> where is N2l?
cole-h has joined #nixos
cymitch has left #nixos [#nixos]
orivej has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @dasJ opened pull request #93426 → Feat/gitlab pages → https://git.io/JJnEl
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #93427 → strip-nondeterminism: fix build on darwin → https://git.io/JJnE8
o1lo01ol1o has joined #nixos
codygman___ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/JJnEE
o1lo01ol1o has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vcunat merged pull request #93288 → libapparmor: Fix build with gnumake 4.3 → https://git.io/JJGxx
azure1 has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 229 commits to staging: https://git.io/JJnEV
<{^_^}> [nixpkgs] @johnbcoughlin opened pull request #93428 → petsc: Fix install_name_tool patch → https://git.io/JJnEw
zanc has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93363 → rocksdb: 6.4.6 -> 6.10.2 → https://git.io/JJZH1
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJnEX
evanjs has quit [Read error: Connection reset by peer]
mananamenos has quit [Remote host closed the connection]
evanjs has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/JJnue
<{^_^}> [nixpkgs] @veprbl merged pull request #93294 → Pdfarranger update → https://git.io/JJZeL
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JJnuJ
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @veprbl merged pull request #93208 → pythonPackages.numexpr: fix darwin build by refactoring checkPhase → https://git.io/JJG0k
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JJnuU
orivej has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #92942 → python: jedi: 0.17.0 -> 0.17.1 → https://git.io/JJYKb
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JJnuq
<{^_^}> [nixpkgs] @Ma27 merged pull request #93309 → facter: 3.14.11 -> 3.14.12 → https://git.io/JJZTd
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJnuY
<{^_^}> [nixpkgs] @danieldk opened pull request #93429 → sortmerna: 3.0.3 -> 4.2.0 → https://git.io/JJnun
<{^_^}> [nixpkgs] @vcunat pushed to master « krunner: fix hash of patch »: https://git.io/JJnuc
waleee-cl has joined #nixos
orivej_ has joined #nixos
orivej has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #93427 → strip-nondeterminism: fix build on darwin → https://git.io/JJnE8
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJnzI
Jan-HenrikBruhn[ has joined #nixos
<{^_^}> [nixpkgs] @symphorien opened pull request #93430 → linux: enable io cost and io latency block group controller → https://git.io/JJnzs
<__monty__> Getting permission issues when running nix-collect-garbage on a single-user install. Is it safe to sudo rm the problematic file?
codygman___ has quit [Ping timeout: 240 seconds]
<redmp> srhb: i saw your messages about confirming the issue and about how it fails consistently with `--cores 1`
<redmp> thank you so much for your help
codygman___ has joined #nixos
<srhb> redmp: You are welcome. Hope it brings you closer to figuring out what's causing the false positive.
<clever> __monty__: what file is problematic?
gustavderdrache has joined #nixos
<__monty__> clever: "error: cannot unlink '/nix/store/trash/lwbzwwkv8zg7qaw96rzpbwfvv49vqizc-gdb-8.3.1/share/gdb/python/gdb/__pycache__/__init__.cpython-37.pyc': Permission denied"
<clever> __monty__: ah, its safe to just `sudo rm -rf /nix/store/trash`
<clever> __monty__: i think the problem, is that a python thing you ran, dynamically generated a pyc in the store, when you ran it as root
<__monty__> Gdb sounds like something I might've run with sudo because of annoying permission issues on macOS.
<__monty__> Thanks, clever!
<__monty__> <3 clever
<{^_^}> clever's karma got increased to 476
<clever> yep
luna has joined #nixos
sangoma has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #93375 → cvc4: 1.6 -> 1.8 → https://git.io/JJZjt
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JJnzh
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos
luna has quit [Ping timeout: 240 seconds]
<fyuuri> Hi. I am trying to boot the nixos installer on a PC with a nvidia RTX2060. The installer freezes during the boot process (shows a few colored lines). Is there anything I can do?
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @sorki opened pull request #93431 → nixos/jack,pulseaudio: fix pulse connection to jackd service → https://git.io/JJngM
turlando has quit [Ping timeout: 240 seconds]
<cole-h> Have you tried booting with the nomodeset option?
alp has joined #nixos
o1lo01ol1o has joined #nixos
philr has quit [Ping timeout: 246 seconds]
<fyuuri> Just did it and that worked^^. Sry. But will it be fine later? I never installed nixos on a "modern" desktop pc before.
<cole-h> No idea. You might need to use the proprietary Nvidia video driver. This wiki page might help: https://nixos.wiki/wiki/Nvidia
<patagonicus> Hmm. I'm trying to nixos-install a system on /dev/loop0, but grub is telling me that it can't find a grub device for /dev/loop0p1 (mounted at /mnt/boot) and that I should check device.map. This used to work a few months ago - does anyone know if something changed or if I'm just holding it wrong?
redmp has quit [Read error: Connection reset by peer]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<fyuuri> cole-h thank you! I will try
cosimone has quit [Remote host closed the connection]
codygman has quit [Read error: Connection reset by peer]
<confus> with nix-repl> let x = { a=1; b=2; }; in with x; { inherit a; }{ a = 1; }
<confus> with that: `nix-repl> let x = { a=1; b=2; }; in with x; { inherit a; }`
<confus> I can inherit an item from an attibute set
<confus> so output will be `{ a=1; }`
<patagonicus> You can also do `let x = { a = 1; b = 2; }; in { inherit (x) a; }`
<confus> how do I inhert all of them, as to get `{ a=1; b=2; }`
<confus> hmm... can I do `let x = { a = 1; b = 2; }; in { inherit (x); }` to get all of them?
<patagonicus> Doesn't look like it.
<{^_^}> [nixpkgs] @rycee opened pull request #93432 → sd-switch: init at 0.1.0 → https://git.io/JJn2K
<patagonicus> But, why inherit? You could do x // { }
<confus> hmm... maybe I could -.-
<patagonicus> (My knowledge of nix is not good enough to know if there's a difference between x // { } and { inherit (x) a b; }. I don't think so.
<confus> yeah, I will try extending the set
<confus> thanks
sangoma has quit [Ping timeout: 258 seconds]
<confus> btw. if someone feels like answering me this: https://discourse.nixos.org/t/fuzzy-on-use-of-overlays/8196
<confus> I'd also be greatful
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
syd has joined #nixos
<syd> Does anyone here have haskell.nix experience and 15min to help me with https://github.com/input-output-hk/haskell.nix/issues/768 please?
<{^_^}> input-output-hk/haskell.nix#768 (by NorfairKing, 43 minutes ago, open): Project still uses the wrong version of `time` after putting it in `extra-deps`
codygman has joined #nixos
<cole-h> confus: `inherit (x) a b c d e f g;`
<cole-h> Will inherit all of `a b c d e f g` from `z`
<cole-h> *`x`
<{^_^}> [nixpkgs] @danieldk merged pull request #93408 → stm32cubemx: 5.3.0 -> 5.6.1 → https://git.io/JJnnS
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJnaa
sangoma has joined #nixos
<infinisil> syd: fyi there's also #haskell.nix
<syd> infinisil thanks!
<confus> @cole-h thanks, sure it will, but spelling out all the members' names of the attr set is not really an option
MarkRBM has joined #nixos
MarkRBM has quit [Client Quit]
MarkRBM has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93402 → beamerpresenter: 0.1.1 -> 0.1.2 → https://git.io/JJnGI
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJnab
<patagonicus> confus: What's the problem with x // { newAttrs }? Shouldn't that have the same result as { inherit (x) a b … z; newAttrs }?
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed to master « sd-switch: init at 0.1.0 »: https://git.io/JJnVu
<{^_^}> [nixpkgs] @rycee closed pull request #93432 → sd-switch: init at 0.1.0 → https://git.io/JJn2K
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93433 → soapui: 5.5.0 -> 5.6.0 → https://git.io/JJnV6
alp has quit [Ping timeout: 272 seconds]
<confus> no problem, I already said it was fine and probably solves my problem, just wanted to answer cole-h
<{^_^}> [nixpkgs] @symphorien opened pull request #93434 → python3Packages.sqlalchemy-continuum: 1.3.9 -> 1.3.11 → https://git.io/JJnwt
ddellacosta has joined #nixos
lurker has quit [Ping timeout: 245 seconds]
mariatsji has joined #nixos
m_hackerfoo has quit [Ping timeout: 240 seconds]
HackerFoo has quit [Ping timeout: 256 seconds]
meh` has quit [Remote host closed the connection]
knupfer has quit [Quit: knupfer]
woleium has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
woleium has quit [Client Quit]
mariatsji has quit [Remote host closed the connection]
alp has joined #nixos
<evanjs> Hey guys, any ideas on the best route for this issue? https://github.com/matthiaskrgr/cargo-cache/issues/84#issuecomment-659674718
<evanjs> I'd rather not add per-distro functions to cargo-cache, if possible
<evanjs> I've seen like `workdir="$(mktemp -d)"` and etc in other expressions; wondering if that might work
<jtojnar> davidak it should be doable to patch espeak-ng to use `XDG_DATA_DIRS`
<evanjs> pkgs/applications/editors/amp/default.nix seems to export HOME to a temp dir. So that might work for the tests that write to CARGO_HOME, now I need to see if we can do the same for the tests ~
<evanjs> It looks like I can just export HOME when needed and not really worry about cleanup? e.g. I don't have to unset it or anything for the rest of the build to function normally, it seems?
HackerFoo has joined #nixos
m_hackerfoo has joined #nixos
HackerFoo has quit [Client Quit]
m_hackerfoo has quit [Client Quit]
wildtrees has quit [Ping timeout: 256 seconds]
<evanjs> I think the question I actually want to ask is "shouldn't this be something we do on the nix expression side?"
<evanjs> It doesn't seem right to have the program worry about that after a certain point, idk
wildtrees has joined #nixos
KarlJoad has joined #nixos
mariatsji has joined #nixos
<KarlJoad> I am developing a ruby project, and I am having some issues with direnv and lorri. When using nix-shell, everything works fine. With direnv, it says it is updating the paths, but I cannot use my ruby commands. Any ideas?
jbgi has joined #nixos
<KarlJoad> I cannot use ruby commands, but jekyll works. However, jekyll cannot find the minima theme library using direnv.
HackerFoo has joined #nixos
m_hackerfoo has joined #nixos
mariatsji has quit [Ping timeout: 240 seconds]
shibboleth has quit [Ping timeout: 240 seconds]
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @danieldk merged pull request #93428 → petsc: Fix install_name_tool patch → https://git.io/JJnEw
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJnrN
hienergy[m] has joined #nixos
stree has quit [Excess Flood]
<hienergy[m]> Hello
stree has joined #nixos
bakaonichan has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
HackerFoo has quit [Quit: killed]
m_hackerfoo has quit [Quit: killed]
HackerFoo has joined #nixos
m_hackerfoo has joined #nixos
bakaonichan has quit [Ping timeout: 245 seconds]
cmk_zzz has quit [Ping timeout: 260 seconds]
cmk_zzz has joined #nixos
<{^_^}> [nixpkgs] @turboMaCk opened pull request #93435 → elm.Packages: Regenerate elm packages → https://git.io/JJnoI
<{^_^}> [nixpkgs] @matthuszagh opened pull request #93436 → vivado: init at 2017.2 → https://git.io/JJnoL
proofofkeags has joined #nixos
* colemickens spies 100MB of python3 in a 600MB image that is only used by a single derivation...
ddellacosta has quit [Ping timeout: 256 seconds]
jbgi has quit [Ping timeout: 240 seconds]
oida has quit [Remote host closed the connection]
oida has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #93437 → sublime4-dev: init at 4074 → https://git.io/JJnoR
KarlJoad has quit [Quit: ERC (IRC client for Emacs 26.3)]
shibboleth has joined #nixos
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
a-h has joined #nixos
azure1 has quit [Quit: WeeChat 2.3]
<evanjs> mmkay, looks like setting NIX_BUILD_TOP might be what I need here. Not sure how reasonable/idiomatic that is in terms of best practices or etc, though
alp has quit [Ping timeout: 260 seconds]
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
chimay has quit [Ping timeout: 264 seconds]
_ris has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
ris has quit [Ping timeout: 256 seconds]
sangoma has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/bb8f0cc2279 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
shibboleth has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
drakonis has quit [Quit: WeeChat 2.8]
kreyren_ has quit [Remote host closed the connection]
<ixxie> hey folks; wanna try my hand at tiling like all the cool super hackers, so I'm fiddling with enabling xmonad, see desk/ folder here https://github.com/ixxie/dotfiles/tree/master/system
<ixxie> problem is, I can't seem to get it to work
<ixxie> xmonad is not appearing in the GDM
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
redmp has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<syd> ixxie I use xmonad from startx
seku has joined #nixos
redmp has quit [Read error: Connection reset by peer]
<ixxie> I'll give it a shot syd, although I was kinda hoping to stick with my current DM to minimise risk
wildtrees has quit [Remote host closed the connection]
cole-h has quit [Quit: Goodbye]
user_0x58 has joined #nixos
<syd> ixxie I understand. I just haven't gotten it to work differetly
drakonis has joined #nixos
wildtrees has joined #nixos
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
confus has quit [Remote host closed the connection]
ixxie has quit [Quit: Lost terminal]
Ariakenom has joined #nixos
wildtrees has quit [Max SendQ exceeded]
<syd> Is there a way to make a derivation from two other derivations
<syd> by just combining the $out s?
sangoma has joined #nixos
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos
proofofkeags has joined #nixos
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
ixxie has joined #nixos
scratch171[m] has joined #nixos
Ariakenom has quit [Ping timeout: 256 seconds]
<ixxie> hmm got xmonad working with GDM (option is hidden in a tiny cogwheel that is only visible after username is entered)
<syd> Oh nice!
<ixxie> but I immediatly noticed graphics is not performing well in xmonad
<ixxie> netflix gets weird artifacts
emys has joined #nixos
<ixxie> I wonder if its X11
<ixxie> I've been using Wayland for a long time now
<syd> ah I think I know what you're talking about!
<syd> does it look like an old-movie holograph?
<ixxie> kinda? horizontal stripes basically
<emys> I am trying to open a nix-shell with a default.nix (https://github.com/grahamc/docbook.rocks/blob/master/default.nix) but I get the error message "error: cannot auto-call a function that has an argument without a default value ('runCommand')"
<syd> yeah exactly
proofofkeags has quit [Remote host closed the connection]
<syd> I solved that by setting better graphics drivers
<ixxie> hmmm I will look into it
proofofkeags has joined #nixos
<syd> I put `nvidia` in my `videoDrivers` for example
o1lo01ol1o has joined #nixos
<evanjs> ixxie: I wonder if that's why I get weird tearing stuffs, even with nvidia drivers enabled and etc
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJn6Q
<evanjs> I don't recall seeing any artifacts, though, hrm
orivej_ has joined #nixos
orivej has quit [Read error: Connection reset by peer]
<ixxie> syd: didn't know about that option... guess it didn't exist when I bought my laptop a few years back
<sephii> I'm trying to get the `phpPackages.composer` package use a specific version of php (that I overrode to add extensions). I've tried `pkgs.phpPackages.composer.overrideAttrs (oldAttrs: { php = phpWithExtensions; })`, which built successfully, but the PHP used doesn't have the extension I want.
proofofkeags has quit [Ping timeout: 264 seconds]
lsix has quit [Ping timeout: 260 seconds]
<evanjs> adisbladis: was going to ask for help re poetry2nix and the `pip install -e` command, but the more I look into it, the more I feel like this project just needs to be fixed to not do that in general lol
slack1256 has joined #nixos
<evanjs> syd: yeah I use nvidia's drivers and have tried fiddling with the compositing pipeline settings but still get some pretty bad tearing issues at times
dingenskirchen has quit [Quit: dingenskirchen]
<syd> I still have some tearing because of a lack of vsync but at least I don't have the hologram problem anymore
<syd> ixxie: watch out that you don't end up running nvidia at all times because your battery life will dissappear
<evanjs> oh okay, probably a similar situation, then
<evanjs> lol gaming laptop -> *shrugs*
orivej_ has quit [Read error: Connection reset by peer]
orivej has joined #nixos
abathur has joined #nixos
dingenskirchen has joined #nixos
archH has joined #nixos
<fyuuri> Hi. I tried installing nixos on a PC with a new b550 mainbord. Both efi mode and legacy compatible mode did not make the new system boot. The installation USB drive booted though. On a few notebooks it worked for me to have a EF02 type Bios boot partion and a EF00 Efi partition behind it. That also did not work on the b550 system. Did anybody install nixos on a system with such a new mainbord`
<ixxie> syd: wondering which driver I need... I have an Intel card
<syd> I've got no clue tbh
<syd> I usually shotgun these things
<evanjs> probably just xf86videoIntel or etc but I would think that would be automatic to an extent
<evanjs> you can see a big list under services.xserver.videoDrivers from `man configuration.nix`
<evanjs> no clue on stuff like this tho https://nixos.wiki/wiki/Intel_Graphics
jkkm has joined #nixos
<evanjs> I have messed with settings in this area, though https://nixos.wiki/wiki/Accelerated_Video_Playback
<ixxie> fyuuri: sorry, can't help you there :(
jjakob has quit [Ping timeout: 246 seconds]
<ixxie> evanjs: thanks for the info! I may just rip off your module and see how that works out :D
<evanjs> fyuuri: at times, I will need to go into the BIOS and add an entry referencing the new GRUB install
<{^_^}> [nixpkgs] @fzakaria closed pull request #93365 → spacevim: init at c937c0e → https://git.io/JJZQE
<evanjs> it's one of the messier parts of my config, but as long as it helps lol
<evanjs> I seriously need to document things like at all haha
jjakob has joined #nixos
<fyuuri> evanjs : How do you put such entries in a Bios?
<{^_^}> [nixpkgs] @Ma27 reopened pull request #93365 → spacevim: init at c937c0e → https://git.io/JJZQE
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<fyuuri> Might it be related to secure boot? And... might this 1KB bios boot partition in front of the EFI partition prevent the system from booting in EFI mode? (just having the EFI partion alone also did not work...)
<evanjs> oh I just meant like manually, from the BIOS menu :P
<fyuuri> evanjs : ah. No it does not appear.
<ixxie> I think secure boot causes problems...
<evanjs> right, it didn't appear in the list of _boot entries_ for me in the BIOS, so I had to add new items there.
<fyuuri> ixxie: But the USB drive installer worked fine.
<fyuuri> The bios menu also does not show it :(
<ixxie> fyuuri: did you try disabling secure boot?
<evanjs> alright, that's what I was wondering
<fyuuri> I never fiddled with a uefi system before... always used legacy and it worked.. sorry.
<evanjs> and yeah, secure boot can sometimes mess it up. though it will often make it fairly obvious to me lol
<evanjs> I would try UEFI and see if it works
<fyuuri> ixxie : I did not yet because the usb drive worked. By uefi bios has no simple option to deactivate secure boot. I can just remove all the keys.
<evanjs> weird... there's usually an easy option to do that :/
<evanjs> I've never had to remove keys or anything
lsix has joined #nixos
<fyuuri> There is an option which says: OS Type -> other OS .... that should support non-Win-secure-boot systems... but switching that on also does not work...
redmp has joined #nixos
shibboleth has joined #nixos
<evanjs> yeah, that sounds like CSM/legacy boot
growpotkin has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
orivej_ has joined #nixos
a-h has quit [Remote host closed the connection]
<syd> Peeps. I'm trying to set a `preBuild` in haskell.nix
<syd> but I'm getting a strange error:
<syd> the option is defined both null and not null
<evanjs> note that to run using a certain boot type, you need to install on that. e.g. for UEFI you need to run with UEFI enabled
<fyuuri> evanjs: I have this layout on all systems: Number Size Code Name
<fyuuri> 1 1000.0 KiB EF02 BIOS boot partition
<fyuuri> 2 500.0 MiB EF00 EFI System Partition
<fyuuri> 3 <the rest> 8E00 Linux LVM
<evanjs> (checks other desktop) I have NixOS working fine on my B450M it looks like
<fyuuri> but that does not seem to work.
matthewcroughan has joined #nixos
<{^_^}> [nixpkgs] @cript0nauta opened pull request #93439 → p7zip: fix build when enableUnfree is true → https://git.io/JJniK
<clever> fyuuri: EF02 is only used if you want to do legacy booting from GPT
<clever> fyuuri: EF00 is for booting via efi
<fyuuri> clever : might that be a reason for the system not booting? I tried with having just the EF00 partition... but that did not boot as well.
<clever> fyuuri: are you using grub or systemd-boot?
<fyuuri> grub
<clever> fyuuri: is boot.loader.grub.device set?
shibboleth has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93440 → visualvm: 2.0.2 -> 2.0.3 → https://git.io/JJniP
<fyuuri> yes. to /dev/sda That worked for all other systems.
shibboleth has joined #nixos
<clever> fyuuri: have you tried turning efi off in the bios?
kl3 has joined #nixos
<fyuuri> clever: I think that is not possible on the B550 uefi-bios. Its strange to me that the installation usb drive works without a problem.
<clever> fyuuri: the usb image is both efi and legacy
<clever> fyuuri: what does `efibootmgr -v` report?
archH has quit [Ping timeout: 240 seconds]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<fyuuri> clever: it says: Boot current: 0001 Timeout 1 seconds BootOrder 0000,0001,0002 Boot0000* Windows Booot Manager Could not parse device path: Invalid argument
archH has joined #nixos
orivej has joined #nixos
<fyuuri> clever: the efibootmanger also seems to detect the installation drive twice
<clever> fyuuri: try setting `boot.loader.grub.efiInstallAsRemovable = true;` and re-run nixos-install while its all mounted
<kl3> hi, just booted nixos-minimal-19.03.172538.7bb74e65365-x86_64-linux.iso off an usb stick on my thinkpad x250 just fine, latest nixos-plasma5-20.03.2611.bb8f0cc2279-x86_64-linux.iso just reboots in a loop, same usb stick on same machine. sha256 checks out, turns out uefi boot seems broken, bios boot is fine, though.
<fyuuri> clever: is it OK to leave the small bios boot partition?
<clever> fyuuri: yep
<fyuuri> clever: ill try that. I will need to mount luks devices etc manually. So it will take a few mins
acarrico has quit [Ping timeout: 246 seconds]
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
archH has quit [Quit: Connection closed]
growpotkin has joined #nixos
<fyuuri> clever: what about can touch efi variables?
<fyuuri> my setup is very similar to this https://chris-martin.org/2015/installing-nixos
<clever> fyuuri: can touch efi variables should be set to true
archH has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #93441 → weechat: 2.8 -> 2.9 → https://git.io/JJnPJ
<clever> fyuuri: the guide you linked also says to use unetbootin, that typically breaks booting from the usb stick entirely
<fyuuri> clever: for efi boot, the manual says that grub.device line should only be there for BIOS mode
orivej has quit [Quit: No Ping reply in 180 seconds.]
<clever> fyuuri: yeah, grub.device is only for legacy, and you can set it to "nodev" to disable legacy booting
<clever> but grub can also do legacy + efi at the same time
<fyuuri> clever: I did not follow the guide. Its just similar. My setup runs on my thinkpad 440 and 250 though :)
<fyuuri> ah
<clever> legacy+efi can be simpler if you dont know what the bios will be doing
<clever> then it works either way
orivej has joined #nixos
<fyuuri> OK. And this little BIOS partition does not matter?
knupfer has quit [Quit: knupfer]
<clever> the `bios boot partition` is only needed if you want legacy booting on gpt
knupfer has joined #nixos
<fyuuri> thank you so much for guiding me!
knupfer has joined #nixos
<fyuuri> But "only needed" means its never harmful?
<clever> correct
<archH> Hi I have a kinda basic issue. I'm trying to declare a hashedPassword for my user. I've generated a password using mkpasswd -m sha-512, then put it into user.users.arch = { hashedPassword = "hashedPwString";
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/cf059b32d98 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<archH> however my password doesnt work
<clever> archh: did you run nixos-rebuild switch? is the new hash showing up in /etc/shadow?
<fyuuri> clever: thank you! I will try what you said. What does installAsRemovable do?
<clever> fyuuri: it makes grub use a special filename, that the bios thinks is for any removable disk
<clever> fyuuri: that lets the efi firmware load it, without it being properly setup in the efi vars
<clever> which is how the usb stick can even boot in efi mode
Habbie has quit [Ping timeout: 256 seconds]
<archH> clever: Iæve run the nixos-rebuild switch but it has not appeared in /etc/shadow
<clever> archh: it may only work if you set mutableusers = false
<fyuuri> clever: thank you!
<archH> okey I'l test that, thanks
<clever> archh: users.mutableUsers = false;
dingenskirchen has quit [Read error: Connection reset by peer]
dingenskirchen has joined #nixos
<fyuuri> clever: It says you cannot use asRemovable and touch variables at the same time..
<fyuuri> I will comment out the variables
<archH> clever It works, thanks for you help :)
Habbie has joined #nixos
<fyuuri> clever : it worked! Thank you sooo much! But now I have the next problem^^. My graphics card does not work. I need to boot into nomodset mode
<{^_^}> [nixpkgs] @markuskowa merged pull request #93031 → dsd: init at 2018-07-01 → https://git.io/JJO4a
<{^_^}> [nixpkgs] @markuskowa pushed 4 commits to master: https://git.io/JJnPF
<{^_^}> [nixpkgs] @marsam opened pull request #93442 → barlow: init at 1.422 → https://git.io/JJnPA
archH has quit [Quit: Connection closed]
<evanjs> ^ what usually happens when clever shows up :P
<{^_^}> [nixpkgs] @markuskowa merged pull request #93280 → ucx: 1.7.0 -> 1.8.1, build openmpi with ucx → https://git.io/JJGbr
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/JJnPx
<fyuuri> thats amazing^^
sangoma has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #93420 → _3270font: init at 2.0.4 → https://git.io/JJn4e
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJnPj
<clever> fyuuri: you can hit e while at grub to make temporary changes to the kernel params
<fyuuri> Is there a comprehensive write up of these efi matters?
<clever> fyuuri: and boot.kernelParams to set them in configuration.nix
<fyuuri> clever: can i just write nomodset?
<clever> yeah, you can add it to the kernel params in grub
sangoma has joined #nixos
TomSecur has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<TomSecur> good day everyone, is node2nix the best way to package a npm project?
<TomSecur> are there any of these in nixpkgs as example?
<infinisil> TomSecur: I think using yarn over npm is the best way, because https://github.com/nix-community/yarn2nix works pretty well
noudle has joined #nixos
<TomSecur> infinisil: thank you, but my project is missing yarn.lock
<infinisil> Well that's because it's not a yarn project yet. My suggestion is to switch from npm to yarn
<TomSecur> hmm, it's upsteam, so I can suggest it
<TomSecur> it's a rather small project, but still has like 300 dependencies, not a big typescript fan
<infinisil> Ah if it's not your own then that might be a bit difficult
<infinisil> I think node2nix is the best tooling for npm projects as of now
<infinisil> (but yeah, it's not that great tbh)
<{^_^}> [nixpkgs] @robinp opened pull request #93443 → Separate fetch target in buildBazelPackage + fixup. → https://git.io/JJnXw
juanez has joined #nixos
<TomSecur> Error: getaddrinfo ENOTFOUND codeload.github.comoh what is this now (=,=)
<juanez> hey.. i have this issue im trying to resolve:
<juanez> ping
<juanez> . /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/f87w21b91cws0wbsvyfn5vnlyv491czi-python3-3.8.3/lib/libpython3.8.so.1.0)
<juanez> however, ldd the library shows; libm.so.6 => /nix/store/bqbg6hb2jsl3kvf6jgmgfdqy06fpjrrn-glibc-2.30/lib/libm.so.6 (0x00007f80b4b70000)
<juanez> any idea why the system /lib/x86_64-linux-gnu version is picked up over the /nix/store version ?
cosimone has joined #nixos
<fyuuri> clever: the system booted in normal mode with the nvidia driver. Thank you so much!!!
bkv is now known as bqv
<clever> fyuuri: your welcome
<fyuuri> clever: Is there more info on these efi settings. I still dont understand why this allow... did the trick
<clever> fyuuri: not sure, efi is a bit of a mess, there is an official spec, and then every motherboard vendor breaks it in unique ways
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
<fyuuri> clever: How did you know how to solve this issue?
codygman has joined #nixos
<clever> Boot0004* UEFI OS HD(1,GPT,27c99b08-455d-4dfe-a44f-6150cbc09ef8,0x800,0x100000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
<clever> /dev/nvme0n1p1: UUID="7DBC-2698" TYPE="vfat" PARTUUID="27c99b08-455d-4dfe-a44f-6150cbc09ef8"
<clever> fyuuri: normally, `efibootmgr -v` should show the partition uuid of the efi system partition, and the path to a .efi file within it
<fyuuri> And if it does not you need this allow line?
<fyuuri> I will document this in my wiki after everything is setup... ^^
<clever> fyuuri: the `can touch efi vars` lets grub modify the efi vars, and `efiboormgr -v` just prints the efi vars
<clever> fyuuri: i have seen some bios's that ignore all atempts to change the efi vars, and only boot the .efi file windows uses
<clever> "it booted windows, ship it"
<clever> i have also heard of some bios that wont let you delete an efi var if the partition is missing
<fyuuri> But with efiInstallAsRemovable you cannot set allow modify vars at the same time
<clever> so if you delete the partition first, the efi var is permanently stuck, until you run out of space for efi vars
<clever> yeah, thats a work-around to make it boot without efi vars
<fyuuri> but its always safe to configure both efi and lagacy mode?
<clever> should be
TomSecur has quit [Ping timeout: 245 seconds]
<fyuuri> the conifg in the nix manual did not work for me.
ixxie has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<eyJhb> How can I make a mkOption be a infinite depth, and should be of type attrSet, string, bool or int?
<{^_^}> [nixpkgs] @petabyteboy pushed to master « coreboot-utils: include common meta attrs for all »: https://git.io/JJn1Z
Extends has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #87286 → networkmanager: 1.22.10 → 1.26.0 → https://git.io/JfcbV
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to staging: https://git.io/JJn1l
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93115 → [20.03] networkmanager: 1.22.10 -> 1.22.14 → https://git.io/JJ37o
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JJn18
o1lo01ol1o has joined #nixos
<fionera> any idea why the udev rules from the qlcplus packet dont get applies?
<fionera> *applied
Ariakenom has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93439 → p7zip: fix build when enableUnfree is true → https://git.io/JJniK
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJn1V
growpotkin has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #93441 → weechat: 2.8 -> 2.9 → https://git.io/JJnPJ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJn1i
orivej has quit [Ping timeout: 246 seconds]
cosimone has quit [Quit: Quit.]
orivej has joined #nixos
cosimone has joined #nixos
syd has quit [Quit: Connection closed]
justanotheruser has joined #nixos
syd has joined #nixos
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos
__monty__ has quit [Quit: leaving]
juanez has quit [Remote host closed the connection]
<jtojnar> fionera did you add it to services.udev.packages?
knupfer has quit [Ping timeout: 260 seconds]
<fionera> Ah that was it
<fionera> thx jtojnar
leah2 has quit [Remote host closed the connection]
dermetfan has quit [Ping timeout: 260 seconds]
utf64 has joined #nixos
zebrag has joined #nixos
<utf64> I am trying to install nixos by booting an old machine over iPXE, and it seems that " nixpkgs/nixos/modules/installer/netboot/netboot-minimal.nix " might provide the needed files. How do I build netboot-minimal? (my local machine is running nixos)
<clever> utf64: there is an attribute for it in the main nixos/release.nix
<clever> utf64: just `nix-build '<nixpkgs/nixos/release.nix>' -A netboot.x86_64-linux`
<utf64> Alright
drakonis has quit [Read error: Connection reset by peer]
leah2 has joined #nixos
excelsiora has quit [Remote host closed the connection]
<utf64> Out of curiosity, are attribute names usually case-sensitive?
<utf64> It looks like they are ^
<hazel[m]> so i previously set swaylock to unlock with `security.pam.services.swaylock.text = "auth include login";`
<hazel[m]> but now i want to do yubikey stuff which would be `security.pam.services.swaylock.yubicoAuth = true;`
<hazel[m]> but these options conflict, how do i add `auth include login` while still doing `yubicoAuth = true`
<hazel[m]> if i do not do `auth include login` it does not function and locks forever
waleee-cl has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93445 → x42-plugins: 20200411 -> 20200714 → https://git.io/JJnMX
asymptotically has quit [Quit: Leaving]
<kl3> after having booted into a fresh nixos installation (without network), can i point nix at the nixos-plasma5-20.03.2611.bb8f0cc2279-x86_64-linux.iso usb stick still inserted to install a few packages from it, e.g. networkmanager?
shibboleth has quit [Quit: shibboleth]
fendor has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
sangoma has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 256 seconds]
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos
xelxebar has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 256 seconds]
xelxebar has joined #nixos
aleph- has quit [Ping timeout: 264 seconds]
gustavderdrache has joined #nixos
lsix has quit [Quit: WeeChat 2.8]
emys has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @euank opened pull request #93448 → steam-runtime: 0.20200417.0 -> 0.20200604.0 → https://git.io/JJnDW
emys has joined #nixos
justanotheruser has joined #nixos
redmp has quit [Quit: leaving]
seku has quit [Quit: Connection closed]
utf64 has quit [Quit: Connection closed]
<lovesegfault> Anyone with an Intel AX200 around?
<lovesegfault> I can't seem to get bluetooth to work on it
aleph- has joined #nixos
emys has quit [Ping timeout: 260 seconds]
cosimone has quit [Ping timeout: 256 seconds]
<jtojnar> I think I have that on my ubuntu box
<lovesegfault> jtojnar: wifi is working nicely, but bluetooth is nowhere to be seen
<lovesegfault> for some reason
proofofkeags has joined #nixos
orion has joined #nixos
<orion> Hi. Will Nix ever be supported on FreeBSD?
<{^_^}> [nixpkgs] @veprbl merged pull request #93374 → zoom-us: Link libfaac to fix audio recording → https://git.io/JJZpi
<{^_^}> [nixpkgs] @veprbl pushed commit from @tadfisher to master « zoom-us: Link libfaac to fix audio recording (#93374) »: https://git.io/JJnys
<jtojnar> lovesegfault both were working out of the box for me
<jtojnar> maybe I can run quick nixos-infect
<jtojnar> and see if it breaks
<lovesegfault> if you do let me know, I might need to install the old wifi card back :(
<lovesegfault> But I'm going to keep at it
<lovesegfault> kernel 5.4 had the issue, 5.7.8 has it too
bkv has joined #nixos
justanotheruser has quit [Read error: Connection reset by peer]
<lovesegfault> iwlwifi 0000:72:00.0: loaded firmware version 53.c31ac674.0 cc-a0-53.ucode op_mode iwlmvm
<infinisil> orion: Maybe check out https://github.com/NixOS/nix/issues/3280
bqv has quit [Ping timeout: 260 seconds]
<{^_^}> nix#3280 (by l4nn1312, 30 weeks ago, open): Add NetBSD/FreeBSD Support
bkv is now known as bqv
<lovesegfault> jtojnar: [ 10.475461] iwlwifi 0000:72:00.0: loaded firmware version 53.c31ac674.0 cc-a0-53.ucode op_mode iwlmvm
<lovesegfault> what does this line of dmesg say on your ubuntu machine?
<infinisil> orion: There isn't anything preventing XYZ-support, it's just that somebody needs to do the work for it
mbrgm has quit [Ping timeout: 260 seconds]
syd has quit [Quit: Connection closed]
mbrgm has joined #nixos
<lovesegfault> Where does the iwlwifi firmware come from in NixOS?
<lovesegfault> ,locate 53.c31ac674.0 cc-a0-53.ucode
<{^_^}> Couldn't find in any packages
<lovesegfault> hum
growpotkin has joined #nixos
simba2 has quit [Ping timeout: 272 seconds]
<lovesegfault> interesting
<lovesegfault> and you still get bt?
emys has joined #nixos
_ris has quit [Ping timeout: 240 seconds]
<jtojnar> lovesegfault yup, bt headphones play
growpotkin has quit [Ping timeout: 256 seconds]