<clever>
pittma: nixos will first run the code in services.xserver.displayManager.sessionCommands (which lets you do that stuff from configuration.nix)
<clever>
it will then source ~/.xprofile
<clever>
and if it exists, it will execute ~/.xsession (causing the chosen session manager to not activate)
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeCCw
ddellacosta has quit [Quit: WeeChat 2.2]
NoctisLabs has quit [Quit: WeeChat 2.6]
NoctisLabs has joined #nixos
kleisli has quit [Ping timeout: 276 seconds]
ris has quit [Ping timeout: 276 seconds]
kleisli has joined #nixos
<red[m]>
Just got my NixOS T-Shirt. First T-shirt I've ever bought that actually came in a wash bag.
<red[m]>
Quality++
<gchristensen>
a wash bag?
<red[m]>
Yeah- I'd never heard of such a thing either
<red[m]>
apparently it's a thing you put quality t-shirts in before you put them in the wash to increase their longevity
<gchristensen>
whoa
<red[m]>
which makes sense. I would expect a NixOS T-shirt to be immutable
<red[m]>
;-)
xkapastel has quit [Quit: Connection closed for inactivity]
growpotkin has quit [Ping timeout: 252 seconds]
<clever>
red[m]: i think the only time ive seen such a thing, was to keep tiny items like baby socks from clogging up the drain, lol
mexisme has quit [Ping timeout: 276 seconds]
<red[m]>
I promise my t-shirt wasn't that small
<red[m]>
;-)
<pittma>
clever: that did the trick. Also saw the wallpaper setting in there. My xsession was using feh which didn't work either. Now they both do!
Palpares has quit [Ping timeout: 260 seconds]
Palpares has joined #nixos
<philr>
I'm trying to debug a package build problem. "nix-shell -p rocfft" fails, but if I copy the source it builds cleanly from a "nix-shell '<nixpkgs>' -A rocfft --pure". I have no idea how to proceed. (rocfft is from an overlay at https://github.com/nixos-rocm/nixos-rocm)
<mog>
red[m], ya the redbubble stuff is nice, which one did you get?
kleisli has quit [Ping timeout: 240 seconds]
<clever>
pittma: what happens if you build it with nix-build?
<clever>
pittma: how does it fail? what os are you building on?
<red[m]>
mog - so that requires me to remember the names of the NixOS releases - one moment
<red[m]>
Loris
<mog>
nice!
<mog>
you probably got the 2nd one then
<red[m]>
it arrived today, if that gives you a timeline against your sales
<mog>
they fuzz the numbers somewhat so people cant stalk customers i assume
<mog>
the sales come in 2 day bursts
mexisme has joined #nixos
<mog>
redbubble makes it really easy to do this for nix so im happy with it
<red[m]>
Well, I'm happy with it
doublex has quit [Read error: Connection reset by peer]
doublex has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<red[m]>
so thank you for doing it
<mog>
happy to make people happy
freecoder has joined #nixos
lord| has quit [Ping timeout: 240 seconds]
lord| has joined #nixos
alex`` has quit [Ping timeout: 246 seconds]
<contrun[m]>
How come I don't have nixos in my nix-channels? I am using nixos-unstable.
<red[m]>
contrun: it's not a big deal -you just need to choose if you want your machine to build via the stable or unstable branch
<contrun[m]>
Probably. I am now unable to add nixos channel back. `sudo nix-channel --add http://nixos.org/channels/nixos-unstable nixos` does not add a symlink in `/nix/var/nix/profiles/per-user/root/channels/nixos`
<clever>
contrun[m]: you must nix-channel --update after you --add
<clever>
(as the same user you did --add)
doublex has quit [Ping timeout: 265 seconds]
<contrun[m]>
clever: It worked. Thanks.
hmpffff_ has joined #nixos
hmpffff has quit [Ping timeout: 276 seconds]
mishac has joined #nixos
<mishac>
@clever, Hello, if you are there. I build a package for ARM and now i tried deploying with nix copy and nix deploy, but i get an erro that nix-store not found. Any ideas how to troubleshoot it?
<clever>
mishac: you need to fix .bashrc such that `ssh user@host nix-store --version` can find nix-store
<mishac>
@clever, does it mean i need to install nix-store first?
<clever>
mishac: yeah, thats what the tar stuff was for
<mishac>
@clever, can you remind about the tar step?
<clever>
2019-09-17 18:03:03< clever> make-system-tarball.nix, will generate a tarball you can unpack to /, that contains a given set of packages
felixfoertsch has quit [Ping timeout: 246 seconds]
<notgne2>
I'm not quite sure how NixOS channels work, but how can I add one that will essentially follow master on git
<clever>
notgne2: does it need to be found by nix-env, nix-build, or nix-shell?
<pittma>
clever: nixos. It it just... didn't work? Blank black background. Using desktopManager.wallpaper worked like a charm, though.
<notgne2>
nix-env, I'm trying to get nim 1.0.0 which appears to be on the master branch of nixpkgs, but isn't on my unstable channel (https://nixos.org/channels/nixos-unstable)
<clever>
pittma: oops, that question was for philr
<clever>
notgne2: if you want something more dynamic, nix-env -iA foo.nim will use whatever nixpkgs this file loads
<clever>
you can then use whatever you want to fetch "master"
<clever>
in my example, a local clone, where i would have to first `git checkout master && git pull`
<notgne2>
I tried `nix-env -iA unstable.nim` which got me `nim-0.20.2` (I just updated channels too to be safe)
<notgne2>
but I don't see myself needing this too often so the command you just gave me worked fine
<clever>
notgne2: that will only load whatever the unstable channel is poining to
<notgne2>
been planning to try this language for a while so I'm thinking of using it to write a nicer mock systemd for my Nix-Continix thingy over the weekend
<philr>
clever: oh
<red[m]>
notgne2: channel != github
<philr>
clever: same thing happens with nix-build.
<red[m]>
there's a delay between something being in master and going into the channel
<red[m]>
can sometimes, it can be many, many, days
<notgne2>
red[m]: is that determined by manual merges or some part of the build system
<clever>
notgne2: when all of the tests on master pass, nixos-unstable updates
<clever>
philr: its trying to dynamically query what kernel modules you have, which is horid-impure!
<clever>
philr: you must specify a flag like -amdgpu-target to tell it what gpu you want
<philr>
clever: as far as I can _tell_, that flag _is_ active in the CMakeLists. I may be wrong, of course.
<notgne2>
also, does anybody know where exactly nixos handles systemd activation stuff, so I can have a slightly better idea of what it would take to mock system in a more "real" nixos system
<clever>
philr: can you pastebin or link the nix file?
<philr>
clever: I think the "set( AMDGPU_TARGETS gfx803;gfx900;gfx906 ..." thing corresponds to amdgpu-target, but maybe I'm wrong there.
<clever>
philr: i think line 170 is saying what the valid targets are
<clever>
philr: and the error is complaining that gfx000 is not valid
<clever>
philr: it may also just be failing because of lsmod not being in PATH
<clever>
,locate bin/lsmod
<{^_^}>
Found in packages: kmod, toybox, busybox
<clever>
but you probably shouldnt be adding kmod to the inputs
<philr>
clever: I tried adding kmod to nativeBuildInputs and it didn't succeed, though I did get a new and interesting set of messages.
<clever>
philr: sounds like it has multiple problems
<{^_^}>
[nixpkgs] @cdepillabout opened pull request #70499 → nixos/steam-hardware: add uinput to boot.kernelModules → https://git.io/JeCW0
<philr>
clever: plausible. I'm a nix/nixos newb fumbling in the dark here. :)
<clever>
philr: what error did it have with kmod?
<philr>
clever: "libkmod: kmod_module_get_holders: could not open '/sys/module/dm_mod/holders': No such file or directory" repeated for lots of modules. Then the same error from clang.
<clever>
philr: ah, nix-daemon is already correctly blocking you from using lsmod
<clever>
you should investigate why its trying to run lsmod, and tell it to stop
<philr>
clever: hmm, do you know what is happening when I build successfully in nix-shell that's different?
<philr>
with respect to this lsmod invocation, that is
<clever>
philr: nix-shell --pure doesnt stop you from peeking into /sys
<philr>
clever: it does however remove lsmod from my path
<clever>
philr: can be hard to know exactly what its doing (when it shouldnt), without running the whole thing under strace, and going over 1000's of lines of logs
<philr>
clever: Sounds like something we'd rather avoid
<clever>
philr: nix-build already enforces not touching things you shouldnt touch
<clever>
so it turns things into failures you can clearly see
otulp has quit [Ping timeout: 240 seconds]
<mishac>
@clever can you elaborate a bit on this step: make-system-tarball.nix, will generate a tarball you can unpack to /, that contains a given set of packages
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
ajs124 has quit [Quit: Gateway shutdown]
aw has joined #nixos
<clever>
mishac: make a tar, that contains the arm build of nix, then unpack that tar on the arm device, and run `nix-store --load-db < /nix/store/nix-path-registration`
spacefrogg has joined #nixos
<clever>
mishac: then use nix-env -i /nix/store/hash-nix, to install nix on the arm device
iyzsong has joined #nixos
<mishac>
@clever and the way to make armm buil of nix is through this command : nix build -f '<nixpkgs>' -I . pkgsCross.armv7l-hf-multiplatform.nix
<clever>
mishac: you would want to use (import <nixpkgs> {}).pkgsCross.armv7l-hf-multiplatform.nix in the expr that is building the tar
<mishac>
@clever, i see. :P
<mishac>
clever thanks!
<clever>
mishac: also, @clever doesnt light up on this end
<clever>
but that did
<philr>
clever: ok so it turns out I am at fault for not reading the documentation, apologies for taking your time :) hopefully this solves the problem
<clever>
philr: what was the solution?
sellout- has joined #nixos
mishac has quit [Remote host closed the connection]
<philr>
clever: I haven't tried it yet but at the bottom of the nixos-rocm readme: "The rocblas and rocfft packages (and those that depend upon them) require a bit of additional configuration. The nix builder sandbox must be expanded to allow for build-time inspection of the current system for these packages to build."
<clever>
philr: yuck!
<clever>
philr: that kind of thing makes it imposible to reproduce the builds, or use build slaves
<philr>
Yes well presumably if you have to build it to target a specific GPU it's going to be a tricky beast
<clever>
philr: but if you specify which gpu in the nix config, it can build for that gpu, even on the "wrong" machine
<clever>
and it wont use the "wrong" build from another machine, on your current one
<clever>
Sep 30 15:34:05 amd-nixos kernel: amdgpu 0000:01:00.0: kfd not supported on this ASIC
<clever>
and looks like i'm outa luck too
<philr>
clever: Yes I had to move to nixos-unstable to get kfd which was a whole other thing
<clever>
philr: already on unstable here
slack1256 has quit [Remote host closed the connection]
freecoder has quit [Quit: Leaving]
jersey[m] has joined #nixos
ornx has quit [Quit: No Ping reply in 180 seconds.]
<evils>
clever: about my OUI file, is there a good reason i can't just make the latest and have nix hash it along with my source code?
ornx has joined #nixos
<evils>
without shipping the actual file in my source code
mexisme has joined #nixos
<clever>
evils: each derivation is hashed seperately
<clever>
so thats not really possible
<evils>
so the output of my script can't be part of the derivation?
<evils>
i do suppose i couldn't remake historic versions if i just make the latest
dycan has joined #nixos
<evils>
my current approach is to include the hash of my OUI file in the script that makes it and fail if the output doesn't match
<clever>
evils: the script doing the download needs to be in a seperate derivation from the compile
<clever>
the src = fetchFromGitHub is also a derivation, that is downloading source
mexisme has quit [Ping timeout: 252 seconds]
<evils>
ah, because the build step can't download stuff?
<clever>
correct
<evils>
is there a way i can call `make oui` with internet access?
<clever>
evils: put it into its own derivation, with the 3 attrs i mentioned before
<evils>
right
<clever>
i basically just dont support other distros :P
<clever>
you can always do nix-build on arch or ubuntu :P
<evils>
well, when nixos runs on my SoHo router...
<clever>
evils: i run full nixos on my router...
<clever>
and there is #nixos-on-your-router
<clever>
but my router is a dual-socket rack-mount machine, with several gig of ECC ram....
<evils>
i've got 16M storage there :P
<clever>
80gig mechanical sata in my router, it runs an entire hydra instance
<evils>
admittedly, i've got a 500G hdd in my router xD
<Orbstheorem>
Hello, I'm trying to install gst plugings in my system. I tried adding them to environment.systemPackages, but after I do `nixos-rebuild test`, I don't see the plugins in /run/current-system/sw/lib/gstreamer-1.0/. I have verified that the derivations have the lib files
<evils>
does nixos currently support mips?
<Orbstheorem>
Is there anything that prevents library files from being installed in current-system?
<evils>
clever: i was under the impression nix only hashed inputs not outputs
<clever>
evils: nix hashes all inputs, but a drv to fetch something, has curl as an input
<clever>
evils: and you dont want to re-fetch (and re-build) EVERYTHING, when curl changes
<clever>
evils: so a fixed-output drv puts a halt to that, and says "this tar always has this hash", and it wont care what the hash of curl is
<clever>
also, network access is impure, so you could do naughty things that make a different build, defying the hash
<clever>
so, you must declare the hash of the output, that ensures you always produce the same source
<evils>
and if you're doing that anyway, who cares about the input :P
<evils>
clever++
<{^_^}>
clever's karma got increased to 212
<jersey[m]>
hi. i'm trying to use ghc with nixpkg, and if i understand well, i need to use ghcWithPackages to have a shell with given packages available
<jersey[m]>
but i get "variable $src or $srcs should point to the source" when running nix-shell -p (...)
<clever>
jersey[m]: correct
<clever>
jersey[m]: can you paste the full command you used?
<jersey[m]>
nix-shell -p "haskellPackages.ghcWithPackages (packages: with packages; [xmonad xmonad-extras xmonad-contrib])"
<jersey[m]>
(long story, i was trying to run xmonad, which fails when compiling config, so i figured i may need the special shell/env to run it properly)
<jersey[m]>
(because it was failing with failing XMonad import)
iqubic has joined #nixos
dycan has quit [Ping timeout: 240 seconds]
<clever>
jersey[m]: that command works perfectly here
<clever>
jersey[m]: thats a recent bug i discovered in docker, that i still need to report
<jersey[m]>
"XMonad recompilation process exited with success!" as well
<jersey[m]>
huh, Docker?
notarock has joined #nixos
<notarock>
I just moved to NixOS 3 days ago and loving it so far <3
<jersey[m]>
does it... use Docker underneath?
<jersey[m]>
anyway, thanks a lot! :)
<jersey[m]>
I'm just curious how it works
ebzzry has joined #nixos
<clever>
jersey[m]: nope, i just happened to find the failure in docker
iqubic` has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
iqubic has quit [Ping timeout: 245 seconds]
iqubic` has quit [Client Quit]
t58 has quit [Quit: Night]
iqubic has joined #nixos
<jersey[m]>
ah, fair enough. well, i won't bother you for now, it's actually my first day using anything nixos-related so i probably won't help anyway ;)
inkbottle has quit [Ping timeout: 240 seconds]
inkbottle has joined #nixos
kleisli has joined #nixos
<contrun[m]>
I want to bind xmonad and xmobar together. The xmonad-with-packages does not propogate xmobar bin. It only create symlink for xmonad. How can I make a derivation which contains both xmonad and xmobar binaries?
mla has quit [Ping timeout: 250 seconds]
mla has joined #nixos
<notgne2>
contrun[m]: I have literally no idea what xmonad-with-packages is supposed to achieve but iirc you can combine paths with `symlinkJoin`
<notgne2>
note that I actually do use xmonad, but with XFCE so never touched any extra stuff
abathur has quit [Ping timeout: 240 seconds]
<contrun[m]>
notgne2: Thank you for the suggestion. I think xmonad-with-packages pack libraries together with xmonad so that I can use extra libraries in my xmoand config.
<notgne2>
in my config somewhere I noticed I have `extraPackages` for xmonad, which works like `windowManager.xmonad.extraPackages = haskellPackages: [ haskellPackages.xmonad-extras ];` if that's any use, I'm not sure if xmobar is supposed to work as an xmonad library like I presume the stuff in this property is
<contrun[m]>
notgne2: I am having problem with xmobar. Some of commands I configed didn't actually show up. I am wondering if I missed some libraries for xmobar. So I want to create a derivation which has both xmobar and xmonad dependencies.
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
<contrun[m]>
I did set extraPackages in my configuration. But the cpu and memory sections did not show up in the bar.
<{^_^}>
[nixpkgs] @hedning opened pull request #70501 → gnome3.gnome-session: always run /etc/set-environment on startup → https://git.io/JeClM
bahamas has joined #nixos
Havvy has quit [Ping timeout: 252 seconds]
mishac has joined #nixos
<mishac>
clever. Hello again. I did what you said and successfully generated tarball with nix-store binaries in it. I see the registration-path file but it is empty, Any ideas?
<clever>
mishac: what files are in the tar?
Havvy has joined #nixos
fusion809 has joined #nixos
<mishac>
clever all the nix-* in bin, etc, lib, libexec, share
<clever>
mishac: can you pastebin the output of `tar -tvf /path/to/tar` ?
<clever>
mishac: yeah, theres the problem, you must put a nix expr in line 8
<clever>
mishac: its just blindly copying a single directory, not a nix build and the things it depends on
<clever>
2019-10-05 23:54:58 < clever> mishac: you would want to use (import <nixpkgs> {}).pkgsCross.armv7l-hf-multiplatform.nix in the expr that is building the tar
<clever>
mishac: that
<mishac>
@clever, ohh,
<clever>
mishac: you want object to contain that expr, and symlink to be a quoted path, and it has to go into storeContents, not contents
<mishac>
@clever I am having a bit of a hard understanding. What exactly is the difference between contents and store conents. The description in nix files is a bit minimal
<clever>
mishac: and the closure info, is based purely on the list of objects you give it
<clever>
mishac: so, sources/targets is just a list of things to blindly copy, from source to target, and target is a path that will exist within the tar
<clever>
mishac: objects/symlinks, is a set of derivations to copy into the /nix/store of the tar (including deps) and add to the registration-path file, and create symlinks (within the tar) so you can figure out the hash
<mishac>
clever so it would be whatever packages i want to include to the store
<mishac>
@clever one last question. I almost got it working, in the last step when i run the command: sudo ./nix-env -i /nix/store/hash-nix, I get: error: path '/nix/store/hash-nix' is not in the Nix store
nexgen has quit [Remote host closed the connection]
nexgen has joined #nixos
<clever>
mishac: you must use the actual path to the nix derivation, that nix-env itself is in
<mishac>
clever omg, yeah
<clever>
mishac: you should now have a profile under /nix/var/nix/profiles/
<clever>
and then nix-env is in the bin dir of that profile
floscr_ has quit [Read error: Connection reset by peer]
<clever>
then throw a symlink like this into one (or more) of your users
<clever>
and put ~/.nix-profile/bin/ into PATH
floscr has joined #nixos
cswl has joined #nixos
Heirlung has quit [Ping timeout: 240 seconds]
nexgen has quit [Remote host closed the connection]
nexgen has joined #nixos
Heirlung has joined #nixos
<mishac>
clever last last question. I am getting this error with user groups. error: all build users are currently in use; consider creating additional users and adding them to the 'nixbld' group
mexisme has joined #nixos
<clever>
mishac: that error will go away if you run nix without root, and give that user +w to /nix/store
<clever>
mishac: or you can setup build users, if you do want to use nix as root
mexisme has quit [Ping timeout: 240 seconds]
revtintin has joined #nixos
kvda has joined #nixos
<clever>
bbl
ajs124 has joined #nixos
<{^_^}>
[nixpkgs] @vbgl opened pull request #70505 → ocamlPackages.labltk: init at 8.06.7 for OCaml ≥ 4.08 → https://git.io/JeC8V
<{^_^}>
[nixpkgs] @doronbehar opened pull request #70509 → snzip: init at 1.0.4 → https://git.io/JeC8A
ebzzry has quit [Ping timeout: 265 seconds]
sellout- has quit [Quit: Leaving.]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
sellout- has joined #nixos
foobarrred has joined #nixos
<foobarrred>
I'm failling to install grub on a nixos 19.03 install with "warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.". What do I do next?
foobarrred has quit [Remote host closed the connection]
dycan has quit [Remote host closed the connection]
toppler has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
<raboof>
Hi! I'm shopping for a new Linux distro. After being with Debian for ~10 years, I'm looking for a distro where the feedback cycle between contributing a change (either upstream or to packaging) and seeing that change generally available is shorter. Would the NixOS unstable channel be a good fit for me?
<MichaelRaskin>
What is your current best option?
<{^_^}>
[nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JeC4m
<MichaelRaskin>
I think one can run NixOS from a checkout after getting some experience (to be able to rollback or fix minor stuff easily)
toppler has quit [Remote host closed the connection]
toppler has joined #nixos
<MichaelRaskin>
Right now nixos-unstable is 9 days behind master branch (I don't know what exactly is broken), nixos-unstable-small is just 18 hours behind master branch though (it checks less things before advancing)
<raboof>
my current system is a "FrankenDebian" (mixing packages from different versions). I've been trying out Arch but am having mixed feelings about it so far.
<{^_^}>
[nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/JeC4s
<MichaelRaskin>
Minor update PRs are typically merged to master, you can sample the Github closed PRs to see the real distribution of timing
<MichaelRaskin>
Nix allows to run frankensystems in a very safe and transparent way, if something gets stuck
toppler has quit [Ping timeout: 240 seconds]
m0rphism has joined #nixos
<raboof>
sounds like I should try it out, thanks ;)
<MichaelRaskin>
(I think a lot of people run stable for the main system and install some applications or development environments from unstable, as the notion of packages conflict is reduced to the really minimal and unavoidable subset — which one can usually work around — it's not even hard)
<MichaelRaskin>
If you want an upstream fix to get to Nixpkgs and it is not a tightly watched package (like Firefox), you need to wait for an upstream release (or convince upstream to release a patchlevel bump…), and then submit a version bump PR to Nixpkgs
<raboof>
sounds reasonable. and I guess I could build the package from source myself from VCS if the upstream versioning is slow?
m0rphism has quit [Client Quit]
m0rphism has joined #nixos
<{^_^}>
[nixpkgs] @vcunat pushed 2 commits to release-19.09: https://git.io/JeC4l
<MichaelRaskin>
Building packages from VCS manually is actually complicated in NixOS. You can easily override the source expression with a VCS/nightly code version, though.
<MichaelRaskin>
(Nix thinks in terms of having Nix expression language and package definitions written in this, and building what you need — binary packages are just a cache «oh, if you build _exactly_ this you could get _this_ output»)
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeC4z
mexisme has joined #nixos
<raboof>
you mean you'd build it by writing a nixpkg for it and installing that instead of building 'manually' from the commandline?
<MichaelRaskin>
Not always even writing — either patching an existing one, or maybe even writing a small expression that imports and modifies the package
<raboof>
right, so for a not-yet-packaged application a little more hassle, but also a good incentive to create the package and share it upstream :)
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to master « haskell-regex-pcre-builtin: fix build with ghc 8.8.1 »: https://git.io/JeC4P
<{^_^}>
[nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/JeC41
cswl has quit [Quit: Connection closed for inactivity]
<MichaelRaskin>
There were people saying that creating a Nix package is easier than creating a Debian package (well, if upstream source is easy and clean to build)
<MichaelRaskin>
If upstream makes strong assumptions, then the Nix workarounds could add some complexity to the package, of course
revtintin has quit [Quit: WeeChat 1.9.1]
ris has joined #nixos
chloekek has quit [Ping timeout: 240 seconds]
astrall33 has joined #nixos
p8 has joined #nixos
bahamas has quit [Ping timeout: 240 seconds]
<raboof>
to dual-boot between arch and nixos on an UEFI system, should/could I keep the Arch EFI system partition, create a second vfat partition to use as the NixOS /boot partition, and somehow configure the Arch EFI system to also be able to boot to the NixOS one?
<{^_^}>
[nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JeCBf
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeCBJ
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeCBW
knupfer has joined #nixos
<qyliss>
Do we have a way to get nix-collect-garbage not to delete derivations? They take up such a small amount of disk, and could be useful to keep around...
chloekek has joined #nixos
<LnL>
gc-keep-derivations :)
<qyliss>
:D
<LnL>
does mean it will also keep more build dependencies around however
<tilpner>
Does anyone have good experiences with mixing modules between channels?
<tilpner>
It seems like it would be very brittle, but federated services on stable channel get old fairly quickly
<tilpner>
(E.g. matrix-synapse)
<tilpner>
Just blacklisting the 19.09 version and importing the unstable module might bring all sorts of weird inconsistencies
<tilpner>
Or worse, the unstable version has relative imports to other (non-blacklisted!) unstable modules
sb0 has joined #nixos
<LnL>
it depends a lot on the module, but services usually are pretty self contained
orivej has joined #nixos
ixxie has joined #nixos
<tilpner>
I'm mostly asking to learn about potential conflicts I didn't think of, _before_ actually mixing modules :)
silver has joined #nixos
<tilpner>
But I suppose that's a little too specific
<LnL>
modules are all global so there's not much you can guarentee
<tilpner>
No, of course not
dansho has joined #nixos
l33[m] has quit [Remote host closed the connection]
ndarwincorn has quit [Remote host closed the connection]
Seb[m] has quit [Remote host closed the connection]
slabity has quit [Remote host closed the connection]
luftmensch[m] has quit [Read error: Connection reset by peer]
rycee has quit [Remote host closed the connection]
sylvie[m] has quit [Write error: Connection reset by peer]
JaakkoLuttinen[m has quit [Read error: Connection reset by peer]
worldofpeace has quit [Read error: Connection reset by peer]
tyx2q[m] has quit [Read error: Connection reset by peer]
bpye has quit [Write error: Connection reset by peer]
bkchr has quit [Write error: Connection reset by peer]
clacke[m] has quit [Remote host closed the connection]
domenkozar[m] has quit [Read error: Connection reset by peer]
Lisanna[m] has quit [Read error: Connection reset by peer]
MilkManzJourDadd has quit [Write error: Connection reset by peer]
laas has quit [Remote host closed the connection]
jonge[m] has quit [Read error: Connection reset by peer]
pachacuti[m] has quit [Write error: Connection reset by peer]
olejorgenb[m] has quit [Remote host closed the connection]
ptotter[m] has quit [Read error: Connection reset by peer]
fgaz has quit [Write error: Connection reset by peer]
atopuzov[m] has quit [Read error: Connection reset by peer]
Shyim[m] has quit [Read error: Connection reset by peer]
regnat[m] has quit [Remote host closed the connection]
yoho[m]1 has quit [Write error: Connection reset by peer]
eqyiel has quit [Read error: Connection reset by peer]
TravisRt2botio[m has quit [Write error: Connection reset by peer]
IslandUsurper has quit [Write error: Connection reset by peer]
vvbb[m] has quit [Write error: Connection reset by peer]
tokudan[m] has quit [Write error: Connection reset by peer]
Vskilet has quit [Remote host closed the connection]
syntaxtree[m] has quit [Write error: Connection reset by peer]
RobinKroonen[m] has quit [Write error: Connection reset by peer]
TheSirC[m] has quit [Write error: Connection reset by peer]
steshaw[m] has quit [Write error: Connection reset by peer]
rnhmjoj has quit [Write error: Connection reset by peer]
coniferous-cube[ has quit [Write error: Connection reset by peer]
craige[m] has quit [Write error: Connection reset by peer]
wrunt[m] has quit [Read error: Connection reset by peer]
KodiakIT[m] has quit [Read error: Connection reset by peer]
gudea[m] has quit [Read error: Connection reset by peer]
bohan[m] has quit [Read error: Connection reset by peer]
freddie_freeload has quit [Read error: Connection reset by peer]
am3on[m] has quit [Write error: Connection reset by peer]
white_bluff[m] has quit [Read error: Connection reset by peer]
das-g[m] has quit [Read error: Connection reset by peer]
haslersn[m] has quit [Remote host closed the connection]
jak[m] has quit [Read error: Connection reset by peer]
Sisyphe[m] has quit [Remote host closed the connection]
NfixEstrada[m] has quit [Remote host closed the connection]
haslersn has quit [Read error: Connection reset by peer]
zurdo has quit [Read error: Connection reset by peer]
Dandellion[m] has quit [Read error: Connection reset by peer]
Notkea[m] has quit [Read error: Connection reset by peer]
aterius has quit [Read error: Connection reset by peer]
kyleondy[m] has quit [Read error: Connection reset by peer]
Nyanloutre[m] has quit [Read error: Connection reset by peer]
ck3d[m] has quit [Read error: Connection reset by peer]
pop[m]1 has quit [Read error: Connection reset by peer]
neonfuz2 has quit [Remote host closed the connection]
arianvp[m] has quit [Read error: Connection reset by peer]
setthemfree[m] has quit [Read error: Connection reset by peer]
harkenedraven has quit [Remote host closed the connection]
NickHu has quit [Read error: Connection reset by peer]
schmittlauch[m]1 has quit [Read error: Connection reset by peer]
schmittlauch[m] has quit [Read error: Connection reset by peer]
wak-work has quit [Write error: Connection reset by peer]
corpix[m] has quit [Read error: Connection reset by peer]
fasd has quit [Read error: Connection reset by peer]
tonic0x539[m] has quit [Read error: Connection reset by peer]
sonercirit[m] has quit [Read error: Connection reset by peer]
sphalerit has quit [Read error: Connection reset by peer]
cgm[m] has quit [Read error: Connection reset by peer]
LinuXit has quit [Read error: Connection reset by peer]
seekerus3r[m] has quit [Write error: Connection reset by peer]
KarelWDingeldey[ has quit [Remote host closed the connection]
ma27[m] has quit [Read error: Connection reset by peer]
clefru has quit [Read error: Connection reset by peer]
sputny[m] has quit [Write error: Connection reset by peer]
timokau[m] has quit [Read error: Connection reset by peer]
Tony[m]3 has quit [Remote host closed the connection]
dominicusin[m] has quit [Read error: Connection reset by peer]
infinisil-m has quit [Remote host closed the connection]
simbergm has quit [Write error: Connection reset by peer]
tobim[m] has quit [Write error: Connection reset by peer]
kaychaks[m] has quit [Read error: Connection reset by peer]
abbafei[m] has quit [Read error: Connection reset by peer]
mirsal has quit [Write error: Connection reset by peer]
vdot0x23[m] has quit [Read error: Connection reset by peer]
dwagenk has quit [Write error: Connection reset by peer]
ronny has quit [Write error: Connection reset by peer]
tejok[m] has quit [Read error: Connection reset by peer]
arturo[m] has quit [Read error: Connection reset by peer]
midi[m] has quit [Read error: Connection reset by peer]
elais[m] has quit [Read error: Connection reset by peer]
Diamaths[m] has quit [Read error: Connection reset by peer]
contrun[m] has quit [Read error: Connection reset by peer]
jwaksbaum[m] has quit [Write error: Connection reset by peer]
ninjatrappeur[m] has quit [Read error: Connection reset by peer]
bkl[m] has quit [Read error: Connection reset by peer]
li_matrix has quit [Read error: Connection reset by peer]
peel1 has quit [Read error: Connection reset by peer]
abbradar[m] has quit [Read error: Connection reset by peer]
wildtrees[m] has quit [Read error: Connection reset by peer]
srid[m] has quit [Read error: Connection reset by peer]
EuAndreh[m] has quit [Read error: Connection reset by peer]
Dan[m]8 has quit [Read error: Connection reset by peer]
red[m] has quit [Read error: Connection reset by peer]
GerdFlaig[m] has quit [Read error: Connection reset by peer]
xavierm02 has quit [Read error: Connection reset by peer]
flip[m]1 has quit [Read error: Connection reset by peer]
badmutex[m] has quit [Read error: Connection reset by peer]
MichaelEden[m] has quit [Read error: Connection reset by peer]
alexoundos[m] has quit [Read error: Connection reset by peer]
philipp[m] has quit [Remote host closed the connection]
musicmatze has quit [Remote host closed the connection]
zaphar_ps[m] has quit [Read error: Connection reset by peer]
tilpner[m] has quit [Remote host closed the connection]
joelpet1 has quit [Read error: Connection reset by peer]
cornu has quit [Read error: Connection reset by peer]
xbreak[m] has quit [Read error: Connection reset by peer]
peterhoeg[m] has quit [Read error: Connection reset by peer]
thequux[m] has quit [Read error: Connection reset by peer]
Fabian[m]3 has quit [Read error: Connection reset by peer]
cyberwolf[m] has quit [Read error: Connection reset by peer]
hr[m] has quit [Read error: Connection reset by peer]
imj[m] has quit [Read error: Connection reset by peer]
rihardsk[m] has quit [Read error: Connection reset by peer]
nocent has quit [Read error: Connection reset by peer]
Victor[m]2 has quit [Read error: Connection reset by peer]
vxzero[m] has quit [Read error: Connection reset by peer]
grim_reaper[m] has quit [Read error: Connection reset by peer]
mariusz-kowalski has quit [Read error: Connection reset by peer]
stites[m] has quit [Read error: Connection reset by peer]
orospakr[m] has quit [Read error: Connection reset by peer]
nobbo[m] has quit [Read error: Connection reset by peer]
Yakulu[m] has quit [Read error: Connection reset by peer]
roberth has quit [Read error: Connection reset by peer]
MiloIgnis[m] has quit [Remote host closed the connection]
pinage404[m] has quit [Remote host closed the connection]
ajirx[m] has quit [Read error: Connection reset by peer]
alj[m] has quit [Remote host closed the connection]
frederic_chopwn[ has quit [Remote host closed the connection]
florianjacob has quit [Remote host closed the connection]
ejpcmac has quit [Remote host closed the connection]
klbrn[m] has quit [Read error: Connection reset by peer]
Minijackson[m] has quit [Read error: Connection reset by peer]
hpfr[m] has quit [Read error: Connection reset by peer]
fidgetspinoza[m] has quit [Remote host closed the connection]
sauyon[m] has quit [Remote host closed the connection]
otini has quit [Read error: Connection reset by peer]
thefloweringash has quit [Read error: Connection reset by peer]
DanP[m] has quit [Remote host closed the connection]
layus[m] has quit [Read error: Connection reset by peer]
offlinehacker has quit [Remote host closed the connection]
jschievink has quit [Read error: Connection reset by peer]
tindvik[m] has quit [Read error: Connection reset by peer]
Gopal[m] has quit [Read error: Connection reset by peer]
vaibhavsagar has quit [Read error: Connection reset by peer]
Ox4A6F has quit [Read error: Connection reset by peer]
sierraDelta has quit [Read error: Connection reset by peer]
anton-latukha[m] has quit [Read error: Connection reset by peer]
groggy[m] has quit [Read error: Connection reset by peer]
zmlww[m] has quit [Read error: Connection reset by peer]
balsoft has quit [Read error: Connection reset by peer]
escaP[m] has quit [Remote host closed the connection]
matthewbauer has quit [Remote host closed the connection]
nh2[m] has quit [Read error: Connection reset by peer]
bee[m]1 has quit [Write error: Connection reset by peer]
aquarial has quit [Write error: Connection reset by peer]
zmlww[m]1 has quit [Write error: Connection reset by peer]
MayeulC_backup has quit [Write error: Connection reset by peer]
frislie[m] has quit [Write error: Connection reset by peer]
yangm has quit [Write error: Connection reset by peer]
wangoe[m] has quit [Write error: Connection reset by peer]
smolboye[m] has quit [Write error: Connection reset by peer]
grahamc[m] has quit [Write error: Connection reset by peer]
ptival[m] has quit [Write error: Connection reset by peer]
hienergy[m] has quit [Write error: Connection reset by peer]
MerlinGttlinger[ has quit [Write error: Connection reset by peer]
info_supplicant[ has quit [Write error: Connection reset by peer]
goibhniu has quit [Write error: Connection reset by peer]
MarkOtaris has quit [Write error: Connection reset by peer]
danielrf[m] has quit [Write error: Connection reset by peer]
copy` has quit [Write error: Connection reset by peer]
mildred has quit [Write error: Connection reset by peer]
nilsirl[m] has quit [Write error: Connection reset by peer]
Guest99415 has quit [Write error: Connection reset by peer]
snupples[m] has quit [Write error: Connection reset by peer]
RIOTIM[m] has quit [Write error: Connection reset by peer]
Smith[m] has quit [Remote host closed the connection]
M0ddba11[m] has quit [Read error: Connection reset by peer]
ZD[m] has quit [Read error: Connection reset by peer]
codyopel has quit [Read error: Connection reset by peer]
Ericson2314 has quit [Write error: Connection reset by peer]
provessor[m] has quit [Read error: Connection reset by peer]
enick_536 has quit [Read error: Connection reset by peer]
spacekitteh[m] has quit [Write error: Connection reset by peer]
kraem[m] has quit [Write error: Connection reset by peer]
y0x3y[m] has quit [Write error: Connection reset by peer]
Noughtmare[m] has quit [Write error: Connection reset by peer]
sevcsik[m] has quit [Write error: Connection reset by peer]
siraben has quit [Read error: Connection reset by peer]
colemickens has quit [Read error: Connection reset by peer]
divansantana has quit [Read error: Connection reset by peer]
momack2[m] has quit [Read error: Connection reset by peer]
manveru[m] has quit [Remote host closed the connection]
submoo[m] has quit [Read error: Connection reset by peer]
bnasty[m] has quit [Read error: Connection reset by peer]
Moredread[m] has quit [Write error: Connection reset by peer]
jersey[m] has quit [Write error: Connection reset by peer]
Woland[m] has quit [Read error: Connection reset by peer]
ArtemVorotnikov[ has quit [Read error: Connection reset by peer]
jonreeve[m] has quit [Read error: Connection reset by peer]
boredom101[m]1 has quit [Remote host closed the connection]
Christian[m]4 has quit [Read error: Connection reset by peer]
bachp has quit [Read error: Connection reset by peer]
hackeryarn[m] has quit [Read error: Connection reset by peer]
bennofs[m] has quit [Write error: Connection reset by peer]
fulgjon has quit [Read error: Connection reset by peer]
alex[m]16 has quit [Write error: Connection reset by peer]
arcnmx has quit [Read error: Connection reset by peer]
jak_wolf[m] has quit [Read error: Connection reset by peer]
dnixty[m] has quit [Remote host closed the connection]
pingveno[m] has quit [Read error: Connection reset by peer]
Brio[m] has quit [Write error: Connection reset by peer]
attente[m] has quit [Read error: Connection reset by peer]
Bruno[m] has quit [Read error: Connection reset by peer]
v0id72[m] has quit [Read error: Connection reset by peer]
eddyb has quit [Write error: Connection reset by peer]
is0x3F has quit [Read error: Connection reset by peer]
malteof[m] has quit [Read error: Connection reset by peer]
BinkyTheClown has quit [Read error: Connection reset by peer]
isgy[m] has quit [Read error: Connection reset by peer]
sm[m] has quit [Write error: Connection reset by peer]
gspia[m] has quit [Write error: Connection reset by peer]
quiet_laika[m] has quit [Write error: Connection reset by peer]
alxev[m] has quit [Write error: Connection reset by peer]
weebull[m] has quit [Write error: Connection reset by peer]
VaNilLa[m] has quit [Write error: Connection reset by peer]
bendlas has quit [Write error: Connection reset by peer]
iceychris[m] has quit [Write error: Connection reset by peer]
macerbi[m] has quit [Write error: Connection reset by peer]
Thinkofname[m] has quit [Write error: Connection reset by peer]
alienpirate5 has quit [Write error: Connection reset by peer]
bricewge has quit [Write error: Connection reset by peer]
balsoft[m] has quit [Write error: Connection reset by peer]
aymenstudios[m] has quit [Write error: Connection reset by peer]
abbec has quit [Read error: Connection reset by peer]
chuzz_ has quit [Read error: Connection reset by peer]
truby has quit [Read error: Connection reset by peer]
Sascha[m]3 has quit [Read error: Connection reset by peer]
ilya-fedin has quit [Write error: Connection reset by peer]
jtojnar has quit [Write error: Connection reset by peer]
ctrl_shift_smtng has quit [Write error: Connection reset by peer]
marius851000[m] has quit [Write error: Connection reset by peer]
tyrion-mx has quit [Write error: Connection reset by peer]
kxlljoyy[m] has quit [Write error: Connection reset by peer]
hiroshi[m] has quit [Write error: Connection reset by peer]
b-m-f[m] has quit [Write error: Connection reset by peer]
bikki[m] has quit [Write error: Connection reset by peer]
icetan has quit [Write error: Connection reset by peer]
blitzclone_ has quit [Write error: Connection reset by peer]
tails[m] has quit [Write error: Connection reset by peer]
<tilpner>
I should probably run nixosTests.matrix-synapse on this module mix before deploying
roadt[m] has quit [Write error: Connection reset by peer]
HappyEnt[m] has quit [Read error: Connection reset by peer]
alexarice[m] has quit [Read error: Connection reset by peer]
cab404[m] has quit [Remote host closed the connection]
craigevil[m] has quit [Read error: Connection reset by peer]
dtz has quit [Read error: Connection reset by peer]
<LnL>
but I've been using unstable plex for most of the 19.03 release without any problems
<tilpner>
Speaking of Matrix...
<raboof>
:D
Mateon1 has quit [Remote host closed the connection]
Mateon1 has joined #nixos
<tilpner>
LnL: Just blacklisted the native module and imported the new one?
<LnL>
yeah
<LnL>
that and an override for the package
foldingcookie has quit [Ping timeout: 240 seconds]
dontobey has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
tsrt^ has quit [Ping timeout: 265 seconds]
<raboof>
just installed nixos for the first time, was pretty smooth apart from having to boot back into the installer a couple of time because I hadn't installed enough packages to connect to my wifi ;)
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
leo_ has left #nixos [#nixos]
<aanderse>
anyone here run a matrix server and understand the configuration of it? i've never ran a matrix server or even used matrix/riot, but i'm interested in checking it out. maybe if someone could post their config, or someone could take a look at my config and tell me if i'm completely off the mark?
aaa_ has quit [Quit: Leaving]
<tilpner>
aanderse: Paste ahead
<aanderse>
tilpner: thanks, just preparing relevant configs
<Yaniel>
riot itself is just a bunch of html+js, dump it somewhere and have nginx/apache serve the directory
<tilpner>
Yaniel: And a json config
<aanderse>
Yaniel: glad to hear, as i was serving it through apache reverse proxy
<Yaniel>
oh yeah it has some config now
<tilpner>
Has had for at least a year
<Yaniel>
and a .well-known json blob pointing to the actual host+port your homeserver is at
<kindaro>
When I run a trivial executable, I get `user error (unknown GLUT entry glutInit)`. In `strace`, I see that `libglut.so` is being searched for in all kinds of places like `/nix/store/...-gcc-7.4.0/...` where it obviously is not present. At the same time this very library is peacefully located in its own store entry under
<kindaro>
`/nix/store/...-freeglut-3.0.0/lib`. I am running `nix-shell --packages ... freeglut`, so I expect it to be found, but it is not happening.
<tilpner>
I think it was recommended during migration to .well-known, not sure
<Yaniel>
SRV used to be necessary if your homeserver was on a different host than your matrix id suffix or on a non-default port
<aanderse>
matrix.fosslib.net is running everything, fosslib.net is a completely different ip/machine
<aanderse>
ah, yeah... that makes sense
<tilpner>
It's the mechanism that answers "where's the matrix server for the user at fosslib.net"
<tilpner>
Your username will not include matrix.fosslib.net
siel has quit [Remote host closed the connection]
WilliamHamilton has quit [Remote host closed the connection]
<aanderse>
oh... yeah i did that backward
<aanderse>
i maded matrix.fosslib.net/well-known... point to fosslib.net but it should be that fosslib.net/well-known... points to matrix.fosslib.net
<aanderse>
yeah, that is pretty obvious now that you point it out... thanks >_<
Izorkin has joined #nixos
<tilpner>
I didn't catch it in your config either
<tilpner>
(Why are you using apache anyway, so verbose)
toppler has joined #nixos
<aanderse>
you mean apache config is verbose compared to nginx config, or nixos apache config is verbose compared to nixos nginx config?
<Henson>
I've got a shell.nix file with a buildFHSUserEnv in it. Is there some way I can build an out path of this environment so when I do a garbage collection all of the packages referenced in the environment aren't cleaned up and have to be downloaded again?
<tilpner>
I'm just referring to the letsencrypt acme-challenge blob you need to put everywhere
<tilpner>
The nginx module does that for you
<tilpner>
But of course NixOS could do that too for apache
<aanderse>
tilpner: yeah the nixos apache module sucks, but i've been working on it
<tilpner>
Henson: nix-build shell.nix
<aanderse>
a goal of mine is to bring apache up to par with nginx, and hopefully similar/the same options
<tilpner>
Henson: That should create a result symlink in your current directory
<m1cr0m4n>
Hey folks. I'm trying to set up nextcloud on apache, and reuse as much of the existing service config as possible. However the nginx user/group is hard coded into a few places. Is there a way for me to load the nextcloud service nix script locally/within my configuration.nix? I can't just override some of these things the nice way.
<tilpner>
Don't mind me then
<aanderse>
:)
<aanderse>
also i'm an apache sysadmin at work and that isn't changing any time soon, so why bother putting too much time into learning nginx :p
<Henson>
tilpner: I get this error message: User chroot 'env' attributes are intended for interactive nix-shell sessions, not for building!
<tilpner>
m1cr0m4n: You can try users.users.nextcloud.group = mkForce "foo";
<tilpner>
m1cr0m4n: Or you can blacklist the nextcloud module, copy it into your config, and edit it as you wish
siel has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<m1cr0m4n>
tilpner, Ah blacklisting is what I wanted thanks, but I will try mkForce first :)
<tilpner>
Henson: Then I can't help you without seeing the shell.nix (and even then...)
<m1cr0m4n>
tilpner, that's a lot simpler than the one in the repo. Do you know why they add the "mappAttrs (name: mkDefault) { ..." part? I don't understand what that achieves
<tilpner>
m1cr0m4n: That's just to set those values with a lower priority, so that the user doesn't have to mkForce over them
<m1cr0m4n>
oh! ok yes that makes sense now :)
<tilpner>
m1cr0m4n: But the // cfg.poolSettings part is important
<m1cr0m4n>
tilpner, yeah I am keeping that.
<m1cr0m4n>
tilpner, I understand the // syntax and its associates
<tilpner>
m1cr0m4n: You don't have access to cfg if you're just a module user
<m1cr0m4n>
tilpner, I can query config.services.nextcloud.poolSettings though right?
<tilpner>
Yes
<red[m]>
The principle that since you use "Tool A" at work all day, then spending time learning an equivalent "Tool B" doesn't make a huge amount of sense.
toppler has quit [Read error: Connection reset by peer]
fenedor has joined #nixos
<simpson>
But also the principle that both Tool A and Tool B are limited-extent and will someday go away, so that it's more important to be able to quickly learn and test new tools than it is to know a particular old tool.
toppler has joined #nixos
Izorkin has quit [Client Quit]
Izorkin has joined #nixos
polmaan has joined #nixos
polman has joined #nixos
<tilpner>
aanderse: That looks better!
<aanderse>
yeah just an error on MatchingServerName and FutureValidUntilTS
<m0rphism1>
Hi, I want to write a parser for the nix expression language in rust. I've found a grammar specification for nix 0.5 [1], but the corresponding sections of the manual have been removed in more recent versions. Does this grammar still describe the current state of the nix language? If not, is there a recent specification?
<alexarice[m]>
might be quite hard to get rid of it though by the looks of that. You could make an overlay `self: super: { nano = null; }` and see what happens
<alexarice[m]>
wrl: ^
freeman42xx has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 240 seconds]
aaron[m]5 has joined #nixos
mekeor has joined #nixos
<mekeor>
hello. (how) can i use 19.09 beta-release as system.stateVersion? :)
<{^_^}>
[nixpkgs] @illegalprime closed pull request #70494 → sddm: add a themePackages module option so themes are not installed globally → https://git.io/JeCns
<freeman42x>
using zerotierone on NixOS. I configure it to use the same network on 2 PCs and it worked fine. But now that I am logged in from another place my computer no longer appears online on the network. Also I see that in that list my former public IP is listed. How can I add my new location to use it also?
<__monty__>
freeman42x: Sounds like you could get a similar setup using toxvpn and tinc. *If* you're interested in a more diy approach.
xkapastel has quit [Quit: Connection closed for inactivity]
<freeman42x>
__monty__, maybe, but why not just use zerotierone?
<__monty__>
I didn't say you shouldn't.
fendor_ has joined #nixos
<freeman42x>
__monty__, is there a toxvpn / tinc tutorial or something anywhere? and why are 2 things required to do 1 thing?
<__monty__>
Depending on what you want to achieve toxvpn might suffice.
<freeman42x>
__monty__, I basically want what Hamachi does - some kind of common LAN for computers across the internet
<freeman42x>
__monty__, what does only point-to-point mean? my use case is that I need to access 1 computer from another to be able to pay Open Red Alert
<__monty__>
That's point-to-point : )
<freeman42x>
so one computer needs to be able to connect to the LAN IP and port of the other to play
<freeman42x>
ok, cool
niksnut has quit [Ping timeout: 268 seconds]
<__monty__>
Is the person on the other end either running nixos or somewhat techy?
<freeman42x>
__monty__, where can I find instructions for settingup toxvpn for that?
<freeman42x>
__monty__, I am using anydesk to remote control and set up that other laptop. It is also running NixOS
<freeman42x>
currently we managed to play via zerotierone vpn, but now that I am in another location I no longer appear connected to the network... I need to investigate how to fix this
<freeman42x>
or... use toxvpn
alex`` has quit [Quit: WeeChat 2.6]
polman has quit [Ping timeout: 240 seconds]
polmaan has quit [Ping timeout: 245 seconds]
polman has joined #nixos
alex`` has joined #nixos
<__monty__>
freeman42x: All you need is `services.toxvpn.enable = true; services.toxvpn.localip = "some.local.ip, e.g. 10.0.0.x";`
<__monty__>
freeman42x: Then you run toxvpn-remote to find out the ID on both sides and mutually add it.
<{^_^}>
zerotier/ZeroTierOne#1053 (by razvan-flavius-panda, 16 seconds ago, open): Getting new addres when changing physical IP / connected location
<freeman42x>
__monty__, ok, but where did you get these steps from? could you link to some tutorial or something please?
<__monty__>
The nixos manual and the toxvpn readme.
<alexbakker>
does anyone know off-hand how to get thunar-volman to work without installing the whole xfce4 desktop environment?
<freeman42x>
__monty__, I can not find anything in the nixos manual about toxvpn set up
<__monty__>
freeman42x: I'm referring to the options documented in Appendix A.
<freeman42x>
__monty__, oh, I see, it is there
polman has quit [Ping timeout: 245 seconds]
<omnipotententity>
how do I access a passthru variable as an installation target?
<infinisil>
omnipotententity: Not sure what you mean by that
polmaan has joined #nixos
polman has joined #nixos
<omnipotententity>
infinisil, I'm trying to install geant4, but it requires data packages. The data packages are in a separate derivation located in a passthru
<aanderse[m]>
freeman42x: sounds like a zerotier configuration issue
t58 has joined #nixos
<infinisil>
omnipotententity: I see, passthru variables can be accessed through the derivation itself, like `passthru.foo` would be in `the-package.foo`
<aanderse[m]>
I'm a big fan of zerotier because it was 2 lines in my configuration.nix and then the online setup was simple
<freeman42x>
aanderse[m], sounds like an issue with my knowledge of how to use zerotierone :)
<omnipotententity>
infinisil, that's what I thought, but `nix-env -i geant4 geant4.data` gives me an error "selector 'geant4.data' matches no derivations"
<infinisil>
,-A omnipotententity
<{^_^}>
omnipotententity: You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<omnipotententity>
any tips for this error? "error: packages '/nix/store/k0pzlpr5fxm0zmj47kjig06m1q8rmsqb-G4PhotonEvaporation/data/z87.a218' and '/nix/store/d17q1jakcv66favhvpr47bjnm2kd55gm-G4RadioactiveDecay/data/z87.a218' 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)"
niksnut has joined #nixos
<symphorien>
you probably install -G4RadioactiveDecay a second time
<symphorien>
uninstall it first
<omnipotententity>
They're not separate packages.
<omnipotententity>
This is a first install
<infinisil>
symphorien: Installing it again shouldn't change anything?
<omnipotententity>
also that, this is nix.
<infinisil>
omnipotententity: You can do what the error says
<infinisil>
But I'd look into what the file is and why they have the same name for different packages
<omnipotententity>
Sure, but I'm trying to update geant4 to the latest version, so I'd like to fix the error.
<infinisil>
You can set `meta.priority = 10` or so to decrease the packages priority declaratively
<infinisil>
Is that what you're looking for perhaps?
<omnipotententity>
yeah, thanks. The priority doesn't actually matter because you'd only ever access the files via the various environment variables.
<__monty__>
freeman42x: Ah, that's an existing issue. It won't time out *if* you add a friend but it needs to run before you can add a friend... I think running toxvpn as root and then "add other-instance's-id" on both will get you set up and running though.
mexisme has joined #nixos
<kaba00>
Hi, I've written once about it, plasma 5 on nixos-unstable doesnt show the option to change screen brightness, nor does it support hotkeys for it - even though it does work on current nixos-19.03.
<freeman42x>
__monty__, "running toxvpn as root" what does that mean?
<__monty__>
freeman42x: Run toxvpen on both hosts. Then run "add other-host's-id" on each. To mutually add a friend. So the service won't time out anymore.
<__monty__>
The add is run from within toxvpn.
<freeman42x>
__monty__, ok, but how do I "run "add other-host's-id"" that is what I do not understand
<freeman42x>
ehm
mexisme has quit [Ping timeout: 276 seconds]
<__monty__>
You literally type `add <paste the ID>`
<__monty__>
Then enter.
<freeman42x>
__monty__, currently I am running `sudo toxvpn -i 192.168.127.1` and it just does not end... it keeps writing stuff
<__monty__>
Shouldn't be outputting all that much.
<freeman42x>
__monty__, it still did not stop... keeps writing stuff
<clever>
trace: warning: Public updates for Oracle Java SE 8 released after January 2019 will not be available for business, commercial or production use without a commercial license. See https://java.com/en/download/release_notice.jsp for more information.
<clever>
error: no results for the given search term(s)!
<astrall33>
ok....thanks any...
<astrall33>
how..............
<clever>
astrall33: next, id think you should check the source for `nix search` to see what its doing
<{^_^}>
[nixpkgs] @symphorien opened pull request #70537 → xfce4-14: add xfce4-volumed-pulse when not using the desktop → https://git.io/JeCae
<clever>
astrall33: also, nixpkgs has every single package on hackage, and with the same names
<clever>
so you dont really need to search
<clever>
> haskellPackages.aeson.description
Izorkin has joined #nixos
<kindaro>
Hello. How can I add `glibc.static` to `buildInputs` when invoking `nix-shell` without `shell.nix` (only command-line arguments)?
<{^_^}>
attribute 'description' missing, at (string):269:1
<astrall33>
probably like to fix nix search however,seeming as i'm writing a tutorial for it.. can't write a tutorial for it , if the tool doesn't <work>
<clever>
kindaro: nix-shell -p dynamically generates a stdenv.mkDerivation, and shoves all arguments into the buildInputs
otulp has quit [Remote host closed the connection]
<clever>
kindaro: but you may want the muslc cross-compiler, which needs -E instead
<kindaro>
@clever I am not following, can you explain simpler?
<clever>
> haskellPackages.aeson.meta.description
<clever>
astrall33: ah, i missed a meta
<{^_^}>
"Fast JSON parsing and encoding"
<clever>
kindaro: either `nix-shell -p glibc.static` or ....
<clever>
kindaro: that 2nd one will use a static muslc, (and static everything), rather then static glibc
<kindaro>
clever: I have a problem statically building a trivial Haskell executable. Now with `glibc.static` it can link to most dynamic objects, but I still need to provide `GL`, `GLU` and `gmp`. How can I do that?
noudle has quit [Ping timeout: 252 seconds]
chloekek has quit [Quit: WeeChat 2.4]
<clever>
kindaro: a: pkgsCross.musl64 will provide everything static without you having to do anything
<clever>
astrall33: basically, you can put a label into a pointer
<clever>
and then goto that pointer
<astrall33>
out for blood again?
<clever>
void *foo = &&label;
<astrall33>
i really want c++ to go 40% slower...
<clever>
goto* label;
<clever>
label:
<astrall33>
maybe then people will stop using it.
mishac has joined #nixos
<astrall33>
but i guess, i'll always love C.
<clever>
astrall33: in the example he found, switch/case blocks, that involve bytecode interpreting, is the major benefit
polman has quit [Ping timeout: 245 seconds]
freeman42x has joined #nixos
<clever>
and its more a matter of the assembly is easy to write to be even faster
polman has joined #nixos
<clever>
but the compiler doesnt generate such assembly
<mishac>
clever I tried the first approach and did not work, I wonder I how to create a build user so i can run nix builds under root?
<clever>
so you need goto label to be able to force the compiler to generate the fast code
<clever>
mishac: create an array of users, nixbld1, nixbld2 .... up to some number of your choosing
<astrall33>
the compiler can only optomise if it knows the op codes...
<clever>
mishac: then create a group, nixbld, and add all users to it
<astrall33>
and does all that compiler 'magic'.
<clever>
astrall33: the trick, is that you have index relative jumps, via jump tables
<astrall33>
wow..that channel reminds me of 1972.
<mishac>
@clever. Ok, gonna try that
das_j has joined #nixos
<clever>
astrall33: and the cpu will predict where a given jmp will go, based on where it has gone before
<astrall33>
which is a good thing.
<astrall33>
branch prediction?
<clever>
astrall33: without goto*, the entire switch/case share a single jmp in assembly, so the cpu has to predict based on how often a single opcode occurs in the emulated language
<clever>
astrall33: but with goto*, you have one jmp, at the end of each opcode
<clever>
astrall33: so the cpu can predict, based on what the previous opcode was
<astrall33>
hmmm...tasty
<clever>
so if A is followed by B 100% of the time, the branch prediction can get it right
<astrall33>
where the bit where this doesn't validate cache memory, and send your .ssh keys to <insert country here>
<clever>
astrall33: you should still of course validate all input :P
<clever>
this is more of a loop unrolling thing, then a major redesign
astralix_ has joined #nixos
<clever>
the code that was shared at the top of a switch-case block, just got cut&pasted into the `break;` at the end of each case block
<clever>
otherwise, its identical code
<astrall33>
very clever...
<astrall33>
toooooo clever...
niksnut has quit [Ping timeout: 240 seconds]
<clever>
astrall33: now i'm stuck trying to figure out how to use this in nix, lol
Ralith_ has joined #nixos
abathur has joined #nixos
<clever>
nix isnt a bytecode, so you cant just blindly apply this to it!
<clever>
hmmmm, but maybe the existing AST nodes and virtual eval functions, already form the exact same kind of structure this guy was forcing?....
<clever>
its got more function prolog to deal with, but the relative calls could still be predicted the same way
nexgen has quit [Remote host closed the connection]
<clever>
mishac: make-system-tarball.nix auto-generates a hydra-build-products file, so if you build it on hydra, you get a link to the tar, right on hyra
ixxie has quit [Ping timeout: 240 seconds]
nexgen has joined #nixos
<mishac>
clever thats preetty neat
<astrall33>
i'm still trying to get my head around hydra
<astrall33>
____________________________________
<astrall33>
| tab-complete haskellPackages. from |
<astrall33>
------------------------------------
<astrall33>
\ inside nix repl /
<astrall33>
\ ^__^
<astrall33>
\ (oo)\_______
<astrall33>
(__)\ )\/\
<astrall33>
||----w |
<astrall33>
|| ||
<mishac>
clever You said 06:58 <clever> mishac: you should now have a profile under /nix/var/nix/profiles/ 06:58 <clever> and then nix-env is in the bin dir of that profile
<clever>
mishac: yeah, after you nix-env -i /nix/store/something-nix
<mishac>
@clever, i got /nix/var/nix/profiles/ direct but its contents are different
<clever>
mishac: what are the contents?
<mishac>
clever 1 sec
<mishac>
@1 min, i think i did something wrong
<gchristensen>
astrall33: please don't do that anymore.
waleee-cl has joined #nixos
<astrall33>
okay, no more cows.
<astrall33>
this channel is now 1969.
<kindaro>
clever: Thank you!
kindaro has left #nixos [#nixos]
kindaro has joined #nixos
ekleog has quit [Quit: back soon]
abathur has quit [Ping timeout: 250 seconds]
is_null has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<mishac>
clever, i messed things its working now, i got the nix-env in bin of the directory.
dansho has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
<inkbottle>
I've already said that, but I do not have file preview in Dolphin. Even though it is set in Preferences>General>Preview. If it were Debian, I'd say one package is missing, but it is NixOS and I'm new, and I don't know how to fix that
niksnut has quit [Ping timeout: 240 seconds]
niksnut has joined #nixos
<jtojnar>
peanutbutter144 you can set it in gpg-agent.conf
<peanutbutter144>
jtojnar: do i use the full path (/nix/store/*-pinentry-*/bin/pinentry-gnome3) or is there some other path i can use which i won't have to update when pinentry is updated?
<jtojnar>
I think you can use just pinentry-gnome3
niksnut has joined #nixos
<peanutbutter144>
thanks
<jtojnar>
Or maybe /run/current-system/sw/bin/pinentry-gnome3 if it needs absolute path
<jtojnar>
Not at computer, so cannot check now
growpotkin has joined #nixos
<peanutbutter144>
ok
<peanutbutter144>
that path doesn't exist, so i'll try using just pinentry-gnome3
<inkbottle>
I've add kdeApplications.kdegraphics-thumbnailers to configuration.nix and now I have "images" preview; pdf preview not yet showing, maybe after some logout
<clever>
peanutbutter144: does `which pinentry-gnome3` find it?
<peanutbutter144>
clever: no
<clever>
peanutbutter144: then gnupg wont find it either
<peanutbutter144>
ok
<peanutbutter144>
yeah i put just pinentry-gnome3 into gpg-agent.conf and it didn't find it
doublex has joined #nixos
<clever>
peanutbutter144: you likely need to install it first
<clever>
,locate pinentry-gnome3
<{^_^}>
Found in packages: pinentry_qt4, pinentry_qt5, pinentry_emacs, pinentry_gnome, pinentry_ncurses
<kindaro>
clever: I added `GLUT` to the list of Haskell packages in that `default.nix` and now it cannot build one of the dependencies. It says `meson.build:330:9: ERROR: Program(s) ['nm'] not found or not executable`. What can I do about it?
Ariakenom has joined #nixos
<clever>
kindaro: i dont think opengl stuff is really going to work in a static binary
<clever>
kindaro: you need a lot of dynamic libraries, to deal with driver stuff
knupfer has quit [Ping timeout: 250 seconds]
niksnut has quit [Ping timeout: 265 seconds]
<kindaro>
clever: Well, I managed to build it dynamically previously via `nix-shell --packages cabal-install ghc zlib pkg-config libglvnd mesa_glu freeglut --run 'ghc -package GLUT Glut.hs'`, but then it does not run. I described the problem I had earlier today in this very channel, but then I after some time waiting for answer I left with none.
niksnut has joined #nixos
<clever>
kindaro: can you pastebin the haskell code your trying to build?
<clever>
kindaro: i can clearly see it opening gpu specific files, so that half of things is working
<kindaro>
This is the error I see when I build with your `default.nix`: `freeglut (thing): ERROR: Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow`
<clever>
kindaro: does /run/opengl-driver exist? which nixpkgs rev are you on?
<kindaro>
No, it does not.
<clever>
kindaro: are you on nixos?
<kindaro>
Not at all.
<clever>
,
<{^_^}>
Special commands: find tell locate expand - Commands sorted by use count, page 0 (use ,<n> to view page <n>): tofu help libraries unstable escape'' library unfree declarative howoldis ping escape" callpackage paste overlay -a ask pinning profiling pr which-channel nixlang++ imperative xy cache fancy-uninstall xml exec pills wololo botsnack invite channels haskell loot stateversion home-manager stuck pointers escape-special tias timer dontask ifd nur
<kindaro>
I am just using Nix from an Arch linux.
<Yaniel>
regardless, apparently you are supposed to link gl stuff into your nix packages some other way nowadays
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #70537 → nixos/xfce4-14: add xfce4-volumed-pulse when not using the desktop → https://git.io/JeCae
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeCw0
Rusty1 has quit [Quit: Konversation terminated!]
polmaan has joined #nixos
<kindaro>
clever: Thank you. I think I will lay this stuff aside for now.
kindaro has left #nixos [#nixos]
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @symphorien to release-19.09 « nixos/xfce4-14: add xfce4-volumed-pulse when not using the desktop »: https://git.io/JeCwE
fendor_ has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
boxscape has quit [Remote host closed the connection]
Ariakenom has quit [Read error: Connection reset by peer]
<ekleog>
Anyone has feedback on elk vs. graylog+elasticsearch for a nixos install? I've heard good things about graylog, but they also sound like “you can configure with GUIs,” which sounds like something relatively antithetic to NixOS's configuration.nix
<oscarvarto>
Hi! How can I make sbt (Scala Build Tool) use JDK 11 as default Java? It is pointing to JDK 8. Thanks in advance
<astrall33>
antithetic?
<ekleog>
astrall33: basically, I can't have my configuration in my configuration.nix if it's all in state files (in the same way that nextcloud's config is, and it's kind of causing issues in practice)
<ekleog>
oscarvarto: sbt.override { jre = jdk11.jre; } should do the trick
<oscarvarto>
ekleog: I am completely new to Nixos (just installed it yesterday). Can I put that configuration in my Global configuration.nix?
freeman42x has quit [Ping timeout: 265 seconds]
<ekleog>
oscarvarto: You should basically use it instead of the place where you used `sbt` to install sbt ; don't know where this is :)
doublex has quit [Ping timeout: 240 seconds]
asymptotically has quit [Quit: Leaving]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
jb55 has quit [Quit: jb55]
o1lo01ol1o has joined #nixos
<evils>
anyone know what's blanking my screen at 10 minutes inactivity? i think it's default behaviour
Olgierd has joined #nixos
Olgierd has joined #nixos
Olgierd has quit [Changing host]
<clever>
evils: if you run `xset q`, you can see the current config, and other xset flags can change it
<kraem>
evils: could be systemd idleaction
<evils>
clever: ah, i had found DPMS to be ineffective, it's the screen saver setting
<clever>
evils: ah, then run xscreensaver-config or something, and adjust cfg
<evils>
xset s off
<evils>
thanks
<clever>
i tend to be doing the reverse, `xset dpms force off` to turn the screen off at night
<clever>
not sure why, but forcing it off breaks the sleep sometimes, and then it never goes off by itself
<clever>
synergy is also messing with things
<evils>
i just lock i3 and switch off power to the monitors
<kraem>
always thought that was systemd defaulting to suspending the system, never tried to change it since I like it - learn something new everyday..
<clever>
i dont bother with locking on the desktop, i literally sleep beside it :P
niksnut has quit [Remote host closed the connection]
<evils>
same here, but it's a bad habit from my laptop, wouldn't be the first time i type my password into some random window
<evils>
anyway, another papercut, nixos isn't loading the pcspkr module
<clever>
evils: thats been bothering me for years, bel character just doesnt work
<clever>
but its better then it was before, the older machines have an ear-splitting bel noise, with no volume adjustment
noudle has quit []
<clever>
if i had headphones on, and hit tab at the wrong time, i practically leaped out of my chair
<evils>
i can load it manually with modprobe pcspkr
<clever>
evils: holy crap, that works, and actually comes from the motherboard speaker!
<clever>
boot.kernelModules
<clever>
The set of kernel modules to be loaded in the second stage of the boot process. Note that modules that are needed to mount the root file system should be added to boot.initrd.availableKernelModules or boot.initrd.kernelModules.
<clever>
[529204.880242] input: PC Speaker as /devices/platform/pcspkr/input/input32
<clever>
i got that when i loaded it
niksnut has joined #nixos
<evils>
same here :P
<clever>
after that, i think its up to the X server, to map that event to the hardware
polmaan has quit [Ping timeout: 240 seconds]
<clever>
interesting, `tput bel` beeps, but tab doesnt
polman has quit [Ping timeout: 245 seconds]
<oscarvarto>
How can I make $JAVA_HOME environment variable point to JDK11? I am using `programs.java.enable = true;` and $JAVA_HOME is pointing to JDK8 :(
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #nixos
palo has quit [Quit: WeeChat 2.4]
inkbottle has quit [Client Quit]
__monty__ has quit [Quit: leaving]
palo has joined #nixos
inkbottle has joined #nixos
<clever>
evils: odd, tab-complete over ssh to gentoo beeps, but tab-complete on nixos doesnt...
<clever>
needs more investigation!
doublex has joined #nixos
o1lo01ol1o has joined #nixos
doublex has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
inkbottle has quit [Quit: Konversation terminated!]
<evils>
clever: i don't think there's a standard for when a shell emmits a beep xD
inkbottle has joined #nixos
doublex has joined #nixos
<clever>
evils: they are both bash, but they are versions 4.2 and 4.4
<fuzen>
Hello, I’m trying to install NixOS with LUKS on lvm, and root storing the key for the home volume. How do I configure NixOS’s hardware to work with this? I didn’t see any documentation for lvm + LUKS
<clever>
fuzen: if you set preLVM, then the initrd will open the luks device before it tries to search for LVM devices
niksnut has joined #nixos
<clever>
fuzen: for /home, it normally gets mounted by systemd, after / is mounted, so the keyFile paths can be relative to /, and you can use the boot.luks, rather then boot.initrd.luks
<clever>
fuzen: ah, there is no boot.luks, so all luks devices get opened in the initrd
<fuzen>
It’s post lvm, the lvm each lvm group is LUKS so it can span disks
<clever>
fuzen: that will be difficult to support...
sondr3 has joined #nixos
multun has joined #nixos
<clever>
fuzen: id say just ditch lvm, and use zfs to span multiple disks, you can do zfs on luks, or zfs native crypti
<sondr3>
I'm looking to move my server from Debian to NixOS, are there any hosts that have first party support for NixOS that I should be aware of? Currently using Linode
<fuzen>
Cool, I’ll have to do the math to see if the ram requirements make sense
<astrall33>
can i create a shippable nixos container???
<astrall33>
with docker?
<clever>
fuzen: zfs will (by default) use no more then 50% of the ram, and it will dynamically use much less (as low as ~5mb) if it detects things wanting more
<clever>
astrall33: ive done that recently, but getting the nixos services to run in docker is tricky
<sondr3>
aanderse: any tutorials or guides that I can follow for it or did you just use the documentation?
<m1cr0m4n>
aanderse: So I actually do have php-fpm working lol. The problem seems to be my nextcloud vhost. I guess the hunt continues for what's actually going wrong
<m1cr0m4n>
oh man after all that...I finally read the arch wiki and find a snippet that helps
<m1cr0m4n>
aanderse: Have you seen any spam in your logs about ModRewrite + FollowSymlinks issues? I haven't been able to figure htis one out, despite my attempts to enable FollowSymlinks even globally
<sondr3>
having a lot of fun with our functional programming course at my uni, Haskell is blowing my mind almost every week
<m1cr0m4n>
aanderse: For example: `AH00670: Options FollowSymLinks and SymLinksIfOwnerMatch are both off, so the RewriteRule directive is also forbidden due to its similar ability to circumvent directory restrictions : /nix/store/8y5l7rbgadzn3an83p6fam28jm8sspc3-apache-httpd-2.4.39/error/include/bottom.html`
<m1cr0m4n>
I've tried so hard to make sure they are not off, but to no avail. it seems to be set somewhere outside of httpd.conf
<fuzen>
m1cr0m4n: Arch wiki is honestly one of the first places I look
<m1cr0m4n>
fuzen: Yeah like I had my fair share of time with Arch that now if I'm setting up something weird in Nix like this it's a good source of info :)
risson has joined #nixos
<m1cr0m4n>
Most OSes (including arch) seem to have a php-fpm.conf that you import into httpd.conf and I'm guessing it does all the SetHandler magic
<notgne2>
clever: I've always wondered what's with the correlation between haskell and nix users
<notgne2>
every nix user I previously knew prior to switching, has been a fan of haskell
<clever>
i started learning both at the same time, but finished the basics of nix first
<sondr3>
I had no experience with Haskell or functional programming before switching to NixOS
<aanderse>
m1cr0m4n: sorry, haven't had any issues with that... sounds strange. if you paste actual config i could take a look
<{^_^}>
[nixpkgs] @dylex opened pull request #70546 → ghc modules: use specific commit to fetch patches → https://git.io/JeCK4
mekeor has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<m1cr0m4n>
aanderse: I will try commit my config soon and you can see. It's actually occuring on the error pages. The top and bottom partial pages are not being imported
fendor has quit [Quit: Leaving]
<notgne2>
a haskell user got me to use NixOS in the first place, then a few days later searching for some errors I had with NixOS a guy I knew in real life who loves haskell (and got me into computers in the first place) turned up on the results. and I've seen numerous reddit posts indicating that a surprising amount of haskell users use nix
<freeman42x>
clever, sorry, I don't really understand. I need a non-Nix solution basically. I just need to change the cabal file somehow so that it uses the miso-jsaddle so that HIE works
<notgne2>
and that's not mentioning how I knew clever from toxvpn, who I now know uses nix and haskell
<clever>
freeman42x: for a non-nix solution, you have to add it to either stack.yaml or cabal.project, as a normal pinned version thing
<freeman42x>
clever, ok, but how? I really do not understand how
<clever>
freeman42x: are you using stack or cabal?
joebobjoe has joined #nixos
<joebobjoe>
what is the replacement to the nix-env command and why does it not have an "update" feature yet
<clever>
joebobjoe: i dont think there is a replacement for nix-env
<joebobjoe>
then why is it so terrible?
evils has joined #nixos
<clever>
joebobjoe: i prefer doing everything in a declarative manner
<notgne2>
what if we also added a kernel and make it bootable and add a nix daemon and stuff too
sondr3 has quit [Quit: WeeChat 2.4]
<notgne2>
:^}
<freeman42x>
clever, how does that help add miso-jsaddle to a cabal project? I do not understand. I really need a concrete example
<clever>
freeman42x: have you read the cabal docs on cabal.project?
<clever>
notgne2: have you seen not-os or haskell-init before?
<notgne2>
I came across not-os while making continix (it was a very good reference), not quite sure what haskell-init is, though I have seen the nix expr
<clever>
notgne2: this is a single haskell binary, and some nix code to compile it (with muslc), jam it into an initrd (at /init), and then run it with qemu+linux
<clever>
notgne2: its basically an example of how to make linux boot directly into a single haskell binary, with no OS above it
aanderse[m] is now known as aanderse
<notgne2>
oh neat, I might copy some of that code eventually to make Continix bootable, right now it's only able to generate docker contains
<{^_^}>
[nixpkgs] @veprbl merged pull request #70546 → ghc modules: use specific commit to fetch patches → https://git.io/JeCK4
<{^_^}>
[nixpkgs] @veprbl pushed commit from @dylex to master « ghc modules: use specific commit to fetch patches (#70546) »: https://git.io/JeCKo
<notgne2>
pop-up Nix "OS"s are something I find very fun
guest123131 has joined #nixos
o1lo01ol1o has joined #nixos
<notgne2>
right now I'm making a "service manager" that I can drop into Continix so it can be able to run services properly (not just one), and without rewriting or modifying any of them
guest123131 has left #nixos [#nixos]
<notgne2>
I don't think I'll bother making it a real service manager by giving it a bus and a client or anything, I'm just trying to make it replicate the core service functionality NixOS expects from SystemD
<clever>
the biggest problem i ran into, is that postgresql refuses to even start, if its ran as "root"
<clever>
(even when in docker fake root)
niksnut has quit [Ping timeout: 246 seconds]
niksnut has joined #nixos
<freeman42x>
clever, I did read about the cabal.project file a while ago. But that does not tell me how that connects to an inexistant hackage package called miso-jsaddle
<clever>
freeman42x: cabal.project lets you point cabal towards any package, in hackage or not
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<clever>
freeman42x: so you can either force change the version of something, or add missing things
<freeman42x>
clever, yeah, I know that but... mixo-jsaddle is nowhere that I know of