<niso>
glittershark: well ToxicFrog mentioned mavenix before - maybe you could give that a try
<glittershark>
yeah
<niso>
glittershark: or switch to gradle (migration should be automatic) and try it with them
<glittershark>
niso: this isn't even using maven directly, it's using it as a library via clojure's tools.deps
<glittershark>
fresheyeball has joined #nixos
<fresheyeball>
so if I cp the contents of one drv into $out
<niso>
glittershark: or write a generic nix expression which fetches all repos inside structured text (e.g. json or xml) and generalize 3ed party packageing tools for nix! :D
<fresheyeball>
I can't cp to overwrite one of those files
<fresheyeball>
why?
<fresheyeball>
I get permission denied
<glittershark>
niso: :'(
<glittershark>
all I wanted to do is package a jar into a docker image
qrnteen has quit [Quit: Leaving]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<niso>
fresheyeball: well, which permissions are set? (you can check with "ls -la <path-to-file>")
alp has quit [Ping timeout: 265 seconds]
thelounge799 has joined #nixos
<Henson>
hi everyone, I have a system that has some caches defined in nix.binaryCaches but they are no longer accessible. I am unable to use nixos-rebuild to rebuild the configuration to remove them, because it's trying to access them to do the rebuild. How do I get out of this problem?
thelounge79 has quit [Ping timeout: 246 seconds]
thelounge799 is now known as thelounge79
<niso>
Henson: try running the build with --option build-use-substitutes false
wozeparrot has quit [Quit: Connection closed for inactivity]
hlisp has quit [Remote host closed the connection]
hlolli_ has joined #nixos
reallymemorable has joined #nixos
eoli3n_ has quit [Quit: WeeChat 2.8]
hlolli has quit [Ping timeout: 246 seconds]
hlisp has joined #nixos
butcher_ has quit [Quit: Leaving]
butcher_ has joined #nixos
butcher_ has quit [Remote host closed the connection]
butcher_ has joined #nixos
butcher_ has quit [Remote host closed the connection]
butcher has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
austin has joined #nixos
<austin>
sup
<austin>
is this channel ded or somethin?
pjt_014 has joined #nixos
<simpson>
No, just quiet.
Guest35509 has quit [Ping timeout: 260 seconds]
<austin>
oh ok
Wulfsta has joined #nixos
<simpson>
Thousand-person channels usually have *some* folks somewhere idling.
<simpson>
Also hey, we got big. Chonky channel.
hlisp has quit [Ping timeout: 260 seconds]
<MichaelRaskin>
Right now is one of the most popular times in Europe for actually sleeping though.
ambro718 has quit [Ping timeout: 260 seconds]
<niso>
MichaelRaskin: lies
<MichaelRaskin>
Hmm, when is more popular?
<MichaelRaskin>
Maybe an hour later
<austin>
whats probably the biggest channel in freenode?
<austin>
and btw can anyone answer my question on what DeepIRC is about
<gchristensen>
seems pretty off topic, sorry austin -- maybe #freenode can help
<austin>
ok
<hexa->
error: Package ‘p7zip-16.02’ in /etc/nixos/nixpkgs/pkgs/tools/archivers/p7zip/default.nix:57 is marked as insecure, refusing to evaluate.
<hexa->
how can I check why my system config wants p7zip?
<gchristensen>
will --show-trace show?
<hexa->
like I checked nix-store --tree for my current generation and it only showed binwalk, and I commented that
<hexa->
let me check
<hexa->
while evaluating the attribute 'nativeBuildInputs' of the derivation 'pycharm-community-2020.1' at /etc/nixos/nixpkgs/pkgs/applications/editors/jetbrains/common.nix:15:10:
<hexa->
got it
<gchristensen>
cool
<hexa->
thx
<gchristensen>
yep!
<hexa->
i rarely got anything useful from a trace, so there's a surprise here :)
<{^_^}>
[nix-pills] @jonringer merged pull request #138 → change ensureDir to mkdir -p in example → https://git.io/Jf3qE
<{^_^}>
[nix-pills] @jonringer pushed commit from @wamserma to master « change ensureDir to mkdir -p in example »: https://git.io/Jf3ci
hlisp has joined #nixos
<austin>
guys how do i get my menu bar back in hexchat
<{^_^}>
[nixpkgs] @jonringer pushed 11 commits to release-20.03: https://git.io/Jf3cH
<Wulfsta>
The python library that I'm trying to build has a setup.cfg with no setup.py, but our setuptools should handle this from the discussion yesterday
<romanandreg>
Hello, quick question... how do I install virtualbox drivers on a non-NixOS host?
<romanandreg>
doing `nix-shell -p virtualbox` doesn't seem to be enough
markus1199 has joined #nixos
<romanandreg>
when running the UI, I get errors about the driver not being available, and I don't know how to install them so that I can later modprob them
<clever>
romanandreg: the drivers have to match the kernel version, which means you have to be running a kernel from nix as well
<simpson>
You'll need to follow the instructions for the package manager or distro which is managing your kernel; you need a kernel module.
<romanandreg>
clever: oh, so... I don't think I'm doing that on a nixpkgs install eh?
<romanandreg>
can you use the kernel from /nix/store rather than the one from xubuntu?
hlolli__ has joined #nixos
<clever>
romanandreg: the kernel is usually managed by the distro's package manager
<romanandreg>
yep
<romanandreg>
makes sense
<romanandreg>
ok, I'll dig the virtualbox install from ubuntu then, thank you very much for the insight clever
<cole-h>
samueldr: infinisil hope you don't mind being pinged, because I'm about to ping you on GitHub as well >:D
<samueldr>
you *too* suffer from that breakage!
<cole-h>
Enjoy the ping.
<cole-h>
samueldr++ infinisil++
<{^_^}>
infinisil's karma got increased to 278
<{^_^}>
samueldr's karma got increased to 224
<cole-h>
Hmmmmm
<infinisil>
cole-h++
<{^_^}>
cole-h's karma got increased to 36
<cole-h>
That should have been combined....
<Henson>
does anybody have any suggestions doing getting bluetooth working from the command-line? I'm trying to build a Kodi box using NixOS, and am trying to get bluetooth audio to work. On my laptop with KDE it works just fine, but with lightdm and kodi there's no graphical interface, so I'm trying to get it to work with the "bluetoothctl" command. As my regular user it can't even see the bluetooth...
<Henson>
controller, but as root it's having problems with pulseaudio. Any suggestions?
<infinisil>
cole-h: I changed it to not do that for now, was simpler, and won't be confusing for karma spice :P
<cole-h>
infinisil: Oh. Understandable.
<Henson>
I've got blueZFull and pulseaudioFull selectes as the bluetooth and pulseaudio packages, respectively, in configuration.nix
<{^_^}>
[nixpkgs] @bjornfor merged pull request #86527 → directfb: fix build on 32-bit arm with glibc >= 2.28 → https://git.io/Jf38d
<{^_^}>
[nixpkgs] @bjornfor pushed commit from @thefloweringash to master « directfb: fix build on 32-bit arm with glibc >= 2.28 »: https://git.io/Jf3BG
<Raito_Bezarius>
but I know that the nix chans are built on hydra
<Raito_Bezarius>
what I don't understand is why, even when I'm pinning the nixpkgs channels, I'm getting different results
<drakonis>
maybe it isnt available because it hasnt caught up
<Raito_Bezarius>
it *is* available
<Raito_Bezarius>
because I have it on my laptop and I'm following the nixpkgs channel unstable
<drakonis>
i have no idea where this github actions thing came from
hlisp has quit [Ping timeout: 260 seconds]
whatisRT` has joined #nixos
inkbottle has quit [Quit: Konversation terminated!]
ddellacosta has quit [Ping timeout: 258 seconds]
whatisRT` has quit [Ping timeout: 272 seconds]
hlisp has joined #nixos
<fps>
hmm, can i get the x server in nixos autoscale nicely when run as a guest in virtualbox?
<fps>
vboxguest is loaded according to lsmod
jrddunbr-web has joined #nixos
<jrddunbr-web>
hello.
Wulfsta has quit [Ping timeout: 240 seconds]
<jrddunbr-web>
I have a system that does not have a display adapter, it only can communicate over serial. I don't happen to have a serial cable available.. is there any simple way to get it such that I can install NixOS over SSH?
<jrddunbr-web>
I think it will boot a USB thumbdrive by default.
pjt_014 has quit [Read error: Connection reset by peer]
<Setzer22_2>
Hi! I need to install nix with the unstable version of nixpkgs, is there a way I can do that?
<sphalerite>
hyper_ch: wait, are you the author of that sources.list generator?
<Setzer22_2>
To clarify my question: I meant to install nixos, not nix. I'm on a live session and my configuration.nix has some flags active that are only available on the unstable channel.
<energizer>
Setzer22_2: just add the nixos-unstable channel
therealsarcastic has quit [Ping timeout: 265 seconds]
<{^_^}>
[nixpkgs] @Wulfsta reopened pull request #86518 → init meshio at 4.0.12 and init pygmsh at 6.1.1 → https://git.io/Jf3ly
drakonis has quit [Quit: WeeChat 2.8]
Setzer22_2 has quit [Remote host closed the connection]
hlisp has quit [Ping timeout: 256 seconds]
hlisp has joined #nixos
FRidh has joined #nixos
hlisp has quit [Ping timeout: 260 seconds]
sid` has joined #nixos
asheshambasta has joined #nixos
mallox has quit [Ping timeout: 258 seconds]
<sid`>
Hi! I'm trying to make a nix expression for the python package `glfw_py` which depends on the glfw package. However, I always run into errors with ld, which complains that the glfw lib is not found even though I've put it into propagatedBuildInputs.
mallox has joined #nixos
<sid`>
The only way I've found around it is to manually add "${glfw}/lib" to LD_LIBRARY_PATH, but I'm hoping there is a better way
<sid`>
Thank you!
hlisp has joined #nixos
<jluttine>
how to search packages from nixpkgs on command line? i'd like to find the same results as https://nixos.org/nixos/packages.html. i found this cheatsheet https://nixos.wiki/wiki/Cheatsheet but it instructs `nix-env -qaP '.*emacs.*'` which doesn't work similarly. it doesn't find, for instance, python and haskell packages.
eoli3n_ has joined #nixos
hlisp has quit [Ping timeout: 264 seconds]
monsieurp has quit [Quit: Lost terminal]
ericsagnes has quit [Ping timeout: 256 seconds]
<ar>
/22
<{^_^}>
[nixpkgs] @FRidh pushed 209 commits to staging-next: https://git.io/Jf30Y
<{^_^}>
[nixpkgs] @Lassulus pushed commit from @r-ryantm to master « bitcoin-abc: 0.21.3 -> 0.21.5 »: https://git.io/Jf3Ew
Nilgeist has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
Nilgeist has joined #nixos
<{^_^}>
[nixpkgs] @matthiasbeyer opened pull request #86558 → b4: init at 0.4.0 → https://git.io/Jf3E6
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
Bl4ckC0r3 has joined #nixos
Bl4ckC0r3 has left #nixos [#nixos]
ixxie has joined #nixos
therealsarcastic has joined #nixos
mallox has joined #nixos
alp has joined #nixos
therealsarcastic has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @adisbladis merged pull request #86487 → Python: introduce NIX_PYTHONPREFIX in order to set site.PREFIXES (20.03 backport) → https://git.io/Jf3Uk
<{^_^}>
[nixpkgs] @adisbladis pushed 3 commits to staging-20.03: https://git.io/Jf3ED
<{^_^}>
[nixpkgs] @kraem opened pull request #86560 → linux: version bumps (5.6.9 & 5.4.37) → https://git.io/Jf3E5
stree has joined #nixos
dadada_ has joined #nixos
Setzer22_2 has joined #nixos
tobeportable has joined #nixos
hlisp has joined #nixos
<avalenn>
Is there any tool to reformat nix expressions for better human readability ?
<niso>
avalenn: nixpkgs-fmt
<{^_^}>
[nixpkgs] @misuzu opened pull request #86561 → nixos/gitlab-runner: support multiple services → https://git.io/Jf3uv
morgrimm has joined #nixos
<avalenn>
niso: thank you
o1lo01ol1o has joined #nixos
hlisp has quit [Remote host closed the connection]
johnjay has joined #nixos
<Setzer22_2>
When I run "nixos-rebuild switch" on my machine, I'm getting a systemd error restarting wpa_supplicant: Failed to open config file '/etc/wpa_supplicant.conf', error: No such file or directory
<Setzer22_2>
everything seems to work fine after that, but I'd like to know the source of the error, if possible
Setzer22_2 has quit [Remote host closed the connection]
Setzer22_2 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<Setzer22_2>
Also, an unrelated issue: It seems my "services.xserver.layout" setting is ignored, my keyboard always gets back to the us layout after a reboot :S
<rvanlaar>
Hi, I'm a first time nixos user and trying this out. I've created a build.nix file for python38 which installs poetry as well, but I can't use it.
<rvanlaar>
nixos, I meant nixpkgs on ubuntu.
<b42>
eyJhb: it looks valid - are you looking at the right file?:)
<eyJhb>
It is valid, but I need to conform to the new syntax it yells at me with at the bottom :p b42
<b42>
yeah it looks legit wrt the new syntax
o1lo01ol1o has joined #nixos
<eyJhb>
Might work the next boot, I yells about "/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/tasks/encrypted-devices.nix"
<Fare>
I'm trying to understand the calling convention of overlays. In a standalone file overlay, how am I supposed to get to stdenv and other things usually found in pkgs ?
<akamaus>
Hi! Does anybody have an experience of setting up multiseat configuration with Nixos? I'm getting "Read-only filesystem" error when I try attach my second graphics card to new seat using "loginctl attach".
o1lo01ol1o has quit [Ping timeout: 240 seconds]
Guest35509 has joined #nixos
o1lo01ol1o has joined #nixos
<b42>
Fare: afaik it's recommended to use e.g. self.stdenv unless it causes infinite loop, then super.stdenv
hlisp has joined #nixos
makefu has quit [Quit: WeeChat 2.6]
<b42>
eyJhb: oh, that file seems to be using the old syntax in 20.03 but it's fixed in unstable ... might be worth backporting it so it doesn't confuse more people
makefu has joined #nixos
laerling has quit [Quit: leaving]
<{^_^}>
[nixpkgs] @adisbladis pushed commit from @cole-h to master « doas: 6.0 -> 6.6.1 »: https://git.io/Jf3zW
<dxtr>
Hmm, can I disable systemd-udev-trigger.service somehow? I have installed nixos in a parvirtualized environment and systemd-udev-trigger fails with "udevadm[2065]: Failed to scan subsystems: Permission denied"
<waleee-cl>
is it possible to build a custom iso with nvidia (prime) enabled? My feeble attempt with this https://0x0.st/i2q-.nix fails with "error: while setting up the build environment: getting attributes of path '/etc/hosts': No such file or directory"
knupfer has quit [Remote host closed the connection]
<raboof>
does documentation on how to use NixOS (e.g.: how to just run a perl script, rather than how to package it) belong in the nixpkgs manual or the nixos manual? (added it to https://nixos.wiki/wiki/Perl for now ;) )
emilis has joined #nixos
ericsagnes has joined #nixos
therealsarcastic has quit [Ping timeout: 265 seconds]
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
<genevino>
raboof: i'd say that's fine, but you should point out what that "run it with nix-shell -p" thing is about.
<genevino>
raboof: it's equally confusing as the python page on the wiki. :)
<raboof>
genevino: hmm, seems like something that belongs in a manual to me :)
is_null has quit [Read error: Connection reset by peer]
<genevino>
raboof: just my 0.02€, no offense - i use that nix-shell -p approach all the time to run my python stuff, so i was curious what it is about.
<dxtr>
Yes it turns out I have some overlays. Will try disabling them and see what happens
<dxtr>
How do I see what channel I am using?
<evils>
how can i build `wxGTK31 { withGtk2 = false; };` from a local checkout from the commandline? (i'm looking for a command to pass to git bisect) in all-packages.nix wxGTK31 is inheriting GConf from gnome2
<gilligan>
gchristensen, i almost wrote :wave: .. i'm spoiled
<gchristensen>
I often use «emoji».«graphics-format» like wave.bmp, or cat-with-heart-eyes.tif
morgrimm has quit [Ping timeout: 272 seconds]
<bbarker>
tobeportable, interesting, `nixos-rebuild switch --repair` worked! I thought i tried it but I guess I did something else: `nix-store --verify --repair --check-contents`
<{^_^}>
[nixpkgs] @sorki closed pull request #86574 → x264: unset AS for aarch32 as well → https://git.io/Jf3g7
<gilligan>
gchristensen, hah, i'll remember that
therealsarcastic has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
therealsarcastic has quit [Ping timeout: 246 seconds]
hlisp has quit [Ping timeout: 272 seconds]
phreedom has quit [Remote host closed the connection]
vancz has joined #nixos
phreedom has joined #nixos
whyuk has joined #nixos
<whyuk>
How would you start troubleshooting a system that kills itself by removing the current generation upon running nix-collect-garbage (-d)? /nix/var/nix/gcroots/{booted-system,current-system,profiles} are all present and resolving correctly
<vancz>
whyuk: sounds like the current generation isnt getting a GC root?
<clever>
whyuk: it sounds like the current generation isnt even in db.sqlite
<vancz>
so I guess I'd check that
<clever>
vancz: any currently running binary is rooted, via /proc voodoo
<clever>
whyuk: what happens if you `nix-store -qR /run/current-system` ?
<vancz>
Oh hm. clever is that described anywhere?
<whyuk>
It tells me that the path is not valid
<clever>
whyuk: yeah, definitely sounsd like the path is missing from db.sqlite
<clever>
whyuk: is this a new install? how did things get like this?
<whyuk>
I am creating a custom system for one of my home devices. /nix is on a tmpfs, relying on the activation script to populate /nix/var subdirs
o1lo01ol1o has joined #nixos
<whyuk>
I mount the /nix/store from a squashfs
<whyuk>
The system boots and works perfectly
<clever>
whyuk: ah, you need to import a backup of db.sqlite on the first boot
<whyuk>
Ah, I thought only /nix/store was needed I thought the activation script handled everything beneath /nix/var
<whyuk>
I've just booted with /nix/store being zfs receive'ed from the usb, very cool
<clever>
whyuk: this uses the netboot images nixos already contains
<clever>
whyuk: the entire rootfs.squash is held within the initrd, so you dont need any special logic to find it
<clever>
if you nix-build this file, you get a dir with a kernel, initrd, and a partial grub config file
captn3m0 has joined #nixos
<whyuk>
Perhaps that's worth investigating. Currently I've just scripted building the thing from another nixos install. I use the chroot-functionality to "trim" the store before "packaging"
<redkahuna>
Hey all, I an in mac os catalina, i installed nix and remove it and reinstall it and now nix-env don't find any derivation. can someone help me plz ? for ex:
<redkahuna>
nix-env -i gpg
<redkahuna>
error: selector 'gpg' matches no derivations
reallymemorable has quit [Quit: reallymemorable]
<clever>
whyuk: lines 18 and 22 of make-squashfs.nix
<clever>
whyuk: line 18 will generate a directory containing info about a list of store paths, 22 will generate the db.sqlite backup, and 25 will read the list of paths the backup describes
<clever>
whyuk: and storeContents can just be a list containing config.system.build.toplevel
<clever>
whyuk: you could also try the tar tooling instead
<dxtr>
So I'm trying to mount an nfs mount And I get "Failed to mount RPC Pipe File System" so it can't switch to the new configuration *BUT* the nfs mount it still mounted
<clever>
dxtr: did you enable nfs client support?
<dxtr>
How do I enable nfs client support?
<clever>
dxtr: either `boot.supportedFilesystems = [ "nfs" ];` or set the fsType of something in fileSystems.foo to "nfs"
<dxtr>
I set the fsType to nfs
<clever>
then it should just be automatic
hlisp has joined #nixos
<dxtr>
Well, running 'nixos-rebuild switch' fails
<dxtr>
Although the mount point is mounted
<whyuk>
clever: how can I perform what line 18 (of make-squashfs.nix) does either in a chroot or directly in the target configuration.nix?
<dxtr>
And the log says "systemd[1]: Failed to mount RPC Pipe File System." so that's very helpful
<dxtr>
clever: Just FYI. I added systemd.services.rpc-gssd.enable = false;
<dxtr>
And now it works
<clever>
dxtr: ah, simple!
<dxtr>
Yeah
<romildo>
clever, let's say I want to run the xfce test. What commands exactly should I type in the terminal for that purpose? What should be the current directory?
redkahuna has joined #nixos
<dxtr>
rpc-gssd is only used for Kerberos stuff as far as I know
<{^_^}>
[hydra] @gilligan opened pull request #747 → Extend Setup Information → https://git.io/Jf3oA
<maralorn>
Is it usual for Haskell applications in nixos, when they are incompatible with the provided cabal package set, that they get their own small collection of overrides?
vyorkin` has quit [Remote host closed the connection]
<maralorn>
infinisil: One last questions, when there are certain haskell packages that are broken on stable. Is it okay to fix them there or should I fix them on master and then use unstable?
<maralorn>
Because I have a set off working overrides for e.g. ghcide. Maybe I can just upstream them?
<infinisil>
maralorn: What I do: If it's broken on stable, fix it and submit a PR to release-20.03 with it. Then also check if it's broken on the haskell-updates branch in the same way (which gets merged into master), and fix it there too if so
<maralorn>
Okay.
morgrimm has quit [Ping timeout: 260 seconds]
<maralorn>
I wonder if I could have some testing infrastructure for the hackage packages I care about, so that I get a warning, when they are broken.
<maralorn>
Wait, I don‘t need a testing infrastructure. I just need query hydra in the right way.^^
<infinisil>
Some time ago, you could get emails when a package you maintain breaks
<maralorn>
Uh, that sounds nice.
johnjay has joined #nixos
<maralorn>
Do you coincidently know about some Haskell application that actually uses custom overrides so that I can have a look how to do that in nixpkgs?
<das-g[m]>
(I'm entering these commands in an SSH session started with -A.)
orcus has joined #nixos
<clever>
das-g[m]: it may be spawning the ssh from nix-daemon, which breaks the forwarding chain
<das-g[m]>
Ah, pity. I'll create a key then.
<clever>
das-g[m]: NIX_REMOTE=local may force it to stop, but simpler to just make a key
<clever>
das-g[m]: you can also use nix-copy-closure to copy the drv file out of the machine, then nix-build it, and nix-copy-closure the product back out
<srk>
kayg04: I have it in NIX_PATH="nixpkgs=/etc/nixpkgs:nixos-config=/etc/nixos/machines/duck/configuration.nix"
<kayg04>
in one of my installed NixOS servers, echoing $NIXOS_CONFIG results nothing
<srk>
oh for installer, nvm
* srk
<context404>
<dxtr>
Can I tell it to "re-install" a package?
<cole-h>
infinisil: Would this be solved by `"${NIXOS_CONFIG:-}"`, maybe?
<dxtr>
I'd like to completely reinstall postgresql
<infinisil>
kayg04: It should default to /etc/nixos/configuration.nix, so NIXOS_CONFIG shouldn't need to be set at all
<srk>
dxtr: what's the reason?
<infinisil>
cole-h: Possibly, but I'm wondering why this starts happening now when it worked before
<dxtr>
srk: I installed the wrong server version and now I have the old database lying around
<dxtr>
So I'd like to start from a clean slate
<kayg04>
infinisil: it's weird considering I've never come across this error before. Both configuration.nix and hardware-configuration.nix are at their right places.
<srk>
dxtr: you can disable the module, clean-up datadir and enable again
<infinisil>
kayg04: What's the interpreter in the nixos-install script at the top?
<dxtr>
How do I disable the module?
<srk>
dxtr: or skip disabling step, clean-up datadir, start with new version
<srk>
dxtr: not module per se, postgres
<dxtr>
Remove it from my configuration.nix?
<srk>
dxtr: are you using services.postgresql.enable?
<dxtr>
yes
<srk>
dxtr: yeah, via that. but not strictly needed, you can just stop the service and remove the data dir
ixxie has joined #nixos
<dxtr>
alright
<srk>
dxtr: then rebuild with correct pg version and it will recreate it
<srk>
instead of deleting it's probably better to just move old data dir (in case it contains something valuable :))
<sphalerite>
hyper_ch: I used it a number of times in the past, and recognised the domain name earlier when I was looking for some sources.list-related information, and thought "I recognise that!"
whatisRT` is now known as whatisRT
<hyper_ch>
sphalerite: I should update it :)
iassai has joined #nixos
<sphalerite>
hyper_ch: maybe! Or add a link saying "Have you considered using NixOS?" :p
<{^_^}>
[nixos-homepage] @worldofpeace pushed 0 commits to update-nixpkgs-on-cron: https://git.io/Jf3P2
ambro718 has joined #nixos
reallymemorable has quit [Client Quit]
<m1cr0man>
emily: I agree with him that it takes > 30 minutes to figure out, but damn like you really only need like 3 of the tools he mentioned to do everything
akamaus has quit [Ping timeout: 264 seconds]
<betaboon>
clever: thanks. just figured out a solution as well. as the `result` is just starting `qemu-kvm` i can just pass arguments to it ... eg `-m 1024`
<clever>
betaboon: that also works
asbachb has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
akamaus has joined #nixos
mynick has joined #nixos
mynick has quit [Client Quit]
mynick has joined #nixos
piezoid has joined #nixos
mynick has quit [Client Quit]
dadada_ has joined #nixos
slack1256 has quit [Ping timeout: 265 seconds]
splintah has quit [Ping timeout: 272 seconds]
<ixxie>
Anybody here got experience with the Minecraft options?
o1lo01ol1o has quit [Remote host closed the connection]
akamaus has joined #nixos
captn3m0 has quit [Ping timeout: 246 seconds]
reallymemorable has joined #nixos
ddellacosta has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
captn3m0 has joined #nixos
<ixxie>
m1cr0man: any idea if the world is reset if I change the option for game mode from survival to creative?
reallymemorable has quit [Client Quit]
<m1cr0man>
ixxie: It depends on where your world is stored, but in most cases no it won't reset it
o1lo01ol1o has quit [Remote host closed the connection]
<ixxie>
m1cr0man: just stuck to the defaults
<ixxie>
m1cr0man: I'm assuming that will be fine?
<m1cr0man>
ixxie: ok 1 sec I can double check I'd hate to be the one to wipe your world
<m1cr0man>
ixxie: Yeah there's no code that will wipe the world, ever. Did you set services.mincraft-server.declarative to true though? Otherwise changing gamemode won't do anything
lorimer has joined #nixos
endformationage has joined #nixos
<ixxie>
m1cr0man: yes I did
<ixxie>
m1cr0man: thanks for the info :)
<ixxie>
m1cr0man: do you know if this server has any kind of CLI?
<maralorn>
Am I seeing correctly that there hasn‘t been a merge of haskell-updates into master since february 7th?
<cole-h>
You are wrong. One happened just yesterday.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arjen-jonathan has joined #nixos
therealsarcastic has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
<{^_^}>
[hydra] @gilligan opened pull request #748 → Add comment about edolstra/flake-compat → https://git.io/Jf312
teto has quit [Ping timeout: 272 seconds]
redkahuna has joined #nixos
therealsarcastic has quit [Ping timeout: 258 seconds]
ericsagnes has joined #nixos
redkahuna has quit [Ping timeout: 260 seconds]
teto has joined #nixos
plutes has quit [Ping timeout: 256 seconds]
shibboleth has quit [Quit: shibboleth]
plutes has joined #nixos
zebrag has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}>
[nixpkgs] @matthuszagh opened pull request #86602 → pylibftdi: point to correct libusb library → https://git.io/Jf3Mo
redkahuna has joined #nixos
fabianhjr has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
redkahuna has quit [Ping timeout: 246 seconds]
justanotheruser has quit [Ping timeout: 265 seconds]
philr has quit [Ping timeout: 260 seconds]
<m1cr0man>
ixxie: sorry went away. Not by default. You can get the console output with "journalctl -ru minecraft-server" but you can't write to it. Personally I set up the rcon
<ixxie>
m1cr0man: yeah I noticed that.... and found the mcrcon cli for managing the server
<m1cr0man>
ixxie: awesome ok
<m1cr0man>
ixxie: pro tip the way the systemd service is set up, if you /stop your server in-game it will automatically restart.
zupo has joined #nixos
<ixxie>
m1cr0man: well in this case I fully automated my server deployment using github's new CI/CD system and now I am adding some steps to automatically shut off the server, make a safe backup, powerup and the nixos-rebuild with the new config
<m1cr0man>
ixxie: Oh that's awesome. Is that public? I wouldn't mind seeing how you've done it :)
<ixxie>
m1cr0man: backup steps aren't implemented yet... working on that in my local clone atm
<ixxie>
m1cr0man: input appreciated! I'm hoping to make this usable for others too :)
wozeparrot has joined #nixos
<m1cr0man>
ixxie: This is nice :) I have a hetzner dedicated box so I might adapt it for managing the deployment of my own machine too. It does a bit more than just minecraft though ;)
mallox has joined #nixos
akamaus has quit [Ping timeout: 272 seconds]
gustavderdrache has joined #nixos
redkahuna has joined #nixos
<ixxie>
m1cr0man: same story though, push a config and rebuild ^^
<ixxie>
m1cr0man: I goal in the end is to make the thing totally idempotent, so it would create a vm from scratch if it doesn't find, but rebuild an existing one if it does
<evelyn>
hmm I've built a little package using nix-build. how can I force nix-build to rebuild the derivation after I havve e.g. enabled the sandbox?
<Valodim>
is it expected behavior that `nix-build -A linuxPackages` fails complaining about some package that's broken?
<evelyn>
I tried removving ./result and then running nix-collect-garbage but that doesn't seem to do the trick
<Valodim>
I'm getting error: Package ‘cryptodev-linux-1.9-5.4.36’ in /home/valodim/nixpkgs/pkgs/os-specific/linux/cryptodev/default.nix:21 is marked as broken, refusing to evaluate.
<Valodim>
(in the nixpkgs repository)
captn3m0 has quit [Ping timeout: 256 seconds]
<Valodim>
ah, it's linux_latest and linux_4_4 etc. to build the kernel. nvm I guess
therealsarcastic has joined #nixos
<pbogdan>
Valodim: it's also under `linuxPackages.kernel` IIRC
captn3m0 has joined #nixos
<pbogdan>
(if you want just the kernel and not the set of all the modules)
therealsarcastic has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos
redkahuna has joined #nixos
proofofk_ has joined #nixos
<dxtr>
[/etc/tmpfiles.d/nixos.conf:6] Unknown user 'postgres'. <- Interesting
<turlando>
Doing an encrypted install I should encrypt /nix too, not just /, right?
<evils>
turlando, are you putting /nix on a separate partition?
captn3m0 has quit [Ping timeout: 260 seconds]
redkahuna has quit [Ping timeout: 264 seconds]
proofofkeags has quit [Ping timeout: 264 seconds]
<turlando>
evils yes. I'm doing a ZFS install ans I was planning to have /nix on a separate filesystem. I was thinking about encrypting the whole pool or single filesystems
<evils>
how can i build `wxGTK31 { withGtk2 = false; };` from a local checkout from the commandline? (i'm looking for a command to pass to git bisect) in all-packages.nix wxGTK31 is inheriting GConf from gnome2
<cole-h>
nix-build -E '(import ./. {}).wxGTK31.override { withGtk2 = false' }' should work from the root of a nixpkgs checkout
asheshambasta has quit [Ping timeout: 240 seconds]
<Fare>
I tried to build an overlay and it complained about name not being defined, when all my regular packages somehow automatically for name = "${pname}-${version}". What am I missing?
<{^_^}>
[nixpkgs] @NeQuissimus pushed 6 commits to release-20.03: https://git.io/Jf3St
emilis has quit [Read error: Connection reset by peer]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
redkahuna has quit [Ping timeout: 256 seconds]
alp has joined #nixos
akamaus has joined #nixos
AmandaC has quit [Ping timeout: 256 seconds]
zupo has joined #nixos
oborot has joined #nixos
AmandaC has joined #nixos
therealsarcastic has joined #nixos
zupo has quit [Client Quit]
stree has quit [Read error: Connection reset by peer]
stree has joined #nixos
therealsarcastic has quit [Ping timeout: 260 seconds]
<cole-h>
(re-paste for context) adisbladis: I still wonder what you'd like me to do about `configFile` + `extraConfig`, and `sshAgentAuth`, when you have a moment ;^)
<{^_^}>
[nixpkgs] @zimbatm pushed to master « vpsfree-client: init at 0.11.0 (#86046) »: https://git.io/Jf3Sw
<adisbladis>
It existed _long_ before extraConfig/extraRules
<cole-h>
So, basically, backwards compatibility. OK, then I'm in favor of removing it :)
<adisbladis>
So as `doas` does not have the same historical baggage, let's scrap it :)
<cole-h>
+1
<cole-h>
Thanks for digging
thongpv87 has joined #nixos
qrnteen has joined #nixos
<adisbladis>
Np =)
<cole-h>
<3 adisbladis
<{^_^}>
adisbladis's karma got increased to 64
lorimer has quit [Ping timeout: 265 seconds]
<emily>
cole-h: adisbladis: using configFile lets you test the config syntax
<emily>
fwiw
<emily>
so it's not entirely without value
<emily>
in practice there's probably no reason not to just use extraConfig, I guess maybe if you want to override the "permit nopass keepenv root" rule?
romildo has quit [Quit: Leaving]
<cole-h>
"The last matching rule determines the action taken."
<cole-h>
So, one would just need to `deny nopass keepenv root` or something, I guess
thongpv87 has quit [Ping timeout: 246 seconds]
<cole-h>
adisbladis: Just to confirm: ssh stuff works fine for you, yes? One difference between this and sudo is that the sudo module has a "Defaults env_keep+=SSH_AUTH_SOCK" line to allow that for all rules
<cole-h>
I could just automatically add SSH_AUTH_SOCK to every user/group's `setenv` rule, if it doesn't end up working... But I'm unclear on how keeping it lets pam_ssh_agent_auth.so "do its magic"
travelion7 has quit [Quit: bye]
redkahuna has joined #nixos
travelion78 has joined #nixos
iassai has quit [Quit: Connection closed for inactivity]
redkahuna has quit [Ping timeout: 265 seconds]
<emily>
presumably one issue is that otherwise you can't nest sudo
<emily>
since the nested one won't have an SSH_AUTH_SOCK to talk to, after the outer one strips it
morgrimm has joined #nixos
<cole-h>
I see.
proofofkeags has joined #nixos
<cole-h>
It appears to transfer just fine for me: `doas -s` (root shell) -> echo $SSH_AUTH_SOCK -> `doas -u rtorrent` (from `doas -s`) -> echo $SSH_AUTH_SOCK -> same value
<cole-h>
`doas -u rtorrent bash`, that is
<cole-h>
However, that doesn't mean authentication works...
<cole-h>
Oh, no wonder it keeps for me lol. `permit persist keepenv :wheel`
<cole-h>
Might be necessary, then...
<emily>
hm, probably shouldn't default to keepenv for wheel, the sudo config doesn't seem to
<emily>
not sure whether that merely permits keeping env or defaults to it
<cole-h>
No, in my local config I had that set lol
<cole-h>
keepenv is only set for root by default
proofofkeags has quit [Ping timeout: 246 seconds]
<adisbladis>
configFile is _prepended_, extraConfig is _appended_
<adisbladis>
Super surprising
<adisbladis>
It's not at all what I expected
<adisbladis>
cole-h: Yes, ssh stuff works for me with agent forwarding.
<cole-h>
The only reason I'm reluctant to add SSH_AUTH_SOCK to setenv is because doas doesn't have any way to say "keep this for all rules" without literally doing `setenv { SSH_AUTH_SOCK }`
<cole-h>
Unlike sudo with its `Defaults env_keep+=SSH_AUTH_SOCK`
<kapilp>
why nixos is so popular. can i use it on server?
<kapilp>
i am currently using arch linux on server
morgrimm has quit [Ping timeout: 240 seconds]
<arianvp[m]>
Yes! It's great for servers
<adisbladis>
kapilp: Yes, you can use it on servers :)
<kapilp>
thanks
<kapilp>
what is the differance with arch linux and nixos?
<arianvp[m]>
Best reason I like it for servers is that you can rollback go previous versions when things go wrong
<kapilp>
is it rolling release?
<cole-h>
You choose.
<arianvp[m]>
There's both a rolling release (unstable) and a bi-yearly release
<adisbladis>
kapilp: "what is the differance with arch linux and nixos" - that is a bigger question than can reasonably be answered over an irc conversation
<kapilp>
arianvp[m], adisbladis thank you so much
<adisbladis>
Let's just say NixOS takes a radically different approach to packaging & configuration management and makes it fully declarative
<arianvp[m]>
Another benefit I like about NixOS is that you can have multiple versions of the same package installed side by side
<kapilp>
i tried to use nixos previously but i was failed.
<arianvp[m]>
Which I found hard to do on arch
<kapilp>
its too complicated.
<emily>
cole-h: repeating it for each rule seems ok since they're autogenerated to begin with
<emily>
defaults handling would complicate the trusted codebase of doas
<clever>
dmj`: if you have +w to /nix/store, you are trusted automatically
<adisbladis>
If not you set `trusted-users = dmj` in /etc/nix/nix.conf
<dmj`>
when I call nix-build isn't it performing the build as a different user? like this nix user?
<keithy[m]>
I am a bit confused as usual. I am on nixos. when I run nano --version it tells me 4.4 but when I look in nixpkgs we are on 4.9.1
<jboy46>
Hello all, I testing out a few things with nixos and nixops. How can I run a one time command that will execute on the machine after nixops deploy? Specifically, its a database setup command.
<clever>
dmj`: only if you have nix-daemon setup and the store permissions restricted to root
<clever>
keithy[m]: which channel are you on?
<keithy[m]>
good question
<clever>
keithy[m]: sudo nix-channel --list
<dmj`>
clever: is there a way I don't have to specify --no-check-sigs
Fare has quit [Remote host closed the connection]
<clever>
dmj`: sign things with `nix sign-paths` or set a secret key in nix.conf so it signs everything
<keithy[m]>
ahh its nixos-19.09
<adisbladis>
clever: Maybe you have something good to say about the doas pr?
<clever>
keithy[m]: check the release-19.09 branch on github, and you should see it agree with you now
<clever>
adisbladis: i would just use sudo, `sudo -u foo <cmd>`
<Raito_Bezarius>
But that does not really seem maintained
<Raito_Bezarius>
adisbladis: Also; do you know if the numpy from nixpkgs require to be recompiled against MKL to be used with MKL or could I just use LD_LIBRARY to dynamically switch to MKL?
user_0x58 has quit [Ping timeout: 260 seconds]
<adisbladis>
I think you need to do it compile time (but I'm not sure)
chagra has quit [Ping timeout: 246 seconds]
<Raito_Bezarius>
Alright, maybe I thought there was some clear well defined ABI so that MKL/openBLAS can be swapped
<energizer>
when i run `sudo nixos-rebuild switch` it gets stuck. strace says it's accessing /run/systemd/ask-password. what is it trying to do?
chagra has joined #nixos
<qyliss>
cole-h: pings are fine but what's the context?
griff__ has quit [Quit: griff__]
alp has quit [Ping timeout: 272 seconds]
<cole-h>
qyliss: adisbladis requested your review on #86488
<cole-h>
I forgot I could check the changed paths lol
<cole-h>
Embarassing, considering how I work on borg and all :D
redkahuna has joined #nixos
<energizer>
do yall edit hardware-configuration.nix?
<clever>
energizer: i try to keep all the changes to configuration.nix, in theory, you should be re-running nixos-generate-config to update hardware-configuration.nix
<clever>
though, some of my machines just lack a hardware-configuration.nix entirely
<CRTified[m]>
energizer: I used to, but now I think it's not the best idea, as it's more sane to keep it auto-generated (and thus easily replacable)
jkachmar has joined #nixos
Darkmatter66 has joined #nixos
redkahuna has quit [Ping timeout: 265 seconds]
<energizer>
alright
Darkmatter66_ has quit [Ping timeout: 256 seconds]
user_0x58 has joined #nixos
<{^_^}>
[nixpkgs] @kini opened pull request #86611 → afio: package has moved to GitHub → https://git.io/Jf3HF
amfl_ has joined #nixos
<energizer>
man configuration.nix says gutenprint.${lib.version.majorMinor (lib.getVersion pkgs.cups)}://brother-hl-5140/expert but lib.version is a string
proofofkeags has joined #nixos
o1lo01ol1o has joined #nixos
<energizer>
aha, looks like it's supposed to be lib.versions
<cole-h>
Should be `lib.versions.majorMinor`, plural "versions"
<energizer>
doctests are useful, just sayin'
<Raito_Bezarius>
adisbladis: sounds like on the latest commit on lapack/blas switching, you can just do
<clever>
adisbladis: and this is an example of how to make your own module thing
<dsal>
stack complains that there's a newer version. Something (home-manager?) puts the nix-env in front of my path so I can't easily just use a locally installed version. Is there an easy way to grab the latest stack?
redkahuna has quit [Ping timeout: 260 seconds]
<clever>
dsal: i prefer to never put any compiler things in nix-env, so that cant happen
alp has joined #nixos
<dsal>
Oh yeah. I guess the super easy thing is to just take that out of home-manager.
<clever>
the only time i get compiler tools, is when i run nix-shell
simukis_ has quit [Quit: No Ping reply in 180 seconds.]
proofofkeags has joined #nixos
<dsal>
I don't use nix-shell much, but I don't use my computer much without stack.
simukis_ has joined #nixos
alp has quit [Remote host closed the connection]
alp has joined #nixos
<ixxie>
does nix care whether you evaluate an expression to get an option name?
<clever>
ixxie: as long as the expression doesnt depend on related options, its fine
abrar has joined #nixos
fabianhjr has joined #nixos
<ixxie>
is there some builtin for running a shell command?
shafox has quit [Remote host closed the connection]
proofofkeags has quit [Ping timeout: 265 seconds]
<clever>
ixxie: what do you want to run, and what do you want to do with the output?
shatsky has joined #nixos
shibboleth has joined #nixos
<energizer>
"warning: error(s) occurred while switching to the new configuration" but did it still switch, or did it rollback, or something in between?
<ixxie>
clever: I need to add a floating ip address to a network interface, but the interface name is unknown so I want to determine it at build time with $(ip -j link | jq -r '.[] | select(.ifindex == 2).ifname')
<clever>
ixxie: but the interface name at buildtime, may be wrong next time you boot
<clever>
ixxie: so you should push that choice off until runtime, or make the if name more predictable
<ixxie>
is that possible?
<clever>
ixxie: depends on what exactly your doing
o1lo01ol1o has joined #nixos
<shatsky>
Greetings! I want to create PR with a tiny commit enabling hw accel in kwin_wayland. I have tested my patch with local branch branched from same commit as recent stable channel revision which produced my system profile. However when creating PR from it I got >1000 commits in it. I've rebranched this branch from master and now it's only 1 as
<shatsky>
desired. Is it ok to create PR from it? I mean I haven't rebuilt system from master branch and I think it's gonna take many days on my hw...
<ixxie>
clever: so I figured I would have to get this at build time... I'm currently building on the target machine and the point is not so much that the interface is expected to change between reboots (that doesn't normally happen right?) but rather that the config should be usable on random VMs where the interface name isn't known
<ggp0647>
36
redkahuna has joined #nixos
<clever>
ixxie: i would make a systemd service that figures it out at runtime
ggp0647 has quit [Remote host closed the connection]
<ixxie>
clever: hmm I've never done that before
<clever>
ixxie: finding a link...
<ixxie>
clever: but I sorta can't imagine there isn't some other tool for this kind of stuff
<ixxie>
floating ip assignment has to be a common problem
wozeparrot has joined #nixos
redkahuna has quit [Ping timeout: 246 seconds]
therealsarcastic has joined #nixos
<Raito_Bezarius>
ixxie: what you want might be an activationScript (?)
<clever>
Raito_Bezarius: activation scripts could run before the driver is loaded, a systemd unit would be better
<Raito_Bezarius>
clever: wouldn't activationScript have dependencies?
<Raito_Bezarius>
you could ask for want=[…] right?
<clever>
Raito_Bezarius: activationScripts just run in a bash shell, before systemd is even launched
<cole-h>
Not with activationScript -- I don't think it's implemented as a DAG in NixOS
<Raito_Bezarius>
clever: *ah*
<ixxie>
clever: if the example is in the link in the first comment... that link is dead now :(
<Raito_Bezarius>
i didn't know that actScript was outside of systemd
<Raito_Bezarius>
interesting
<Raito_Bezarius>
cole-h: does it call the famous toposort of the stdlib?
therealsarcastic has quit [Ping timeout: 260 seconds]
<Raito_Bezarius>
any reason BTW why the toposort is in O(N^2) ?
<clever>
ixxie: it got re-uploaded, a few comments down
<clever>
ixxie: "we've moved:"
<ixxie>
ah I see
<{^_^}>
[nixpkgs] @talyz opened pull request #86614 → php.buildpecl: Make it possible for PECLs to depend on other PECLs, fix apcu_bc and couchbase → https://git.io/Jf37B
<rooke>
If submitting a package to nixpkgs should I be adding my self as a contributor in the meta field? Some packages seem to have this filled out, some don't.
<gchristensen>
please
<rooke>
Will do
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
astwalker is now known as dduan
thc202 has quit [Ping timeout: 260 seconds]
therealsarcastic has joined #nixos
<dduan>
noob question: what is the path to the build location of a nix-build while it's in-progress? (On NixOS)
o1lo01ol1o has joined #nixos
<cole-h>
$TMPDIR I believe
redkahuna has quit [Ping timeout: 260 seconds]
<cole-h>
Which defaults to /tmp
therealsarcastic has quit [Ping timeout: 260 seconds]
<betaboon>
colemickens: in your nixpkgs-wayland overlay - what's the point of having packages in there that are by now in nixpkgs ? :)
AmandaC_ has joined #nixos
AmandaC has quit [Ping timeout: 260 seconds]
hlisp has joined #nixos
<dduan>
I see! So when nix-build package x, there'd be a directory in /tmp named nix-build-x-VERSION-N. I think that's the temporary build location?
<rooke>
haha turns out what I was looking at adding was already in nixpkgs just not whatever version of it I have I guess, got right up to adding it to all-packages.nix and then saw it oh well
reallymemorable has joined #nixos
redkahuna has quit [Ping timeout: 265 seconds]
<dduan>
is there a way to ask nix-build to preserve the build artifacts in /tmp if the build fails? Right now I see them only while the build is in progress
<armin>
dduan: -K
<dduan>
oh, I should've read the manual more carefully.
<dduan>
thanks
<betaboon>
cole-h: are you using that overlay ?
<armin>
yw :)
<cole-h>
Indeed.
griff__ has joined #nixos
oldyas has quit [Quit: Konversation terminated!]
<betaboon>
cole-h: I'm trying to build from HEAD but wlroots fails with "run-time dependency wayland-server found: NO" oO above it says "Dependency wayland-server found: NO found 1.17.0 but need: '>=1.18'" any hints ?
<colemickens>
I'm building a python thing and I can't get it to see dbus-python
<cole-h>
colemickens: New hash mismatch in i3status-rust blocking builds again ;^)
philr has joined #nixos
<colemickens>
I'm so over it. ugh.
proofofkeags has quit [Remote host closed the connection]
<cole-h>
(cargosha256)
<ldlework>
colemickens: i have no idea :$
<cole-h>
betaboon: What are you actually trying to build? sway?
<ambro718>
How do I make Python find packages installed with pip?
proofofkeags has joined #nixos
<ldlework>
ambro718: in a nix-shell it should kind of just work, right?
<betaboon>
cole-h: yeah sway.
o1lo01ol1o has quit [Remote host closed the connection]
<betaboon>
cole-h: ah. i guess i have to use wayaland-protocols and wayland from nixos-unstable ..
<ambro718>
ldlework: I created a nix-shell environment which includes pip, and in that shell I successfully used pip to install something, but trying to import that fails
hlisp_ has joined #nixos
proofofkeags has quit [Remote host closed the connection]
<cole-h>
betaboon: wayland is 1.18 in unstable, but 1.17 in 20.03
<Raito_Bezarius>
if I want to package some static webapp stuff, should I make a tarball or should I make a derivation with the stuff in $out/ as a folder?
<Raito_Bezarius>
what's preferred?
<adisbladis>
Man do I want to get rid of the pythonPackages sets from top-level attributes...
<Raito_Bezarius>
:D
<cole-h>
adisbladis: It looks nicer than python3.pkgs.* (IMO), but that's about all it's got going for it :P
reallymemorable has quit [Quit: reallymemorable]
<adisbladis>
cole-h: I think a reasonable step 1 is to move `python3Packages` -> `python3.pkgs`
<cole-h>
I think it already is?
<adisbladis>
I mean remove the python3Packages attribute
<cole-h>
Oh, roger.
<adisbladis>
Because.. Let's say you do this: nix-shell -p python3Packages.requests python2Packages.requests
<adisbladis>
Your PYTHONPATH is mixing interpreter versions
<ambro718>
I get this trying to use pip in a venv: TypeError: 'module' object is not callable
turlando has quit [Remote host closed the connection]
<ambro718>
can someone help? very obscure error
<Fare>
how do I avoid this? shrinking /nix/store/5m6r7kkcd5crfh3cc2ska9qrzwb3pf9q-gerbil-utils-unstable-2020-05-02/lib/gerbil/lib/lib/clan/poo/mop__1.o1 I tried dontStrip = true; but that doesn't look like it's helping.
<adisbladis>
Iirc that's a pip bug
<adisbladis>
ambro718: Which pip version are you on?
<ambro718>
adisbladis: not sure, I just did something like this in default.nix, https://pasteall.org/MKDG