<infinisil>
superherointj: I mean, did you try removing it like I suggested?
<infinisil>
busybox that is
<superherointj>
I did but it did not work.
<infinisil>
superherointj: What does `nix-env -q` show?
<superherointj>
I think I just realised what happened. nix-env is local to the user. And I had run it as root. But when I tried it I tried as my user.
<superherointj>
So this was my mistake.
<infinisil>
That would explain it :)
<superherointj>
It seems to be fine now. Such a small thing.
<hpfr>
I'm setting up snapraid and it suggests putting its content file (which contains checksumming details) in /var/snapraid. Can /var be used like this on nixos? Where might I put it if not?
<abathur>
alienpirate5: speaking more from "what I do myself" without really knowing what if any standards would apply if you're trying to get it into nixpkgs, but I usually just have derivations to build all of them in one file
<alienpirate5>
I'm planning to get it into nixpkgs
<alienpirate5>
Already have them all in one tile
<alienpirate5>
* Already have them all in one file but not sure what is the best way to do it
<abathur>
I think it is okay, and maybe preferred, to do this if you don't think they're of general utility, but I can't really recall why I think that for sure; a more regular nixpkgs contributor/maintainer will eventually happen along with a more definitive answer
knerten2 has joined #nixos
<abathur>
if someone finds them useful later, it's not like they can't notice them with search/grep and refactor to make them part of the package set
diamondburned has quit [Read error: Connection reset by peer]
jb55 has joined #nixos
diamondburned has joined #nixos
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « sonic-visualiser: 4.0.1 -> 4.2 »: https://git.io/JUqti
tdeo has joined #nixos
HackerFoo has quit [Ping timeout: 244 seconds]
HackerFoo has joined #nixos
<dramforever>
Is there an easier alternative for posting ,locate on IRC? I'm trying to package a binary application and I have these libraries missing so far: https://dpaste.org/VCCq
tarruda2 has quit [Ping timeout: 246 seconds]
<abathur>
hmm
orivej has quit [Ping timeout: 240 seconds]
<abathur>
guess we could go figure out what ,locate does?
<dramforever>
I feel like there's a huge database somewhere or something like that
<dramforever>
i suddenly remembered that cache.nixos.org also has file lists
<abathur>
aside from the possibility that it is broken, I notice that the README for it says "Nix-index provides a "command-not-found" script that can print for you the attribute path of unfound commands in your shell.", which suggests to me that it can index things that aren't in your store?
<abathur>
it would be oddly unhelpful if it could only help you find things you had built but didn't have on path...
<dramforever>
yeah, i actually didn't know what nix-index did either :(
<dramforever>
I said that before clicking into the link
kenran has quit [Ping timeout: 265 seconds]
evils has joined #nixos
<abathur>
I don't know if it's broken, but I know that github.com/Shopify/comma uses it, and I also know that I bothered adding that to my profile early Tuesday afternoon and whatever I smoke-tested it on worked okay (sorry--I've fled a hurricane since then...)
orivej has quit [Ping timeout: 240 seconds]
<daddy_james[m]>
I'm having some issues adding a python package
<daddy_james[m]>
I keep getting 404 during install process
<{^_^}>
[nixpkgs] @orivej-nixos merged pull request #96260 → x265: dont build high bit-depths for 32bit systems → https://git.io/JUUcS
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @B4dM4n to master « x265: dont build high bit-depths for 32bit systems (#96260) »: https://git.io/JUqOt
zeta_0 has quit [Remote host closed the connection]
<jackdk>
#96593 What are the odds of getting this reviewed and tested in time for 20.09? I am willing to learn enough DocBook to write release notes etc
<jackdk>
cole-h: thanks. Is there a place where non-maintainers can mention their PRs for inclusion before the branch-off? I saw the issue for 20.09 blockers but it looked like lots of maintainer-talk and I didn't want to barge in
<cole-h>
(Release blockers are things like: "developers will be kneecapped if this software release does not make it in", "this new patch is required for mongodb x.xx to function properly on NixOS, but needs work/hasn't been merged yet", or "systemd released version x.xx which allows us to drop x y and z patches"
<cole-h>
)
<cole-h>
Not all are release-critical, some are just niceties, but that's generally the severity of release blockers I've encountered
<cole-h>
domenkozar[m]: Another cachix suggestion: allow us to copy the actual store path of an item on the "Garbage Collection" page. Right now, it shows up on hover, but I have no way to actually select the contents (AFAICT) -- it disappears when I try to mouse over to select.
zeta_0 has quit [Remote host closed the connection]
pjt_tmp has quit [Ping timeout: 256 seconds]
zeta_0 has joined #nixos
<zeta_0>
what is the keyboard shortcut to get access to terminal, alt+f2 does not seem to be working?
jaeckel has quit [Ping timeout: 258 seconds]
<Extends>
on a display manager ? ctrl + alt + f<number>
alter2000 has quit [Ping timeout: 256 seconds]
cfricke has quit [Quit: WeeChat 2.9]
<zeta_0>
Extends: nevermind, i was able to login to root, thanks for the help.
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<Extends>
bqv: with the new HM flake system, is it possible now to add an overlay on the pkgs attribute to be able to access to pkgs.unstable without having to manage home-manager through nixos ? It doesn't seem so unfortunately
<bqv>
No
<bqv>
I don't use h-m's non-module thing, but I don't think it could work
<{^_^}>
[nixos-search] @garbas pushed to fix-regression « using whitespace as analyzer reduces too much the matched items »: https://git.io/JUqBL
<Extends>
ah ok, too bad
<Extends>
although I'm thinking about managing my HM config with nixos, so that's not really a problem for me
domogled has quit [Ping timeout: 265 seconds]
<{^_^}>
[nixos-search] @garbas opened pull request #174 → using whitespace as analyzer reduces too much the matched items → https://git.io/JUqBu
cosimone has joined #nixos
cfricke has joined #nixos
<maralorn>
Extends: I am confused. Accessing unstable from home-manager is definitely not a problem. I am also pretty certain, that your overlay wish is possible. Certain in the sense, that I d it this way.
<maralorn>
Extends: Is that a flake based solution? I have not tried that out. I just assign my overlays to "nixpkgs.overlays = [ ... ]" in my home-manager config.
eoli3n_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
eoli3n_ has joined #nixos
alter2000 has joined #nixos
dramforever has joined #nixos
dramforever has joined #nixos
dramforever has quit [Changing host]
cosimone has quit [Quit: Quit.]
<Extends>
maralorn: yes, I already tried using nixpkgs.overlays = [ (final: prev: { unstable = inputs.unstable.legacyPackages.${system} }) ];, it does not work either
Anonymous234 has joined #nixos
vuko has quit [Ping timeout: 264 seconds]
Anonymous234 has quit [Remote host closed the connection]
<maralorn>
Extends: But "inputs.unstable.legacyPackages.${system}" definitely exists?
<Extends>
it dies
<Extends>
does
<maralorn>
Extends: Have you tried putting something broken into the overlay to find out, if it's even evaluated?
<maralorn>
Extends: Are you sure, that the pkgs.unstable you are using actually uses the "pkgs" from inside the home-manager module?
alter2000 has quit [Ping timeout: 240 seconds]
<Extends>
Nope, but I don't think the overlay gets evaluated at all as the overlay works on my nixos configuration but not on my home-manager configuration
<Extends>
well, this isn't a problem anymore, I moved my HM config so that it's managed by nixos, and it works fine so it isn't a problem that I have to solve haha, thanks for trying to help though, always appreciated ;)
<CRTified[m]>
Hi, I'm trying to cross-build an image for the rasperry pi zero on an x86_64 (nixos 20.03)-machine. I've added `armv6l-linux` to boot.binfmt.emulatedSystems and I'm able to cross-compile `pkgs.hello`, but when trying to build with `sd-image-raspberrypi.nix`, uboot fails either because of a wrong `-march` flag, or in subsequent builds when building `bcmrpi_defconfig` (by the way: shouldn't these builds be pure and produce
<CRTified[m]>
the same result?) - would be happy if anyone has more success or any pointers :)
<Raito_Bezarius>
I guess the issue is that distro: nixos is set
malook has quit [Quit: malook]
mwelt has joined #nixos
boredom101 has joined #nixos
<mwelt>
hi all! nix-shell utilizes the "2 line shebang", unfortunately swiProlog doesnt like a second shebang line. Is there a way to either put all in one line or tell the interpretor to ignore the second line?
domogled has joined #nixos
cr4y1 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @orivej opened pull request #96766 → nixos/systemd: support adding and overriding tmpfiles.d via environment.etc → https://git.io/JUq6q
<Raito_Bezarius>
Why bootloader configuration is not generated in hardware-configuration.nix and in configuration.nix?
<{^_^}>
[nixpkgs] @elseym opened pull request #96830 → unifi-poller: add service and prometheus-exporter → https://git.io/JUqi6
<DamienCassou>
I can't export part of my nix-store: `nix-store --export /nix/store/...home-manage-path` complains that "hash of path /nix/... has changed from sha256:... to sha256:...
<DamienCassou>
is that because of some impurities in home-manager?
<DamienCassou>
rycee: ^
<DamienCassou>
`nix-store --verify-path /nix/store/...home-manager-path` complains that the path was modified
<infinisil>
DamienCassou: Nix can't modify the store
<symphorien[m]>
you probably ran python in a root nix-shell or something like that
<infinisil>
DamienCassou: Which system are you on? And what's in `/etc/nix/nix.conf`? And what's the output of `mount`?
<{^_^}>
[nixpkgs] @SCOTT-HAMILTON opened pull request #96831 → numworks: init udev rules and module → https://git.io/JUqP3
<DamienCassou>
I don't think I did anything like that symphorien
<symphorien[m]>
run sudo nix-store --verify --repair --check-content
<DamienCassou>
infinisil: I'm on Debian with nixpkgs (from nixos-unstable branch) and home-manager (master)
<DamienCassou>
infinisil: there is nothing in /etc/nix/nix.conf
<clever>
thats new, last time i delt with this, you couldnt delete until you removed all roots
<symphorien[m]>
I think that's the point of --verify, to mark store paths as wrong
<clever>
last time i used it, it would only print if you dont ask to --repair
<symphorien[m]>
ah maybe I'm wrong
<DamienCassou>
this is weird: `nix-store --verify` detects 4 brokens paths, all of them for home-manager-path derivation: http://paste.debian.net/hidden/d57cf7d9/
<clever>
DamienCassou: try using `nix-store --delete` on each, but dont force things
cr4y1 has quit [Remote host closed the connection]
cr4y1 has joined #nixos
<DamienCassou>
clever: done. But each command told me that deletion couldn't happen because the path is still alive
tmaekawa has quit [Quit: tmaekawa]
<clever>
DamienCassou: then `nix-store --repair-path` on each one and see what happens?
cr4y1_ has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cr4y1 has quit [Read error: Connection reset by peer]
<nefix>
clever: after this, I should be able to return to the symlink, right?
<clever>
nefix: probably
metreo has joined #nixos
mariatsji has quit [Ping timeout: 244 seconds]
sangoma has quit [Ping timeout: 256 seconds]
<nefix>
clever: it throws the same error trying to unlink the directory :(
alter2000 has joined #nixos
<DamienCassou>
clever: generation 16 is my current generation :-)
<clever>
DamienCassou: then you need to remove home-manager with something like nix-env -e, to create 17
alter2000 has quit [Ping timeout: 256 seconds]
<DamienCassou>
clever: as I said, I preparing new Debian box and will try to set it up without copying the store from the 2 computers. I hope it will work better. Thanks for helping
<lukego>
I have a problem on nixpkgs master where if I start a GUI program e.g. terminator then I get errors from fontconfig ("error: invalid attribute 'domain'" in /etc/fonts/2.11/fonts.conf) and I can't read the text - font is all screwed up. The existing terminator instances are still fine but I can't open new ones. also if I try to open e.g. kicad it segfaults after a similar error. Have tried updating nixpkgs several times
<worldofpeace>
lukego: that's going to rebuild the world
<stteevveen>
infinisil I've never put anything in ~/.config/nixpkgs/config.nix , it should have the same features as my main configuration.nix ?
<{^_^}>
[nixpkgs] @FRidh closed pull request #96568 → PULL_REQUEST_TEMPLATE: Encourage maintainers to test cross-building → https://git.io/JUL3d
<stteevveen>
I mean the same layout
<stteevveen>
I guess it is for user only stuffs
<infinisil>
Nah it's something completely different
<infinisil>
stteevveen: Just put the string `{ allowUnfree = true; }` in it
mariatsji has quit [Ping timeout: 244 seconds]
<infinisil>
This should actually also be explained in the error you get if you don't do that
<{^_^}>
[nixpkgs] @FRidh pushed commit from @kampka to staging « jbig2dec: Move autoreconfHook from buildInputs to nativeBuildInputs »: https://git.io/JUqDr
domogled has quit [Ping timeout: 240 seconds]
<sreybastien[m]>
hi there, i have a "cached failure of attribute" error using flakes building. Is there a way to clean cache or something ?
<stteevveen>
infinisil you're right, it is the the b) part of the error message. What should I read to know more about this config file ? what it does etc...
kreyren has joined #nixos
<{^_^}>
[nixpkgs] @FRidh merged pull request #96764 → jbig2dec: Move autoreconfHook from buildInputs to nativeBuildInputs → https://git.io/JUqKn
alter2000 has joined #nixos
<lukego>
... ok it seems one does not simple "pull a PR based on staging" when one is running nixpkgs master... lotta activity..
<immae>
as said in private with Raito_Bezarius I’m interested in working actively on it if someone works on implemenitng the ZFS part of blivet
<Raito_Bezarius>
infinisil: ?
<Raito_Bezarius>
infinisil: failed and opened the vultr thing
<Raito_Bezarius>
That sounds amazing infinisil
<stteevveen>
infinisil in the doc they talk a bout a third possibility, setting the environnement variable NIXPKGS_ALLOW_UNFREE=1 nix-env . I wonder if this is a typo and should be NIXPKGS_ALLOW_UNFREE=1instead. I am going to check more thoroughly, but in case it is indeed a typo, what is the correct process for correcting and updating the nixos doc ?
<{^_^}>
[nixpkgs] @FRidh pushed commit from @r-ryantm to master « hsqldb: 2.5.0 -> 2.5.1 »: https://git.io/JUqSq
<Raito_Bezarius>
> Particularly if we could get nixos/tests/blivet.nix separated (and also updated to version 3.1.3) from this pull request and possibly merged, this would already by a huge step and would help a lot in bringing nixpart forward. If someone has time to work on the latter, that would be great :-)
<{^_^}>
error: syntax error, unexpected IF, expecting ')', at (string):321:14
<Raito_Bezarius>
sounds like something doable immae ^
<{^_^}>
[nixpkgs] @FRidh pushed commit from @r-ryantm to master « swig4: 4.0.1 -> 4.0.2 »: https://git.io/JUqSO
<Raito_Bezarius>
aszlig: sorry to ping you, me and immae are interested into working on nixpart and helping around, could we coordinate in #nixos-dev or something?
<infinisil>
stteevveen: That's not a typo though, they just used nix-env as an example command
<infinisil>
Ah yeah V already mentioned it
xcmw has joined #nixos
<stteevveen>
V I don't understand this concept of prefix invocation of executable in linux or in bash. That does not ring any bell for me. Is it a bash feature or something else ?
<V>
yes. you can set environment variables for commands like that
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUqSP
<V>
% env -i foo=bar env
<V>
foo=bar
<V>
er
<V>
SHLVL=1
<V>
_=/usr/bin/env
<V>
% env -i bash -c 'foo=bar /usr/bin/env'
<V>
PWD=/persist/home
<V>
foo=bar
zupo_ has joined #nixos
<V>
(env -i clears the env, PWD/SHLVL/_ are just added by bash)
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
orivej has joined #nixos
fendor has joined #nixos
<infinisil>
*tensorflow learned to avoid being stabbed in the face*
<hodapp>
It is a truth universally acknowledged that when hodapp runs into a stupid problem with dependencies and libraries and failed compiles, the problem is 99% likely to involve Boost, OpenCV, CUDA, or TensorFlow.
fendor_ has joined #nixos
euandreh has joined #nixos
fendor has quit [Read error: Connection reset by peer]
<Raito_Bezarius>
They hated him because he told them the truth
<tom39291>
What's the site that compares versions of software: upstream vs nixos Vs arch Vs Ubuntu, etc
<lassulus>
repology?
<immae>
repology.org?
<fresheyeball>
so I was recently gifted a mac laptop to use as a build slave
<fresheyeball>
any recommendations about how to actually get that working?
<Yaniel>
but but slave is a problematic term
<Yaniel>
I suggest calling it a build sheep
<Raito_Bezarius>
if I'm using py2nix to generate some expression, how should I encode the keys so that they don't get outputted as "xxx.yy.zzz" = value;
<tom39291>
lassulus, immae: Yes, thanks!
<Raito_Bezarius>
I know RawValue would do the job, but it cannot be the key of a dict
alter2000 has quit [Quit: WeeChat 2.7.1]
<fresheyeball>
lol
<Yaniel>
(jk, although that would be somewhat amusing)
orivej has quit [Ping timeout: 260 seconds]
<Raito_Bezarius>
expand_dict might be the answer I suppose
<scoates>
it's incredibly difficult to search for it, so could someone point me in the right direction for the nixpkg that I need in order for nix-bundle to find `g++`? (I thought it was gcc, and I was wrong)
<scoates>
it's really this that's failing, I guess. https://files.scoat.es/kPLjQVoS.png happy to read again if anyone has a pointer. Not even sure what to look up.
<damjan>
can I use nixos-install to create a minimal rootfs (without a kernel or systemd or bootloader), just with a single package installed (and its dependencies of course)
<clever>
damjan: you want `nix copy --to local?root=/folder /nix/store/foo`
<{^_^}>
[nixpkgs] @Gerschtli opened pull request #96857 → gatsby-cli: init at 2.12.89 → https://git.io/JUqFD
cyris212 has quit [Quit: Connection closed for inactivity]
vv has quit [Quit: Ping timeout (120 seconds)]
kreyren has joined #nixos
billiozzi[m] has joined #nixos
spudly has quit [Ping timeout: 240 seconds]
mariatsji has quit [Remote host closed the connection]
spudly has joined #nixos
spudly has joined #nixos
spudly has quit [Changing host]
dbmikus has joined #nixos
alp has joined #nixos
<daddy_james[m]>
I'm trying to make a nix package for https://pypi.org/project/django-user-agents/ and for some reason ```fetchPypi``` gets a 404 and ```error: cannot download django-user-agents-0.4.0.tar.gz from any mirror```
<daddy_james[m]>
is this some bug with ```fetchPypi``` or am I just an idiot
<Raito_Bezarius>
is there a way to force a write on /nix/store for debugging purpose on a throwable system?
<Raito_Bezarius>
chattr give me inappropriate ioctl
<NobbZ[m]>
Because the tarball is "django-user_agents"
<daddy_james[m]>
(it's got some obvious placeholders I'll fix those later)
<cole-h>
Raito_Bezarius: `nix.readOnlyStore = false;` in your NixOS config
<Raito_Bezarius>
Thx
<clever>
Raito_Bezarius: or just `mount /nix/store -o remount,rw`
<daddy_james[m]>
<NobbZ[m] "Because the tarball is "django-u"> how did you find that out? does it say somewhere on pypi?
lordcirth has quit [Remote host closed the connection]
<NobbZ[m]>
"daddy_james" (https://matrix.to/#/@daddy_james:jamesvps.tk) there is a section/link with downloads. I just took a look at the most recent link
<{^_^}>
[nixpkgs] @jonringer merged pull request #96671 → droopy: use python 3.7 for macpath → https://git.io/JUt2I
<{^_^}>
[nixpkgs] @jonringer pushed commit from @sternenseemann to master « droopy: use python 3.7 for macpath »: https://git.io/JUqNe
maier has quit [Ping timeout: 258 seconds]
alp has quit [Remote host closed the connection]
alp has joined #nixos
<{^_^}>
[nixpkgs] @mjlbach closed pull request #94154 → Emacs: Fix library_path substitution to not be a nested list for native compilation → https://git.io/JJuiq
cript0nauta has quit [Read error: Connection reset by peer]
sascha is now known as Guest83755
marsh has quit [Remote host closed the connection]
mariatsji has joined #nixos
cript0nauta has joined #nixos
<{^_^}>
[nixpkgs] @tfmoraes opened pull request #96860 → vollkorn: init at 4.105 → https://git.io/JUqN0
moet has joined #nixos
vv has quit [Quit: Ping timeout (120 seconds)]
<moet>
what's the best way to get a shell environment containing multiple packages described in the current directory's default.nix?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @SCOTT-HAMILTON opened pull request #96861 → Xtreme-Download-Manager: init at 7.2.11 → https://git.io/JUqNX
cosimone has quit [Quit: Quit.]
zuserm has joined #nixos
xcmw has joined #nixos
eoli3n_ has joined #nixos
h0m1 has quit [Ping timeout: 260 seconds]
<zuserm>
what's the best way to make scripts that work both on nixos and standard *nixes? I for bash I can ln -s `which bash` in /bin and that's pretty safe because bash is so stable, but for other langs that might cause problems
<symphorien[m]>
use /usr/bin/env
<symphorien[m]>
`#!/usr/bin/env bash` as shebang
<zuserm>
thanks
<jtojnar>
worldofpeace: even if it prints an error, it does not cause issues
tobiasBora has quit [Quit: WeeChat 2.7.1]
<jtojnar>
I only made the severity change so that people stop misattributing the bugs to the "error"
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<moet>
making a derivation containing a group of packages with buildEnv, and then doing `nix-shell` doesn't expose the packages in the environment
<moet>
i'm wondering how to get all of the packages in the buildEnv into a shell environment..
<clever>
moet: your likely opening a shell suitable for building the buildEnv, not using it
h0m1 has joined #nixos
<clever>
moet: you must put the buildEnv into the buildInputs of another derivation, and shell into that one
<moet>
clever: i have several packages declared in haskellPackages overrides and a few more declared in buildEnv's paths.. the default.nix returns the buildEnv .. i'm trying to enter a shell environment where i can work on development of these packages (the overrides in haskellPackages, or the ones declared in buildEnv paths)
<fresheyeball>
is there any info on how to make a mac into a build slave?
<clever>
moet: nix cant merge the development environment of multiple packages, it can only give you a compiled copy of all of them at once
<zuserm>
hmm, texlive.combined.scheme-full seems to be broken for me. doesn't do anything when I add it to my config and switch
Guest83755 has quit [Remote host closed the connection]
sascha has joined #nixos
sascha is now known as Guest79
<moet>
clever: ok, that's clear enough.. they're all haskell packages though, so i guess i could just make a fake package that depends on them and then use its .env
<sreybastien[m]>
I search how to mount encrypted file system , not during init of system, but after, as a fileSystems."/data" in `hardware-configuration.nix`
Thra11 has joined #nixos
<{^_^}>
[nixpkgs] @urlordjames opened pull request #96866 → pythonPackages.django-user-agents: init at 0.4.0 → https://git.io/JUqAQ
sgrunert has quit [Remote host closed the connection]
<pjt_tmp>
hi, I'm trying to build an install iso and for some reason nix *cannot* build gettext. It hangs indefinetely on this one specific sed command. Are there any known bugs like this?
sgrunert has joined #nixos
sgrunert has quit [Remote host closed the connection]
sgrunert has joined #nixos
Darkmatter66_ has joined #nixos
Darkmatter66 has quit [Ping timeout: 256 seconds]
zeta_0 has joined #nixos
<{^_^}>
[nixpkgs] @kampka opened pull request #96868 → p11-kit: Add libtasn1 to nativeBuildInputs → https://git.io/JUqxr
<zeta_0>
i'm finally able to get nixos to build on my raspberry pi 4, but for some reason, i'm struggling to get a desktop environment working, xmonad threw build errors, next i'm going to try gnome and plasma, have any been able to get a desktop environment working with this setup?
sgrunert has quit [Remote host closed the connection]
<zeta_0>
here's the full reddit issue if any of you want to take a look.
sgrunert has quit [Remote host closed the connection]
julm has quit [Remote host closed the connection]
julm has joined #nixos
sgrunert has joined #nixos
maier has joined #nixos
<pjt_tmp>
zeta_0: you may want to try something like dwm first. It's far simpler so errors are easier to diagnose, and you might find it suitable as a daily driver too.
<pr06lefs>
why do I see 'src = ./.' for source? Why isn't "." enough? What's the difference?
<samueldr>
> .
<{^_^}>
error: syntax error, unexpected '.', at (string):321:1
<samueldr>
> ./.
<{^_^}>
/var/lib/nixbot/state/nixpkgs
moet has quit [Quit: internet trouble]
<samueldr>
a path in nix requires a slash component
<samueldr>
>> Paths, e.g., /bin/sh or ./builder.sh. A path must contain at least one slash to be recognised as such; for instance, builder.sh is not a path[5]. If the file name is relative, i.e., if it does not begin with a slash, it is made absolute at parse time relative to the directory of the Nix expression that contained it. For instance, if a Nix expression in /foo/bar/bla.nix refers to ../xyzzy/fnord.nix, the absolute path is /foo/xyzzy/fnord.nix.
<jasom>
I've asked this before; is there a way to search for which packages contain a particular file (I know it's not solvable in the general case, but perhaps hydra caches this information?)
<infinisil>
,locate
<{^_^}>
Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
werner291 has joined #nixos
<jasom>
infinisil: thianks!
moet has joined #nixos
<moet>
clever: i feel rather foolish, but i can't seem to make a fake haskellPackages.mkDerivation .. nix-build keeps trying to contact hackage and failing now
<moet>
it's looking for a package with the same name, but of course there isn't one.. i'm wondering if i have to tell it the source is empty or something
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
mariatsji has quit [Ping timeout: 260 seconds]
<moet>
clever: if you put that into `default.nix` and use `nix-build` things work (it builds all the packages and their binaries are in result/bin) .. if you do `nix-shell` to run the branch with ghcWithPackages it drops you into a shell where $paths indicates that the packages are available, however ghc is missing
gustavderdrache has quit [Quit: Leaving.]
<clever>
moet: because your likely in a shell meant to build the ghcWithPackages wrapper
<clever>
moet: you must run nix-shell on a derivation that has ghcWithPackages in its buildInputs
xcmw has quit [Read error: Connection reset by peer]
xcmw has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knerten1 has joined #nixos
ktosiek5 has joined #nixos
knerten has quit [Remote host closed the connection]
ktosiek has quit [Quit: Ping timeout (120 seconds)]
ktosiek5 is now known as ktosiek
sigtrm has quit [Quit: No Ping reply in 180 seconds.]
ericnoan has quit [Ping timeout: 258 seconds]
sigtrm has joined #nixos
ericnoan has joined #nixos
<moet>
clever: you mean, wrap the call to ghcWithPackages in a mkDerivation{ buildInputs = [ ... ] ) ??
<roconnor>
install: cannot change permissions of '/nix/store/x6dfbmckz1i9bwhadhhh6v5p06zw9vnz-coq-8.12.0/lib/coq/user-contrib/VST': No such file or directory
<roconnor>
What would cause install -d to fail in such a manner. Shouldn't install -d be making all the required directories?
kreyren has joined #nixos
<roconnor>
oh crap nevermind.
<roconnor>
It's trying to install in the coq directory instead of its own $out.
<roconnor>
okay I can deail with what.
cjpbirkbeck has joined #nixos
shibboleth has joined #nixos
noudle has quit []
Thra11 has joined #nixos
<{^_^}>
[nixpkgs] @meutraa opened pull request #96874 → Update/android studio beta → https://git.io/JUmv4
fendor has quit [Read error: Connection reset by peer]
fendor has joined #nixos
gv has quit [Remote host closed the connection]
<hplar>
sortof offtopic, but not for me: dlang is proposing making overdue changes to their build infrastructure, nixos guys should as a matter of course help the dlang people get this right, ... would be nice if dub was made sufficient to build d programs for nix https://www.flipcause.com/secure/cause_pdetails/OTE5MjY=
<hplar>
have been using debian for over 15 years, am switching to nixos, loving it but everything is new again and still loving it (suspect frustration will set in) ... that's it for now am a bit of a fan of both (nixos and d if nothing else)