dingenskirchen has quit [Ping timeout: 276 seconds]
lizzeboof has joined #nixos
<gchristensen>
I don't think so, nh2
<gchristensen>
(commented as to why)
boomshroom has joined #nixos
<boomshroom>
I'm back.
<nh2>
gchristensen: is it possible that we need not only a kernel patch but also a ZFS patch? The linked issues claim that 0.8.3 would fix it, and I have 0.8.2
<gchristensen>
I don't think so, nh2. ZFS uses the symbols if it can, and turns on fallback behavior if it can't
<boomshroom>
I installed arphic-ukai and arphic-uming, then logged out and logged back in. Checking font manager, I found AR PL UKai fonts present, and they have one of the characters that aren't rendering, but the web browser still refuses to show anything. Not even a box.
<nh2>
gchristensen: hmm, indeed my `perf top` shows me `aes_encrypt_intel` and `aes_aesni_encrypt`. I'm still surprised the performance is so bad though, I'm maxed out on CPU at 100 MB/s
<boomshroom>
Looking at "Inspect", I see the only thing in `Render Fonts` is the non-serious font I mentioned earlier.
<boomshroom>
Is there a way to prevent a font from being picked as a fallback?
<nh2>
I don't understand the wiki entry on wine https://nixos.wiki/wiki/Wine. It says "wine package supports by default both 32- and 64-bit applications". But I get "... is a 64-bit installation, it cannot be used with a 32-bit wineserver" when I try to run a 64-bit executable with wine-staging.
<notgne2>
is wine already running?
<notgne2>
also it may be because the wineprefix has somehow been tarnished as 32bit if you ran a 32bit exe
<boomshroom>
Apparently, disabling that font fixed things?
<boomshroom>
Huh. No idea why Chrome would insist on using a font that should never be a fallback to render characters it doesn't even support.
<boomshroom>
Disabling that one font seems to have fixed everything.
boomshroom has quit [Quit: WeeChat 2.6]
jgt has quit [Ping timeout: 246 seconds]
aveltras has quit [Quit: Connection closed for inactivity]
erictapen has joined #nixos
tjg1 has quit [Quit: if i commit suicide, at least a real nigga killed me]
mexisme has joined #nixos
tjg1 has joined #nixos
<colemickens>
This was building, then nixos-unstable upgraded, now it fails with a couple fatal Cargo errors: http://ix.io/23kX
<{^_^}>
[nixpkgs] @marsam opened pull request #74811 → buildGoModule: disable consult the checksum database on build → https://git.io/JeMGo
ng0 has quit [Quit: Alexa, when is the end of world?]
<elvishjerricco>
clever: I thought of a way to fix my problem with systemd-in-initrd depending on utillinux. `systemd.override { utillinux = busybox; }` :P Then just add `-e ${busybox}` to the `nuke-refs` call.
<clever>
elvishjerricco: that works, you could even pass it a static busybox
peanutbutter144 has quit [Remote host closed the connection]
erictapen has quit [Ping timeout: 240 seconds]
<clever>
elvishjerricco: i was thinking along the same lines, override it to a dir that has just mount, already patchelf'd
<elvishjerricco>
clever: Well it's gonna have glibc in the initrd no matter what
<clever>
elvishjerricco: but that means 2 mounts, and rebuilding systemd
<clever>
Filesystem Size Used Avail Use% Mounted on
<clever>
/dev/sde2 48M 43M 1.6M 97% /boot
<clever>
elvishjerricco: dont make my life any harder :P
mexisme_ has quit [Ping timeout: 240 seconds]
<elvishjerricco>
clever: Rebuilding systemd is unfortunate, but there can still be only one mount
<elvishjerricco>
don't copy mount from busybox; just symlink to the same one being given to systemd
<clever>
elvishjerricco: you could also give systemd a fake util-linux, that only has a symlink from mount to /bin/mount
<clever>
and then fill it in at runtime
peanutbutter144 has joined #nixos
<elvishjerricco>
clever: I had that thought as well but for some reason it felt worse :P
<clever>
i just remembered something else ive seen today, that is fairly nasty
<clever>
i accidentally put an arm llvm into my x86 buildInputs
<elvishjerricco>
oof
<clever>
and after failing to execute the arm binary, something decided, "well it must be a shell script"
<clever>
so, it ran sh on the arm llvm
<elvishjerricco>
lol
<clever>
which then spat out syntax errors
v0|d has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeMGM
v0|d has quit [Remote host closed the connection]
marusich has joined #nixos
MmeQuignon has quit [Ping timeout: 276 seconds]
red[evilred] has joined #nixos
<red[evilred]>
therror I'm getting is: error: undefined variable 'version' at /root/projects/nixpkgs/pkgs/tools/backup/hpe-ltfs/default.nix:8:64
<red[evilred]>
I'm sure I'm committing a complete noob mistake, but could I please get a second pair of eyes on: https://pastebin.com/S3BV318u
<clever>
red[evilred]: rec {
rople has joined #nixos
m0rphism has quit [Ping timeout: 240 seconds]
mexisme_ has joined #nixos
o1lo01ol1o has joined #nixos
reanimus has quit [Ping timeout: 265 seconds]
tpanum| has quit [Read error: Connection reset by peer]
<supermathieu>
Hi, I am working on bumping the package powerlevel9k and I am getting an error that I don't understand. In the fetchFromGitHub function I use rev = "v${version}"; and it tells me undefined variable, but it is defined just before the fetchfromgithub.
growpotkin has joined #nixos
jgt has quit [Ping timeout: 276 seconds]
kim0 has quit [Quit: Connection closed for inactivity]
dckc has quit [Ping timeout: 245 seconds]
<clever>
supermathieu: rec {
<pistache>
ha beat me to it
<supermathieu>
clever: rec?
<clever>
2019-12-01 22:00:42 < clever> red[evilred]: replace the { with rec {
LLED2_ has joined #nixos
MmeQuignon has joined #nixos
<LLED2_>
is it possible to install full xfce4 desktop in nix in debian?
<DigitalKiwi>
all of this time i've been trying to get immortals and aliens to slip up and clever has been a time traveler
<supermathieu>
clever: Thanks! It indeed worked.
<LLED2_>
google gave no results
<LLED2_>
i have a dbus-launch error and I do not know ho to continue or what to install
<DigitalKiwi>
what's rec do
marusich has quit [Ping timeout: 276 seconds]
<clever>
DigitalKiwi: makes a set recursive
<gchristensen>
> { a = 1; b = a; }
<{^_^}>
{ a = 1; b = <CODE>; }
<clever>
> a
<{^_^}>
<LAMBDA>
<gchristensen>
...
<clever>
theres already an a in scope
<gchristensen>
> :p { foo = 1; bar = foo; }
<{^_^}>
{ bar = "blablablabl"; foo = 1; }
<gchristensen>
??
<clever>
> foo
<{^_^}>
"blablablabl"
<gchristensen>
all the good variables are taken :D
slack1256 has quit [Remote host closed the connection]
<selfsymmetric-mu>
Wait what is mankier for if you have `man`?
<evils>
selfsymmetric-mu: it has 55524 man pages, do you have all of those on your system?
<selfsymmetric-mu>
evils: No but somehow I have the man pages for the programs that I have. It's almost like they install them or something. ;)
<selfsymmetric-mu>
Not like I want to peer over your shoulder, looking at documentation for someone else's system lol.
<tomberek>
elvishjerricco : can you describe what you are doing wrt your initrd?
<elvishjerricco>
tomberek: Making its `/init` be `systemd`
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<elvishjerricco>
to parallelize better (especially for multiple luks devices), improve plymouth (so it actually starts early enough), and use generators (like the /etc/crypttab and /etc/fstab ones)
<tomberek>
elvishjerricco: thanks
<tomberek>
just curious
<tomberek>
how do you test/iterate ?
<elvishjerricco>
tomberek: I'll probably through a branch up on github tonight or something.
<elvishjerricco>
I use `nix run -f ./nixos --arg configuration '{}' vm -c run-nixos-vm`
<tomberek>
would it make sense to add a bit of doc/reminder into modules/virtualization/qemu-vm.nix (perhaps into startVM) to remind people? or would that break some tests?
rardiol has quit [Ping timeout: 276 seconds]
rembo10 has joined #nixos
<elvishjerricco>
tomberek: In general the `nixos.qcow2` file is desirable. That's the VM's hard disk where files you make while running the VM are stored
<tomberek>
Not suggesting we auto-remove that. just that the run-nixos-vm script just does something like "echo 'Reusing existing nixos.qcow2'"
selfsymmetric-mu has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos
is_null has quit [Ping timeout: 240 seconds]
<kyren>
to anyone who uses borg backup to remote backup linux servers: it seems to be required to log into the server and ssh as root using your private key in order to get past "The authenticity of host <host> can't be established."
<kyren>
is there a way to get past this in nixos borg config?
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
trinityhex has joined #nixos
domogled has joined #nixos
<yorick>
kyren: ssh-keyscan
<yorick>
kyren: maybe a nicer way would be to specify the fingerprint in the nixos config
<kyren>
ssh-keyscan would be a way to do it manually right? that's a neat command though I can't believe I just learned about that
<DigitalKiwi>
selfsymmetric-mu: !
mekeor has quit [Ping timeout: 276 seconds]
<yorick>
kyren: you can set programs.ssh.knownHosts to preset the host key
<kyren>
yorick: aha, thanks!
<kyren>
yorick: it looks like I could also set StrictHostKeyChecking=yes if I was lazy, that seems to be trust on first use? maybe that's very insecure
<kyren>
or wait, no that's the opposite of what I want
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<kyren>
I'd hae to set StrictHostKeyChecing=no, and that's maybe very insecure, okay `programs.ssh.knownHosts` it is
sudoforge has joined #nixos
<kyren>
okay StrictHostKeyChecing=accept-new is not *so* bad
<kyren>
anyway, thanks!
<kyren>
yorick++
<{^_^}>
yorick's karma got increased to 7
incognito_ has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
freusque has quit [Quit: WeeChat 2.6]
freusque has joined #nixos
freusque has quit [Client Quit]
freusque has joined #nixos
_e has joined #nixos
incognito_ has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
<Gopal-M>
hello! I've configured static IPs with `networking.interfaces` but my `network-setup.service` seems to fail with the error "RTNETLINK answers: File exists"
roconnor has quit [Quit: Konversation terminated!]
<Gopal-M>
the same thing happens at boot and the interface `eth0` that I've configured to have (two) static IPs retains the (primary) IP it got via `udhcpc` at boot
<{^_^}>
[nixpkgs] @Mic92 merged pull request #74756 → nixosTests.matomo: port to python → https://git.io/Je1NM
endformationage has quit [Ping timeout: 268 seconds]
<yorick>
rycee: it would be very useful to have a show-trace on that error, to see what imports systemd
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}>
[nixpkgs] @alexfmpe opened pull request #74817 → ocamlPackages.dum: init at 1.0.1 → https://git.io/JeMc4
Acou_Bass has quit [Ping timeout: 250 seconds]
rople has quit [Ping timeout: 250 seconds]
<{^_^}>
[nixpkgs] @alexfmpe opened pull request #74818 → ocamlPackages.irmin: init at 1.4.0 → https://git.io/JeMcE
rople has joined #nixos
<{^_^}>
[nixpkgs] @alexfmpe opened pull request #74819 → ocamlPackages.bigstring: init at 0.2 → https://git.io/JeMcu
<{^_^}>
[nixpkgs] @alexfmpe opened pull request #74820 → ocamlPackages.genspio: init at 0.0.2 with dependencies → https://git.io/JeMcg
Acou_Bass has joined #nixos
<otwieracz>
avn: but it can't import it's own submodulo. I thought that it is maybe using some non-standard initialization, causing auto-mangling of import paths for nixos to fail.
<{^_^}>
[nixpkgs] @alexfmpe opened pull request #74821 → ocamlPackages.conduit: 1.0.0 -> 1.4.0 and dependencies → https://git.io/JeMcK
<keving[m]>
Hi! I have a question about newer nix commands (`nix run`) and channels. It seems like `nix run` is looking at my nix path on nixOS, which doesn't contain all of the named channels in root's list. So if I have a named channel `unstable`, `nix-env` can talk about it, but I have to mutate my `NIX_PATH` to get `nix run` to see it. What's the right way to do this?
<dansho>
ok i give up on trying to install ghcide without building 227 targets =\
carlosdagos has joined #nixos
logzet has joined #nixos
<dansho>
oh it's worse than that was just 1 library or something
aveltras has quit [Quit: Connection closed for inactivity]
<dansho>
and it's compiling ghc-8.4.4 versions even though i requested ghcide-ghc865?
<dansho>
are there any other haskell ide that will work with vim-lsp?
__Sander__ has joined #nixos
<avn>
otwieracz: yes, some non-standard here can be.
carlosdagos has quit [Ping timeout: 240 seconds]
<bahamas>
dansho: are you using cachix? I know that gives you access to pre-compiled binaries
<bahamas>
so it spares you from compiling stuff
ng0 has joined #nixos
cfricke has joined #nixos
<xidica>
Is there anyway to see what specific driver xserver is actually using at the time? The xserver.videoDrivers has the default [ "Radeon" "cirrus" "vesa" "vmware" "modesetting" ] list but it doesn't seem to indicate which is in use
vcunat has joined #nixos
vcunat has quit [Client Quit]
<xidica>
the other question, I'm having some seriou choppiness in xserver on a leonovo t460s with i915 which previously ran pretty flawlessly in debian and others. I'm sure I'm using the wrong driver or somehow not getting hardware acceleration support in X, but "intel" doesn't seem to let me get the correct 1440p resolution on my monitors nor does it do anything but mirror one external
philipp81 has joined #nixos
mexisme_ has quit [Ping timeout: 276 seconds]
<dansho>
bahamas: it doesn't work when i put the ghcide expression in configuration.nix for some reason
<philipp81>
I'd like to import the haskell module `Data.List` und tried to do so in a transient nix-shell env like this `nix-shell --packages 'haskellPackages.ghcWithHoogle (pkgs: [ pkgs.text pkgs.safe pkgs.data ])' haskellPackages.ghcid` - but for some reason the package couldn't be found
<philipp81>
what am I doing wrong .. and is there a list of nixpkgs where I can just look up the correct name?
<philipp81>
thx in advance
<dansho>
i don't use nix-env, but i'm trying nix-shell now and i think it's working
<tilpner>
philipp81: Data.List is in base, shouldn't require any special packages
<{^_^}>
[nixpkgs] @Mic92 merged pull request #74810 → cpupower: explicitly set CC and LD to allow compilation with e… → https://git.io/JeMsr
<philipp81>
thank, tilpner .. but is there some list where I can just look up the module? had a look here, but didn found any kind of list/repository which I could use https://github.com/NixOS/nixpkgs
<bahamas>
dansho: that's how I tried it, with nix-shell. maybe if you use configuration.nix it doesn't use cachix
<bahamas>
dansho: have you also added cachix to configuration.nix? maybe that's the issue
<bahamas>
philipp81: if you want to know what Hackage package provides a module, you can use Hoogle
<bahamas>
philipp81: as far as I know, nixpkgs packages Hackage packages as nix packages. so you should have a nix package for every package on hackage
* bahamas
thinks he could have used the word "package" fewer times :D
bionicpup64_2042 has quit [Ping timeout: 245 seconds]
<bdju>
notgne2: I tried installing the program in my user profile via home-manager in my home.nix file. It was having problems so I tried to run it from source, where I'm then just executing a python file. I don't have time to continue working on this at the moment, but I'll probably be back with the issue later on.
zupo has joined #nixos
is_null has joined #nixos
alexherbo2 has joined #nixos
<bahamas>
bdju: you can look into using nix-shell to give you the version of python that you want. for example run `nix-shell --pure -p python3`
<dansho>
it works =)
<bahamas>
bdju: if you then run `python --version`, you should get python3. I have [nix-shell:~]$ python --version
<bahamas>
Python 3.7.4
rople has quit [Ping timeout: 252 seconds]
justan0theruser has quit [Quit: WeeChat 2.6]
<tilpner>
philipp81: I'm not sure I understand your question. Did bahamas solve your problem?
<philipp81>
tilpner yeah, he did. hackage was the place I was looking for ;-)
zupo has quit [Ping timeout: 245 seconds]
justanotheruser has joined #nixos
rople has joined #nixos
zupo has joined #nixos
<philipp81>
tilpner I thoght there's some distinct place dedicated to haskell (nix) pkgs where I can look for modules...but apparently this is not required as I just can import pkgs aeson and so on
<Gopal-M>
can someone help me with `resolvd` and `docker` ?
<Gopal-M>
it seems that my containers are constantly losing connection to the internet
<xidica>
Has nayone seen an issue with Xorg constantly loops with "Printing DDC gathered Modelines:", X is working fine, but every single time it scans/finds new modelins all of X lags and it just constantly loops... here's what the loop entries look like https://pastebin.com/ejRGgeJe
<Gopal-M>
I'm using `systemd.network` to set IPs and DNS, and `services.resolved.enable = true;`
<Aleksejs>
Hello, can someone tell me how to solve this? I'm geting a message while trying to rebuild "waiting for lock on '/root/.cache/nix/tarballs/0s9swzqhys99sk5ndz23z2w13mbw9wd14ff58nfxyhss7a986jn9-file'..."
<yorick>
Aleksejs: kill other running nix-builds
<Aleksejs>
thanks!
wolfshappen has quit [Ping timeout: 240 seconds]
wolfshappen has joined #nixos
carlosdagos has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
m0rphism2 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nikivi has quit [Write error: Connection reset by peer]
bvdw has quit [Read error: Connection reset by peer]
<xidica>
I am trying to get linuxPackages_latest (5.3) to build on 19.09 but I keep getting builder for '/nix/store/8084vygxhfayfglv3w67nrigsc8jiqnx-kernel-modules.drv' failed with exit code 1
<xidica>
the actual .drv file looks like a huge mess to try and read, is there some easier way to see some logs indicating what's actually happening that is giving the exit code?
<xidica>
doesn't seem to change anything, I do see this incosistent kernel version, but is that because I'm in an old kernel not matching the new one or bceause the new one it is trying to build is also maybe trying to build modules for the wrong version?
sweep has joined #nixos
sweep is now known as genesis
genesis has joined #nixos
genesis has quit [Changing host]
<__monty__>
I'm not sure but that sounds like the core of the problem.
<{^_^}>
[nixpkgs] @ehmry opened pull request #74828 → nixos/yggdrasil: fix for configFile option → https://git.io/JeMBb
<xidica>
I mean, I can't seem to nixos-rebuild to any kernel, every single one just says inconsistent kernel version 4.19.86 vs whatever other version, I have disabled all other modules I think could be an issue
<{^_^}>
[nixpkgs] @jtojnar pushed 2 commits to staging-next: https://git.io/JeMRB
<xidica>
tilpner: that is quite helpful to know, unfortunately I don't think anything in this prettified JSON is helping
<xidica>
is it assumed that all things being equal, on a fairly mundane and basic configuration of 19.09, I should be able to build linuxPackages_latest (5.3) or no?
<symphorien>
do you have any idea why you build the kernel locally instead of fetching them with the cache ?
<{^_^}>
[nix] @edolstra merged pull request #3194 → Pass --static flag to pkg-config when necessary → https://git.io/JegOE
<xidica>
no, I thought it must have been due to either virtualbox or acpi_call, but I disabled both of those things, in fact I disabled almost everything in my configuration but still it failed on the kernel modules, regardless of what version of the kernel as well
<xidica>
This is pretty much what the output of my nixos-rebuild looks like when changing to another kernel and attempting: https://pastebin.com/6xPg4AQn
<__monty__>
xidica: Are you doing nixos-rebuild switch? Maybe it's trying to load the kernel modules in your current kernel? Try nixos-rebuild boot maye?
<xidica>
even when just doing boot I get the same error "incosistent kernel versions: 4.19.86" vs 5.3.13, builder for kernel-modules.drv failed
<avn>
otwieracz: haven't ideas. I don't know how to from short overview, and haven't much time today to look deeply. I can suggest only unstage it to branch, and make "take two" later
<otwieracz>
Maybe I'd ask for help on Discourse.
packer has quit [Quit: ByeBye]
<tilpner>
xidica: That's scary. Can you run: nix-shell -p nix-info --run nix-info
<otwieracz>
In case somebody will have time to checkout my branch an try.
<tilpner>
And running nix eval -f '<nixpkgs>' lib.version as root (!) gives you something with 19.09?
<tilpner>
Did you update your channel recently?
<xidica>
no, should I?
<tilpner>
No, it would have been interesting if this started happening after an update
<xidica>
sorry, first foray into this NixOS thing, around 20+ years in various BSD/Linuxes, this has been mostly positive up until this point I'm just trying to wrap my head around this. Here is my configuration.nix https://pastebin.com/rZ2CGBjW
<tilpner>
I'll try to build it. If you don't hear from me, my laptop lost power
<xidica>
yeah, well you'll probably want to comment my imports and uncomment the line that says "UNCOMMENT TO BREAK"
bahamas has joined #nixos
<xidica>
honestly I don't even care about a later kernel other than maybe it will solve my X lagging issues :/
<__monty__>
Do you need all those kernelmodules?
<xidica>
every couple seconds I get "Printing DDC gathered Modelines" and some new modelines in X.log, it lags X every single time
<xidica>
eh, at the very least I need hid_microsoft, I believe some of the other are deps of it, I can try to trim them down or comment them out
packer has joined #nixos
<__monty__>
I don't need any of those to enter my FDE password.
<xidica>
this is for an external USB keyboard when it's sitting in a lenovo dock
<xidica>
sure, I don't need any of them to enter it on the laptop keyboard itself, but I do to enter it on an external keyboard
<__monty__>
Ah ok.
<xidica>
commented every single module listed there, still fails build.
captn3m0 has quit [Ping timeout: 265 seconds]
<tilpner>
I think it just built :/
<tilpner>
On dae3575cee5
captn3m0 has joined #nixos
bahamas has quit [Ping timeout: 245 seconds]
<tilpner>
You didn't answer my nix eval question above, let's make sure we know exactly on which revision you are
<tilpner>
Either with that, or by updating your channel
<xidica>
"19.09.1457.dae3575cee5"
<rihardsk[m]>
hi, i'm using Nix on Ubuntu. is there a way to set `ssh-auth-sock` (or whole `NIX_PATH`) from within a build definition? i want to build some software from a private git repo and want the nix build daemon to use my ssh agent (which has keys loaded with access to the repo) when invoking `fetchgitPrivate`.
<rihardsk[m]>
alternatively - are there any other suggestions how i could make it as easy as possible for a group of people, using the same Ubuntu workstation with Nix on it, to build packages from a private git repo (which the users have access to). the packages come in the form of an overlay
<tilpner>
xidica: If you use this exact line, with that file, does it still not build?
<tilpner>
You need to replace /tmp/xidica.nix in NIX_PATH with wherever you save the second file of the gist
<rihardsk[m]>
a minor clarification: the source code for the packages are on multiple private git repos. the overlay that i mentioned contains tha build definitions for the packages
<tilpner>
xidica: Oh, you also meant to uncomment the second line :/
<xidica>
no
<xidica>
it even breaks on mine without the second line
Kritnich has quit [Client Quit]
<xidica>
but your config and gist works fine
<tilpner>
That's progress!
Kritnich has joined #nixos
<tilpner>
But I have 6% battery left
<xidica>
no worries I'm just going to try to keep commenting or disabling imports/other stuff until I find it workking
<xidica>
thx for the help this has been useful in putting me on the right path anyway
<tilpner>
Please try my NIX_PATH with your full imports
<tilpner>
That will get you one step further
is_null has joined #nixos
<xidica>
hooray, fixed
<xidica>
sneaky little boot.extraModulePackages = [ pkgs.linuxPackages.acpi_call ]; in my hardware-configuration that I failed to notice
<cdepillabout>
Specifically, the part about a bunch of things being modified when running pkgs/development/node-packages/generate.sh insteadof just node-packages-v10.nix
drewr has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
domogled has quit [Quit: domogled]
<turbo_MaCk>
cdepillabout: you mean packages that updated as well by running the shellscript?
mexisme_ has joined #nixos
domogled has joined #nixos
bahamas has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
<cdepillabout>
turbo_MaCk, Yeah, I added a package to pkgs/development/node-packages/node-packages-v10.json and ran generate.sh. I assumed that only node-packages-v10.nix would be updated, but in fact, a bunch of other (seemingly unrelated) files were also updated. I'm wondering if this is okay or not.
ericsagnes has joined #nixos
fendor has joined #nixos
drewr has quit [Quit: ERC (IRC client for Emacs 26.3)]
<turbo_MaCk>
cdepillabout one thing I'm personally not fan of is that piling of nodePackages... I would personally rather have purescriptPackages and place even these node based tools into that...
Ariakenom has quit [Quit: WeeChat 2.6]
<cdepillabout>
Ah, so this is pulled in as a normal nodePackage. It is not being built with the purescript compiler or anything.
<turbo_MaCk>
cdepillabout: This is what I did with elmPackages myself. That's being said I don't have authority nor I did talked about this with anyone who does. Anyway I found it easier to work with - now when updating elmPackages which are nodejs based I'm not touching other node packages which makes it much easier to test changes after updates
<cdepillabout>
If we had an actual purescriptPackages package set, I'd definitely agree that it should go there.
bahamas has quit [Ping timeout: 268 seconds]
<turbo_MaCk>
cdepillabout: I'm really just thinking out laud. to me it seems it would be easier to maitain if it's separate the generate wouldn't be messing with all the nodePackages stuff
<cdepillabout>
Yeah, I haven't touched any of the nodePackages stuff before, but adisbladis specifically said to add it to nodePackages (as opposed to creating it as a separate thing).
<cdepillabout>
turbo_MaCk, I don't really have a strong opinion either way. I had assumed adisbladis was taking care of the node stuff in nixpkgs, so if he wants it done one way, I was happy to do it that way.
mexisme_ has quit [Ping timeout: 245 seconds]
<cdepillabout>
Yeah, in the Nix Friday, zimbatm and I packaged it separately first, and adisbladis said that he'd rather it just be in nodePackages, so that's where this PR came from.
<turbo_MaCk>
cdepillabout: I see... well it might be preferable then to do it that way. Even though I myself find those huge updates of so many packages unplesant to work with
MarcWeber has quit [Ping timeout: 268 seconds]
<turbo_MaCk>
cdepillabout, I have to run now but I will try to test that PR as is later (I'm not a commiter though)
<Jarva>
Hey guys, I managed to get nixos installed through a fedora liveusb, seems to have had an issue when using lustrate. I now have an issue with WiFi on Dell XPS 7390. Arch wiki indicates I need to download drivers from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ and install them to /lib/firmware, how would I do this
<Jarva>
the nixos way?
<gchristensen>
no need, for the 7390 you just need an updated kernel
<Jarva>
I was using NIXOS_LUSTRATE but I must have missed a step, I have no idea
dingenskirchen has joined #nixos
<Jarva>
I'm looking forward to getting this running because it'll be my work laptop, I'm normally an arch user, but the predictable and reproducible systems is very alluring
<adisbladis>
cdepillabout: I can't do it right now, but I'll assign myself so I remember to do it later.
<hodapp>
Jarva: Arch is what I came from
<hodapp>
was eventually too frustrated with the regular breakage from updates
<cdepillabout>
adisbladis, no problem :-)
<Jarva>
Yeah, I kept forgetting to read the arch news and breaking my whole system
mexisme_ has quit [Ping timeout: 246 seconds]
<LLED2_2>
is nix really a package manager I can use instead of apt-get or it is used for building only? it is so complex :/
glittershark has quit [Ping timeout: 276 seconds]
mexisme_ has joined #nixos
kaliumxyz has quit [Ping timeout: 276 seconds]
<ar>
LLED2_2: it's used as the sole package manager on NixOS. I also use nix on my work laptop with ubuntu, because it's easier to get different versions of things for a given project
kaliumxyz has joined #nixos
vandenoever has joined #nixos
cdepillabout has quit [Quit: Leaving]
<LLED2_2>
ar: me too I planned to use it like you but a lot of things does not work, for example I cannot make xfce work in nix in debian
<gchristensen>
nix can't replace all of apt-get. installing xfce requires a lot more steps that apt does,beyond "get me some binaries"
<gchristensen>
if you want Nix to provide things like that, right now the best way to do that is run nixos
<LLED2_2>
yes this is what I discovered :(
bennofs has joined #nixos
mexisme_ has quit [Ping timeout: 276 seconds]
<hodapp>
I'm not aware of any cross-distro package manager that handles things like XFCE
<LLED2_2>
is nixos secure anough for use in servers?
<LLED2_2>
I really want nix :O
<Jarva>
Yes I believe so
<Jarva>
There's server sections in the documentation
<gchristensen>
LLED2_2: I can't generally answer that question because I don't know your threat model, but there are many companies with a lot of things to lose who run nixos on servers
mexisme_ has joined #nixos
<LLED2_2>
good , I have to make a test , thank you all
<adisbladis>
gchristensen: I managed to get KDE from Nix on non-nixos recently :)
<gchristensen>
adisbladis: nice :D of course it is *possible*, but I assume you wouldn't recommend it to newbies :)
<adisbladis>
Nah, of course not :)
<LLED2_2>
wow KDE , nice news
waleee-cl has joined #nixos
<LLED2_2>
<adisbladis>: please there is a simple method to install KDE or I have to figure my self what dependencies need (like with xfce)?
werner291 has joined #nixos
MinceR_ is now known as MinceR
<gchristensen>
it would be very tough, LLED2_2
<adisbladis>
LLED2_2: I basically copy-pasted and touched up the nixos module and converted it into home-manager
<adisbladis>
I wouldn't recommend it unless you have previous nix experience
<LLED2_2>
ah ok , thank you
<adisbladis>
LLED2_2: It's probably easier for you to run a nixos desktop and run debian in a chroot
<LLED2_2>
I will go with nixOS
mexisme_ has quit [Ping timeout: 252 seconds]
dansho has quit [Quit: Leaving]
<Jarva>
gchristensen that ISO booted and installed much quicker, but when I reboot my wifi device isn't found
<Jarva>
Even though I was connected to wifi in the ISO
domogled has quit [Ping timeout: 268 seconds]
Jarva has quit [Remote host closed the connection]
mexisme_ has joined #nixos
domogled has joined #nixos
Jarva_ has joined #nixos
<Jarva_>
Sorry got disconnected from the server
Jarva has joined #nixos
lunik1 has quit [Read error: Connection reset by peer]
lunik10 has joined #nixos
mexisme_ has quit [Ping timeout: 250 seconds]
mexisme_ has joined #nixos
<gchristensen>
Jarva_: go back in to the installation and edit your /mnt/etc/nixos/configuration.nix and add: boot.kernelPackages = pkgs.linuxPackages_latest;
<gchristensen>
then run nixos-install
o1lo01ol1o has joined #nixos
domogled has quit [Ping timeout: 240 seconds]
<Jarva_>
Now trying that
AluisioASG has quit [Remote host closed the connection]
<raboof>
the previous distro I installed before nixos was arch, so the nixos installation was still a breeze by comparison :D
virus_dave has joined #nixos
Forkk has joined #nixos
mexisme_ has quit [Ping timeout: 245 seconds]
<virus_dave>
hello all. Another nix question for you! I have a `default.nix` which creates an empty derivation with some propegatedBuildInputs representing packages that need to be available for a project. I also have a `shell.nix` that basically maps to that derivation with a default <nixpkgs> if unspecified. Now if i use `nix-shell` in that project’s directory, these dependencies are available for my use.
mexisme_ has joined #nixos
<virus_dave>
i also have some scripts that need to be runnable from outside the shell, but make use of those packages specified in the shell/derivation’s propegated dependencies. For some reason, i can’t get this to work.
<virus_dave>
but changing the second shebang did the magic :)
<clever>
if your doing things right, you shouldnt need a #!
Neo-- has joined #nixos
<virus_dave>
i don’t understand. howso?
<philipp[m]>
There was a tool that could create something like a flatpack as a static executable with nix. I forgot the name. Can somebody help me out?
<clever>
virus_dave: you should just have a shell.nix that does the right thing, and only run nix-shell
<clever>
philipp[m]: nix-bundle
<philipp[m]>
clever: Yes! Thanks!
alexherbo28771 has quit [Ping timeout: 252 seconds]
alexherbo287713 has joined #nixos
<virus_dave>
clever: sorry for being so dense. How do i write a script that, when invoked outside of a nix shell, can then run various commands inside such a shell as a shell script? Currently i’m doing this with a “#!nix-shell -i bash shell.nix” line in the script
<clever>
virus_dave: you can put that script into the shellHook in the shell.nix
Jarva has quit [Remote host closed the connection]
mexisme_ has joined #nixos
o1lo01ol_ has joined #nixos
mexisme_ has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
mexisme_ has joined #nixos
taylskid has joined #nixos
cosimone has quit [Quit: Terminated!]
__Sander__ has quit [Quit: Konversation terminated!]
mexisme_ has quit [Ping timeout: 250 seconds]
mexisme_ has joined #nixos
alexherbo2877135 has quit [Ping timeout: 245 seconds]
sudoforge has quit [Ping timeout: 252 seconds]
jgeerds has joined #nixos
<{^_^}>
[nixpkgs] @raboof opened pull request #74839 → Spell out you need to enable wifi explicitly at install time → https://git.io/JeMa0
fendor has quit [Ping timeout: 265 seconds]
mexisme_ has quit [Ping timeout: 246 seconds]
lil84 has joined #nixos
gxt has joined #nixos
virus_dave has quit [Ping timeout: 246 seconds]
<lil84>
hi everyone. I'm try to download package for Raku(Perl6) language, but zef(package manager for Raku/Perl6) don't find libssl.so. After it i'm install via configuration.nix openssl but this still doesn't work. How i cat create symlink from libssl.so.1.1 to libssl.so?
mexisme_ has joined #nixos
<lil84>
or this problem have another solution despite create symblink? Sorry for my English i'm from Russia
taylskid has quit [Quit: net_error]
fendor has joined #nixos
<turbo_MaCk>
lil84: what os are you using?
<lil84>
NixOS unstable
<turbo_MaCk>
lil84: I have near 0 pearl experience how can I reproduce it?
<lil84>
turbo_mack: sorry, but i don't understand what you want( this is output from zef `Cannot locate native library 'libssl.so': libssl.so: cannot open shared object file: No such file or directory`
mmlb has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
<srhb>
lil84: Usually you want to install it from nixpkgs in order for it to link properly with dependencies like libssl.so
<turbo_MaCk>
nix-env -i rakudo
mexisme_ has quit [Ping timeout: 245 seconds]
<tilpner>
But our rakudo is ancient
<srhb>
Oops, sorry turbo_MaCk :)
<tilpner>
Hasn't been updated since 2017
<tilpner>
So I understand trying to install it from elsewhere
<tilpner>
(Updating nixpkgs rakudo might still be easier than getting foreign rakudo to work)
<lil84>
turbo_MaCk: Rakudo from repository come without zef and another cool feature's
<xidica>
tilpner: btw, thanks for the help earlier. i had a sneaky boot.extraModulePackages in my hardware-configuration.nix (the whole module mismatch thing). Happily on 5.3 now
<turbo_MaCk>
then we should update it... Anyway installing it in similar fashion would imo resolve the issue
<tilpner>
lil84: Want to try updating it?
<tilpner>
xidica: Oh, nice!
<xidica>
and then it turned out the whole thing with my X lagging was actually i3status-rust's xrandr block calling xrandr every 2 seconds causing a modeset probe/discovery
<xidica>
turns out you shouldn't run xrandr every 2 seconds
<lil84>
tilpner yes, I try to clone repo, change sha256 and version, but got strange bag
Jarva_ has quit [Quit: Connection closed for inactivity]
<tilpner>
lil84: Paste error and your changed file to e.g. gist.github.com
mexisme_ has joined #nixos
<lil84>
tilpner: ok wait pls
jgeerds has quit [Ping timeout: 265 seconds]
taylskid has quit [Remote host closed the connection]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
Ariakenom has joined #nixos
Tucky has quit [Quit: WeeChat 2.6]
erasmas has joined #nixos
horner has joined #nixos
<{^_^}>
[nixpkgs] @ElvishJerricco opened pull request #74842 → [WIP]: initialRamdisk: Use systemd for initrd's /init → https://git.io/JeMVk
mexisme_ has quit [Ping timeout: 245 seconds]
<xidica>
is there a way to declare the profile-name that nixos-rebuild will use inside of configuration.nix, or must you always declare it as an argument to nixos-rebuild?
<xidica>
didn't realize you could name them, since i have a few differnt branches it would be nice for them to be labeled properly in grub
<tilpner>
lil84: Ahh, right. It seems you did it correctly, and everything builds fine. You're hitting the "language package managers don't like to cooperate with system package managers" barrier
iqubic` has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<tilpner>
lil84: While you can get around this one by setting the HOME environment variable, you still need to convince the interpreter to load files from there
<tilpner>
lil84: And because the only persistent writable path during a Nix build is inside the Nix store, zef will not be able to later modify that installation directory
<tilpner>
lil84: If you want to continue on this (probably painful) path, figure out how zef can store its packages, and how you can tell the interpreter where to look
<tilpner>
lil84: Then you have the option trying to use zef outside the store, probably by telling zef to write to your actual home, and disabling zef from installing to HOME during the build
<tilpner>
lil84: Or you can go the long route and build a package generator that would allow you to use zef packages with Nix, similar to pythonPackages.* and perlPackages.*
domogled has joined #nixos
<lil84>
tilpner second way probably better, but how mush this difficult to create and maintain?
<tilpner>
It depends on the specifics of zef. You can first check how perlPackages works, and then check if you can imitate that
<tilpner>
But with other languages (Rust), there have been many (>4) attempts and it's still not clear which one to prefer
<evanjs>
Taking a look at a C project and wanting some kind of LSP, or just decent completion in CLion... Anybody have experience getting such an environment for C setup in Nix? Maybe the ccls package for emacs might be a good thing to try
<tilpner>
,matrixbridge Victor[m]1
<{^_^}>
Victor[m]1: The IRC<->Matrix bridge sends multi-line messages as links: `* Someone sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/... >`. This means that highlights don't work, people have to open your link, and it gets less visibility than multiple single-line messages
<evanjs>
Tried launching clion from a lorri environment with the libraries in a mkShell and that didn't seem to do much. Might be related to project structure, though (src is not project root)
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeMVx
civodul has joined #nixos
<{^_^}>
[nixpkgs] @dmrauh opened pull request #74845 → dsf2flac: init at 0.1Rev54 → https://git.io/JeMVj
aveltras has joined #nixos
<{^_^}>
[nixpkgs] @rummik opened pull request #74846 → Fix converting vam.pluginDictionaries to VimL → https://git.io/JeMwJ
MarcWeber has joined #nixos
mananamenos has joined #nixos
orivej has joined #nixos
smatting has quit [Ping timeout: 240 seconds]
<mananamenos>
hi, i want nix-shell with postgresql and then i use docker to run pgadmin4. However my nix-shell fails with `FATAL: could not create lock file "/run/postgresql/.s.PGSQL.5432.lock": No such file or directory`. Can i somehow say to postgresql to try to create that file in some other dir?
<turbo_MaCk>
Any idea why when I use haskell.packages.ghc881.ghcWithPackages to create an env for a nix shell the ghc --version reported in shell is 8.6.3 and not expected 8.8.1?
<thomashoneyman>
unfortunately, even using the commands exactly as specified in the manual results in an error with nixops-1.6
<Victor[m]1>
Hey, i am getting an error preventing polkit.service from starting. `polkitd[4855]: Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 540: elf_machine_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' failed!` polkit.service does work on older generations. Any tips (i am not changing anyhting polkit in my configuration.nix)?
<thomashoneyman>
specifically, this error:
<thomashoneyman>
anonymous function at .../nixpkgs/nixos/lib/testing.nix:1:1 called without required argument 'pkgs'
<thomashoneyman>
digging around, it looks like nixops-1.6 was broken way back in early 2018, but i haven't seen any issues related to this since then
<thomashoneyman>
has anyone here managed to deploy something trivial with nixops recently like what's in the nixops manual?
boxscape has joined #nixos
fresheyeball has joined #nixos
<tilpner>
thomashoneyman: I don't use nixops, but you can try 1.7
<tilpner>
If this is a bug, a new version may have fixed it
<fresheyeball>
error: getting attributes of path '/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/doc/manual/options-to-docbook.xsl': No such file or directory
<fresheyeball>
I get this error when install nixops
<fresheyeball>
but only on certain computers
<fresheyeball>
any idea what this is? I am baffled
<tilpner>
fresheyeball: Which nixpkgs versions do you use on each?
<thomashoneyman>
i've made some progress: i can now deploy an EC2 machine using a stripped-down version of the nixops manual's example, but it seems to hang forever (10+ minutes) on "Waiting for ssh..."
domogled has quit [Ping timeout: 265 seconds]
<thomashoneyman>
i tried adding `networking.firewall.allowedTcpPorts [ 22 ];` but that hasn't helped
hmpffff has joined #nixos
mexisme has joined #nixos
zupo has joined #nixos
<clever>
thomashoneyman: port 22 is opened on the nixos firewall automatically
<clever>
thomashoneyman: but the aws security groups sometimes block it
<clever>
thomashoneyman: check what the group named "default" is going in your account
<thomashoneyman>
it looks like the group is just open to everything
<thomashoneyman>
type: all traffic, protocol: all, port range: all
boogiewoogie has joined #nixos
halfbit has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.6]
lovesegfault has joined #nixos
ng0 has joined #nixos
<thomashoneyman>
this is the entire deployment configuration:
<thomashoneyman>
just stuck on: machine....> waiting for SSH....................
gentauro_ has joined #nixos
globin_ has joined #nixos
stears_ has joined #nixos
sauyon1 has joined #nixos
risson_ has joined #nixos
otwieracz1 has joined #nixos
ashkitte1 has joined #nixos
barrucad1 has joined #nixos
fresheye1 has joined #nixos
aswanson_ has joined #nixos
ardea has joined #nixos
sphalerite_ has joined #nixos
grahamc has joined #nixos
aranea has quit [Disconnected by services]
xantoz_ has joined #nixos
ardea is now known as aranea
cosimone has joined #nixos
bodqhrohro_ has joined #nixos
eri has joined #nixos
lsix has quit [Ping timeout: 252 seconds]
__Myst___ has joined #nixos
orivej has quit [*.net *.split]
fresheyeball has quit [*.net *.split]
aveltras has quit [*.net *.split]
neeasade has quit [*.net *.split]
Jarva_ has quit [*.net *.split]
ericsagnes has quit [*.net *.split]
ardumont has quit [*.net *.split]
dingenskirchen has quit [*.net *.split]
thc202 has quit [*.net *.split]
felixfoertsch has quit [*.net *.split]
silver has quit [*.net *.split]
dckc has quit [*.net *.split]
fusion809 has quit [*.net *.split]
Acou_Bass has quit [*.net *.split]
lordcirth__ has quit [*.net *.split]
Mateon1 has quit [*.net *.split]
dmj` has quit [*.net *.split]
lstanley has quit [*.net *.split]
gentauro has quit [*.net *.split]
pbb has quit [*.net *.split]
__Myst__ has quit [*.net *.split]
Cale has quit [*.net *.split]
das_j has quit [*.net *.split]
wildtrees[m] has quit [*.net *.split]
crabemis[m] has quit [*.net *.split]
pikajude has quit [*.net *.split]
bohan[m] has quit [*.net *.split]
isgy[m] has quit [*.net *.split]
LiuWeiHua[m] has quit [*.net *.split]
NoblesseOblige24 has quit [*.net *.split]
laas has quit [*.net *.split]
MerlinGttlinger[ has quit [*.net *.split]
am3on[m] has quit [*.net *.split]
roadt[m] has quit [*.net *.split]
haslersn has quit [*.net *.split]
rycee has quit [*.net *.split]
mica[m] has quit [*.net *.split]
copy` has quit [*.net *.split]
alexarice[m] has quit [*.net *.split]
Thinkofname[m] has quit [*.net *.split]
veleiro has quit [*.net *.split]
pinage404[m] has quit [*.net *.split]
MayeulC_backup has quit [*.net *.split]
Ericson2314 has quit [*.net *.split]
bbigras has quit [*.net *.split]
pheoxy has quit [*.net *.split]
domenkozar[m] has quit [*.net *.split]
vk3wtf has quit [*.net *.split]
stears has quit [*.net *.split]
niso has quit [*.net *.split]
xantoz has quit [*.net *.split]
doublex has quit [*.net *.split]
Olgierd has quit [*.net *.split]
globin has quit [*.net *.split]
jmeredith has quit [*.net *.split]
hamishmack has quit [*.net *.split]
cbarrett has quit [*.net *.split]
xwvvvvwx has quit [*.net *.split]
jared-w has quit [*.net *.split]
aminechikhaoui has quit [*.net *.split]
parseval has quit [*.net *.split]
Taneb has quit [*.net *.split]
markasoftware has quit [*.net *.split]
{^_^} has quit [*.net *.split]
eri451 has quit [*.net *.split]
chris| has quit [*.net *.split]
tabasko has quit [*.net *.split]
risson has quit [*.net *.split]
sphalerite has quit [*.net *.split]
zgrep has quit [*.net *.split]
barrucadu has quit [*.net *.split]
rot13 has quit [*.net *.split]
sauyon has quit [*.net *.split]
aswanson has quit [*.net *.split]
gchristensen has quit [*.net *.split]
shad has quit [*.net *.split]
helpusobi has quit [*.net *.split]
nervengift has quit [*.net *.split]
b42 has quit [*.net *.split]
drozdziak1 has quit [*.net *.split]
sethetter_ has quit [*.net *.split]
bodqhrohro has quit [*.net *.split]
teej has quit [*.net *.split]
pingveno has quit [*.net *.split]
ashkitten has quit [*.net *.split]
ij has quit [*.net *.split]
joshmeredith has quit [*.net *.split]
Fulgen has quit [*.net *.split]
ProofTechnique has quit [*.net *.split]
NekomimiScience has quit [*.net *.split]
philipcristiano has quit [*.net *.split]
otwieracz has quit [*.net *.split]
ok2` has quit [*.net *.split]
p01ar has quit [*.net *.split]
uwap has quit [*.net *.split]
dingenskirchen1 is now known as dingenskirchen
azazel has quit [*.net *.split]
flokli has quit [*.net *.split]
chris|_ is now known as chris|
Mateon3 is now known as Mateon1
philipcristiano_ is now known as philipcristiano
ok2`- is now known as ok2`
jared-w_ is now known as jared-w
jmeredith_ is now known as jmeredith
hamishmack_ is now known as hamishmack
joshmeredith_ is now known as joshmeredith
aveltras_ is now known as aveltras
Piece_Maker is now known as Acou_Bass
Jarva__ is now known as Jarva_
xwvvvvwx- is now known as xwvvvvwx
ProofTechnique_ is now known as ProofTechnique
NekomimiScience_ is now known as NekomimiScience
drozdziak1_ is now known as drozdziak1
dmj`_ is now known as dmj`
sethetter__ is now known as sethetter_
parseval_ is now known as parseval
pingveno_ is now known as pingveno
das_j has joined #nixos
cbarrett_ is now known as cbarrett
lstanley_ is now known as lstanley
niso has joined #nixos
tabasko has joined #nixos
Fulgen has joined #nixos
Olgierd has joined #nixos
flokli has joined #nixos
nervengift has joined #nixos
Cale has joined #nixos
thc202 has joined #nixos
ericsagnes has joined #nixos
teej has joined #nixos
{^_^} has joined #nixos
growpotkin has joined #nixos
ardumont has joined #nixos
b42 has joined #nixos
vk3wtf has joined #nixos
rot13 has joined #nixos
<Raito_Bezarius>
thomashoneyman: with probability 1, it's due to your groups
<Raito_Bezarius>
are you using a VPC?
<Raito_Bezarius>
are you in EC2-VPC or EC2-Classic?
ajs124 has quit [Quit: Gateway shutdown]
knupfer has joined #nixos
<Raito_Bezarius>
if you're using, check your VPC routes and if you have an internet gateway attached
<Raito_Bezarius>
if you're using EC2-VPC *
<Raito_Bezarius>
if you're using EC2-Classic, check your security groups, it can only be this
<Raito_Bezarius>
(a way to determine if you're on EC2-VPC is when did you create your account, if it's recent, you're on it, otherwise, it's legacy EC2-Classic)
<thomashoneyman>
Raito_Bezarius: I'm a recent-ish account, I wouldn't be on classic
<thomashoneyman>
i have no idea what i did, but it appears to be working now
<Raito_Bezarius>
Basically, you have three things to worry about in EC2-VPC
<Raito_Bezarius>
(1) VPC routing
<Raito_Bezarius>
(2) VPC internet gateway
<Raito_Bezarius>
(3) Security groups
<Raito_Bezarius>
Okay, there is a 4th one, VPC subnets
<Raito_Bezarius>
But basically, all those control the network parameters
azazel has joined #nixos
dckc has joined #nixos
<thomashoneyman>
Got it. Thanks for the heads up. I've taken note of that in case this crops up again or I have more trouble editing this deployment to start a web server.
<Jarva_>
What's the benefit of using HomeManager over something like gnu stow? Or should they be used together? I'm unsure as to how I should be storing my configurations on git
is_null has quit [Ping timeout: 240 seconds]
boogiewoogie has quit [Quit: Leaving]
klimi has quit [Quit: WeeChat 2.6]
<growpotkin>
Hey I totally forgot how to escape "${FOO}" in an init script. Is it "$${FOO}"? (Off the top of my head). I though for a second it might be "''${FOO}" but the REPL didn't like that.
ajs124 has joined #nixos
<lassulus>
in " it should be "\${hello}"
<lassulus>
in '' its ''''${hello}''
<growpotkin>
Thanks. For whatever reason I had remembered it being some other weird thing
<growpotkin>
AH that was it! Yeah I'm doing a multiline script so I need the '' ... ''${FOO} ... '' thing
ajs124 has joined #nixos
<growpotkin>
+1 lassulus
<lassulus>
yay
<growpotkin>
oh wait is the points thing not a thing in the IRC anymore? (Clearly I have been gone a while lol)
<lassulus>
uh maybe it was bla++ or some other thing
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<waleee-cl>
lassulus: <nick>++
<thomashoneyman>
waleee-cl++
<{^_^}>
waleee-cl's karma got increased to 1
<waleee-cl>
of all the things to earn it for
fusion809_ has quit [Remote host closed the connection]
lsix has joined #nixos
<Jarva_>
What's the difference between the vscode and vscode-with-extensions packages?
realrokka has quit [Ping timeout: 276 seconds]
Guest55348 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @tfc opened pull request #74851 → Nixos test ldap python → https://git.io/JeMKU
<srhb>
I think to get rid of the error you'll have to, on the target machine, destroy the narinfo cache, which I believe lives in /root/.nix/cache --you can nuke that and restart the nix-daemon
<srhb>
But I'm not sure how you got that hash to start with unless you actually built python locally instead of substituting from cache.nixos.org
<srhb>
Which seems weird.
zebrag has joined #nixos
<srhb>
Hmm, that pastebin doesn't seem to work for me.
<clever>
srhb: ~/.cache/nix/
<srhb>
Yeah, but it's a nix-store --write substitution as root, I think
<srhb>
(assuming the remote is who's complaining. I think it is)
<srhb>
Oh, /root/.cache/nix. Derp! Thanks. :)
<najki>
oooooooh :)
<srhb>
Hm, that won't fix it, the source has the expected hash.
<srhb>
... I think?
<najki>
I had no idea that exists
<srhb>
Unless the target knows some _other_ substituter..
<srhb>
Anyway, worth a shot. I can't think of another thing that might cause it.
<najki>
oh, it did not fix it
<srhb>
Meh.
<najki>
I'm not sure that I understand the error
<najki>
I did it like this several tiems, never seen it
<srhb>
The target (I think) is saying that the path should, according to its narinfo cach, have the narHash of 07ab4l26kiq4z405crx86vsqkz7fn7nxrgicfz7vzjw62w34m6m4, but it's getting 1yj12swj5j53l76y78zciqr085hy14zxraqhlz1vjgv0l2xdrmz4 when it verifies (I think) the nar hash itself.
<srhb>
najki: Could you try verifying the path locally? nix verify thatpath
<srhb>
(Yes, I'm grasping at straws and suspecting actual file corruption)
<najki>
oh wow
<clever>
najki: on the remote node that is serving things, run `nix-store --verify --check-contents`
<x123_>
Anyone familiar with the perl -> python test porting can just verify I did everything right? Seems to pass and produce identical results on my machine with nix-build... https://git.io/JeMK9
<x123_>
awesome. I don't normally contribute really anything back but I am really digging NixOS, 3 days in and 2 small contributions, looking forward to helping more if I can wrap my head around some of the more complicated stuff.
<flokli>
x123_: much appreciated :-)
<x123_>
I see the tests -> python thing is pinned, and I do some python dev at dayjob, it seems like a nice easy task to start out with yes? at least for these more trivial port jobs here
<flokli>
you should be able to just nix-build nixos/tests/xrdp.nix locally
<x123_>
flokli: I did, I just wanted to make sure the PR itself formatting and text and all that seems to look "right"
otwieracz1 has quit [Quit: WeeChat 2.2]
<x123_>
I read CONTRIBUTING but it was a little more geared towards updating packages or new packages
<flokli>
x123_: ah yeah :-)
otwieracz has joined #nixos
<srhb>
x123_++
<{^_^}>
x123_'s karma got increased to 1
<srhb>
Thanks for helping out, it seems like a really great place to start :)
<x123_>
alright, I'll look through a few of these then and see what I can pick off
<flokli>
:+1:
zgrep_ is now known as zgrep
aminechikhaoui6 is now known as aminechikhaoui
<x123_>
is it just `nix-build -o somewhereelse something.nix` to place the result somewhere else other than result?
<flokli>
x123_: it'll land at the same path in the nix store, but this controls the location of the symlink
<flokli>
you can also pass --no-out-link, so no symlink is created
<x123_>
ah ok, so it just gives me a "real" result dir
MmeQuignon has quit [Ping timeout: 240 seconds]
<x123_>
I just wanted to be able to easily compare pre-and-post patch test results, but I assume if they differed it would be a different derivation
<x123_>
is that right?
<flokli>
the python and perl ones will surely have another store path
<x123_>
for the actual `result/log.html` and any resulting images?
<flokli>
we most things by the input (build recpie), not output (content-adressed)
<flokli>
s/we most/we hash/
<x123_>
ah alright, I didn't pay attention to see if the target hash changed
<flokli>
screenshots might also not be binary reproducible, due to randomness, time, etc
<flokli>
so you might just want to fire up both result html files and compare
<x123_>
yeah I did, it was just awkward because I opened the first in firefox, then the next run overwrote the old link but I juts opened the new one and compared ot the cached copy
<x123_>
they were mostly identical except I thin the perl tests are verbose about the sleeps whereas the python tests didn't seem to be verbose about them
<{^_^}>
[nixpkgs] @flokli merged pull request #74854 → nixos/tests/xrdp: port to python → https://git.io/JeMK9
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wildtrees has quit [Remote host closed the connection]
<pistache>
22:37 < x123_> ah ok, so it just gives me a "real" result dir
<pistache>
with --no-out-link, the result will still be in nix store
wildtrees has joined #nixos
philr has joined #nixos
smatting has quit [Ping timeout: 276 seconds]
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
smatting has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.6]
<x123_>
I see in the old perl tests sometimes we are checking that $dateResult[1] eq "1970....." or die "Timezone seems to be wrong", is it acceptable when porting to python to simply use an `assert date_result == "1970...."` or do I need to maintain the human readable die message?
<grahamc>
please keep a human readable messages
<x123_>
so in this case, something like `assert some_value == "something", "or a human error message"` ?
<ddima>
asserts can also be optimized away, so its a bit of a "might maybe not work, depending".
<ddima>
if its in tests, that should be fine though
ajs124 has quit [Quit: Gateway shutdown]
Jackneill has joined #nixos
<x123_>
wait, how do I even get a result from nixos/tests/timezone.nix (even the normal perl one, the nix-build is just silent when doing a `nix-build timezone.nix` , I don't see an error code even when I make it "wrong")..do I need to run this test differently?
smatting has quit [Ping timeout: 265 seconds]
boogiewoogie has joined #nixos
drakonis has quit [Ping timeout: 268 seconds]
knupfer has joined #nixos
alexherbo2877135 has joined #nixos
knupfer has quit [Client Quit]
drakonis has joined #nixos
ambro718 has joined #nixos
silver__ has joined #nixos
smatting has joined #nixos
lovesegfault has joined #nixos
<{^_^}>
[nixpkgs] @7c6f434c pushed to master « k3d: drop imagemagick dependency »: https://git.io/JeM6u
turbo_MaCk has joined #nixos
silver_ has quit [Ping timeout: 265 seconds]
<grahamc>
coderobe: have you had to talk to scaleway support before?
shibboleth has joined #nixos
<coderobe>
grahamc: yeah, they banned my account for suspicious activity when i used terraform to provision a few boxes
<coderobe>
grahamc: i went "wtf" on twitter and then had a chat with the support, who not only unblocked the account but also increased the quotas
<coderobe>
smooth sailing since then
<x123_>
yeah, I don't understand this. nix-build '<nixpkgs/nixos/tests/timezone.nix>' does nothing, manually running nix-build timezone.nix does nothing....other tests seem to work, I must be missing something completely
<grahamc>
coderobe: :|
<grahamc>
coderobe: I got this reply after 2 days: "Due to low stock, our C1 instances are not available by default to new accounts."
<coderobe>
huh, that's an interesting reply :P
<x123_>
to be fair, if it's a desirable instance type, most hosting providers are going to want to see you don't churn (from experience)
<coderobe>
you'd think that they'd want to make the most use of their remaining boxes
<lopsided98>
x123_: nix-build timezone.nix -A timezone-static
endformationage has quit [Quit: WeeChat 2.6]
<grahamc>
sure, just wish it took less than 2 days to hear that
<x123_>
ahhh, thank you!
<x123_>
lopsided98++
<{^_^}>
lopsided98's karma got increased to 10
<coderobe>
yeah...
<x123_>
there is a lot of card fraud, in other words, so if you're new and start spinning up boxes that could juts be a stolen card waiting to be charged back, then the provider is stuck out on a limb
philr has quit [Ping timeout: 240 seconds]
<x123_>
once they realize you are a real person, not from some high risk area, and see you pay some bills for a while or whatever, sure, they put the "this probably isn't a thief flag" on your account
<x123_>
same goes for any hosting provider i've ever dealt with or worked at
<grahamc>
yeah, I'm not going to pay them for anything other than this specific instance type they won't yet give me :)
selfsymmetric-pa has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
jarva[m] has joined #nixos
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
<thomashoneyman>
I've deployed an EC2 using nixops, and I configured the EC2 using the `ebsInitialRootDiskSize` option to have a volume of size 50gb. However, the deployment fails by running out of disk space while copying files over. When I run `df -h` I see that `/dev/disk/by-label/nixos` has only 3GB of space (100% used), and I can confirm in the AWS console
<thomashoneyman>
that the volume was only created with 3GB of disk space.
<thomashoneyman>
grahamc: This appears to grow to fill the available space, but I'm seeing an Elastic Beanstalk volume that is just 3GB in size in the console
<thomashoneyman>
Meaning that it doesn't look like there's even the available space to grow into
eri is now known as eri451
das_j has quit [Remote host closed the connection]
<thomashoneyman>
I see this option in nixops as well:
aveltras has quit [Quit: Connection closed for inactivity]
seb314[m] has joined #nixos
<NoblesseOblige24>
Oh that's neat, didn't know a mobile version was coming
<NoblesseOblige24>
I haven't tried sailfish yet tho.
<NoblesseOblige24>
Might soon now that I have a spare phone
<{^_^}>
[nixpkgs] @alyssais pushed to master « linuxHeaders: fix typo in comment »: https://git.io/JeMiz
hmpffff has quit [Quit: nchrrrr…]
Ariakenom has quit [Quit: Leaving]
foldingcookie has joined #nixos
<ronny>
have an about 2 years old nix-spec for my system back then, what would be a good way to test if/how it currently works (currently running fedora)
<{^_^}>
[nixpkgs] @alyssais opened pull request #74860 → minijail: install .pc files and scoped_minijail.h → https://git.io/JeMiw
thomashoneyman has quit [Ping timeout: 260 seconds]
<dmj`>
clever: what was that path I have to delete if I manually remove a package from my cache, but my local nix doesn't know about it, so it won't push that path when I ask it to
<clever>
dmj`: the binary cache db under ~/.cache/nix
<x123_>
Is it already known that when porting tests to python, `succeed("somecommand")` does not handle UTF-8 properly, UnicodeDecodeError: 'utf-8' codec can't decde byte.... I know this is a pretty common python issue, what I'm asking is there already a known workaround, is succeed() going to be changed to handle it (or at least try to), or should I just re-write the tests in a way that it won't be an issue but
<x123_>
still check the behavior?
<x123_>
The case in question is for some wiki, where it does a local curl, and I guess this wiki produces some UTF-8 content. The easy option here is to keep the `curl --fail 127.0.0.1:8080/whatever` but just add `-o /dev/null` so that it will still fail, but just won't produce the STDOUT of the actual content (it's not checked, juts that it doesn't fail)
<Gopal-M>
`sys-subsystem-net-devices-eth0.device` says `Timed out waiting for device /sys/subsystem/net/devices/eth0`
<Gopal-M>
which it does at boot
<Gopal-M>
`network-addresses-eth0.service: Bound to unit sys-subsystem-net-devices-eth0.device, but unit isn't active.`
werner291 has quit [Quit: werner291]
pointfourone has quit [Quit: WeeChat 2.6]
<{^_^}>
[nixpkgs] @flokli opened pull request #74868 → test-driver.py: sleep in between executing things periodically inside the vm → https://git.io/JeMXn
<{^_^}>
[nixpkgs] @h-jones-uk opened pull request #74870 → haskellPackages.sbv: remove from list of broken packages → https://git.io/JeMX4
jgt has quit [Ping timeout: 246 seconds]
zebrag has joined #nixos
<Gopal-M>
additional info that might be of help is that `eth0` gets an IP through `udhcpc` at boot time, that is essential for me to login to dropbear ssh and unlock the zfs pool.
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
lovesegfault has quit [Quit: WeeChat 2.6]
<Jarva[m]>
How do I clean up the grub entries for my nix builds?