<Raito_Bezarius>
otherwise try to print what is in config.isoImage.contents
<Raito_Bezarius>
using the tracing library
<Raito_Bezarius>
unsure if it'll succeed though
<infinisil>
Okay the problem has to do with mkForce after all
<infinisil>
My suspicion was correct
<infinisil>
Though I'm not sure why exactly
<Raito_Bezarius>
is there a bug in mkForce?
<infinisil>
Nah
<Raito_Bezarius>
Alright
<infinisil>
The problem seems to be that system.build has a too loose type, so it doesn't actually apply the mkForce
<Raito_Bezarius>
I have a strange behavior with mkForce for a sd card builder for RPi when I'm trying to override some stuff and it does not work at all
<infinisil>
And unapplied mkForce's are just attrsets
<Raito_Bezarius>
infinisil: but hypothetically, I could perform an IFD and execute some shell script and add __noChroot right?
<Raito_Bezarius>
YellowOnion: well you ended at the same conclusion as infinisil :p
<infinisil>
Raito_Bezarius: It's running in restricted mode, so can't do IFD
vk3wtf has quit [Client Quit]
cosimone has quit [Ping timeout: 260 seconds]
<Raito_Bezarius>
infinisil: Okay that was my implicit question, is there any restriction on the what it is executing
vk3wtf has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil>
Raito_Bezarius: Not really, nix is rather safe to execute
<YellowOnion>
Talking about targets, what I really want is a live USB for running an app, it doesn't have to be a iso with squashfs
<infinisil>
Well it's not even execution really, just evaluation
<Raito_Bezarius>
infinisil: it eval some Nix code, true ; but it executes some code path in the C++ world
<YellowOnion>
I noticed there's a compressed ext-4 version too.
devalot has joined #nixos
<Raito_Bezarius>
infinisil: was just wondering on the attack surface of Nix evaluation
aristid1 has quit [Ping timeout: 260 seconds]
<infinisil>
YellowOnion: Oh, looks like you're lucky, the mkForce isn't needed
<infinisil>
Because this type is not specific enough, it seems to fall back to merging options based on module ordering
jgeerds__ has quit [Ping timeout: 260 seconds]
<infinisil>
This is kind of unreliable, but I guess it works in this case
<YellowOnion>
I'm trying to make a linux iso that can install coreboot on ivybridge thinkpads, there's currently one that's got shitty licensing issues and is 3.6GB in size when it really doesn't need to be.
<infinisil>
Raito_Bezarius: Ah I see, yeah that would be interesting, though I don't think the attack surface is very big
<Raito_Bezarius>
infinisil: I definitely agree
kvda has joined #nixos
<infinisil>
The worst thing anybody ever managed to do with the nix eval is to have it evaluate an expression that eats up all the RAM :2
<puck>
nix evaluation can totally take up all disk space too
<YellowOnion>
infinisil, what do you mean I'm lucky, I still don't know how to get it to work :P
aristid1 has joined #nixos
<infinisil>
YellowOnion: Hehe, just remove the mkForce
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil>
puck: It's surprisingly hard to have a single simple expression do that though!
<infinisil>
YellowOnion: Ah, add `config` to the arguments at the top
<noonien>
anyone running nixos on scaleway x86 by any chance? is the wiki up to date?
shabius_ has quit [Ping timeout: 272 seconds]
<puck>
infinisil: hrmm, writing this to actually run infinitely is surprisingly hard indeed, but not impossible
drakonis has quit [Ping timeout: 248 seconds]
<YellowOnion>
infinisil, which arguments? do you mean isoImage.*? because that throws even more errors...
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<YellowOnion>
ohh wait I got it.
tomberek has quit [Ping timeout: 265 seconds]
shabius has joined #nixos
vk3wtf has quit [Quit: WeeChat 2.4]
xkapastel has joined #nixos
vk3wtf has joined #nixos
johnw has quit [Remote host closed the connection]
<YellowOnion>
infinisil, thank you for your help.
werner291 has quit [Ping timeout: 258 seconds]
v0|d has quit [Ping timeout: 260 seconds]
<evanjs>
infinisil: yeah, figured as much. hies problem earlier was just that it needs ghc _somewhere_ derr derr derr - I either need to add a shell.nix to my x/wm folder or something -- would rather not add it systemwide
<evanjs>
should probably add a shell.nix + ghcWithHoogle tho
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvIym
mexisme has quit [Ping timeout: 258 seconds]
ravndal has quit [Ping timeout: 268 seconds]
sigmundv has joined #nixos
kvda has quit [Ping timeout: 240 seconds]
sigmundv__ has quit [Ping timeout: 265 seconds]
kvda has joined #nixos
thc202 has quit [Ping timeout: 260 seconds]
<evanjs>
infinisil: sure. just to confirm: if I `nix-env -iA nixos.ghc` and restart emacs, all-hies works. Is all-hies supposed to provide ghc for me, or was I just missing a step by not providing my own copy of ghc?
drakonis1 has joined #nixos
<{^_^}>
[nixpkgs] @mkg20001 opened pull request #78144 → cinnamon.cinnamon-settings-daemon: init at 4.4.0 → https://git.io/JvIyg
Rusty1 has quit [Remote host closed the connection]
jluttine has quit [Ping timeout: 258 seconds]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvIyP
wildtrees has quit [Quit: Leaving]
mexisme has joined #nixos
fusion809 has joined #nixos
jluttine has joined #nixos
slack1256 has quit [Ping timeout: 265 seconds]
<infinisil>
evanjs: Usually the nix-shell from your project would give you the ghc
<infinisil>
And other binaries like cabal
<evanjs>
infinisil: I figured as much :D was trying to figure out how to add a shell.nix for xmonad but wasn't sure how to approach it -- assuming it needs to be similar to your taffybar setup if it's under new-modules/x/wm
Rusty1 has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
NoctisLabs has joined #nixos
<{^_^}>
[nixpkgs] @orivej-nixos pushed 2 commits to master: https://git.io/JvIyb
twjt[m] is now known as twjt[m]1
<infinisil>
evanjs: Yeah, I think I had it working at some point, but I think I got in trouble because of the thing that auto-imports everything under new-modules
<{^_^}>
[nixpkgs] @jonringer pushed commit from @d-goldin to master « doc: python: refreshing virtualenv section for venv »: https://git.io/JvISU
<evanjs>
infinisil: yup that was my experience. infinite recursion and etc. anyway, glad to hear it's nothing wrong with all-hies! and thanks for the repo!
<infinisil>
:D
ee194350 has quit [Read error: Connection reset by peer]
ee194350 has joined #nixos
<YellowOnion>
why does setuptools require cariocffi?
<noonien>
what do you guys use to encrypt personal data in for configuration.nix
qubasa_ has joined #nixos
ravndal has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
qubasa has quit [Ping timeout: 268 seconds]
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu>
I keep getting `error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': Connection refused` in half of my rebuilds in the last few weeks. What's changed?
kvda has joined #nixos
werner291 has quit [Remote host closed the connection]
<jackdk>
Last time I asked someone pointed me at an old bug. An additional rebuild should correctly switch.
<selfsymmetric-mu>
jackdk: That looks right, thank you. Additional rebuilds have always fixed it. It's just flaky. :/
felixfoertsch has joined #nixos
felixfoertsch23 has quit [Ping timeout: 252 seconds]
mexisme has quit [Ping timeout: 265 seconds]
<fuzen>
IS there any way I can prevent NixOS from configuring enp0s5? I followed the Linode guide, but it keeps trying to configuring that interface which, doesn't exist
<fuzen>
I set the global to off, I'm trying to rebuild now with enp0s5.useDHCP set to false but it seems to have hanged after failing to download https://cache.nixos.org/nix-cache-info
picantest has quit [Ping timeout: 268 seconds]
<fuzen>
I'll try re-installing with that set to false, don't have anything setup yet
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<fuzen>
infinisil: It is still trying to run the start job with it set to false
<infinisil>
You gotta be a bit more descriptive about this
<fuzen>
[ *] A start job is running for /sys/sub…evices/enp0s5 (1min 7s / 1min 30s)
<fuzen>
All I know about it
<wedens[m]>
I've enabled `boot.loader.grub.memtest86`, but when I choose it in grub, grub menu disappears, background stays the same and there is no memtest on the screen
<infinisil>
Looks like that might be systemd related
<infinisil>
Not NixOS itself
<fuzen>
It will timeout, and rebuild hangs due to lack there not being a network
<wedens[m]>
apparently there is no memtest on default usb image either
<fuzen>
The distros that Linode has pre-configured have systemd as well, so it should be something NixOS has configured by default
<fuzen>
infinisil: it looks like it is ignoring `networking.usePredictableInterfaceNames = false;` for the startup script, `ip link eth0` shows up, but its trying to configure enp0s5
<hpfr[m]>
Anyone else’s alacritty start lagging significantly? It’s really weird, it opens slowly, text takes time to appear, etc. No other applications seem to be affected
<wedens[m]>
evils: I'm not really willing to change the loader :) I wanted to play with nesting.children which is not supported by systemd-boot AFAIK
<evils>
wedens[m]: i haven't looked further into this than that, i've just used memtest's own image when i needed it
<wedens[m]>
thanks for the pointer anyway, I'll try to override it via overlay
<fuzen>
Is there no way for me to get NixOS to rebuild without connecting to the internet?
<fuzen>
Just trying to configure networking config, but it keeps trying to connect to cache
picantest has quit [Read error: Connection reset by peer]
saltsa has quit [Quit: leaving]
picantest has joined #nixos
lorimer has quit [Ping timeout: 260 seconds]
<hpfr[m]>
Just tried some other terminal emulators with nix-shell. Alacritty and kitty have the lag issue, st, urxvt, and termite do not. Is this something with GPU acceleration? I’m on Nvidia
selfsymmetric-mu has quit [Remote host closed the connection]
<hpfr[m]>
This came up randomly today, I don’t think I changed anything :(
chagra_ has joined #nixos
mexisme has joined #nixos
chagra has quit [Ping timeout: 240 seconds]
<fuzen>
infinisil: setting usePredictableInterfaceNames & enabling DHCPD fixed it, even though the target cannot be reached, networking works
bukkitgerman has quit [Quit: Ping timeout (120 seconds)]
bukkitgerman has joined #nixos
mexisme has quit [Ping timeout: 272 seconds]
<hpfr[m]>
Woah I actually figured it out. G-Sync was on, and for some reason alacritty doesn’t like that. X doesn’t seem to either because that monitor was stuttering. G-Sync must not have worked before a recent update with my configuration, because I never tried to enable it. That’s a bummer
remirol has quit [Read error: Connection reset by peer]
endformationage has quit [Quit: WeeChat 2.6]
ddellacosta has quit [Ping timeout: 272 seconds]
fuzen has quit [Ping timeout: 246 seconds]
mac10688 has joined #nixos
notice81cabbage[ has joined #nixos
fuzen has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
viric has quit [Ping timeout: 240 seconds]
page has quit [Ping timeout: 240 seconds]
infinee has joined #nixos
domogled has quit [Quit: domogled]
TwoNicToupper has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
mexisme has joined #nixos
bukkitgerman has quit [Quit: Ping timeout (120 seconds)]
<kini>
not part of the zfsonlinux/zfs repo, but a separate repo (but by the same maintainers)
<kini>
it's what Debian provides for example, dunno about other distros
<tilpner>
Yes, I found that, but that's not what I would call builtin
<kini>
Hmm, yes I guess it's not built-in, true. Still, it seems more "upstream" than the other one, I guess. It wouldn't matter if they had the same interface but their command line options are different. Not sure if there are also some behavioral differences.
<tilpner>
Perhaps that repo didn't exist when the package was added in 2014-01-21
<kini>
I gather that the reason they both have the same name is that they're both named after an original Sun tool in Solaris (?)
<kini>
Ah, that could be
<tilpner>
There are other snapshot managers I've seen people use with NixOS, so you can try those if you don't like zfstools
<tilpner>
I agree that autoSnapshot sounds like it would use the zfsonlinux/zfs-auto-snapshot
dansho has joined #nixos
<tilpner>
...repo, but I don't know what differences there are between the two scripts
<kini>
It's not really that I don't like it or anything, just was a bit confused
<kini>
also since I'm moving a zpool over from a debian machine I'm hoping this autosnapshot tool will use the same naming scheme etc. as the other one :)
<tilpner>
kini: You can use the zfsonlinux one if you care enough and have some free time
<tilpner>
kini: Start by packaging it, then see if the module needs modification to work with it. If the CLI is compatible, you might get away with an overlay and can keep using the nixpkgs module
<turbo_MaCk>
Does anyone know how I'm uspose to link to GL on NixOS in the right way?
<turbo_MaCk>
I'm trying to build Rust project that seems to be using OpenGL but I'm getting `GLFW Error: GLX: Failed to load GLX` error.
<tilpner>
NoctisLabs: IRC daemon is vague and could refer to any of server/bouncer/bot/bridge, and you might get answers for each usecase
<tilpner>
(And client)
<turbo_MaCk>
btw I'm using amdgpu
<arianvp>
hmm
<arianvp>
having a really weird problem at work
<arianvp>
Collegeue installed nix; but isn't actively using it yet. but now he can not compile a C project of us anymore because ld tries to link against glibc in the nix store
chagra_ has quit [Quit: WeeChat 2.6]
<arianvp>
and we have no idea how it is picking that up. and it's basically bricked his ubuntu installation because nothing compiles anymore :/
<arianvp>
not in a nix-shell. so how can ld even decide to not link against the system glibc?
<arianvp>
are there some ldconfig files that nix naughtily touches?
<chloekek>
Given let x = import <nixpkgs> { config = ...; }; in ..., is it possible to alter the config in the body of the let binding (i.e. not in the definition of the let binding)
<chloekek>
There doesn’t seem to be an overrideAttrs property on x.
vidbina_ has joined #nixos
<turbo_MaCk>
arianvp: have you tried another shell session? I'm not an expert but I think LD path is is env variable - I would try to use fresh shell and if doesn't help ispect env to see what is there
<arianvp>
turbo_MaCk: nothing in the shell related to nix + ld
pmyjavec has joined #nixos
<pmyjavec>
Hey, just wondering if someone could tell me if there is a beta release contaning a 5.x kernel somehwere?
<turbo_MaCk>
arianvp: that's weird... something has to tell linker about that glibc from nix/store.. Let me think
<turbo_MaCk>
pmyjavec: Don't you mean `boot.kernelPackages = pkgs.linuxPackages_latest;`
<NinjaTrappeur>
pmyjavec: pkgs.linuxPackages_5_3 on unstable
<pmyjavec>
turbo_MaCk: Sorry, didn't clarify. Bootable installation media. I have a new laptop but I need 5.4 to get the Wifi drivers going.
zupo has joined #nixos
<pmyjavec>
NinjaTrappeur: Ok, mauye I did something wrong. I thought I flashed 20.03 to a USB stick and it till had the 4.x kernel.
<arianvp>
chloekek: I dont think it's possible :/
<CRTified>
pmyjavec: you could easily build a custom installation medium :-)
<chloekek>
arianvp: Bummer. Then we will make x a lambda instead.
<NinjaTrappeur>
pmyjavec: my bad, I did not get the image part. Indeed, that's not the default kernel. Maybe you can try to generate an image using https://github.com/nix-community/nixos-generators (never tried personally, can't help further)
<pmyjavec>
NinjaTrappeur: thanks, it's probably just easy for me to install using the Ethernets and then upgrading the kernel.
<arianvp>
would be nice if it was part of the overlay. but I think it's fixed already before overlays are even are evaluated
<arianvp>
chloekek: why not just do let x = import <nixpkgs>
<arianvp>
instead of import <nixpkgs> {} :P
jeremieh has quit [Quit: Lost terminal]
domogled has quit [Ping timeout: 272 seconds]
<NinjaTrappeur>
pmyjavec: yeah, probably
domogled has joined #nixos
<chloekek>
arianvp: actually doing { getPkgs ? import ./nix/nixpkgs.nix }: let pkgs = getPkgs { config = ...; }; in ... so the caller can pass in their own nixpkgs.
<chloekek>
arianvp: but usually you don’t have to pass in lambdas there since the callee doesn’t pass a config.
<chloekek>
arianvp: but we need to add package overrides to add new haskell packages to haskellPackages.
<siers>
Can I promote my PR to any mergers? Because it's a fairly non-controversial and small.
dm9 has joined #nixos
fendor has joined #nixos
<turbo_MaCk>
siers: usually it helps to have a review even from non commiter and cc maintainer of the package. Anyway with merge you'll need to wait for the commiter
<turbo_MaCk>
siers: Otherwise people are posting PRs for review in here all the time so feel free to post link so someone can have a look
<turbo_MaCk>
siers: Just tested it. I happen to use rofi as well... work fine for me - going to comment the PR
<siers>
turbo_MaCk, thanks :)
iyzsong has joined #nixos
nek0 has quit [Remote host closed the connection]
pmiddend has joined #nixos
<pmiddend>
When building a package inside the nixorg/nix Docker image, I'm getting these strange error messages: /build/env-vars: No such file or directory
<pmiddend>
I'm guessing something is set up wrong there?
fuzen has joined #nixos
fuzen has quit [Client Quit]
fuzen has joined #nixos
fuzen is now known as Guest52666
mexisme has quit [Ping timeout: 260 seconds]
ThatDocsLady has joined #nixos
<{^_^}>
[nixpkgs] @Mic92 opened pull request #78151 → nodePackages: update set → https://git.io/JvIAj
<o1lo01ol1o>
Raito_Bezarius: on the hydra machine: journalctl --unit hydra-queue-runner.service | tail 100
<o1lo01ol1o>
what's the actual failure message?
__monty__ has joined #nixos
<ubert>
hi, i'm trying to update nix-env and keep getting this error:
<ubert>
error: packages '/nix/store/kmcv64cnxcrhnliqj9y82dac1fl27vzs-libressl-3.0.2-bin/bin/openssl' and '/nix/store/dr7zmgkbwz22fj91ia6dc8hvigc2vaki-openssl-1.1.1d-bin/bin/openssl' have the same priority 5; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the
<ubert>
builder for '/nix/store/m51kp0643i5q35pcaxpwjb4wpy6dqd43-user-environment.drv' failed with exit code 1
<clever>
Raito_Bezarius: try using ssh:// instead of git://
<Raito_Bezarius>
aaah
<clever>
Raito_Bezarius: git:// connects over a git specific protocol, on a different port
<clever>
gitlab probably has that port blocked in the firewall
<clever>
hence, "connection timed out"
<Raito_Bezarius>
well it fixed everything :D
<Raito_Bezarius>
now I have something like
<Raito_Bezarius>
ommand `nix-prefetch-git /var/lib/hydra/scm/git/63d86dfcb15c53dbedcfa121767191bbc8a968df23f3112cf60aa1b37a223811 f9c4dbdb8a1f810a8ec4f0e3f59d70a6b7ddafcd' failed with exit status 256
<clever>
Raito_Bezarius: so the problem, is that hydra-eval-jobset was unable to fetch the input named src, so it couldnt even get your default.nix
<Raito_Bezarius>
but I can see the repo being fetched
<fuzen>
What is the proper way to configure nginx streams, I have configured it currently by wrapping the config in services.nginx.appendConfig = ''Stream { ... config ... }''; following the configuration example from https://wiki.znc.in/Reverse_Proxy#IRC. The result is my config looks super hacky (any my connections keep dropping).
<Raito_Bezarius>
Yeah this I understood but I could not see how to have private keys for spec inputs
<clever>
Raito_Bezarius: since the evaluator runs as `hydra` and just runs `git fetch`, it just needs keys in $HOME for `hydra`
<Raito_Bezarius>
Yes it was done
<Raito_Bezarius>
okay my previous error was stupid, I was in /root as hydra
<clever>
ah
dashkal has joined #nixos
<clever>
Raito_Bezarius: `sudo -u hydra -i` will cd into the new $HOME for you
<clever>
Raito_Bezarius: this loop, then converts each input, into a --arg
<clever>
or for string type inputs, --argstr
<Raito_Bezarius>
Makes sense
<Raito_Bezarius>
All that remains is how can I debug why is there no new jobsets after the evaluation of the default.nix?
<clever>
Raito_Bezarius: if you `strace -f -e execve hydra-eval-jobset <project> <jobset>` then you can see the full translation, as it executes `hydra-eval-jobs`
hoobershaggus has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 272 seconds]
srid has joined #nixos
<Jarva[m]>
How do you solve programs looking for files or caches and not being able to find them even though I can see they exist
mounty has quit [Read error: Connection reset by peer]
<srid>
survey: what do the CLI folks here use as (persistent) IRC client?
mounty has joined #nixos
<ddima>
srid: tmux+irssi.
<__monty__>
Jarva[m]: From a nix-build? The sandbox doesn't allow network access.
<srid>
I recently switched from emacs (gui) to neovim (cli). Since I already tmux, I'm really loving the tmux+nvim combination. Now I can have full screen terminal on my 5k screen, and be more dexterous with workspace splitting without being let down by emacs' slowness.
<srid>
Gonna add IRC to that mix, hence the question.
<__monty__>
srid: I like irssi as well. Others swear by weechat. Yet others stick to ERC or Circe.
<Jarva[m]>
__monty__: No, for example I have node installed as a nixpkg, installing a lib puts stuff in ~/.cache and then when the script tries to call it, it says it doesn't exist
<__monty__>
(I'm assuming the latter work in emacs -nw.)
<srid>
Philosophically I seem to be gravitating towards small and efficient tools that do one thing well at a time. I've also switched to suckless terminal (`st`), which is plenty good enough.
<{^_^}>
[nixpkgs] @andir pushed 4 commits to release-19.09: https://git.io/JvLJs
<{^_^}>
[nixpkgs] @peterhoeg opened pull request #78166 → nixos/lcd: add support for Logitech LCD [WIP] → https://git.io/JvLJc
vidbina_ has joined #nixos
srid-irssi has quit [Quit: leaving]
justanotheruser has quit [Quit: WeeChat 2.6]
srid-irssi has joined #nixos
e has quit [Quit: edk]
srid-irssi has quit [Client Quit]
srid-irssi has joined #nixos
srid is now known as srid-irccloud
srid-irssi is now known as srid
srid has joined #nixos
srid has quit [Changing host]
domogled has quit [Quit: domogled]
srsrsr has joined #nixos
<infinisil>
,dnw Jarva[m]
<{^_^}>
Jarva[m]: Provide as much info as possible on problems. What specifically doesn't work? What command did you run? What's in the relevant files? What's the error? This makes debugging easier and helps getting faster responses
<srsrsr>
I'm stuck with something and did not find where to find for the error. On nixos I'm trying to install a package with opam but this one failed because it could not find the library gmp
<srid-irccloud>
something I think `ii` would be more interesting with tmux panes. you can't spread irssi windows across tmux panes.
justanotheruser has joined #nixos
<srsrsr>
I'm new to nixos, and a bit lost on how to search for information, if anyone could help me
<__monty__>
srid-irccloud: I know. Plan9 design is super interesting. I'm not sure ii's very workable. I suspect any and all customization would be up to you and it probably involves intimacy with the irc protocol.
<{^_^}>
srsrsr: Provide as much info as possible on problems. What specifically doesn't work? What command did you run? What's in the relevant files? What's the error? This makes debugging easier and helps getting faster responses
<simpson>
infinisil: srsrsr used opam instead of ocamlPackages.
<srid-irccloud>
nice bot
janneke has quit [Ping timeout: 248 seconds]
<__monty__>
I've heard ocaml's hard to work with on nix before.
<Jarva[m]>
infinisil: I've encountered it in a few scenarios where scripts try to run other scripts and they're not found. This particular one is when installing the cypress npm package, it caches the binary in ~/.cache/Cypress, when executing the script it tries to call the binary in the location but cannot find the file, when I can confirm it's existence using ls
<srsrsr>
On my configuration.nix : environment.systemPackages = with pkgs; [ opam]
janneke has joined #nixos
<simpson>
srsrsr: You will have to unlearn language-specific package management to some extent. I have gotten up and running with just (with ocamlPackages; [ ocaml ocamlbuild findlib ])
<__monty__>
srid-irccloud: I might ping you come april : >
Chiliparrot has quit [Max SendQ exceeded]
logzet has joined #nixos
<srsrsr>
on opam : opam switch create 4.07.1
<simpson>
You may want to add in utop, core, etc.
<srsrsr>
and I'm trying to
Chiliparrot has joined #nixos
<srsrsr>
I'm trying to install conf-gmp
<__monty__>
Jarva[m]: Maybe the cache isn't in the PATH? Unless the script refers to it by absolute path?
tomberek has joined #nixos
<infinisil>
Jarva[m]: Run `nix-shell -p file --run "file <the executable>"`. What's the elf interpreter it gives you?
<simpson>
srsrsr: The direction that you've chosen will also require gmp and other libraries in your environment whenever you want to link against them. In general, this sort of approach leads to environmental pollution.
<__monty__>
: o Eco-terrorism! : )
<srsrsr>
Which would be the right way to do so ?
orivej has joined #nixos
<simpson>
srsrsr: If you need to build a standalone package, nixpkgs has instructions: https://nixos.org/nixpkgs/manual/#sec-language-ocaml Otherwise, try to use precisely the stuff that you need from ocamlPackages. You probably don't actually *need* opam; if all you're doing with it is choosing your versions and packages, then that's what Nix is for.
<Valodim[m]>
that was my assumption based on seeing printers before (on other distros) where I didn't have a correct driver but it allowed me to pick any of the existing ones
gustavderdrache has left #nixos [#nixos]
bvdw has quit [Read error: Connection reset by peer]
<Valodim[m]>
should the udev rules work automatically for printer stuff? other distros use an lp group, but there seem to be no udev rules to that effect
<Valodim[m]>
[cups-deviced] PID 23076 (cups-brf) stopped with status 1!
<Valodim[m]>
[cups-deviced] PID 23070 (gutenprint52+usb) stopped with status 1!
<DigitalKiwi>
LinuxHackerman: do you know what i'm doing wrong?
<Valodim[m]>
that doesn't sound right :)
<evanjs>
So is there any reason we _don't_ have a rustPackages section in nixpkgs? Seeing rust packages split between pkgs/development/tools/rust/ and pkgs/tools/package-management/ for example makes it hard to know where to put stuff
<evanjs>
looked through the open issues and didn't see one... hrm
<evanjs>
mmkay that was partly due to me not renaming the name after I copied cargo-license's default.nix, partly me not seeing that their versions aren't prefixed with "v", and partly needing to invoke hash misses....
<evanjs>
Is needing to invoke hash misses something we'll always have to do when testing packages like this?
<evanjs>
most definitely explaining this wrong :D
<Valodim[m]>
figured it out /o/
<tyrion-mx>
Hola, I am trying to configure gnome-flashback with i3. The session starts normally but after some seconds it crashes and asks me to log out. The errors are similar to what is here: https://github.com/NixOS/nixpkgs/pull/71212#issuecomment-544207775 "gnome-i3 failed to register before timeout". Can anybody help me debug this?
<{^_^}>
[nixpkgs] @hedning pushed commit from @r-ryantm to master « gnome3.gnome-notes: 3.34.1 -> 3.34.2 (#78167) »: https://git.io/JvLkx
dsx has quit [Quit: dsx]
<kraem>
i've built a pkg, and is trying to rebuild it but only get a nix-store path back as a result (it doesn't build). tried deleting the result symlink and gc:ing, trying to rebuild the package again just gives me the same nix-store path back. trying to delete the explicit nix-store path i get that the symlink is censored. what am i doing wrong? https://bpaste.net/P72A
<{^_^}>
[nixpkgs] @hedning pushed commit from @r-ryantm to master « gnome3.gnome-taquin: 3.34.2 -> 3.34.3 (#78171) »: https://git.io/JvLkp
dsx has joined #nixos
ixxie has joined #nixos
<Squarism>
im a little confused by nix-shell. What is its purpose? I expected a shell in a "container" defined by my default.nix.. but still I have access to all of my hosts apps etc?
knupfer has joined #nixos
<andi->
Squarism: very simplified it adjusts your environment to match whatever environment you wanted to enter.. E.g. just add a few packages to PATH, set environment vars, …
<ddima>
Squarism: and there is also --pure to clean it a bit more, but it will still not make it "entirely empty except for this one tool"
<DigitalKiwi>
use node2nix to get the .nix files after adding a node-packages.json
gagbo has quit [Ping timeout: 268 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
domogled has joined #nixos
<evanjs>
Not up to date with android stuff on nixos, but might this be all I need after I have an android env setup? (Per the example shell on the wiki)
<evanjs>
I have to wonder if I’m doing something wrong, as many of the example shells don’t mention setting ANDROID_HOME. For context, I al trying to build a gradle package.
<evanjs>
gradle2nix also requires ANDROID_HOME to be set
ivar has joined #nixos
kleisli has joined #nixos
Ionut has joined #nixos
Chiliparrot has joined #nixos
<ivar>
:D
<ivar>
salut cateilor
Ionut has left #nixos [#nixos]
is_null has quit [Remote host closed the connection]
ThatDocsLady has quit [Quit: Leaving]
fendor has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 272 seconds]
fendor has joined #nixos
Jackneill has quit [Read error: Connection reset by peer]
ivar has quit [Quit: muie , go Undernet]
<fresheyeball>
I figured it out
<fresheyeball>
its just unintuitve
veske has joined #nixos
<fresheyeball>
if you run `import` in nix repl more than once
<fresheyeball>
it doesn't actually reload the file
<fresheyeball>
you have to leave the repl and re-enter and re-run import
<kalbasit>
How can I get nix to accept a self-signed certificate when download from a binary cache? I have a root pem that I can add to the ca-cert bundle, would that work?
zupo has joined #nixos
<{^_^}>
[nixpkgs] @kalbasit opened pull request #78203 → gotools: fix the path in the setup-hook → https://git.io/JvLOL
digash has joined #nixos
hoobershaggus has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvLOX
mexisme has joined #nixos
<clever>
,callPackage digash
<{^_^}>
digash: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<Vikingman>
l
<digash>
I am trying to dump package info in the xml from the .nix
<Raito_Bezarius>
evanjs: actually I spent a lot of time on making gradle work in Nix
<clever>
digash: the file defines a function, you must pass it the arguments it needs before it can produce the data your requesting
<Raito_Bezarius>
people in the Status OS project which builds a lot of different stuff coming from a lot of pkg manager decided to roll their own gradle2nix in bash
<nikola_i>
infinisil: i used `sudo nix-env -i nixos.firefox`. i tried it again without sudo. it shows the latest 69.0.1. i guess sudo was the problem
<Raito_Bezarius>
evanjs: you're welcome, feel free to mention me if you have any question, I succesfully got some RN app being built with Nix \o/
<Raito_Bezarius>
And I'm working to integrate it into a Hydra cluster
<Raito_Bezarius>
Also the licensedAndroidEnv in the link I sent you is up to date for now
<digash>
clever: weird, i've tried that too and it generated 2GB of output :(
<Raito_Bezarius>
But I guess it makes sense to autogenerate them and I posted on the related issue in GitHub (license hashes for android env) a way to automatically regenerate them we could use
<Raito_Bezarius>
clever: hmm, you remember before you've gone to bed, we discussed about Hydra and I fixed most of my issues, except when I'm passing my src through, I get: "string cannot refer to other path" with my source store path, it seems like it's not turned into a real Git input with { outPath = ⋅ ; … }, can I quickly trace the src in the generated jobset?
<clever>
Raito_Bezarius: you can freely use builtins.trace within a release.nix
<Raito_Bezarius>
will the output be shown in the Hydra web or in systemd logging?
<clever>
Raito_Bezarius: both
<Raito_Bezarius>
Nice
psyanticy has quit [Quit: Connection closed for inactivity]
<Raito_Bezarius>
clever: hmm so the issue seems that trackSrc is some "/nix/store/<x>" path and cleanSource wants a path
<Raito_Bezarius>
But during my tests and manually, trackSrc was a { outPath = ./. ; … } and cleanSource liked it
<clever>
Raito_Bezarius: what about trackSrc.outPath?
<Raito_Bezarius>
I can give it a try
<Raito_Bezarius>
But it won't work in fact
<Raito_Bezarius>
because Hydra gives me a string
Synthetica has quit [Quit: Connection closed for inactivity]
<Raito_Bezarius>
and I expected a attrset with a outPath
<__monty__>
Raito_Bezarius: Sadly I don't think there's anything like hoogle except for hoogle.
dansho has quit [Remote host closed the connection]
<Raito_Bezarius>
clever: and now I have
<Raito_Bezarius>
error: access to path '/nix/store/yf1f4dlar5z3gr4ppiivffkd8wx8g3y6-kixarfqazankhblv5l3k0vdqclj6m5mb-source' is forbidden in restricted mode
<Raito_Bezarius>
__monty__: :D
dansho has joined #nixos
<clever>
Raito_Bezarius: the hash-hash-source is going to be a purity problem, try adding name = "source"; to cleanSource
<Raito_Bezarius>
clever: got it
<Raito_Bezarius>
i'm trying
<{^_^}>
[nixos-org-configurations] @edolstra pushed to master « Update nix on ceres »: https://git.io/JvLsT
<Raito_Bezarius>
clever: didn't fix it
<Raito_Bezarius>
huh no nevermind
<Raito_Bezarius>
wrong timestamp
<Raito_Bezarius>
ah it still failed
<Raito_Bezarius>
for the same reason
<clever>
Raito_Bezarius: one handy trick, you can run hydra-eval-jobset to force an eval, and see the errors in realtime
<clever>
no timestamp issues
<Raito_Bezarius>
oh nice, I was just using the web interface but it is infinitely better
<Raito_Bezarius>
but how do you force-eval the generated jobset?
<Raito_Bezarius>
do you just do hydra-eval-jobset project generated-jobset-name
<Raito_Bezarius>
?
<clever>
Raito_Bezarius: yep
<Raito_Bezarius>
okay
<clever>
Raito_Bezarius: declarative jobsets is just an automated way to create a jobset, and it disables the edit/delete buttons in the gui
<clever>
but the jobsets otherwise work as normal
<Raito_Bezarius>
I understand, but when the declarative jobset changes, I have to rerun the .jobsets jobset in order to refresh the generated jobsets right?
<Raito_Bezarius>
(anyway, it fails with restricted mode, I will try to see what could break purity)
<clever>
Raito_Bezarius: only if you change the config for a jobset, or add more
<clever>
Raito_Bezarius: if your just changing the release.nix, you can eval the jobset directly
<Raito_Bezarius>
I was trying to do a similar release.nix à la NixOps
<Raito_Bezarius>
The line which might break purity is the line 11
cosimone has joined #nixos
<Raito_Bezarius>
Otherwise, all the jobs just reuse trackPureSource which I suppose is possible (?)
<clever>
Raito_Bezarius: trackPureSource is basically a no-op
<clever>
Raito_Bezarius: trackPureSource = gitignoreSource minimalTrackSrc; should have the same effect
kleisli has joined #nixos
<Raito_Bezarius>
You're right, I was having it because I had to debug some filter issues
<clever>
not sure about the restricted mode error
<Raito_Bezarius>
I can give it a try without the explicit derivation
<Raito_Bezarius>
I'll try to remove the filtering then
<Raito_Bezarius>
maybe it has to be a job?
<clever>
Raito_Bezarius: i believe its limited to only paths specified with -I
gkmngrgn has quit [Ping timeout: 246 seconds]
<Raito_Bezarius>
clever: hmm I'll try to tinker with it then
<Raito_Bezarius>
it seems like w/o manual cleanSource it works
<Raito_Bezarius>
but I can only infer that gitignoreSource is going to do some cleanSource at some point
<Raito_Bezarius>
So I suppose I'm doing my cleanSource wrong
<Raito_Bezarius>
Or is there any IFD behind cleanSource clever ?
<Raito_Bezarius>
And Hydra seems to not like IFD IIRC?
<clever>
Raito_Bezarius: at eval time, cleanSource will recursively copy the path, and run the nix to figure out what to include/exclude
<clever>
Raito_Bezarius: hydra does technically handle IFD, but it runs the derivations at eval time, which can lead to the eval alone taking 4 hours, with zero progress
<hpfr[m]>
I’m patching my kernel with boot.kernelPatches. One of the patches (https://github.com/linux-surface/linux-surface/blob/master/patches/4.19/0006-hid.patch) is very similar to the lines around it, which is why I think nixos-rebuild returns “Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch.” And then the whole build fails. How can I pass in a yes to the apply anyway?
<clever>
shyim: does it point to profile, or directly to profile-13-link?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<shyim>
readlink ~/.nix-profile
<zeta_0>
hello there, does anyone here use xmonad by itself in nixos, i am having a problem with context menus, every time that i try to do a save, save as, or open file in applications like emacs, atom, or libreoffice it takes me to a blank white screen?
<{^_^}>
xmonad/xmonad#210 (by zeta-00, 1 day ago, open): blank white screen on save, save as, and open file in applications:
digash has left #nixos ["ERC Version 5.3 (IRC client for Emacs)"]
zualk has quit [Remote host closed the connection]
<clever>
shyim: that sounds like a different buf, what does `ls -l /nix/var/nix/profiles/per-user/shyim/profile-13-link` say?
<clever>
s/buf/buf/
sondr3 has joined #nixos
<shyim>
lrwxrwxrwx shyim users 60 B Fri Jan 17 23:27:28 2020 profile-13-link ⇒ /nix/store/jhlvlrvzc56x567z4f5f32dwd289wjgd-user-environment
<clever>
shyim: `rm /nix/var/nix/profiles/per-user/shyim/profile-13-link /nix/var/nix/profiles/per-user/shyim/profile` should completely reset the profile
<zeta_0>
i enabled gtk and compton but that did not solve my issue either, right now i am trying to figure out ways to troubleshoot the issue to find out what is wrong
<shyim>
Thanks :)
<hpfr[m]>
Can someone more familiar with Nix build paradigms suggest where I could find something to overlay?
chagra has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 260 seconds]
chagra has joined #nixos
<shyim>
Do i need to do some other commands? Installed programm seems rip The file '/home/shyim/.nix-profile/bin/go' is marked as an executable but could not be run by the operating system.
<zeta_0>
evanjs: i configured all the things they told me on the #xmonad channel, but it has still not fixed my issue, maybe this is a nix problem and i am missing something that provides that functionality
<{^_^}>
[nixpkgs] @yvesf closed pull request #65523 → librecad-git: add -git version that supports qt5 → https://git.io/fjyd3
neeasade has joined #nixos
wildtrees has joined #nixos
<neeasade>
hi all -- I'm packaging a simple script and am misunderstanding the installPhase
<clever>
neeasade: you almost never need a builder.sh file
<neeasade>
(is that what I should be looking for?)
<clever>
neeasade: does it list an installPhase?
<neeasade>
no
<clever>
neeasade: then its not using what you put into the pastebin
<clever>
neeasade: can you paste the configuration.nix file?
<neeasade>
sure, sec
<neeasade>
clever: ah I'm looking at the wrong thing -- a copy of the expression not used in configuration.nix
<neeasade>
thanks for `nix show-derivation`
<neeasade>
til
<zgrep>
Strange question, is there a way to temporarily apply a configuration.nix-like file to the current running system? Such that it doesn't show up as a new generation, or anything, just a temporary thing. My particular use case is temporarily making my laptop a DHCP server to play with an external device.
<clever>
zgrep: nixos-rebuild test should do that
<neeasade>
now I get something interesting -- error: undefined variable 'out' at /etc/nixos/expr/default.nix:19:52
<clever>
neeasade: you want $out not ${out}
<zgrep>
clever: Mm! Right, thanks!
<neeasade>
clever: ty you're the best -- the other thing I had to do was fully specify $out/pb, not just $out
shabius_ has joined #nixos
pmiddend has quit [Ping timeout: 265 seconds]
trevthedev has joined #nixos
<trevthedev>
hi all! so i just got an mSATA ssd, and i was wondering if i could just delete my swap and boot partitions, then put those along with a root partition onto the SSD then resize my HDD to fit my /home partition. i'm unsure if that would work
shabius has quit [Ping timeout: 258 seconds]
<trevthedev>
i'd have to run nixos-install ofc, but i'm worried that it's going to format or delete my /home directory. i backed up the most imporant things, but i don't really want to go through reinstalling all of my games on steam for example, haha
<Raito_Bezarius>
trevthedev: is your /home on another partition?
<Raito_Bezarius>
if yes, you could just unmount it during the process (?)
<Raito_Bezarius>
i'm not a nix expert, but I think it's not going to touch it because nix responsbility is to set some symlinks and manage /nix
<Raito_Bezarius>
my 2cents would be: if you don't set a new user account right away
is_null has joined #nixos
<Raito_Bezarius>
it'll never touch your /home/$you
<Raito_Bezarius>
because it has no need to do that
<Raito_Bezarius>
and /home is not a symlink to /nix/store/<x> AFAIK
<trevthedev>
it's not a symlink, no
<Raito_Bezarius>
otherwise if you're really curious
<Raito_Bezarius>
what filesystem is running on /?
<zeta_0>
hmm, whenever i go to emacs and press the tab buttons file and open file and press enter a couple of times it opens up a pdf, so i'm guessing that xmonad is not drawing the context menu that shows the files?
<trevthedev>
ext4
<trevthedev>
or sorry
<Raito_Bezarius>
ah if you were running btrfs or zfs
<Raito_Bezarius>
you could have been able to just take a snapshot or stuff like this
<trevthedev>
sda1 is /boot, sda2 is swap, and sda3 is /
<Raito_Bezarius>
but wait
<Raito_Bezarius>
you're having a new SSD right?
<trevthedev>
would like to just do sda1 as /boot, sda2 as swap, sda3 as /, and sda4 as /home
<trevthedev>
yup
<Raito_Bezarius>
so you'll have /dev/sda and /dev/sdb
<trevthedev>
ye
<Raito_Bezarius>
why not just install nixos on /dev/sdb first without any user accounts?
<Raito_Bezarius>
then you resize /dev/sda once you confirmed everything was fine
<Raito_Bezarius>
then you create the user account in configuration.nix without mounting /dev/sda
<trevthedev>
i'm unsure of the effects of that, what would that do to benefit me? I'm installing it onto the SSD anyway, i just was going to move my config over and install, then resize
<Raito_Bezarius>
trevthedev: if you never use /dev/sda it'll never "corrupt" your home partition
<trevthedev>
issue is that there isn't a home partition, i need to go ahead and make one
<Raito_Bezarius>
it's not really mandatory AFAIK
<Raito_Bezarius>
you could fit everything on /dev/sdb if you wish
<trevthedev>
i can't xd
<Raito_Bezarius>
why?
<trevthedev>
the ssd is 128gib, hdd is 750gib
<Raito_Bezarius>
but do you want /home to take 750 GiB ?
<trevthedev>
yes
<Raito_Bezarius>
so you don't care, you can just install nixos on /dev/sdb without ever mounting your home partition during the process
<Raito_Bezarius>
and then afterwards, you resize, you create the user account without mounting, then you add in hardware-config the endpoint to /home
<trevthedev>
again that's what im doing, but i need to first actually make the home partition. i dont have one.
<Raito_Bezarius>
and everything is connected ™
<clever>
trevthedev: id say the simplest option, is to boot the nixos livecd, format and mount sdb1 to /mnt, and then mount sda4 to /mnt/home
<clever>
trevthedev: and then procede with the install as normal
<trevthedev>
wouldn't that keep the other partitions in the HDD though?
<Raito_Bezarius>
it does not matter
<Raito_Bezarius>
you can erase them after
<clever>
trevthedev: once you confirm the new disk can boot, you can delete the old stuff
<Raito_Bezarius>
and resize /dev/sda4
<trevthedev>
true
<trevthedev>
but
<trevthedev>
sda3(not 4 in this case, i dont have an sda4) has /, not /home
<trevthedev>
there is no /home partition
<Raito_Bezarius>
and?
<Raito_Bezarius>
ah
<Raito_Bezarius>
right
pie_ has joined #nixos
<clever>
trevthedev: ah yeah, youll want to move /mnt/home/home/trevthedev to /mnt/home/trevthedev after you mount it
<trevthedev>
i guess yea
<trevthedev>
wouldn't it be easier to just change the partition to only /home? issue is that i don't know how to do that, haha
chagra has quit [Ping timeout: 258 seconds]
<Raito_Bezarius>
the sda3 ?
<trevthedev>
ye
<clever>
trevthedev: thats basically all `move /mnt/home/home/trevthedev to /mnt/home/trevthedev` is doing, once you delete the other stuff
<Raito_Bezarius>
just remove everything except /home
<trevthedev>
Raito_Bezarius good point lol
<Raito_Bezarius>
and move it like clever says
pie_[bnc] has quit [Quit: No Ping reply in 180 seconds.]
<trevthedev>
welp, am about to go ahead and do this. wish me luck(might somehow magically screw things up despite following directions just fine XD), will be afk until logging in on mobile
<Raito_Bezarius>
clever: sorry to bug you again, do you know if patchShebangs can fail?
<Raito_Bezarius>
trevthedev: do a backup
Guest41 has joined #nixos
<trevthedev>
can only backup so much
Guest41 has quit [Excess Flood]
<trevthedev>
i don't have any other drives to backup to
<clever>
Raito_Bezarius: dont think it can really fail, but it can not do what you want
<Raito_Bezarius>
trevthedev: backup the most critical files at least
<trevthedev>
so i just kinda compressed my work data and sent it to myself over telegram XD
<Raito_Bezarius>
clever: i have some npm script and I ran patchShebangs and it still complains with /usr/bin/env: bad interpreter: no such file or directory
habbah has quit [Ping timeout: 245 seconds]
<trevthedev>
worst case scenario i just have to reinstall all of my games and i lose my dwarf fortress worlds, haha
<Raito_Bezarius>
trevthedev: tarsnap can help you
<clever>
Raito_Bezarius: is the script actually being patched?
<Raito_Bezarius>
unsure, it works locally using nix-build ; but on Hydra it is failing
<clever>
Raito_Bezarius: /usr/bin/env doesnt exist when the sandbox is on
<Raito_Bezarius>
*ah*
<Raito_Bezarius>
damn
<Raito_Bezarius>
so I suppose the canonical way to fix this is to properly patch the script
knupfer has quit [Ping timeout: 248 seconds]
trevthedev has joined #nixos
<clever>
it sounds like the script is never actually being patched
pie_ has quit [Quit: pie_]
<trevthedev>
Aye, am on mobile now
<trevthedev>
Time to do this lol
LouisDK has joined #nixos
<Raito_Bezarius>
clever: patchShebangs follows symlinks or not?
<LouisDK>
Does anyone know why chromium does have "enableParallelBuilding" enabled? Asking because I don't have a machine atm powerful enough to build it without it taking days.
<clever>
Raito_Bezarius: not sure, never tried it on a symlink
<trevthedev>
Okay so to clarify. I install NixOS onto the SSD, and then after the install is done I somehow specify the /home is in the hard drive? I assume I need to use hardware.nix for that?
<Raito_Bezarius>
clever: gonna read the source code, thanks
<Raito_Bezarius>
trevthedev: you shouldn't if you just mount and use nixos-generate-config
<clever>
trevthedev: if you mount your home partition to /mnt/home, nixos-generate-config will put the right entry into hardware-configuration.nix for you
<Raito_Bezarius>
it'll pick up paths, filesystems, UUID automatically
<trevthedev>
Ah right
kvda has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
<Raito_Bezarius>
okay I see thanks clever
kreisys has quit [Read error: No route to host]
<{^_^}>
[nixpkgs] @MarcFontaine opened pull request #78217 → gavrasm: init at 4.5 → https://git.io/JvLnr
<trevthedev>
So during mounting process, I run `mount /dev/sda3 /mnt/home`, correct? I just want to verify lol
<trevthedev>
Or couldn't I just delete sda1 and sda2 then resize, then mount that "sda1"?
ddellacosta has quit [Quit: WeeChat 2.2]
neeasade has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<Raito_Bezarius>
you could too
<clever>
trevthedev: you could do that resizing first, but then there is no undo
<clever>
trevthedev: also make sure to save anything in /etc that may be of value
<trevthedev>
wym no undo? Like I wouldn't lose all my data would I?
<trevthedev>
I don't have anything in /etc that I wrote personally besides my config itself ^^
<clever>
trevthedev: more, that if your new ssd doesnt boot, you cant just go back to the old one, if the old /boot is toast
<trevthedev>
Ah. But would I lose the data in my home directory if I did that though
<clever>
trevthedev: only if you delete the partition home is on
<trevthedev>
Alright
ddellacosta has joined #nixos
kleisli has quit [Ping timeout: 245 seconds]
<trevthedev>
For some reason I can't resize the /dev/sda3? It's not mounted or anything, I deleted the other partitions which gives me 2GiB more, and I tried to resize for that and it just won't let me, haha.
<{^_^}>
[nixpkgs] @jonringer pushed commit from @drewrisinger to master « pythonPackages.nest-asyncio: build without tests »: https://git.io/JvLnF
<clever>
trevthedev: does it give an error?
<trevthedev>
I dunno, I'm not gonna write that. Just gonna keep the older partitions XD
<trevthedev>
Yeah, says that the max size is a specific number, that number is exactly the same size as the home dir is currently.
<clever>
trevthedev: how are you resizing it?
<trevthedev>
cfdisk, haha. Would use fdisk but I'm hyper anxious so I'd end up accidentally hitting the wrong thing or something and not noticing, haha
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever>
trevthedev: what does `fdisk -l /dev/sda` report?
Guest41tttt has joined #nixos
Guest41tttt has quit [Excess Flood]
Guest41tttt has joined #nixos
<trevthedev>
Can't show results, but gives a number of bytes larger than cfdisk said I can write. I'm just gonna not worry about it.
<clever>
trevthedev: why cant you pastebin?
<trevthedev>
I could actually yeah, I'm just going to keep the extra partitions to be safe though.
LouisDK has quit [Remote host closed the connection]
ixxie has joined #nixos
ddellacosta has quit [Quit: WeeChat 2.2]
gustavderdrache has joined #nixos
<trevthedev>
Ha, so I failed to set LoaderSystemToken EFI Variable, because there's "no space on the device". Yet sdb1 isn't full at all
<clever>
trevthedev: efi variables are in /sys/firmware/efi/efivars
<trevthedev>
Nothing else is full either besides /dev/root and /dev/loop0
o1lo01ol_ has joined #nixos
<trevthedev>
For whatever reason running the install again fixed it? But now it throws the error "Failed to test system token validity: no data available"
<clever>
trevthedev: double-check `efibootmgr -V` and see if it looks good
<trevthedev>
says version 17
pankaj__ has joined #nixos
<clever>
trevthedev: oops, -v
<trevthedev>
It has a ton of BOOT00xx and then hardware stuff along with venmsg, boot order, etc everything seems in order.
<clever>
trevthedev: and is the one at the start of bootorder, matching up with the uuid of your new /boot?
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<trevthedev>
no clue how to check, sorry. The boot order number is 006
<trevthedev>
0006*
<clever>
trevthedev: and there should be a boot0006 line
<trevthedev>
Where?
nikola_ has quit [Ping timeout: 260 seconds]
<clever>
trevthedev: in the output from `efibootmgr -v`
<trevthedev>
Yes, that's where I got the 0006 from
<clever>
trevthedev: what does bootorder say?
<trevthedev>
A command called bootorder, or just the output of efibootmgr -v?
<clever>
trevthedev: the bootorder line from `efibootmgr -v`
<trevthedev>
0006
<trevthedev>
That's where I got the 0006 from ^^
<clever>
trevthedev: and then compare the uuid of boot0006, with `blkid /dev/sdb1`
<trevthedev>
YYUD is 6423-1FB9
<trevthedev>
UUID*
<clever>
do they match?
<trevthedev>
no
<clever>
can you pastebin the output from both>
<trevthedev>
Sure thing
ddellacosta has joined #nixos
<trevthedev>
0x0.st/zCSt.txt
<trevthedev>
and for efibootmgr, 0x0.st/zCSv.txt
<{^_^}>
[nixpkgs] @LouisDK1 opened pull request #78219 → chromium: enable parallel building → https://git.io/JvLcX
<clever>
trevthedev: that says that the top priority for booting, is your cdrom
<clever>
you want to look at the next entry in bootorder
<clever>
trevthedev: looks like that bios is just completely ignoring the os, youll just have to reboot and see what happens
<trevthedev>
nothing in bootorder matches 6423-1FB9 though
<trevthedev>
Hmm
<trevthedev>
Alright
<clever>
uefi is a giant mess
<clever>
the design can be very powerful
<clever>
then vendors go and screw up the implementation :P
<trevthedev>
Fair enough, haha
<clever>
i have seen cases where it refuses to even boot linux
<clever>
because the bios is hard-coded to the filename windows used
<clever>
you had to rename the .efi file ot match windows
<trevthedev>
ah
<trevthedev>
Well, that didn't change much
<trevthedev>
UUID of sdb1 is just different
<trevthedev>
6423-1FB9
<clever>
does it boot from sdb1?
is_null has quit [Read error: Connection reset by peer]
<trevthedev>
It will once the OS is installed, or at least that's the idea
<trevthedev>
sda1 is /boot
__monty__ has quit [Quit: leaving]
fendor has joined #nixos
o1lo01ol_ has quit [Ping timeout: 260 seconds]
pankaj__ has quit [Quit: Leaving]
<zeta_0>
someone from the #haskell channel helped fix my issue, it turns out that my file selection dialogs would render to big, that is why it looked like a blank white screen
<trevthedev>
I reformatted the partition, I think I just formatted it wrong last time lol
<trevthedev>
Nope,. "failed to set LoaderSystemToken EFI Variable: no space left on device"
o1lo01ol1o has joined #nixos
m0rphism has quit [Ping timeout: 260 seconds]
<zeta_0>
i think i need to change the GTK pixel px size to permanently fix this, but when i got to the files in /home/zeta/.config/gtk-3.0 , they are read only
<Raito_Bezarius>
clever: for some reason, I tried the "reproduce locally" feature on Hydra
<Raito_Bezarius>
I set up the same sandbox level on both machines
<Raito_Bezarius>
and it build locally but not on Hydra :D
<Raito_Bezarius>
the patchShebangs worked locally and picked up the script
<Raito_Bezarius>
but on Hydra it never does
<hpfr[m]>
I put fetchFromGitHub in the arguments in my configuration.nix and I get attribute missing when I try to use it, is there something else I have to pass in?
<Raito_Bezarius>
hpfr[m]: what are you passing?
<Raito_Bezarius>
ah
<clever>
Raito_Bezarius: do they both produce the same $out?
<zeta_0>
evanjs: i have already set the dpi(after doing some calculations) to correctly scale with my monitor, so i don't want to change it, i thought those selection dialogs are related to GTK?
<{^_^}>
[nixpkgs] @jonringer pushed commit from @colemickens to master « pythonPackages.denonavr: init at 0.7.10 »: https://git.io/JvLCX
<fosskers>
I'd like to be able to represent `nix-env -i certbot -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixpkgs-unstable.tar.gz` in my `/etc/nixos/configuration.nix`. Is that possible?
<fosskers>
To be clear, I want to install the unstable (newest) version of that just that package.