<{^_^}>
user12343: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<clever>
content-encoding: x-gzip
<clever>
the server is sending a weird http header, which confuses nix-prefetch-url
<user12343>
thanks, 0000000000000000000000000000000000000000000000000000 worked.. i had an invalid sha before
<ddima>
ah, interesting. I assumed fetchurl would run through similar code-paths but it seems to be just fine with it.
<user12343>
ok its working fine now.. or at least its trying to build it
<user12343>
seems like, it has kde-config as a dependency
<clever>
,locate kde-config
<hyperfekt>
you can also use lib.fakeSha256 instead of all those zeroes, and when a particular nix-prefetch-* isn't working you can use 'nix-prefetch' which uses the nix expression directly (kinda like you do)
<clever>
ddima: fetchurl uses curl, not nix
<{^_^}>
Couldn't find in any packages
<clever>
user12343: what is the error it gives when saying it cant find kde-config?
<{^_^}>
[nixpkgs] @jtojnar opened pull request #68333 → nemiver: clean up → https://git.io/JeJ8T
<user12343>
checking for kde-config... not foundconfigure: error: The important program kde-config was not found!Please check whether you installed KDE correctly.
<clever>
i dont see kde-config in any package...
<user12343>
kpicosim is a development environment for the Xilinx PicoBlaze-3 soft-core processor for the KDE Desktop (Linux)
<user12343>
seems lie it only runs in kde... wtf actually
<ddima>
clever: Ah, right. Thanks. I think I'd have a few questions about the why, but its already quite late over here ;)
<clever>
yeah, even the 13.10 has kde4, and this is getting into the infancy of nix
<clever>
user12343: you may need to either package kde3, or upgrade kpicosim to kde 5
<user12343>
sounds like a cool project.. but i dont think i have the time for it rn.. i just want to use it to learn that specific assembler-instrucion-set for an exam, which is in a few days...
<user12343>
I think I'll just use the outdated kubuntu-vm they provided to us
<clever>
that works
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
m0rphism has quit [Ping timeout: 245 seconds]
<ddima>
user12343: When looking around before, I found a repo with this funny title: "bebehei/kpicosim-docker
<ddima>
"
<ddima>
Such a shitty university assignment, I even have to port the software first!
<ddima>
might have been in a similar situation ;)
<user12343>
wait what... i actually know that guy
leothrix has joined #nixos
* clever
heads off to bed
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeJ1M
b has joined #nixos
schjetne has quit [Ping timeout: 258 seconds]
<user12343>
got it working instantly with the docker-image now... thanks for the help and the mentioning of bebehei's repo :)
drakonis has quit [Quit: WeeChat 2.4]
user12343 has quit [Remote host closed the connection]
<acowley>
I'm trying to setup a new boot drive attached to a running NixOS machine. I ran nixos-install, sync'ed my home dir, but it won't boot. When I look in /mnt/etc/fstab, I see that it's got the old drive listed as the file system. What did I do wrong?
Acou_Bass has joined #nixos
<acowley>
The fstab file says to edit configuration.nix, but that file includes only the correct drive UUID.
<n42>
I'm trying to write an overlay for Godot that basically just clones a third-party module from GitHub into a subdirectory before the build runs. this is my first attempt and I'm having permissions issues with the build. does anyone have any advice on how to do this correctly? https://gist.github.com/tristanpemble/804201f3873068d42a6f4b9dad70e868
drakonis has joined #nixos
_ris has quit [Ping timeout: 258 seconds]
dbmikus has joined #nixos
polman has quit [Ping timeout: 245 seconds]
kvda has joined #nixos
<evanjs>
acowley: are you ensuring you have all drives mounted as you expect to have them mounted later before running nixos-install?
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « python3Packages.django_2_2: 2.2.4 -> 2.2.5 »: https://git.io/JeJ5p
gagbo has quit [Ping timeout: 244 seconds]
t58_ has quit [Quit: Night]
delan has quit [Ping timeout: 245 seconds]
_reanimus_ has quit [Quit: Logging off...]
delan has joined #nixos
delan has quit [Changing host]
delan has joined #nixos
reanimus has joined #nixos
dbmikus has quit [Quit: WeeChat 2.5]
rotaerk has quit [Ping timeout: 246 seconds]
rotaerk has joined #nixos
emptyfl4sk has joined #nixos
tertl3_ has joined #nixos
<tertl3_>
hi
<tertl3_>
should I ditch gentoo and go full nix?
emptyfl4sk has quit [Ping timeout: 245 seconds]
growpotkin has joined #nixos
<infinisil>
tertl3_: You're free to do whatever you want :)
<infinisil>
I do like Nix and NixOS a lot and wouldn't switch to anything else though
growpotkin has quit [Client Quit]
obadz has quit [Ping timeout: 246 seconds]
<danderson>
I tend to dither between full nixos, or ubuntu+nix. The latter setup is great to piggyback on canonical's work for out of the box hardware support on laptops
<danderson>
you can reproduce their work, of course... But it can get frustrating when you hit the thousandth suspend/resume bug that requires arcane workarounds that are just there automatically on ubuntu
<acowley>
evanjs: I think I saw a message from you before my last reboot, so thank you!
obadz has joined #nixos
<acowley>
It turned out I had an absolute path to hardware-configuration.nix in my configuration.nix, so it was using the current system's hardware-configuration
<acowley>
There was a minor issue with two swap file systems in the new hardware-configuration
<acowley>
All is now well, but it took me a while to figure out that I apparently had a few things installed via nix-env that didn't make their way to the new drive.
felixfoertsch23 has joined #nixos
Arahael has quit [Ping timeout: 246 seconds]
<acowley>
Did cache.nixos.org just go down for anyone else?
iqubic has joined #nixos
<acowley>
Or hydra.nixos.org
<samueldr>
acowley: everything's up here
<iqubic>
Is the spacemacs-theme from melpa available in nixpkgs?
felixfoertsch has quit [Ping timeout: 246 seconds]
<acowley>
Your ~/.emacs.d/elpa should be basically empty
<iqubic>
acowley: I know.
<acowley>
I see. I'm not sure then what you meant by not being sure how to install the theme manually.
Taneb has quit [Quit: I seem to have stopped.]
<acowley>
Oh, I think I get what you meant
<acowley>
So use-package is not finding a thing that's on your load-path, and you have a package-initialize call. Hm.
<iqubic>
Install manually means: Move the theme files to the right directory and then use this to load it: http://dpaste.com/15MJ70Q
<iqubic>
With that being a variable I defined myself, and isn't known by emacs other than in that one exact spot.
<acowley>
Well that gets back to what I was saying about just using emacsWithPackages. If you want to use your own non-nix installation of a package, take spacemacs-theme out of emacsWithPackages. Having multiple versions of a package on your load-path can lead to weirdness
<acowley>
(weirdness being a mixture of definitions from the two places if not more immediately obvious errors)
<{^_^}>
[nixpkgs] @lopsided98 opened pull request #68335 → jemalloc450: disable transparent huge pages on ARM → https://git.io/JeJdw
<acowley>
I would expect you to just need the (load-theme 'spacemacs-theme t) line if you have spacemacs-theme in your emacsWithPackages line. That use-package is raising an error is troubling, though.
<acowley>
I need to step away for a bit, I'm afraid
iqubic` has joined #nixos
<iqubic`>
Also, I have '(setq use-package-always-ensure nil)' in my config. So all use-package is doing is looking for the package on my load path. It isn't actually installing anything at all.
drakonis has quit [Quit: WeeChat 2.4]
<iqubic`>
I'm using Nix to install the packages and use-package to configure it.
iqubic has quit [Ping timeout: 264 seconds]
Arahael has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justanotheruser has quit [Ping timeout: 268 seconds]
<mac10688>
I'm a little confused. I want to run mysql in a nixos-container and I have one configured and running. What do I need to do to connect to it from the container's host? i tried running mysql -h <ip of container> -u root -p and it says it can't find the container
domogled has joined #nixos
<mac10688>
I feel like i'm missing some networking component but I don't know
<mac10688>
or maybe the ip address isn't the same as a hostname
<{^_^}>
[nixpkgs] @Mic92 merged pull request #68335 → jemalloc450: disable transparent huge pages on ARM → https://git.io/JeJdw
nexgen3 has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 246 seconds]
emptyfl4sk has joined #nixos
<tobiasBora>
Hello,
<tobiasBora>
I'm trying to install texlive (LaTeX) on a xubuntu, so I tried "nix-env -iA nixpkgs.texlive". After few hours of download, I have an error concerning priority:
<tobiasBora>
error: packages '/nix/store/4qs62bwh5s3pp2jfg6c5grmphal822xr-texlive-combined-medium-2018/bin/mktexlsr' and '/nix/store/2v0qcli6ax5aal77wy3kq9a0ykvyhprc-texlive-combined-context-2018/bin/mktexlsr' have the same priority 5; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the priority of one of the conflicting packages (0 being the highest priority)
<tobiasBora>
I tried something like: nix-env --set-flag priority 4 texlive-combined-context-2018
<tobiasBora>
but I have an error "error: selector 'texlive-combined-context-2018' matches no derivations"
<tobiasBora>
I tried to include /nix/store/hash, just hash... none work
gxt has quit [Ping timeout: 260 seconds]
<teto>
INSTALLED_PKGNAME should be sthg like nixpkgs.texlive, the attribute name
emptyfl4sk has quit [Ping timeout: 268 seconds]
polman has quit [Ping timeout: 245 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chiefgoat has quit [Quit: ZNC 1.7.5-rc1 - https://znc.in]
<{^_^}>
[nixpkgs] @FRidh pushed commit from @andir to staging « pythonPackages.pyopenssl: add missing six dependency »: https://git.io/JekY3
Zer0xp has joined #nixos
chiefgoat has joined #nixos
emptyfl4sk has joined #nixos
nexgen2 has quit [Ping timeout: 245 seconds]
t58 has joined #nixos
zupo has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
emptyfl4sk has quit [Ping timeout: 245 seconds]
aveltras has joined #nixos
fendor has quit [Ping timeout: 245 seconds]
<aveltras>
has anyone already tried to setup a nix cache and encountered error a permission error on the private key even if it is set to 777 ?
zupo has quit [Ping timeout: 245 seconds]
dominicusin[m] has joined #nixos
<tobiasBora>
teto: interesting, thanks
abbiya has quit [Quit: abbiya]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Remote host closed the connection]
<aveltras>
found the issue, seems putting the secretkey in my user directory is not a good idea, used the /var directory as in the wiki
orivej has quit [Ping timeout: 245 seconds]
<sphalerite>
aveltras: private keys should never be world-readable!
<aveltras>
sphalerite: ye i know, was just trying to make it work first :) i'm only using it between my two home computers to avoid downloading updates twice
dasj19 has joined #nixos
<cyris212>
Is there a trick to install haskell packages through cabal with C dependencies?
orivej has joined #nixos
<{^_^}>
[nixpkgs] @dasj19 closed pull request #67181 → nixos/xserver: refactor/fix xml tags for keyboard layout overrides → https://git.io/fjbo8
<cyris212>
Currently i'm struggeling with `cabal v2-install wreq`. It always results in "can't load .so/.DLL for: libz.so"
<__monty__>
cyris212: What are you trying to do? You shouldn't usually install development dependencies into your environment.
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JekSB
tmaekawa has quit [Quit: tmaekawa]
veske has joined #nixos
<evanjs>
*whistles innocently as he uses cargo-install from a shell with openssl.dev and pkgconfig*
evanjs- has joined #nixos
cfricke has joined #nixos
<evanjs>
Omg that is such an inconvenient name for irc
sigmundv has joined #nixos
<Shell>
evanjs: oh, I just fixed carnix a couple of nights ago so it actually works with a large chunk of the current Rust ecosystem, patches will be available shortly. :)
<Shell>
carnix install would be a cool command to have too o.o
<evanjs>
Shell: oooo sweet! And yeah no kidding. Though I know I should probably just write an expression...
<ben>
Shell: yay
vika_nezrimaya has quit [Quit: ERC (IRC client for Emacs 26.3)]
<cyris212>
Tried to set "pkgconfig-depends: zlib" first (which failed) and then splitted "pkgs.zlib" into "pkgs.zlib.out" and "pkgs.zlib.dev" which also failed.
justanotheruser has joined #nixos
<{^_^}>
[nixpkgs] @nlewo opened pull request #68355 → skydive: remove it from nixpkgs → https://git.io/JeLYD
<ddima>
There is this simple and small PR to nix that could improve UX a little bit, especially for newcomers, that has been hanging for quite a while: https://github.com/NixOS/nix/pull/2338 - does anyone know whom to poke or how to help this get merged?
<{^_^}>
nix#2338 (by bobvanderlinden, 1 year ago, open): mention `nix-store --query --roots` when a path cannot be deleted
evanjs^ has quit [Read error: Connection reset by peer]
evanjs^ has joined #nixos
evanjs| has quit [Ping timeout: 268 seconds]
ddellacosta has joined #nixos
<__monty__>
cyris212: 👍 Knew ghcWithPackages would be the solution : >
__monty__ has quit [Quit: leaving]
<manveru>
pemeunier: hey, is there any kind of usage help for `carnix generate-crates-io`? it seems to wait on some input if i just run it without argument, and i'm not sure what the argument is supposed to be
<eraserhd>
I have a simple C program that builds and tests run fine, but if I try to build it within a release.nix, it's unicode tests fail. I'm setting LANG and LC_ALL in the test derivation. Am I missing some dependency?
rsoeldner has quit [Remote host closed the connection]
johnny101 has quit [Quit: Konversation terminated!]
<ivegotasthma>
ivegotasthma++
<{^_^}>
ivegotasthma's karma got decreased to -1
<ivegotasthma>
:(
<aanderse>
lol
<ivegotasthma>
ivegotasthma--
<sphalerite>
ivegotasthma++
<aveltras>
is there a way to add a binary cache and not having to wait 60 seconds when it's offline for other binary caches to take its place ?
<{^_^}>
ivegotasthma's karma got increased to 0
abcrawf has quit [Read error: Connection reset by peer]
<ivegotasthma>
sphalerite++
<{^_^}>
sphalerite's karma got increased to 66
<sphalerite>
aveltras: have a local HTTP server proxying it with a shorter timeout :p
hoijui has quit [Ping timeout: 268 seconds]
<manveru>
pemeunier: so... i figured out how to turn on debugging, and that shows `target = "cfg(target_arch = \"wasm32\")"` and `target = "cfg(target_feature = \"atomics\")` before exiting
<aveltras>
sphalerite: hmm i wanted to avoid setting up nginx just for this, is there a way to add a binary cache on the command line ? without "removing" all the ones set up in configuration.nix ? i'd like to use this feature so that i can use my other computer binary cache when it's up and not seeing a timeout when it's not
kenshinCH has joined #nixos
emptyfl4sk has joined #nixos
__monty__ has joined #nixos
<aveltras>
forget what i said, i'll hack something with aliases
<codedmart>
Any pointers on getting an external monitor working with nixos? I have a 2015 Macbook Pro. It has a integrated Intel and dedicated ATI. I can get the laptop monitor working fine or the External working, but not both yet.
<codedmart>
If one is working the other says disconnected when I check xrandr.
<ivegotasthma>
what's your IDE?
asymmetric has quit [Ping timeout: 245 seconds]
<codedmart>
I have `videoDrivers = [ "i915" "ati" "cirrus" "vesa" "vmware" "modesettings" ];`
__monty__ has quit [Quit: Restarting irssi for sasl-ification]
emptyfl4sk has joined #nixos
<codedmart>
Where do I find xorg logs in nixos?
<sorbits>
I’m using nixpkgs on macOS: Is there any way to avoid it creating ~/.nix-profile/etc/profile.d/nix-daemon.sh?
sorbits is now known as allan
<symphorien>
it depends on your display manager, codedmart
<symphorien>
lightdm puts them in /var/log/[xX]-[0-9].log
asymptotically has quit [Remote host closed the connection]
<allan>
I ask because I would like to source ~/.nix-profile/etc/profile.d/*.sh in my ~/.bash_profile so the presence of this nix-daemon.sh file is a problem
<codedmart>
I also have a xrandrHeads section. So I am not sure why the dual monitors is not working. It works fine on my other macbook pro, but that only has a single graphics card.
<allan>
(I have to take extra steps to skip this file, which seems wrong)
<codedmart>
symphorien: I use gdm
<symphorien>
no idea then
ddellacosta has quit [Ping timeout: 258 seconds]
emptyfl4sk has quit [Ping timeout: 245 seconds]
<worldofpeace>
codedmart: I think it should all be in the journal then
<hyperfekt>
Is there a way to put the result of a distributed build into S3 directly from the builder instead of downloading it to the machine that orchestrated the build?
<user___>
Is there a way for me to use something like users.users.user.home inside of a services.mpd?
justanotheruser has joined #nixos
aanderse has joined #nixos
Soo_Slow has joined #nixos
<Ilya_G>
Would like some help on creating a VMWare virtual machine using NixOS, please.
<Ilya_G>
I have spent some time going over Nix and Nix Pills tutorials, but I can not make a link to creating actual VM and pulling desired packages into it.
<{^_^}>
[nixpkgs] @disassembler pushed 0 commits to refs/tags/19.09-beta: https://git.io/JetVP
<drakonis>
a vmware virtual machine?
<drakonis>
isnt qemu the proper option?
<Ilya_G>
@drakonis Yes if possible
<Soo_Slow>
hello. Lets say, I wanna use nix package manager in games installation script in order to have ability to solve dependencies on all distros without sudo/root access. Is it good idea?
<Ilya_G>
I am a noob so idk.
<Ilya_G>
can I bother you in DM to just give me a basic insight please?
ContainsLiquid has left #nixos [#nixos]
<{^_^}>
[nixpkgs] @domenkozar merged pull request #58715 → Bump patchelf and patchelfUnstable to 0.10 → https://git.io/fjIJz
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb>
user___: Yes, config.users.users.user.home
<srhb>
user___: You may have to add config as an argument to your configuration module.
noudle has joined #nixos
<hyperfekt>
Soo_Slow: Unless you create a virtual filesystem like Flatpak and Snap do, your users would have to have the Nix package manager installed.
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to release-19.09: https://git.io/Jetjo
<fendor>
can I add a symlink to an executable in the nix store that wont be garbage collected until the symlink is deleted?
<Soo_Slow>
symphorien, well, then I ll just add it as installation dependency. But after initial setup, root isnt required, right? You can install packages as user without sudo and stuff, right?
<symphorien>
yes
<symphorien>
Soo_Slow: I don't know exactly what you plan to do, but if I were you I would provide a shell.nix file with all the dependencies, and then tell people to 1/ install nix 2/ run nix-shell 3/ run the build script inside the shell
<{^_^}>
[nixpkgs] @disassembler pushed to master « 20.03 is Markhor »: https://git.io/Jeqfe
slavfox has joined #nixos
<Soo_Slow>
symphorien, but everything aside from step 1 doesnt require root, as far as I understand
<symphorien>
yes
<Soo_Slow>
what s shell.nix, by the way?
<symphorien>
like default.nix but for nix-shell
<Soo_Slow>
and what s default.nix?
evanjs- has joined #nixos
<symphorien>
if you don't provide an argument for nix-shell, it will implicitely read this file
<{^_^}>
[nixpkgs] @worldofpeace opened pull request #68363 → nixos/xterm: stateVersion disable by default → https://git.io/Jeq2c
drakonis has quit [Ping timeout: 250 seconds]
Zer0xp has joined #nixos
schjetne has joined #nixos
emptyflask has quit [Ping timeout: 245 seconds]
evanjs- has joined #nixos
emptyfl4sk has joined #nixos
<ekleog>
Profpatsch: looks like the 3.10 bump missed 19.09 by ~15min :'( that said, the only breaking change should, if I check the changelog correctly, be the python 3.2 & 3.3 drop, which is anyway not supported by nixpkgs, so I think we should backport to 19.09 so it gets all the bugfixes… and you'
<{^_^}>
[nixpkgs] @aanderse opened pull request #68365 → nixos/zabbixWeb: fix a string reference as well as the phpfpm socket path → https://git.io/Jeq2S
__monty__ has quit [Quit: leaving]
__monty__ has joined #nixos
__monty__ has quit [Client Quit]
__monty__ has joined #nixos
emptyfl4sk has joined #nixos
__monty__ has quit [Client Quit]
laika___ has joined #nixos
__monty__ has joined #nixos
<{^_^}>
[nixpkgs] @veprbl merged pull request #68159 → ipfs: 0.4.21 -> 0.4.22, use Go 1.12 → https://git.io/fjjG4
justanotheruser has quit [Ping timeout: 252 seconds]
gyroninja has quit [Ping timeout: 245 seconds]
<Mic92>
Izorkin: how much closure size would we add, if we just enable nftables compatibility by default for iptables?
<Mic92>
ah we can't because of the symlinks
nexgen2 has quit [Quit: Leaving]
<codedmart>
Can I do if/else in stack yaml file for nixos? I need nix enabled in our work stack.yaml, but no one else I work with uses nix.
<clever>
codedmart: i think your only real option is to set it in ~/.stack/something
<clever>
codedmart: yeah, i have that in ~/.stack/config.yaml
<hpfr[m]>
I updated my Nix channels and my .config/fontconfig/fonts.conf seems to have stopped applying. What should I test?
knupfer has quit [Remote host closed the connection]
justanotheruser has joined #nixos
Ariakenom has quit [Ping timeout: 245 seconds]
<__monty__>
clever: Just pinging to inform you I have a PR on toxvpn for mac compat.
Myhlamaeus1 has joined #nixos
<clever>
*looks*
<clever>
__monty__: ahhh, that would explain the problems
gyroninja has joined #nixos
dermetfan has joined #nixos
<__monty__>
clever: Jep, working nicely now. Probably shouldn't be hardcoded to tun0 though. (Issue about the two machines on my LAN not connecting still exists.)
ixxie has joined #nixos
<clever>
__monty__: commented and merged
<Izorkin>
Mic92: enable iptables-nft to default?
drakonis has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
sigmundv has quit [Ping timeout: 268 seconds]
aveltras has quit [Quit: Connection closed for inactivity]
Myhlamaeus1 has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
FRidh2 has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
Soo_Slow has quit [Remote host closed the connection]
<hpfr[m]>
So I did some digging in an old generation where my fonts.conf was applying, and 50-user.conf is showing up in both fine. However, on the old version, there are 209 items in /etc/fonts/conf.d/ whereas the new one has like 20. What changed? This is confusing me
<{^_^}>
[nixpkgs] @sorbits opened pull request #68366 → Install git’s bash completion so that it is loaded on demand → https://git.io/JeqaN
<hpfr[m]>
No recent commits changed fontconfig defaults
<eylusion>
this is all very much out of my wheelhouse, and I hate to ask a stupid question, but the minecraft launcher requires libstdc++.so.6, and I'm having difficulty getting that added to this system, is there an easy way to do that?
fendor has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
alex`` has quit [Ping timeout: 244 seconds]
<Ilya_G>
Folks I keep getting this error while building a qcow2 image using nixos-generate:
<Ilya_G>
building '/nix/store/kvsn54hlnn0y5i1jfvr9slh0d057qyc1-closure-info.drv'...
<Ilya_G>
error: a 'x86_64-linux' with features {kvm} is required to build '/nix/store/02vqmq7lknz31gc5yx22qnvlfdzmx1pf-nixos-disk-image.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, nixos-test}
<Ilya_G>
clever: does it mean i need to enable QEMU host on my MacOS and then map /dev/kvm or there would actually be some sort of configuration in Dockerfile or docker-compose.yml?
<clever>
Ilya_G: macos changes everything
<clever>
Ilya_G: it wont work at all on a mac
<Ilya_G>
doesn't it always LD
<clever>
Ilya_G: technically, docker doesnt work on a mac, at all
<clever>
Ilya_G: the package is running linux in a VM for you, and then using the linux docket!
<clever>
docker*
<Ilya_G>
I think we have a different definition of "work" :)
<clever>
Ilya_G: but you cant use a vm in a vm, so qemu will never work for you
<clever>
your only option is to get a real linux host, to run the build
<drakonis>
nested vms needs specific hardware
<clever>
or lie to nix about kvm support, and let the build performance suffer
<drakonis>
needs to be supported actually
<drakonis>
macs cant do it though
<Ilya_G>
I don't terribly care about performance ATM I need it to just GSD
<clever>
Ilya_G: one min
fusion809 has quit [Remote host closed the connection]
<clever>
2019-09-09 14:55:57 < Ilya_G> error: a 'x86_64-linux' with features {kvm} is required to build '/nix/store/02vqmq7lknz31gc5yx22qnvlfdzmx1pf-nixos-disk-image.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, nixos-test}
<clever>
Ilya_G: edit /etc/nix/nix.conf to have the middle line i just pasted above
<clever>
within the docker container
polman has joined #nixos
<clever>
then it will think it has kvm support, and try the build
Ariakenom has quit [Remote host closed the connection]
npmccallum has joined #nixos
<clever>
and the shell script its using will instead not use kvm, if /dev/kvm doesnt exist
<eylusion>
clever: it appears all of the other ELF's within minecraft would need to be patched as well, such as the ones for the lightweight java game library and the such, should it be my assumption this is a rabbit hole I don't want to go down?
szicari has quit [Ping timeout: 252 seconds]
<clever>
eylusion: you may want to look at the existing minecraft package in nixpkgs, and copy that
<clever>
eylusion: this work has already been done 3 or 4 times
shibboleth has quit [Quit: shibboleth]
<sphalerite>
clever: I meant more of a code review, if you have the time. I can tell it looks good overall already :p
<eylusion>
clever: ya, I only asked because I was unable to get that derivation working.
<clever>
sphalerite: i skimmed over it, and it looks good at a glance
<iqubic>
so, I notices that nixpkgs has several packages that offer different X11 Mouse Cursors. Anyone know how to actually use those?
npmccallum has joined #nixos
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
user___ has quit [Ping timeout: 244 seconds]
<ivan>
iqubic: if you have no desktop environment support for them, I think you can put something like this in ~/.Xresources:
<ivan>
Xcursor.theme_core: 1
<ivan>
Xcursor.size: 42
<ivan>
Xcursor.theme: Vanilla-DMZ
<iqubic>
Nice.
<{^_^}>
[nixpkgs] @adisbladis opened pull request #68371 → nixos/xterm: Replace by xsession → https://git.io/Jeqwz
<ivan>
`xrdb` can load in that file if you don't want to restart Xorg
<averell>
after a recent (nixpkgs-master) update xmonad fails to start for me with "connectSession: DBUS_SESSION_BUS_ADDRESS is missing or invalid.". Anyone have any ideas what changed/broke?
<iqubic>
How would I go about finding the name of the theme that each pacakge provides?
<eylusion>
sphalerite: that black magic sorcery worked like a charm, thank you
Zer0xp has quit [Ping timeout: 252 seconds]
<ivan>
iqubic: I don't know, I would recommend playing with cursor themes in xfce4 or plasma5
alex`` has quit [Ping timeout: 268 seconds]
<iqubic>
I don't have either of those installed right now.
<iqubic>
I use EXWM.
hoijui has quit [Ping timeout: 245 seconds]
<ivan>
iqubic: looking at the path /nix/store/k3kj15bzf9xi2capvc325p6kk22zd85y-vanilla-dmz-0.4.4/share/icons/Vanilla-DMZ I suspect the .theme: refers to that directory name after icons/
<ivan>
sometimes it's also apparent in the nixpkgs source for that package
alex``` has joined #nixos
ddellacosta has joined #nixos
<symphorien>
You can use xfce with i3 so maybe it works with exwm as well, iqubic
<iqubic>
It does
DariusTheMed has joined #nixos
parseval has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lopsided98 has quit [Quit: Disconnected]
lopsided98 has joined #nixos
dasj19 has quit [Quit: dasj19]
<judson_>
I just ran across this construction and I don't know how to feel about it: {...}
<judson_>
Rather: don't know what it means
emptyfl4sk has quit [Ping timeout: 244 seconds]
lopsided98 has quit [Client Quit]
ddellacosta has quit [Ping timeout: 245 seconds]
selfsymmetric-mu has joined #nixos
lopsided98 has joined #nixos
<judson_>
Oh, it's a function argument. "I need a set here, but I don't care about it"
<judson_>
Thanks everyone!
<judson_>
everyone++
<srhb>
judson_: Specifically it's an "argset"
szicari has joined #nixos
ddellacosta has joined #nixos
<srhb>
judson_: Or a function argument that's an attrset -- in this case one that can have any or no keys in it.
zupo_ has joined #nixos
<srhb>
Funny names for funny things..
<judson_>
"argset" does not appear in the Nix manual.
<srhb>
Does it not?
<srhb>
Maybe it went out of fashion :-P
<srhb>
Could swear it used to be a thing though..
<judson_>
I'm used to {x, y, ...}, but somehow {...} didn't register
<srhb>
Oh, I see it's just called an "argument set"
<srhb>
Maybe I made up argset.
<srhb>
Sorry :-)
<srhb>
judson_: Ah!
vesper11 has quit [Ping timeout: 245 seconds]
<judson_>
And in this case, the function is foo: {...}:
eylusion has quit [Quit: leaving]
wildtrees_ has joined #nixos
wildtrees_ has quit [Max SendQ exceeded]
alex```` has joined #nixos
wildtrees has quit [Ping timeout: 244 seconds]
wildtrees_ has joined #nixos
Ariakenom has joined #nixos
alex``` has quit [Ping timeout: 244 seconds]
o1lo01ol1o has joined #nixos
gxt has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
civodul has joined #nixos
casaca has quit [Ping timeout: 258 seconds]
casaca has joined #nixos
<{^_^}>
[nixpkgs] @obadz opened pull request #68372 → citrix-receiver: decomission in favor of citrix-workspace. → https://git.io/JeqrV
knupfer has joined #nixos
endformationage has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @nikitavoloboev opened pull request #68373 → wifi-password: init at 0.1.0 → https://git.io/Jeqrd
andi- has quit [Remote host closed the connection]
alex`` has quit [Quit: WeeChat 2.5]
alex`` has joined #nixos
syd has joined #nixos
<syd>
Hi peeps
alex``` has joined #nixos
<syd>
I am feeling really stupid about something little that I want to configure
vesper11 has joined #nixos
<__monty__>
,ask syd
<{^_^}>
syd: Just ask your question. It's the best way to know if anybody can help. Or look at other ways of getting in touch with the Nix community here: https://nixos.wiki/wiki/Get_In_Touch
<syd>
I'm trying to configure a custom 'git' package such that it uses my config file
<syd>
but even if I don't configure anything special and just use `writeScriptBin`, `git status` exits with exit code 1
<aw>
This perfectly works with my last 19.03 generation. Now I'm wondering whether it's some regression with 19.09 or has to do with cryptsetup 2.0 vs. 2.1…
<ivan>
try without that :sha256?
<aw>
Ah.
<aw>
Oh.
<aw>
Works.
<aw>
Ah, new header format. I see…
<aw>
So I'll have an educational look into the cryptsetup changelog, I guess.
<aw>
ivan: Thanks!
<alex```>
averell: how to change the default substituter?
<averell>
also you can add --option substituters to your rebuild, i think, if you want to try the other cache
<alex```>
I have do do that for each dl I'm seeing waiting in the log?
<averell>
well, either you add them manually or they get fetched automatically, yeah. maybe you should debug what is wrong with your network, if manual download works.
<symphorien>
Yaniel: the nix equivalent to bash's $out is (placeholder "out")
<codedmart>
How do others solve issues with npm for work projects. For instance we use npm for a number of packages. One package for instance `purescript` failed to install with npm on nixos. I am the only dev using nixos. Do you use node2nix for these cases?
syd has quit [Remote host closed the connection]
<averell>
alex```: subtituters is missing, but otherwise yes, try it
<Yaniel>
in my experience placeholders are not available in nixpkgs yet
<Yaniel>
anyway this is in a bash script
<Yaniel>
(preFixup)
<{^_^}>
[nixpkgs] @worldofpeace pushed to master « fwupd: add setuptools for python »: https://git.io/Jeqo0
cfricke has quit [Quit: WeeChat 2.6]
<symphorien>
codedmart: it seems that purescript is in nixpkgs
<symphorien>
Yaniel: they are now, I think
<codedmart>
symphorien: It is and I have it installed. But my work defines it in a package.json for npm so we all have the same version.
<codedmart>
So I can't remove it from the package.json since others rely on that.
<codedmart>
I am just trying to figure out workflows around these issues.
alex``` has quit [Quit: WeeChat 2.5]
<symphorien>
What about --suffix LD_LIBRARY_PATH : "$out/lib:/run/opengl-driver/lib:${some_dep}/lib"
<{^_^}>
[nixpkgs] @worldofpeace pushed to release-19.09 « fwupd: add setuptools for python »: https://git.io/Jeqoa
dasj19 has quit [Quit: dasj19]
<symphorien>
Yaniel: ^
waleee-cl has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
<codedmart>
I could really use some pointers as to how I can use my works setups within nixos? We have a mono repo with various npm dependecies depending on folder. So we just use npm install now. I am the only one trying to use nixos so I can't really change the workflow for others.
<jlv>
it without waiting for it to be merged or adding a new nix-channel. I think there is something I can do with overlays maybe? But it's not very clear to me.
fendor_ has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
<alexarice[m]>
jlv: I like to use an overlay in that sort of situation
drakonis has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.4]
<jlv>
alexarice[m]: is there a quick tutorial you could recommend? I understand the theory of overlays, but I'm not sure how to use one in practice. Right now, I have a directory with my local copy of the nixpkgs repo, where I do my work on nixpkgs and make pull requests. I have another directory with my local configuration, where I do my system
<jlv>
configuration and run a simple script to copy things into place and activate the new configuration. I'm just now sure how to put these two together so I can get my changes from nixpkgs into an overlay and in my configuration.
Ilya_G has quit [Remote host closed the connection]
Ilya_G has joined #nixos
Myhlamaeus1 has quit [Read error: Connection reset by peer]
mkaito_ has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<alexarice[m]>
I should really split up my dotfiles
<alexarice[m]>
they are such a mess
Ilya_G has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @d-goldin opened pull request #68387 → libressl: fixing nc for version>=2.9 → https://git.io/Jeq6D
growpotkin has joined #nixos
<jlv>
alexarice: That helps. Right now, I have each of my additions to nixpkgs in a different branch. It looks like, if I added an overlay like you, I would need a separate directory for each branch, which could get big, given the size of nixpkgs.
orbekk has quit [Quit: WeeChat 2.4]
orbekk has joined #nixos
<alexarice[m]>
jlv: yeah it is a pain
<alexarice[m]>
I have a tonne of copies of nixpkgs on my laptop
<alexarice[m]>
you could cherry pick them into one branch
<alexarice[m]>
or import them from url instead of locally
<alexarice[m]>
best thing about getting stuff merged tbh
<jlv>
alexarice[m]: How would I import just the package I want to add in an overlay from url? Grabbing the whole nixpkgs from url seems very inefficient.
<alexarice[m]>
I'm not sure you can
<alexarice[m]>
You could also just copy the file you have added from each branch and call it with `pkgs.callPackage` in your configuration
<jlv>
Hmm, sounds like a merged branch is the best option then, like a my-master branch.
<jlv>
I was actually trying something like that (`pkgs.callPackage`) but vimPlugins has some weird requirements
<alexarice[m]>
the other problem is that when they get behind master you have a load of extra dependencies on your system
erasmas has quit [Quit: leaving]
<alexarice[m]>
ah vim plugins could be more difficult
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @nikitavoloboev to master « wifi-password: init at 0.1.0 (#68373) »: https://git.io/Jeq6p
<jlv>
It seems like this is still an unsolved problem with nixos. Is there any more work being done to make this easier?
jtojnar has quit [Quit: jtojnar]
<alexarice[m]>
I think flakes help to address this problem
<alexarice[m]>
maybe not with vim plugins
<alexarice[m]>
I know little about vim
jtojnar has joined #nixos
<alexarice[m]>
I don't see why something similar to `callPackage` wouldn't work though
<jlv>
Right now, I have a vim plugin packaged based on the generated.nix for vimPlugins. I am getting that it cannot find 'deoplete.base' (it's a deoplete plugin). I'm not sure if the problem is my .nix expression, or something else. The plugin looks simple enough and similar enough to existing plugins that I suspect my .nix expression is wrong.