<clever>
samueldr: can you paste the full line nix-index gave?
<samueldr>
that was the full line
<clever>
ah, over more
<clever>
gnutar is the package with a man page
<clever>
and mesos depends on tar
<samueldr>
yes
<clever>
and nix-index had trouble finding the attrpath of gnutar
<clever>
it may be an overriden version
<samueldr>
ah
<samueldr>
though, I had no gnutar loaded
<clever>
so it just said, mesos somehow depends on this tar
<mfiano>
clever: to clarify without that `source` line in sessionCommands, xterm/etc have the right env vars set, but telling i3 to launch a nix-shell interpreted script is missing some env vars.
<samueldr>
though, I can probably "fix" this by using the output of nix-index directly
<samueldr>
I don't really care about the attributes, I prefer the store paths! :)
<clever>
samueldr: :D
<mfiano>
wonder if i should try switching wm's after 10 years if it's this broken on nix
<mfiano>
because at this point i wasted all day
<clever>
mfiano: aha, found some of the problem
<clever>
mfiano: set-environment, SETS PATH!, lol
<clever>
not append, not prepend, just set
<mfiano>
where is that?
<clever>
read the /etc/profile file to find the set-environment path
<clever>
then read that file
<clever>
so when you source /etc/profile (which xsession does), it sets PATH directly, then prepends your things
<clever>
then when you source set-environment again (which isnt needed due to profile already having been sourced), it sets PATH again, undoing things
<mfiano>
hmm
<mfiano>
the question is how do I source things again correctly for i3 then?
BlessJah has joined #nixos
<clever>
it was already setup correctly by /etc/profile
<clever>
testing it that way...
<mfiano>
But that's not correct :)
<mfiano>
It's only correct outside of nix-shell
<clever>
you can also modify what goes into set-environment
<clever>
so the only question remaining, is if those land after the set
m3lst4d has joined #nixos
<mfiano>
I think we're talking past each other slightly
fragamus has joined #nixos
<mfiano>
There's no problem with xsession/i3 without line 143 of my gist. an xterm window has the correct $PATH, and $XDG-* variables that I need set correctly
<clever>
mfiano: this generates a bash script, and line 59 puts it into the default $PATH
<clever>
mfiano: alt+enter no longer opens a shell
coot has joined #nixos
<mfiano>
super+enter
aardito has quit [Quit: Page closed]
<clever>
now i have a new terminal
<mfiano>
yep, termite
<clever>
ps confirms
asuryawanshi has joined #nixos
<mfiano>
your doit needs to mkdir ~/.bin too...not sure if it actually put it there
<clever>
manually made it before running
<mfiano>
ok
m3lst4d has quit [Ping timeout: 252 seconds]
<mfiano>
clever: now super+p will run the bad nix-shell script, and it will write env vars to /tmp/vars
<clever>
no /tmp/vars
<mfiano>
did it open a menu?
<clever>
nothing happened
<mfiano>
yeah probably errored due to no password database
<clever>
nope
<clever>
$NIX_PATH is broken
<clever>
the VM is meant for testing nixos, and lacks a <nixpkgs>
asuryawanshi has quit [Ping timeout: 252 seconds]
<mfiano>
ah
<clever>
id rewrite it to be installed as part of configuration.nix, dont use nix-shell
<clever>
that would probably also fix everything?
<clever>
export PATH=${lib.makeBinPath [
<clever>
coreutils utillinux procps ]}
<clever>
mfiano: using this, you can generate a PATH variable
<mfiano>
no clue how to do that yet or what you are writing there. only my second day with nix :)
<clever>
mfiano: use that, to prepend to PATH, and use the writeScriptBin example i made for doit
<clever>
mfiano: and you can generate a rofi-pass in your configuration.nix
<clever>
that just skips nix-shell entirely
<mfiano>
interesting
<clever>
typing up an example...
<mfiano>
what is the coreutils etc list?
<disasm>
mfiano: you can specify your i3 config in configuration.nix and then use any variables in your configuration.nix as well as paths to any packages in nixpkgs in your i3 config. I hard code my path to i3bar for example
<mfiano>
interesing
<clever>
mfiano: the same as your nix-shell -p
<mfiano>
I need to learn all this yet
awygle has joined #nixos
<mfiano>
Ideally I would like pretty much everything in configuration.nix eventually. I have a lot of machines that differ only slightly, like static IP, but function more or less the same
<mfiano>
I'm no devops guy, but this seems pretty trivial with nix
<mfiano>
clever: why does line 1 have 'lib' instead of 'config'?
<clever>
mfiano: line 1 defines a function, and what arguments it is asking for
<clever>
you will need to merge it with your own line 1
mekeor has quit [Remote host closed the connection]
<tertle||eltret>
where do I put this line in my nixos/configuration.nix? (renoise.override { releasePath = /home/foo/path/to/renoise.tar.gz; })
<mfiano>
I'm not sure I understand but okay
<clever>
mfiano: adding it to the vm to iron-out the bugs
<tertle||eltret>
deos it go in the configs,pkgs part?
<disasm>
clever: I know how to with nixops but is there a way with configuration.nix to get the IP of interface (using DHCP) as a variable in configuration.nix?
<clever>
disasm: not really, its only known at runtime, so nix has no clue what it will be
<clever>
disasm: you just have to run things like ifconfig or ip, and parse away
<disasm>
right, that's what I thought
<clever>
tertle||eltret: inside the systemPackages array
<fragamus>
hey is anyone using swift package - when I try it it says it is marked as broken
<tertle||eltret>
clever: is that here? { config, pkgs, ... }:
<fragamus>
nix-shell '<nixpkgs>' -A swift
<fragamus>
error: Package ‘swift-3.1.1’ in /nix/var/nix/profiles/per-user/root/channels/nixos/pkgs/development/compilers/swift/default.nix:260 is marked as broken, refusing to evaluate.
<clever>
tertle||eltret: farther down, where it says systemPackages
<fragamus>
does anyone have a clue
<mfiano>
clever: trying to get it to evaluate without the doit, virtualization stuff
<mfiano>
i'm missing brackets apparently
<tertle||eltret>
clever mine doesnt have that :c
<clever>
tertle||eltret: then add environment.systemPackages = [ (renoise.override { releasePath = /home/foo/path/to/renoise.tar.gz; }) ]; between the main { and }
acarrico has quit [Ping timeout: 252 seconds]
<clever>
mfiano: oops, i forgot to prepend to path, env cant be found, lol
Tehnix has quit [Read error: Connection reset by peer]
<clever>
samueldr: nice
Tehnix4 has joined #nixos
<samueldr>
I'm "only" left with converting them to HTML
<samueldr>
(which in itself isn't a problem, I need to find the best one though)
<mfiano>
clever: Your package works! However I still don't think something is correct with env vars...
<mfiano>
If I remove the PASSWORD_STORE_DIR=$XDG_DATA_HOME/pass from the last line, it doesn't work, even though it is defined in my .bashrc
<mfiano>
With it though, works like a charm
<disasm>
.bashrc won't be parsed by shell scripts that aren't executed from a shell
markus1189 has joined #nixos
<mfiano>
Ah. I'll play with my setup then
<mfiano>
clever: Thanks yet again
<clever>
yep
jackdk has quit [Ping timeout: 256 seconds]
<clever>
mfiano: the bashInteractive also does nothing in rofi-pass.nix
<mfiano>
I know, removed
<clever>
because nothing actually runs bash
<mfiano>
That was debugging
<clever>
but the /bin/sh at the #! is what matters
<clever>
and it could be changed to #!${bashInteractive}/bin/bash
<clever>
if you wanted to use a specific bash to run this script
<mfiano>
is it okay to chown /etc/nixos as my user or how should I maintain a git repository of my changes?
<clever>
id leave it owned by root
<clever>
the way i manage my systems, is that i have a git repo at /etc/nixos/nixcfg/
<clever>
and then configuration.nix is basically just the bare-minimum to boot the hardware, and imports = [ ./nixcfg/laptop.nix ];
<clever>
everything else goes into laptop.nix
<clever>
and if somebody wants to spawn a copy of your machine, laptop.nix is all they care about, all the btrfs sub-volume junk is useless
<mfiano>
that works
<mfiano>
Yeah that's a good idea
<clever>
also, i have a desktop.nix in the same nixcfg repo
<clever>
and both laptop and desktop contain imports = [ ./core.nix ];
<clever>
so core.nix contains common stuff for both machines
dan_b has quit [Ping timeout: 252 seconds]
<awygle>
hi everyone. I have a "do I understand what nix is" question
<gchristensen>
ok, shoot
ashkitten has quit [Quit: WeeChat 2.0.1]
<tertle||eltret>
thank clever i think you got me moving again
<awygle>
what I'm looking for is a tool which will let me say "in order to do this thing (say, build this software), I need this artifact (identified by say, a sha1 hash). Please point me to it, or a source for it", and then hand it a binary or a makefile or a setup.py or....
<awygle>
Nix sounds kind of like it is intended to do this. Is that directionally correct?
<clever>
awygle: with nix, you typically give both a URL and a sha256, and then it automatically downloads it, and verifies it still matches that hash
<awygle>
clever: what if the thing I need isn't hosted in nix-pkgs(?)
<disasm>
mfiano: have you looked at nixops? :) I only use nixos-rebuild on my laptops. I use nixops deploy for the rest of my network as well as any cloud servers I use: https://github.com/disassembler/network
<clever>
disasm: i switched my nixos router over to nixops lastnight, with minimal issues
<mfiano>
disasm: I just started using nix yesterday. It's on my to read list, along with the other 75% of the manual :P
<disasm>
and yeah, one of these days I'm building a net boot server like clever to bootstrap! :)
<awygle>
clever: could I point at a nix script(?) and have it build the nix-pkg if not already built?
<clever>
awygle: yeah
<awygle>
clever: okay, thank you :-)
<mfiano>
oh and chromium is not slow anymore. i have no clue what changed there though
<disasm>
clever: yeah, optina (in my network config) was originally manually configured. I imported it into nixops when I got my nixos router (which aside from a 5 line configuration.nix for installation has always been deployed with nixops)
chrios_ has quit [Remote host closed the connection]
chrios_ has joined #nixos
<clever>
disasm: originally, the router ran a copy of nixos-unstable that claimed to be nixos 16.03, lol
<clever>
disasm: i initially copy-closured that nixpkgs to the laptop, and aimed nixops at it, and used nix-diff to get the resulting derivation to be as identical as possible
<gchristensen>
not a great firewall, that old :)
<clever>
which got nixops into control, with minimal changes
<clever>
then i upgraded it to the latest nixos 17.09 channel
<clever>
nixos-unstable currently fails to build hydra, so i cant go further
dex1983 has quit [Ping timeout: 248 seconds]
<disasm>
clever: how did you specify a different nixpkgs path for nixops? Mine always uses the nixpkgs my system is using
dex1983 has joined #nixos
<clever>
disasm: currently, i'm just changing $NIX_PATH before i run nixops
<clever>
i need to look into a better option, i saw one but cant remember where it was
<mfiano>
ANyway, I don't know how to use nixos yet. I don't even know how to upgrade packages etc yet. I figured I'd learn the most by trying to write a decent config before continuing with the manual
<clever>
disasm: the nixops i cloned, doesnt match the nixops i have in github
<clever>
mfiano: i havent looked into folding that heavily yet, but if the file is well indented, then the indent mode also works nicely
<mfiano>
yeah well that doesn't work that great with nix, assuming you do the convention of having the closing brackets on the same indent level as a new starting expression
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArVY
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master daa9293 adisbladis: Merge pull request #35570 from ryantm/auto-update/brltty-5.5-to-5.6...
<NixOS_GitHub>
nixpkgs/master 8754bfd Ryan Mulligan: brltty: 5.5 -> 5.6...
<clever>
mfiano: oh, but the bash that this generates might be invalid then
<clever>
mfiano: so you may need to "\\?" it
<mfiano>
I did ? and it seems to work
<clever>
ah
<clever>
maybe it never needed escaping in the first place
<clever>
at the bash layer
<mfiano>
year appears not. might have been an artifact from older times. i haven't went through this stuff in years
<mfiano>
yeah*
<clever>
my router is getting a similar overhaul
acarrico has quit [Ping timeout: 256 seconds]
<clever>
using the giant nix-diff incantation above, to diff 2 nix files
lopsided98 has quit [Remote host closed the connection]
lopsided98 has joined #nixos
<fearlessKim[m]>
is is possible to run some tests at the end of a rebuild to validate a generation, like checking that the vim generated config doesn't generate error on vim startup ?
<clever>
fearlessKim[m]: id add a checkPhase to the derivation that manages the vim config, that runs vim against the config file
<clever>
mfiano: i also did nix-repl '<nixpkgs>' and tab-completed gitAnd then .h and .git-e
<mfiano>
It's nice to know there is a REPL
<clever>
its massively useful
<mfiano>
I am going to be amazed for a long time at how this changes my life
<clever>
for example, try nix-repl '<nixpkgs/nixos>'
<fragamus>
ohkay i think I have a decent question. I am trying to get swift running and I believe I need to run some bleeding edge stuff: https://github.com/NixOS/nixpkgs/pull/34893 how can I do that
<clever>
then eval config.environment.shellInit
<clever>
mfiano: and :r to reload everything
<mfiano>
nix-repl: command not found
<clever>
mfiano: with just that, you can see how nix parses your configuration.nix to generate its shellInit
<clever>
nix-env -iA nixos.nix-repl
<clever>
or add nix-repl to systemPackages
m3lst4d has quit [Ping timeout: 245 seconds]
<mfiano>
eek
<mfiano>
config.environment.shellInit has no line breaks at all
<clever>
nix-repl escapes linebreaks
<mfiano>
I can't read that
<clever>
i think the only way around that is to throw it at `echo -e`, lol
<clever>
copy, echo -e <paste>, lol
<fragamus>
i guess my question is: how do I load packages from the latest git@github.com:NixOS/nixpkgs.git
<mfiano>
Yeah, that defeats the usefulness of a REPL imo
<clever>
mfiano: its a lot more handy when it comes to smaller strings
<clever>
mfiano: and just confirming the syntax is valid without doing a full build
smichel17 has quit [Quit: smichel17]
<clever>
fragamus: clone that, and then just run `nix-build -A swift` in the root directory
<fragamus>
nice
b has quit [Ping timeout: 248 seconds]
lopsided98 has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArKc
<NixOS_GitHub>
nixpkgs/master 4ca5319 Ryan Mulligan: cppzmq: 4.2.1 -> 4.2.3...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 142b417 adisbladis: Merge pull request #35595 from ryantm/auto-update/cppzmq-4.2.1-to-4.2.3...
<disasm>
mfiano: it takes a while to get through them all, but super useful for understanding syntax once you start getting into writing nix derivations.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] othercriteria opened pull request #35609: lutris: init at 0.4.14 (master...feature/lutris) https://git.io/vAr6y
NixOS_GitHub has left #nixos [#nixos]
<disasm>
clever: I need to play with nix-diff. That looks really useful
<disasm>
clever: ooh, so I'm already using git worktree on the laptop I'm using nixops from and have my nixpkgs pointed to ~/nixpkgs/nixpkgs-custom. I could theoretically just create nixpkgs-nixops or maybe nixpkgs-stable and point my deployments there so I can switch back and forth between 17.09 and 18.03 (when it forks off master end of the month) without breaking any of my stable deployments I might not want to
<disasm>
update just yet.
<clever>
disasm: in my case, i pinned the deployment to a rev on github, so it doesnt care about local nixpkgs at all
Drakonis has quit [Ping timeout: 245 seconds]
uptime has joined #nixos
<disasm>
clever: that works too if you don't have any local changes to nixpkgs required :)
<clever>
disasm: overrides/overlays
plakband has quit [Quit: leaving]
alpha_sh has quit [Ping timeout: 256 seconds]
data8 has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
alpha_sh has joined #nixos
<mfiano>
does anyone know what causes an empty $HOME/Desktop directory to be created? I don't use a DE, and the only gui apps I use are chromium and pcmanfm once in a while. I find I have to keep deleting that directory at least once a week.
sigmundv has joined #nixos
schoppenhauer has quit [Ping timeout: 256 seconds]
<mfiano>
clever: Those env vars with i3 are going to really dissuade me from using nixos. I have another issue that requires an env var, but for a package that already exists
<clever>
mfiano: try another WM and see if it still happens?
<samueldr>
mfiano: how'd you acces that docs page for nix?
<mfiano>
samueldr: hmm?
<samueldr>
it's not in the source for the site anymore, it may be an older page that's still indexed, but unreachable from the nixos website
<mfiano>
I see. Probably an external link in my searches for a PDF
<samueldr>
(it still needs to be fixed though!)
<mfiano>
clever: Well bspwm loads to a black screen with no cursor and doesn't respond to anything
<mfiano>
I need to find another lightweight one
data8 has quit [Quit: nite nite]
reinzelmann has joined #nixos
<clever>
mfiano: xfce is the one i prefer
<clever>
mfiano: xserver.desktopManager.xfce.enable = true; and dont touch anything related to window managers
<mfiano>
clever: Isn't xfce a DE with more than just a window manager? I'm trying to pick one that only has one process running under xsession, to limit false positives
<sophiag>
hi all. i think i have to gc for the first time (my 128gb boot drive is full and it's ~90% dev stuff) and considering i'm currently rolling back a ton of builds every time i reboot due to a hardware issue i'm concerned about getting it right
<sophiag>
i'd like to just delete all build artifacts from before the version i boot from and ideally everything from there to the most recent build as well
<clever>
sophiag: one handy trick, nix-collect-garbage --max-freed 2g
<clever>
that will delete 2gig worth of garbage, and stop
<clever>
it will still preserve all GC roots, so rollbacks are un-affected
<sophiag>
ah ok
alpha_sh has quit [Ping timeout: 245 seconds]
<mfiano>
So I just tested another window manager and I have the same problem
<sophiag>
um, how does that work?
<clever>
sophiag: it only deletes things that are un-rooted, and it counts the bytes as it deletes things
<clever>
sophiag: then just stops when it hits the requested number
<sophiag>
right, i was confused about what my roots are set to and thought i could accidentally delete the version i have to rollback to
<clever>
ah
<clever>
nix refuses to delete anything that is rooted
<clever>
and the rollbacks are all gc roots
<sophiag>
oh...so that's it
alpha_sh has joined #nixos
<clever>
also, if you know a particular store path that is rather fat, you can just `nix-store --delete /nix/store/that-path`
<clever>
it will still obey roots, and refuse to delete anything you might need
<sophiag>
how do i see all my rollbacks? in case i _do_ actually want to prune some
<clever>
sophiag: `nix-env --list-generations` as each user that has used nix-env, and also `nix-env --list-generations -p /nix/var/nix/profiles/system` for the nixos generations
<clever>
and from the man page, nix-env --delete-generations generations...
<sophiag>
ah the -p flag was what i was missing
<clever>
behind the scenes, nixos-rebuild is just a wrapper for nix-env -p /nix/var/nix/profiles/system
<clever>
it builds <nixpkgs/nixos> -A system, and then stores that in the newest generation
<sophiag>
wow, can't believe i never knew that
<sophiag>
well, i can :)
<clever>
i get obsessed with knowing how things work, and consume source code like its food :P
<mfiano>
How do you delete generations?
<sophiag>
also what if i call nix-collect-garbage without the --max-freed flag? there doesn't seem to be any danger of that
<clever>
mfiano: nix-env --delete-generations
<clever>
sophiag: it will just delete all un-rooted things, freeing up a ton of space, and ruining your cache, so you have to redownload a lot for nix-shell or nix-build
<clever>
so its a balance between how much space you want, and how much bandwidth you want to waste re-downloading lesser used things
<sophiag>
ah yikes
<sophiag>
maybe i will actually try pruning generations first
<mfiano>
you must have a lot of aliases to be typing all these this fast :)
<clever>
comes to 3gig on my router
<clever>
mfiano: nope, i just type really fast
<mfiano>
I would say so :)
<clever>
and i use them enough that its all automatic
<sophiag>
ok, hopefully last stupid question...is there a way to delete all *but* certain generations (other than enumerating them with bash)? i figure i'll just keep the one i rollback to on boot and the current one, then delete everything
<clever>
sophiag: not directly, but there is `nix-collect-garbage --delete-older-than 30d --dry-run`
<clever>
sophiag: which will just set a cut-off point in time
<clever>
i believe the --dry-run stops it from actualy deleting anything, so you can preview the action first
<clever>
if ran without root, it can only clean up nix-env for the current user
<sophiag>
yup, i did read the manual that much :)
<clever>
if ran with root, it cleans up every profile
astrofog has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vAryr
<NixOS_GitHub>
nixpkgs/master 095260a Peter Hoeg: nixos udevil: set up wrapper for udevil
NixOS_GitHub has left #nixos [#nixos]
<mfiano>
These commands are very nice. I'm saving them for later
<clever>
there is another i often use
pie__ has joined #nixos
<clever>
[root@router:/nix/store]# du --max-depth=1 -hc | sort -h
<clever>
this one will print everything in the store, sorted by size
<clever>
then, run `nix-store --query --roots /nix/store/fat-thing-1` to find out what depends on it
<clever>
then selectively remove roots/generations, and `nix-store --delete`
<clever>
that gets edge cases the above things dont get, like a result symlink from 3 years ago in a random directory, lol
<mfiano>
Oh yes, I use that so much it's a function def
<mfiano>
I learned something new though. I didn't know that the -h flag of both can be used like that to sort by size. I usually do du without -h and sort -n
<sophiag>
is it weird if my nixos generations list doesn't update after deleting some?
<clever>
sophiag: what did you delete?
<sophiag>
well i ran through them one by one with bash so i realize now that could be sketchy if it bumps the numbers :/
<sophiag>
so from root like: for i in $(seq 11 57); do nix-env --delete-generations $i; done
<sophiag>
since i identified 58 as the one i boot from
<clever>
sophiag: that lacks the -p flag, so its deleting generations from the `nix-env -i` profile
<sophiag>
ah, that makes sense
MercurialAlchemi has joined #nixos
<sophiag>
but if i rerun it do i want to replace $i with 1? iow, does it bump the numbers since i'm not passing them as a list?
<clever>
sophiag: put an echo before the nix-env
<clever>
the du i gave above has finished, i see 5 storepaths, that are 1.9gig each
<clever>
and then i --query --roots to find nothing depends on it
<clever>
and nix-store --delete is happy to remove it
asuryawanshi has joined #nixos
<mfiano>
I just did the same for a 2gb store path with no roots
<sophiag>
clever: sorry, i'm unclear how echo affects what i was asking about it bumping generation numbers
<clever>
sophiag: more that it lets you preview what $i is at every command
<sophiag>
ah yeah i was going to just try that
<clever>
mfiano: i much prefer targeted deletion, since i dont loose anything i might have wanted, but sometimes you just dont have the time
<mfiano>
Yeah he's wondering if the generations get renumbered to be sequential after deletion
<mfiano>
I'm curious as well
<clever>
ah
<clever>
it always starts +1 above the current
aborsu has quit [Quit: aborsu]
<clever>
[root@system76:~]# ls -l /nix/var/nix/profiles/system{,-5?-link}
<sophiag>
also this hardware problem i've been referring to...i'm on a hand me down gaming laptop where the nvidia card is hardwired to the screen. so you can't turn off either nvidia or integrated...
<clever>
ive heard of some weird laptop setups, that do "fun" things to save power
<sophiag>
sadly, looks like i'll purchased a gaming laptop for my next one anyway. i can't find anything that competes with the 13" razor as far as size and ram
nh2 has joined #nixos
<clever>
basically, the screen is tied to a dumb low-power video chipset
<clever>
and then they glued a powerfull 3d chipset on the side
<clever>
and configure it, to just render 2d frames into the framebuffer of the low-power chip
<sophiag>
i really would like something light with a fancy screen like the mbps
<adisbladis[m]>
sophiag: My thinkpad 25 has 32G RAM and a nice 14" 1080p screen
<clever>
sophiag: 32gigs of ram, i went with the variant that has no dedicated gpu, since i'm not gaming on it
<lejonet>
adisbladis[m]: The T25?
<adisbladis[m]>
lejonet: Yeah
<lejonet>
adisbladis[m]: :D
<clever>
sophiag: but i have cracked it open, and there is a very clear void on the motherboard where the gpu&gpu ram goes, along with a massive void where the cooler would have gone
hotfuzz_ has joined #nixos
<adisbladis[m]>
lejonet: Came with 1x16G but the mb takes 2x16G :)
<lejonet>
adisbladis[m]: that is awesomesauce
<clever>
sophiag: double-checking the site, i dont even see a gpu variant offered for the kudu
<adisbladis[m]>
lejonet: It's a pretty sweet beast :)
<lejonet>
clever: but... a 17.3" screen?! That is huge
<lejonet>
adisbladis[m]: I'm waiting for the A series with Raven Ridge, then I'm maybe swapping my x260
<clever>
lejonet: its mainly a coding laptop
hotfuzz has quit [Ping timeout: 252 seconds]
<clever>
lejonet: the bigger the screen, the more text you can fit
<lejonet>
clever: fair enough then
<clever>
lejonet: the cpu can also nearly match my desktop, yet has half the cores
<lejonet>
clever: 7700HQ is a beast :)
<clever>
yeah
<clever>
model name : AMD FX(tm)-8350 Eight-Core Processor
<NixOS_GitHub>
nixpkgs/master 876263e adisbladis: Merge pull request #35640 from ryantm/auto-update/fakeroot-1.20.2-to-1.22...
<NixOS_GitHub>
nixpkgs/master c7f30b3 Ryan Mulligan: fakeroot: 1.20.2 -> 1.22...
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArHF
NixOS_GitHub has left #nixos [#nixos]
<sophiag>
firefox quantum really impressed me. but even before that safari would kill chrome on my work machine
<sphalerite_>
adisbladis[m]: or run hydra to verify all of hydra.nixos.org's builds! :D
<LnL>
adisbladis[m]: nix supports something similar if you want
<adisbladis[m]>
sphalerite_: <3
<adisbladis[m]>
LnL: Ehrm. No thanks :)
<sophiag>
clever: cuz you said it eats up to 64gb ram
<clever>
sophiag: ah, thats mostly due to my tabs, one sec
<lejonet>
mfiano: well, yes, but that got attention when it was shown, then 3s later, they forgot it too, just like spectre and meltdown is soon forgotten, atleast by the general public
<sophiag>
i'm sayign i bet if you had 40 tabs on firefox you'd be okay
<clever>
sophiag: my primary chrome profile has 885 tabs open right now
<sophiag>
lolol
<clever>
sophiag: and the second chrome profile (in the same instance) has another 142
<clever>
sophiag: oh, i also found an un-expected bug in chrome, due to one-tab
<LnL>
that should keep it warm for a while
<clever>
sophiag: i got to the point, that opening the gui for one-tab, killed the rendering process for it in chrome
<lejonet>
sophiag: my firefox rarely eats more than a gig or 3 :P
<clever>
sophiag: turns out, chrome calls socketpair() when loading fonts
<clever>
sophiag: and the gui had such an insane number of links, that it went nuts trying to load the same font in parallel
<clever>
sophiag: and it ran out of file-descriptors
<sphalerite_>
my firefox is using… 1GB of RAM. But I did a major tab purge a while back.
<sophiag>
yeah shit like that is a lot of why i've stopped using certain extensions. i always used to blame whoever wrote the extensions tho
<sphalerite_>
and on my chromebook it's using 400MB, but on there I disable javascript and keep the tab count very limited
<sophiag>
like the pocket chrome extension crashes it all the time
<clever>
sophiag: the multi-process nature of chrome helps to contain those crashes
<clever>
but in the case above, it got to the point that the process for one-tab crashed every time i tried to use one-tab
<clever>
which essentialy made the entire extension unusable
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArQO
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master c8a91ac adisbladis: Merge pull request #35606 from ryantm/auto-update/dante-1.4.1-to-1.4.2...
<NixOS_GitHub>
nixpkgs/master cd95173 Ryan Mulligan: dante: 1.4.1 -> 1.4.2...
<sophiag>
apropos...now chrome hangs when i try to load...google.com!
rauno has quit [Ping timeout: 268 seconds]
<sphalerite_>
is there a way to get --check behaviour with `nix build`?
ixxie has joined #nixos
<sphalerite_>
also, is there a way to find the source for a .drv file? I'm guessing not in the general case, but I know an evaluation that has it somewhere in its dependency tree so that must help surely
<clever>
sphalerite_: look at where it is within nix-store --query --tree, and then check the .drv at each step to get hints on which parameter to mkDerivation it was in
<clever>
sphalerite_: then just chase it down on the nix side
<hyper_ch>
LnL: test it now also on home server... reverting back to that commit makes tmux work normal again...
<hyper_ch>
dtz: online?
<LnL>
he’s probably sleeping right now
<ixxie>
it seems package / option search on nixos.org is broken
<hyper_ch>
LnL: sleeping in the middle of the day? :)
<ixxie>
correction: only package search is broken it seems
<ixxie>
correction: nothing is broken xD
<LnL>
hyper_ch: pretty sure it’s midnight for him
<sphalerite_>
clever: that's fiddly :( I was hoping there would be some way to get an evaluation trace of each instantiation so I can just grep for the drv I'm looking for
<clever>
sphalerite_: you could maybe modify stdenv.mkDerivation such that it calls lib.traceShowVal
<clever>
or another one of the trace family
<sphalerite_>
I just found a distinctive string in the .drv tha I can grep for :)
<clever>
then it could print meta.position and every .drv
<clever>
thats a much simpler way
<clever>
sphalerite_: what is just the drv name?, maybe ive memorized it already? lol
<LnL>
hyper_ch: did you revert the commit on master?
<clever>
ahh
leat has joined #nixos
<hyper_ch>
LnL: cloned nixpkgs and set checkout to the commit and rebuild
<clever>
sphalerite_: yeah, thats a tricky one because there are several layers of binutils
Sonarpulse has quit [Ping timeout: 245 seconds]
<hyper_ch>
LnL: btw, if I run: git log --oneline b9806751074..327a84749ed then two adjacent commits are really commited just one after the other, right?
<sphalerite_>
oh no, Sonarpulse left. Just when I might be needing him.
<LnL>
hyper_ch: not necessarily, check —graph
<sophiag>
ugh, now after all that to free up space i can't remember how i finally got stack to use the system ghc :p
rauno has joined #nixos
<hyper_ch>
LnL: oh :(... I used that to find which works and which doesn't :(
<hyper_ch>
not sure about check --graph
<clever>
sphalerite_: i dont think he was back, he has been reconnecting and pinging out for the last 8-ish hours
<sphalerite_>
oh ok
<LnL>
could still be right
<LnL>
hyper_ch: git log —oneline —graph
<hyper_ch>
howto understand that?
<sphalerite_>
LnL: btw whatever you're typing in turns -- into –.. Which makes copying commands you write harder!
zzamboni has joined #nixos
<sphalerite_>
hyper_ch: git history isn't linear. You can get branches that split out from the same commit and later get merged back together
<LnL>
I know! not sure how to fix that on my phone’s client
gillmanash has quit [Remote host closed the connection]
zzamboni has quit [Remote host closed the connection]
zzamboni has joined #nixos
<sophiag>
sphalerite: that's bad news. you should definitely delete branches after merging and then recreate them if you need
<sophiag>
*_
<LnL>
hyper_ch: have to leave for work now, back in a bit
<hyper_ch>
how to read that graph?
<sphalerite_>
sophiag: not really, it's just how git works..?
<sophiag>
i'm saying you can avoid that by deleting branches after merging to master. obviously git lets you do tons of painful stuff
<sphalerite_>
hyper_ch: if there's a line between two adjacent commits the upper one is directly descended from the lower one
<sphalerite_>
sophiag: you still have the nonlinear history
<sphalerite_>
sophiag: unless you rebase instead of merging
ertes-w has joined #nixos
<sophiag>
hmm? maybe i confused your initial comment i responded to
<sophiag>
i've never had that cause a problem...
<sphalerite_>
it's not a problem, I'm just trying to explain the output of git log --graph to hyper_ch :)
<sophiag>
i mean, you either pull before merging or go the other way
<clever>
Guanin: its inheriting the argument to the function, not the function itself
sigmundv has joined #nixos
<sophiag>
this is a huge longshot but does anyone here use libpcap? i'm trying out a haskell wrapper for it for the first time and it either can't find or doesn't like a header file :/
asuryawanshi has joined #nixos
civodul has joined #nixos
<clever>
sophiag: i think you need to use overrideCabal to add librarySystemDepends = [ libpcap ];
robstr has quit [Remote host closed the connection]
asuryawanshi has quit [Ping timeout: 240 seconds]
<clever>
sophiag: the root of the project i think
<sophiag>
ugh
robstr has joined #nixos
asuryawanshi has joined #nixos
Itkovian has quit [Ping timeout: 248 seconds]
asuryawanshi has quit [Read error: Connection reset by peer]
asuryawa_ has joined #nixos
<sophiag>
i'm concerned it could be a versioning issue. addding a shell.nix with libpcap in buildInputs didn't help and it *has* been able to find it in nix-store
pie__ has joined #nixos
<sphalerite_>
sophiag: shouldn't it just be a matter of adding nix: {enable: true, packages: [libpcap]} to your stack.yaml?
<clever>
sphalerite_: ah, hadnt seen that option, i dont really use stack much
<clever>
sphalerite_: nix already does everything i need, so i just never learned stack/cabal
<sphalerite_>
same
<sphalerite_>
although I did write a cabal file for my current project
<sphalerite_>
and you need to do that for anything you want to put on hackage, right?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArFp
<NixOS_GitHub>
nixpkgs/master f917848 Ryan Mulligan: exempi: 2.4.2 -> 2.4.4...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 1ff9fe2 adisbladis: Merge pull request #35638 from ryantm/auto-update/exempi-2.4.2-to-2.4.4...
jensens has quit [Ping timeout: 245 seconds]
<sphalerite_>
!m adisbladis[m]
<[0__0]>
You're doing good work, adisbladis[m]!
<adisbladis[m]>
<3
<sudoreboot[m]>
Since yesterday I've been getting `warning: unknown setting 'signed-binary-caches'`, messed up output followed by the program freezing (have to `kill -9` it) with nix-env and nix-build
<sphalerite_>
sudoreboot[m]: sounds like you upgraded nix
<sphalerite_>
sudoreboot[m]: and are using a 2.0 daemon with a 1.11.x client
<sudoreboot[m]>
sphalerite_: Hmm, I did download nixUnstable to test it, but I didn't think it'd interfere
<sphalerite_>
I haven't seen this freezing behaviour, but the messed up output definitely
<clever>
i think i saw some trouble with nix-build consuming 100% cpu when i was upgrading
<clever>
but it went away pretty fast
<clever>
possibly due to fully switching to 2.0 on both ends?
pie__ has quit [Ping timeout: 256 seconds]
<sphalerite_>
the unknown setting warning is perfectly normal though, signed-binary-caches was removed in favour of require-sigs
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
<LnL>
is the option not fixed yet?
<sphalerite_>
LnL: fixed? I don't think that was the plan
<LnL>
I mean in the nixos module
<sudoreboot[m]>
I restarted nix-daemon.socket and nix-daemon.service and the program doesn't freeze or produce messed up output anymore but I still get the warning
taktoa has quit [Read error: Connection reset by peer]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 247db6d adisbladis: Merge pull request #35501 from ryantm/auto-update/aptly-1.1.1-to-1.2.0...
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArAP
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 2e60ec7 Ryan Mulligan: aptly: 1.1.1 -> 1.2.0...
<joko>
Hello, I would like to create an installation ISO which already contains some of the derivations I will have on the installation target, so that they don't get downloaded. Any idea how to do so?
<clever>
joko: create a custom configuration.nix, and add one of the iso files to imports (probably graphical-kde?), then set this, and nix-build the right target
<mbrock>
hmm, is the nixexprs.tar.xz somehow supposed to be signed now?
<joko>
clever: Awesome, this is what I wanted! system.extraDependencies
<hask_bee_3>
From 2014: "Nix now includes systemd units and Upstart jobs."
<hask_bee_3>
Has this feature been documented anywhere?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vArxk
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 0da5d7c Franz Pletz: Merge pull request #35630 from ryantm/auto-update/emby-3.2.60.0-to-3.2.70.0...
<NixOS_GitHub>
nixpkgs/master a37e3f2 Ryan Mulligan: emby: 3.2.60.0 -> 3.2.70.0...
<mbrock>
I made my channel's root into a browsable directory (https://nix.dapphub.com/pkgs/dapphub) and now nix-channel --update says "error: imported archive of /nix/store/...-dapphub lacks a signature"
<clever>
mbrock: that happens if you use a 2.0 client with a 1.11 daemon
<adisbladis[m]>
hask_bee_3: It no longer contains upstart jobs if that's what you mean
<mbrock>
oh
<hask_bee_3>
adisbladis[m] I'm only interested in systemd. I just don't see it documented anywhere
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArxK
<NixOS_GitHub>
nixpkgs/master 05b6f23 adisbladis: Merge pull request #35497 from ryantm/auto-update/angelscript-2.31.2-to-2.32.0...
<NixOS_GitHub>
nixpkgs/master 2d314a0 Ryan Mulligan: angelscript: 2.31.2 -> 2.32.0...
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_>
Is there a way to find all the input pahts for a drv? nix-store -qR gives me a mixture of sources and drvs, but I want the sources and the output paths for those drvs
<sphalerite_>
Actually I want the *closure* of that operation
xeji has joined #nixos
<hask_bee_3>
Here's the full context: I'm using Nix on another Linux. I wish to run a postgresql instance. I know I could simply put nix-shell -p postgresql --run 'postgres -D /tmp/foo' into a systemd (.service) file. But I understand this is not a good idea. Supposedly, I can avoid going through nix-shell every time by using so-called unit files.
<hask_bee_3>
I guess unit files = systemd files = .service files.
<hask_bee_3>
clever said yesterday: "if you generate a .service file with nix, then the version will be locked in until you re-generate it, and the files will remain cached"
<hask_bee_3>
I'm trying to figure out how to do this. Also, how do such generated .service files differ from the .service file I suggested above (with the nix-shell command)?
ThatDocsLady has joined #nixos
<sudoreboot[m]>
I haven't so far been able to figure out how to set which generation to boot into by default. For example if I create a new profile for some specific task, on next boot it will see it as the most recent and boot into that. I want to be able to be able to choose which I boot into by default
<clever>
hask_bee_3: ahh, you mean outside of nixos, i'm not sure how well the nixos .service files would work outside of nixos, but you can always make your own with writeTextFile
<clever>
hask_bee_3: one min
<sphalerite_>
hask_bee_3: what you're trying to do is quite a fuss. Is nixos really not an option?
babyflakes has quit [Quit: Connection closed for inactivity]
<sphalerite_>
hask_bee_3: you could run it in a systemd-nspawn container if you don't want to use full machine virtualisation or install a full nixos
<hask_bee_3>
sphalerite_ just running it through nix-shell looks easy to me. maybe i should just do that for now? one day i could move to nixos. i just want to get up to speed with nix on my existing linux right now, that's all
<sophiag>
clever: where are you that it's 6am? i thought my sleep cycle was off in new york!
<the-kenny-w>
I have a Thinkpad x260 (intel graphics). When playing video, scrolling, and playing games I have this weird horizontal "cut" down 1/3 of the monitor where it shows another frame. Feels like the bottom part of the monitor is one frame ahead or behind. Any idea how I can fix this? It's driving me crazy recently
<LnL>
yep, I'm not sure where systemd user unit files are supposed to end up but you can probably add a symlink from /path/to/units/foo.service to ~/.nix-profile/foo.service
the-kenny-w is now known as the-kenny
<hask_bee_3>
I think I have just witnessed yet another great reason for Nix hardcoding Nix store paths into binaries. I can just call that binary through systemd, and the binary will automagically find what it needs to find!
<LnL>
yeah, and nix will know that the file depends on those specific versions and won't delete those as long as the unit file is used somewhere
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vArp9
<NixOS_GitHub>
nixpkgs/staging 4f08b0f Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos [#nixos]
<LnL>
if you used nix-shell and the service wasn't running it could get deleted with a gc otherwise
<hask_bee_3>
this is excellent
<clever>
thats also why i avoid ~/.stack's cached builds, nix doesnt really know about them
* clever
heads off to bed
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArhf
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master d0cf327 Ryan Mulligan: armadillo: 8.300.0 -> 8.400.0...
<NixOS_GitHub>
nixpkgs/master 0b2bd98 adisbladis: Merge pull request #35502 from ryantm/auto-update/armadillo-8.300.0-to-8.400.0...
babyflakes has joined #nixos
lambdamu has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh force-pushed python-unstable from 9ad415f to b016097: https://git.io/v5aIf
<NixOS_GitHub>
nixpkgs/python-unstable 414db1b Frederik Rietdijk: python: behave: 1.2.5 -> 1.2.6
<NixOS_GitHub>
nixpkgs/python-unstable 78f1ebf Frederik Rietdijk: python: aiohttp: 3.0.1 -> 3.0.3
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/python-unstable 3b6ffb9 Frederik Rietdijk: python: aniso8601: 2.0.0 -> 2.0.1
<LnL>
yeah, postgres has been down for most of the weekend
<etu>
oh
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArhx
<NixOS_GitHub>
nixpkgs/master b5f50db adisbladis: Merge pull request #35637 from ryantm/auto-update/eventstat-0.03.04-to-0.04.03...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 20246dc Ryan Mulligan: eventstat: 0.03.04 -> 0.04.03...
<etu>
Yeah, I could see that it was a database issue. But I don't know how that affects rest of the system though :)
<LnL>
somebody is looking at it right now
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vArjW
<NixOS_GitHub>
nixpkgs/master 6a3bd92 Franz Pletz: Merge pull request #35646 from ryantm/auto-update/fleet-0.11.8-to-1.0.0...
<NixOS_GitHub>
nixpkgs/master c84e359 Ryan Mulligan: fleet: 0.11.8 -> 1.0.0...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vArjB
<NixOS_GitHub>
nixpkgs/master dedd9d1 Franz Pletz: Merge pull request #35645 from ryantm/auto-update/flacon-2.1.1-to-4.0.0...
<NixOS_GitHub>
nixpkgs/master 21adaec Ryan Mulligan: flacon: 2.1.1 -> 4.0.0...
NixOS_GitHub has left #nixos [#nixos]
<hask_bee_3>
LnL i wonder why that symlink prevents GC though. it's just a symlink in some arbitrary location on my system (where i executed the command)
<LnL>
ah it's an indirect root
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArjP
<NixOS_GitHub>
nixpkgs/master 0db2120 adisbladis: Merge pull request #35629 from ryantm/auto-update/ddcutil-0.8.5-to-0.8.6...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 426816e Ryan Mulligan: ddcutil: 0.8.5 -> 0.8.6...
Tucky has quit [Quit: WeeChat 2.0.1]
vidbina has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vArjH
<NixOS_GitHub>
nixpkgs/master ea299bd Michael Raskin: lispPackages.xembed: init
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 025e1a3 Michael Raskin: stumpwm: passthrough contrib
<LnL>
it creates a 2 symlinks: 1. /foo/result -> /nix/store/... and 2. /nix/var/nix/gcroots/auto/... -> /foo/result
<hask_bee_3>
ah ok
<LnL>
so if you remove the result one the auto gcroot becomes invalid (points to nothing) and gets removed
<cmcdragonkai1>
Is there someone who is nix on ubuntu?
<cmcdragonkai1>
Or other non-nixos distro?
<joko>
Is there anything like writeScriptBin with substituteAll?
<vaibhavsagar>
cmcdragonkai1: I use Nix on Ubuntu
<cmcdragonkai1>
What's been your experience?
<cmcdragonkai1>
Was there any hacks you had to do to make it all work?
<vaibhavsagar>
mostly good, no hacks required
<cmcdragonkai1>
GUI apps all work?
<vaibhavsagar>
ooh, haven't tried those
<cmcdragonkai1>
nix-shell all works?
<vaibhavsagar>
nix-shell works great
<cmcdragonkai1>
Do you even use the ubuntu apt get package manager at all now?
<vaibhavsagar>
my boss uses NixOS+Ubuntu for everything
<cmcdragonkai1>
I'm guessing for system services and ubuntu upgrades
sorear has joined #nixos
<vaibhavsagar>
I use apt-get sometimes, but I try to avoid it when possible
<cmcdragonkai1>
you still use apt-get
<vaibhavsagar>
yes
<cmcdragonkai1>
which one takes precedence?
<genesis>
cmcdragonkai1 : i use gentoo+nix
<cmcdragonkai1>
if you have apt-get installed vim
<vaibhavsagar>
apt-get AFAIK
<cmcdragonkai1>
and then apt-get install vim
TweyII has joined #nixos
<vaibhavsagar>
but it depends on your $PATH
<cmcdragonkai1>
which one is the one that takes precedence in your profile?
<vaibhavsagar>
with my setup I think it's apt-get
TweyII is now known as Guest2518
<vaibhavsagar>
but you can set it up the other way round
<cmcdragonkai1>
why did you make your apt-get installed stuff take precedence over your nix-env?
<vaibhavsagar>
because I've been using Ubuntu without Nix on this laptop for a long time
<cmcdragonkai1>
genesis: Do you have something published about this?
<vaibhavsagar>
If I were starting from scratch I would install NixOS
<genesis>
cmcdragonkai1 : no i just use official gentoo nix ebuild ...
<cmcdragonkai1>
yea so I'm using NixOS personally, but at work, it seems i'm stuck on ubuntu, but i wanted to investigate how much of nix i can use in ubuntu
zzamboni has quit [Quit: Leaving.]
<cmcdragonkai1>
vaibhavsagar: Did you install nix directly via the curl pipe script?
<cmcdragonkai1>
Or is there an apt-get repo for nix?
<cmcdragonkai1>
genesis: Does GUI apps installed via nix-env or nix-shell work for you?
<genesis>
yes, just classic problem with some opengl one
zzamboni has joined #nixos
<genesis>
i did a dirty hack, works for some ...
periklis has quit [Ping timeout: 248 seconds]
<cmcdragonkai1>
what's the dirty hack?
<cmcdragonkai1>
i'm dying to know in case i meet it
<symphorien>
cmcdragonkai1: I used nix on ubuntu 14.04 last summer, regarding gui, gtk themes were not gtk3 ready so it was not most beautiful
<jluttine>
in my ttrss, i only get the first news from 2004 as the only entry
<jluttine>
perhaps because other news don't have content or because they are all pointing to the same url?
<genesis>
QT_HOME=/nix/store/vi6g88ldbskbcmjdqjzy9zxf7p9axvkc-qtbase-5.10.0-bin i don't want bin, i want 0f0z5yd348bjaqbwdzsla874w3fpzb2z-qtbase-5.10.0 , don't find how
<genesis>
all package use qtbase and it failed here, if someone has an idea ...
<Guanin>
do I understand system.autoUpgrade correctly, so that it will pull updates and rebuild the system everytime the specified dates is given? So I'll get security updates and recompile everything if needed?
betaboon has joined #nixos
iyzsong has joined #nixos
<sphalerite_>
Guanin: not usually recompile anything
<sphalerite_>
Guanin: only if you have overrides that cause recompilation or stuff which isn't built by hydra (most likely nonfree software) or completely custom packages
zzamboni has quit [Quit: Leaving.]
<Guanin>
sphalerite_, I made a patch for PAM ;)
<sphalerite_>
but yes. Essentially it will run nixos-rebuild switch --upgrade
<sphalerite_>
oh yeah that haha
<Guanin>
okay, thanks :)
<sphalerite_>
so yes, it will rebuild everything in your case :D
zzamboni has joined #nixos
rindvieh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 754816b Michael Raskin: python2Packages.pathlib2: disable test that assumes /etc/passwd
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vAoLW
NixOS_GitHub has left #nixos [#nixos]
<Guanin>
still thinking about choosing another approach, but I guess recompiling everything is not the worst thing - I mean, it takes around 45 minutes in my case
rauno has quit [Read error: Connection reset by peer]
pkill9 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat opened pull request #35667: poppler: fix build on Darwin (staging...p/poppler-darwin) https://git.io/vAotV
NixOS_GitHub has left #nixos [#nixos]
rardiol1 has joined #nixos
<sphalerite_>
Guanin: you could use replaceDependency. Or the git version of mumble which uses qt5 which is split into components and should hopefully not depend on all the UI bits of qt
<sphalerite_>
not sure if murmur git is packaged
sigmundv_ has joined #nixos
<sphalerite_>
what's the best terminal-based email client for a habitual vim user? I'd like to switch away from thunderbird
<sphalerite_>
(terminal-based isn't actually a hard requirement)
alexteves_ has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAoYk
<NixOS_GitHub>
nixpkgs/master fc23242 Frederik Rietdijk: Merge staging at '8d490ca9934d0c01e1e9ade455657e54e2e843c0' into master
<dtz>
err not so much that it happened, AFAICT it's something subtle (I'm working on adding nixos test for it now :P)
<dtz>
but rather it should be a release blocker
raynold has quit [Quit: Connection closed for inactivity]
<LnL>
that would be great!
<dtz>
shlevy: the buildPackages.buildPackages make me sad. Does "depsBuildBuild = [ packagename ];" not do the trick? I'm kinda hoping it will since it's less ugly
<dtz>
but yeah reducing the duplication would be nice, lol
<dtz>
I hit that /hard/ when building LLVM components
kelleyNif has joined #nixos
<LnL>
thought about that when doing the bisect but felt like it was a bit overkill
<dtz>
esp since at some point I was building LLVM entirely just to get the dang tablegen lol
<shlevy>
dtz: No, it doesn't. And I don't like the magic splicing
<shlevy>
I'd rather get rid of native/non-native too and just pull packages from buildPackages
<shlevy>
dtz: I'm gonna wait for John to chime in on that issue and see what he thinks
<shlevy>
Then I'll try to come up with a good solution if I'm not happy still :)
<lexcurious>
manveru , I don't see packages or options for it
<lexcurious>
looks like it doesn't
thblt has joined #nixos
<ertes-w>
is nix-env planned to become a 'nix' command, too? i switched to nix 1.12, but since nix-env is one of my most common commands, i can't really benefit from the new UI for half of my commands
babyflakes has quit [Quit: Connection closed for inactivity]
<gchristensen>
ertes-w: parts of nix-env are ported, like nix search
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] shlevy opened pull request #35670: perl: Cross-compile: patch miniperl for gcc7 (master...perl-cross-gcc7) https://git.io/vAo8l
NixOS_GitHub has left #nixos [#nixos]
<ertes-w>
gchristensen: yeah, i'm already using that
<chisui>
nix-env show "warning: name collision in input Nix expressions, skipping ‘/home/chisui/.nix-defexpr/channels_root/nixos’" on each operation. what does that mean and should I be worried?
<srhb>
chisui: I THINK it means you have two channels called nixos.
<srhb>
chisui: But please verify.
sigmundv has quit [Ping timeout: 245 seconds]
zzamboni has joined #nixos
Tucky has quit [Remote host closed the connection]
mounty has quit [Read error: Connection reset by peer]
Tucky has quit [Client Quit]
zzamboni has quit [Ping timeout: 245 seconds]
<manveru>
writing tests with comments like "this test will fail after 2286-11-20" is my favorite :)
asymmetric has joined #nixos
<manveru>
hopefully my grand-grand-grand-grand-grand-grand-grand-grand-children won't hate me
<yorick>
manveru: just fix it now
<asymmetric>
hi all, is it normal that the tests of a pythong package are not to be found in `/nix/store`?
<manveru>
i can't because the upstream API will fail on that date too
sigmundv has joined #nixos
zzamboni has joined #nixos
Tucky has joined #nixos
babyflakes has joined #nixos
<asymmetric>
i'm trying to debug why a sed run in the preCheck phase of a package has no effect
<asymmetric>
i.e. it doesn't replace
<asymmetric>
and the replace is on a test file. so i'm trying to find the test file, but i can't
darlan has joined #nixos
<sphalerite_>
asymmetric: yes, it's normal. Does the package fail to build?
<sphalerite_>
asymmetric: if so, use --keep-failed and have a look in /tmp/nix-build-<name>
<asymmetric>
yes, it fails. the package runs `datetime.dateime.now().year`, and i want to hardcode to 2017
darlan has quit [Client Quit]
<manveru>
maybe do it in patchPhase?
<sphalerite_>
asymmetric: do you have a custom checkPhase for it?
alexteves has joined #nixos
alexteves_ has joined #nixos
<asymmetric>
sphalerite_: no, i've just added preCheck
<asymmetric>
is that not enough?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dtzWill opened pull request #35672: libiconv: don't use deprecated crossAttrs, re-enabling cross-stripping (master...fix/libiconv-strip) https://git.io/vAoV7
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_>
yeah it should be, just that if you have your own checkPhase you need to make sure to run the pre/postCheck hooks yourself
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<manveru>
if it fails to find the file, it's probably running alright
<manveru>
just in the wrong directory, is my guess :)
Itkovian has joined #nixos
rindvieh has quit [Remote host closed the connection]
raynold has joined #nixos
<asymmetric>
oh i see, i was escaping characters in sed that i didn't need to
<asymmetric>
never know when i should escape, and when i shouldn't
<asymmetric>
e.g. \( instead of just (
Itkovian has quit [Client Quit]
bebarker has quit [Quit: Leaving]
peacememories has joined #nixos
peacememories has quit [Client Quit]
Itkovian has joined #nixos
lord| has quit [Quit: WeeChat 2.0.1]
<hyper_ch>
sphalerite_: so with git --graph I do get the commits in chronological order (of merging)?
<betaboon>
adisbladis[m]: how do you feel about the current state of pnpm2nix ? ready to be tested by others ? :P
Itkovian has quit [Client Quit]
Rusty1_ has joined #nixos
Itkovian has joined #nixos
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 3 new commits to master: https://git.io/vAowh
<NixOS_GitHub>
nixpkgs/master 6f14417 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub>
nixpkgs/master cf4b8c6 Peter Simons: LTS Haskell 10.7
<NixOS_GitHub>
nixpkgs/master 0f7a7cb Peter Simons: hackage: update db snapshot
NixOS_GitHub has left #nixos [#nixos]
nuncanada has joined #nixos
<sphalerite_>
hyper_ch: in chronological order of committing, I think. I'm not sure
<sphalerite_>
it might also be in chronological order of authorship
robstr has quit [Remote host closed the connection]
<sphalerite_>
authoring even
dbmikus has quit [Quit: WeeChat 2.0.1]
robstr has joined #nixos
dbmikus has joined #nixos
gal_bolle has joined #nixos
vaninwagen has quit [Ping timeout: 240 seconds]
Myrl-saki has quit [Ping timeout: 252 seconds]
Myrl-saki has joined #nixos
robstr has quit [Ping timeout: 245 seconds]
<ottidmes>
genesis: ls /nix/store | grep qtbase
<ottidmes>
genesis: (whoops, was still scrolled up, ignore me)
<genesis>
ottidmes : i finished to use "QT_HOME=${qt5.qtbase.out}"
chaker has joined #nixos
<genesis>
i'm sure people will complain ...
tertle||eltret has quit [Quit: Connection closed for inactivity]
<ottidmes>
genesis: Is the .out bit necessary? Is that not implicit?
<genesis>
without i've -bin by default
<genesis>
the weird part is why i can't use qtbase alone, like dozen of derivation ...
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes>
genesis: Not sure, I noticed this too with openssl, probably to prevent overlapping libraries or something similar
<genesis>
since the compilation took 7 hours, i wait night and launch before sleeping ;)
<dash>
sphalerite_: mu4e and notmuch? :)
rindvieh has joined #nixos
<ottidmes>
genesis: I meant the bit about why -bin by default, but I am also not sure how you would prevent it from recompiling everything from qt, unless of course if in your use case of qtbase you would not use it in other packages in turn, because then you might just copy the qt description if that is possible and package it yourself on its own
<sphalerite_>
dash: not heard of those, I'll have a look, thanks
Itkovian has joined #nixos
<ottidmes>
genesis: I am doing that for samba (customized copy of existing samba package), since I do not want to recompile things like VLC, which depends on some Samba libs
<genesis>
i just try to provide the right directory with qt5core gui and widgets libraries
rindvieh has quit [Ping timeout: 240 seconds]
<genesis>
others packages sucessful import qtbase, i don't for mysterious reason.
ryantrinkle has quit [Ping timeout: 256 seconds]
<genesis>
i've a "called without required argument 'qtbase'"
<ottidmes>
genesis: I had to do this: libsForQt5.callPackage
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Itkovian has joined #nixos
<genesis>
doc/languages-frameworks/qt.xml explain a bit why ok
<genesis>
not straightforward ...
TonyTheLion has joined #nixos
<TonyTheLion>
has anyone installed nixos through qemu yet?
<TonyTheLion>
tried to run the installer as follows 'qemu-system-x86_64 -enable-kvm -m 4G -cdrom ../install/nixos/nixos-17.09.3023.c882c4dd55e-x86_64.iso -boot order=d ./hydra.qcow2 -nographic'
Tucky has quit [Quit: WeeChat 2.0.1]
<TonyTheLion>
but it hangs
<TonyTheLion>
:(
Nazral has quit [Quit: leaving]
coot has quit [Quit: coot]
acarrico has joined #nixos
<ottidmes>
genesis: Yeah this page: https://nixos.org/nixpkgs/manual/#sec-language-qt I did not know about that part of the manual either, I stumbled upon the problem much like you, but instead of finding my own workaround I eventually found other packages that use libsForQt5.callPackage by inspecting nixpkgs
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ryantm has joined #nixos
<genesis>
i don't building a library anyway but just a binary that use qt libs.
<genesis>
and optionally ...
<sphalerite_>
TonyTheLion: I thikn the issue is that it doesn't put a console on the serial port by default
<sphalerite_>
passing console=ttyS0 to the kernel should help
<sphalerite_>
or you could use graphical mode just for the installation
rindvieh has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Profpatsch pushed 1 new commit to master: https://git.io/vAoPt
<aminechikhaoui>
abrar: it's probably better to set the environment vars in the derivation itself no ?
<aminechikhaoui>
or do you need the nix-daemon to have access to some env vars
<fearlessKim[m]>
I can't use `compgen` in my derivation , isn't compgen a builtin ?
<abrar>
aminechikhaoui: i'm trying to use a private fetchFromGitHub: "Error: Private fetchFromGitHub requires the nix building process (nix-daemon in multi user mode) to have the NIX_GITHUB_PRIVATE_USERNAME and NIX_GITHUB_PRIVATE_PASSWORD env vars set."
<fearlessKim[m]>
(bash builtin)
<abrar>
so that'd have to be an env var that the nix-daemon can access
<aminechikhaoui>
abrar: oh ok so that the nix-daemon
<aminechikhaoui>
are you on
<aminechikhaoui>
NixOS ? *
<aminechikhaoui>
or using systemd in general
reinzelmann has quit [Quit: Leaving]
TrentP has joined #nixos
ryantrinkle has joined #nixos
<aminechikhaoui>
if you're on NixOS, you could simply add `systemd.services.nix-daemon.serviceConfig.EnvironmentFile = "/etc/foo/github-creds";` for example
<aminechikhaoui>
and you can set in that file the required env vars
<abrar>
aminechikhaoui: i've got it working on my nixos machines, but in this case i need to build on a mac
<aminechikhaoui>
abrar: hm ok, so you probably need to check the launchd setup I think
<abrar>
aminechikhaoui: ah! i see an Environment Variables section in the launch daemon plist
badi has quit [Ping timeout: 240 seconds]
<abrar>
i'll try adding my environment variables there. thanks for your help
<aminechikhaoui>
sure
<ottidmes>
fearlessKim[m]: Maybe for bash, but are you sure you are not in /bin/sh?
<fearlessKim[m]>
ottidmes: doesn't nix-shell/build use bash ?
<ottidmes>
fearlessKim[m]: To my knowledge it indeed always uses bash, but there are exceptions like when you use .script for a systemd service or one of the trivial builders (writeScript), which default to /bin/sh
stephenplatz has quit [Quit: Leaving]
<ottidmes>
fearlessKim[m]: It is for auto complete right, I believe there are 2 versions of bash being used, and the one in the builder comes without completion support, so it probably has do with that, bash build with some flags that disable that particular builtin
ryanartecona has joined #nixos
<fearlessKim[m]>
ottidmes: the 2nd explanation seems like the good one as I used compgen in a plain derivation, just to check if a file existed (according to a ppattern). I replaced it with a for loop where I break on first entry.
<fearlessKim[m]>
thanks
orivej has joined #nixos
kai_w has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] pSub created nasm-minor-update (+1 new commit): https://git.io/vAods
ThatDocsLady has quit [Read error: Connection reset by peer]
<infinisil>
tnks: forwards compatible too I'm pretty sure
<tnks>
infinisil: good to know. I get there might be nasty bugs, but as long as I'm not breaking an assumed contract.
<infinisil>
tnks: Well it's released now, and it's been in development for a long time, so the bugs shouldn't be that grave
<tnks>
Is it the default in NixOS yet?
pxc1 has joined #nixos
<gchristensen>
there shouldn't be any nasty bugs
<mahe2>
aminechikhaoui: it happens when trying to load the fb module
<tnks>
okay, I'm going to play around with it.
<mahe2>
Everything semms fine until then
<tnks>
I'm curious how changes to nix-copy-closure will affect me.
gal_bolle has quit [Quit: Konversation terminated!]
<infinisil>
tnks: it's going to be the default in the next release (18.03)
<tnks>
infinisil: okay, good to know.
i-am-the-slime has joined #nixos
<i-am-the-slime>
Hello! xmonad decided it would like to crash right on/after login. Does anybody know which logs I have to check to find out what did this?
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ryantm has quit [Ping timeout: 248 seconds]
<aminechikhaoui>
mahe2: hm I don't see an fb module in lsmod output in my case
<ottidmes>
i-am-the-slime: Shouldn't it just be viewable with sudo journalctl -e?
<tnks>
hmm... so the new "nix" command doesn't subsume "nix-env"?
<i-am-the-slime>
ottidmes: Could be. I don't know anything about this stuff.
<i-am-the-slime>
ottidmes: Can I do it now?
<ottidmes>
i-am-the-slime: You can always access that log, so sure why not :P
<infinisil>
i-am-the-slime: i think it should be in the display-manager's logs
<i-am-the-slime>
I thought I could also do something like ctrl-alt-f2 to login into a terminal session
<infinisil>
sudo journalctl -u display-manager -e
<i-am-the-slime>
but it looks like it crashed before
viric has quit [Quit: Lost terminal]
<infinisil>
i-am-the-slime: you mean your computer actually crashed?
<i-am-the-slime>
no entries in the display manager
<i-am-the-slime>
maybe it is something else
<i-am-the-slime>
infinisil: yes consistently
<ottidmes>
i-am-the-slime: That is what I always use, one of the other tty's, but if those cannot be accessed, rebooting into a working NixOS generation will do, then you just check the logs farther back, you might need to increase the log lookback a bit with -n 30000 for example
mkoenig has quit [Remote host closed the connection]
zzamboni1 has joined #nixos
leat has joined #nixos
coot has quit [Quit: coot]
<tnks>
man... the "this program is EXPERIMENTAL" warnings are kind of ominous.
<tnks>
I hope this doesn't become a warning people just learn to ignore.
<i-am-the-slime>
Ah okay , thanks ottidmes
<i-am-the-slime>
They didn't go far enough before
pxc1 has quit [Ping timeout: 256 seconds]
zzamboni1 has quit [Remote host closed the connection]
<tnks>
I mean, if Nix 2.0 has released, I'd wonder if these warnings could be removed.
<tnks>
I suppose they will definitely be removed when Nix is the default in Nix 18.03?
<tnks>
NixOS, I mean.
<niksnut>
no
<niksnut>
it really does mean that the command line interface of the "nix" command might yet change
<niksnut>
so you may want to keep using e.g. nix-build instead of "nix build" in scripts
jb55 has joined #nixos
<simpson>
tnks: Additionally, Nix 2 isn't the default recommended interface yet, and that alone means that the non-recommended interface should be marked somehow.
<LnL>
maybe not intentional, but nix build also doesn't print the store path so it's not ideal to use in scripts
roberth has joined #nixos
<thoughtpolice>
shlevy: Oh, good tip. I've sort of been out of the loop until relatively recently, plus mostly doing package management... My servers were running quite stable. :)
* thoughtpolice
thinks he has a NixOS 15.0x machine still running somewhere...
<gchristensen>
:o
cement has joined #nixos
<i-am-the-slime>
ottidmes: Is there a keyword like "crash" I could look for in these logs?
<mahe2>
aminechikhaoui: do you know whether older arm7 images are around somewhere?
<shlevy>
thoughtpolice: What tip did I give? Might be advice I need to take myself :D
<thoughtpolice>
shlevy: #nixos-dev :)
<shlevy>
Aaah, in #riscv :)
<thoughtpolice>
Ah, wrong channel!
<ottidmes>
i-am-the-slime: You should probably check for the name of your display manager
<thoughtpolice>
gchristensen: I'll admit part of it is that it has a btrfs filesystem that is just horrendously slow/highly latent to deal with, but it runs, so, yeah.
<thoughtpolice>
(I'm going to retire it sometime in the next like 2 months...)
<aminechikhaoui>
mahe2: donnow, Dezgeg should be the guy to ask :)
dan_b has joined #nixos
<i-am-the-slime>
And then: Power button pressed.
<i-am-the-slime>
So did I maybe compile xmonad as root or something?
<ottidmes>
i-am-the-slime: You probably build your xmonad with root instead of your user, so just do: chmod -R mark:mark /home/mark/.xmonad or something similar
<i-am-the-slime>
-rw-r--r-- 1 mark users 0 26. Feb 15:47 /home/mark/.xmonad/xmonad-x86_64-linux
<i-am-the-slime>
hmm
<ottidmes>
i-am-the-slime: Ehh, chown of course...
<Dezgeg>
I don't keep old ones around (no disk space)
humanoyd has joined #nixos
<i-am-the-slime>
this looks like mark owns it, right?
xeji has joined #nixos
<i-am-the-slime>
But that it's not executable.
<i-am-the-slime>
However that happened.
<ottidmes>
i-am-the-slime: That is indeed weird, maybe some recursive chmod call you did
<Dezgeg>
but I guess it would be best to debug why it isn't working; with luck there's /var/log/journal created with the logs
<i-am-the-slime>
I don't think I really ran chmod.
<i-am-the-slime>
I usually recompile with some key combination.
<ottidmes>
i-am-the-slime: Remove the file and try a recompile and see what happens
gspia has joined #nixos
<mahe2>
aminechikhaoui: thank you so far
jtojnar has quit [Remote host closed the connection]
<mahe2>
Dezgeg: Do you host older images of nixos armv7 build somewhere?
rgc has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aminechikhaoui>
mahe2: actually he just said he doesn't due to disk space :)
<aminechikhaoui>
but maybe you can debug this further ?
<i-am-the-slime>
now it's executable
<i-am-the-slime>
I'll reboot
<rgc>
hi everyone. How can I delete all the old configurations but the default?
<i-am-the-slime>
I probably should start versioning my xmonad
<i-am-the-slime>
At least the config.
<rgc>
ottidmes: thank u, but after this command I'm always able to boot from grub any entry
<i-am-the-slime>
I'll try a reboot now.
<rgc>
I'm new to nixos, and I'm confused...
i-am-the-slime has quit [Remote host closed the connection]
<ottidmes>
i-am-the-slime: Yeah versioning it would be for the best
pxc1 has joined #nixos
<ottidmes>
mfiano: The only way I know of is to remove those lines from your local nixpkgs checkout, or by making a pull request that makes it optional via some option
<mfiano>
That's unfortunate. I went through a lot of trouble to clean my homedir up and nixos clutters it with a bunch of stuff after switching to it the other day
<ottidmes>
rgc: You will have to trigger a rebuild of the bootloader entries, which can be done with: nixos-rebuild boot (but of course if something changed, you might end up with a new generation which you might wanted to prevent)
himmAllRight has quit [Remote host closed the connection]
bsima has quit [Quit: Bye!]
<tnks>
hmm... I tried to switch to nixUnstable, and `nix-channel --update` is giving me a "lacks a signature" error.
<ottidmes>
mfiano: You could do either of the two things I suggested, that would at least solve the clutter introduced by those lines you showed me. On a postive note, just think about all the clutter that NixOS protects your system against in all system folders!
badi has joined #nixos
tabaqui1 has quit [Quit: WeeChat 1.6]
dnovosel has joined #nixos
asymmetric has quit [Read error: Connection reset by peer]
<ottidmes>
tnks: You could try setting nix.requireSignedBinaryCaches = false;
<avn>
Folks, anyone familiar with glm (c++ library)? I trying to fix slop/maim builds
periklis has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
<gchristensen>
!libraries
<gchristensen>
I should probably add an alias for that
<mahe2>
Dezgeg: I can see nothing interesting. It reports a successful startup. Regarding fb I have "fb: switching to vc4drmfb from simple" and "Console: switching to colour frame buffer device 228x61"
<NixOS_GitHub>
[nix] edolstra pushed 1 new commit to master: https://git.io/vAKId
<mahe2>
maybe "dmi: Firmware registration failed." is meaningful in any way
<Dezgeg>
that shouldn't affect anything
<mfiano>
config.fonts.fontconfig.dpi says if not specified, the display's detected dpi will be used. where is the code that detects this?
detran` has quit [Ping timeout: 260 seconds]
alex`` has quit [Quit: WeeChat 2.0.1]
alex`` has joined #nixos
<srhb>
mfiano: Somewhere in Xorg.
<mfiano>
Well that's strange. xdpyinfo says 162x162 dots per inch, but if I don't specify config.fonts.fontconfig.dpi = 162, everything is way too small.
<tnks>
ottidmes: where do I put that option? In ~/.nixpkgs/config.nix?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/staging 006a6db Frederik Rietdijk: python: behave: 1.2.5 -> 1.2.6
<NixOS_GitHub>
[nixpkgs] FRidh pushed 18 new commits to staging: https://git.io/vAKtK
<NixOS_GitHub>
nixpkgs/staging 319942a Frederik Rietdijk: python: aiohttp: 3.0.1 -> 3.0.3
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/staging 2d74d85 Frederik Rietdijk: python: aniso8601: 2.0.0 -> 2.0.1
<srhb>
I guess it'll actually just be the DE's responsibility to set Xft.dpi. Strange.
pie_ has joined #nixos
patrl has joined #nixos
<tnks>
ottidmes: also, in this context, I'm not using a full NixOS, just Nix, so not sure where requiredSignedBinaryCaches is set... maybe /etc/nix/nix.conf?
<ottidmes>
tnks: I assumed you were using NixOS, in that case it should go in your /etc/nixos/configuration.nix, or wherever you have your NixOS config.
<ottidmes>
tnks: Ah, in that case it should indeed go in /etc/nix/nix.conf
<tnks>
but not camel-cased, right?
<ottidmes>
tnks: I will check that for you
jmiven has quit [Quit: co'o]
jmiven has joined #nixos
spear2 has quit [Remote host closed the connection]
<ottidmes>
tnks: Could you check the contents of /etc/nix/nix.conf, because thinking about it, it is about the removal of the option, so you probably just have to remove it, that is, if it even is the solution to your problem
digitus has joined #nixos
<genesis>
is there some progress to reduce delay about open PR?
<gchristensen>
lexcurious: maybe you're the person to write the pkgbuild / deb -> nix converter
<lexcurious>
I expected those propesal ;`3
<srhb>
There's another 13k in haskellPackages
<LnL>
:p
<gchristensen>
if you count the number of packages we define via the various nodejs packages, we approach infinity
Slabity has joined #nixos
<ottidmes>
lexcurious: I thought about that as well, why not reuse those, but that would probably only be possible if you had some specialized file system and you probably would need a lot of other magic, because it is like asking to convert Java or some other mutable language to Haskell
knupfer has quit [Remote host closed the connection]
<srhb>
The funny thing is how it's hard to define just how many packages are in nixpkgs.
<srhb>
Even without bringing parameterization into the game.
<srhb>
lejonet: For instance, you can map over every attribute in nixpkgs to override them to the hello package.
<srhb>
It's *extremely* efficient.
<lejonet>
Kindof how bad USB boards make you lose 87.5% of your disk space instead... :P
lambdamu has quit [Ping timeout: 268 seconds]
<lejonet>
srhb: xD so THATs how samsung made that 30TB SSD...
<srhb>
lejonet: Yeah, just don't inspect the bits ever.
kitemikaze has joined #nixos
<lejonet>
srhb: don't need to, I run pifs, so all files ever created or going to be created exist already
patrl has quit [Quit: WeeChat 1.9.1]
<srhb>
Brilliant!
neonfuz has quit [Quit: WeeChat 1.7.1]
prooftechnique_ is now known as prooftechnique
<lejonet>
Time to create a procedurally generating algorithm that spams "(he|she|it) used this trick that the harddisk giants don't want you to know, click here for info" all over the internet and cash in?
<lexcurious>
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mp-5 simple typical example of Arch PKGBUILD, what can nix coverter do : 1) use arch's default infrastructure (yaourt\pacman) to resolve dependency graph, 2) replace --prefix $pkgdir to $out 3) wrap it in to builder.sh ? make sense?
<tnks>
ottidmes: wait... I probably have to restart nix-daemon.
Thra11 has joined #nixos
<pingveno>
lexcurious: It would be super difficult to come up with a general solution for PKGBUILD's.
<srhb>
lexcurious: I think you'd have to substitute dependencies from nixpkgs to get anything decent out of it. Which makes it hard to generalize
<srhb>
lexcurious: In fact, the only salvagable thing is probably the build commands themselves, and then not always.
<pingveno>
Because it's an executable format, there are plenty of things that are hard to figure out from the PKGBUILD alone.
<tnks>
ottidmes: my /etc/nix/nix.conf only has a entries for build-users-group, build-max-jobs, build-use-sandbox = true, and build-extra-sandbox-paths
<tnks>
so pretty spartan.
<thoughtpolice>
The other trick is that PKGBUILDs will very likely have changes made to accompany changes *elsewhere*. E.g. patches will be added to a package to make it works well with some other slightly-changed package (fix a build path, for example)
<thoughtpolice>
(Arch is generally very vanilla but almost every distro ends up in that situation, esp when you wait for an upstream fix for something, etc)
reinzelmann has joined #nixos
tommyangelo_ has quit [Ping timeout: 256 seconds]
coot has quit [Quit: coot]
<mfiano>
clever: You should update your gist for environment.sessionVariables
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
robstr has joined #nixos
coot has joined #nixos
leat has quit [Ping timeout: 260 seconds]
<simpson>
lexcurious: Is there some specific package that you want added to nixpkgs?
<tazjin>
can `nix.binaryCaches` be set to binary caches served over SSH?
rindvieh has quit [Remote host closed the connection]
<clever>
tazjin: with 2.0, maybe?
<tazjin>
the examples all have HTTPS URLs, and it's unclear to me how to combine SSH-served binary caches and NixOps deployments
<tazjin>
clever: hmm, the feature already exists in Nix<2.0, but I'm not sure if it's usable through any of the NixOS settings
<clever>
tazjin: the implementation was massively changed in 2.0
<hyper_ch>
why must hardware hate me?
<ottidmes>
tnks: It could be that your daemon is still running 1.11, maybe then try adding: signed-binary-caches = *, worth a try
<tazjin>
clever: of binary caches in particular? Interesting, I'll read up on that
<clever>
tazjin: more about the ssh layer
<clever>
tazjin: originally, it had its own option, and was more of a hack added on the side
<clever>
tazjin: now, its part of nix core, and i think it can just work as a binary cache, with the right format
mizu_no_oto has joined #nixos
viric has joined #nixos
<tazjin>
clever: cool, thanks, I'll see if I can find some more info
betaboon has quit [Quit: WeeChat 1.9.1]
coot has quit [Quit: coot]
<goibhniu>
lexcurious: AFAIK, it's possible to configure KDE/plasma to behave very similarly ... if that's any use
<pxc1>
does anyone here happen to know if the plan for 18.03 is to continue to have a separate stable channel for Darwin or if the ZHF goals for the 18.03 release are just all gonna be on the same branch?
<xnaveira[m]>
if i have added the nixos channel and the nixos unstable because i install some packages from unstable
<xnaveira[m]>
what happens if i run an upgrade? will all the packages in configuration.nix be upgraded to unstable?
<pxc1>
goibhniu: the Plasma's global menu doesn't work for some GTK+ apps without them being patched (Firefox is a notable case) :-(
<goibhniu>
ah, good to know
mizu_no_oto has quit [Ping timeout: 240 seconds]
<simpson>
lexcurious: Best of luck packaging unfree stuff, and folks will help you learn Nix and answer questions you may have.
<lexcurious>
np, I uderstand
<tnks>
ottidmes: for me, it seemed like trusted-users worked.
mizu_no_oto has joined #nixos
<tnks>
maybe also binary-cache-public-keys.
sigmundv has quit [Ping timeout: 260 seconds]
rindvieh has quit [Ping timeout: 245 seconds]
propumpkin is now known as contrapumpkin
rindvieh has joined #nixos
<ottidmes>
tnks: Good to hear that you solved your problem. I have root and @wheel in my trusted-users, but I did not know that that setting would solve your particular error message, otherwise I would have suggested it earlier
pxc1 has left #nixos ["WeeChat 1.9.1"]
<tnks>
ottidmes: okay, I'll have to play around with whether only one of the settings is needed.
<ottidmes>
Does anyone know how to setup the SSH keys for NixOps? I can SSH just fine in the machine I want to deploy to, but NixOps seems to want to use its own SSH key "> generating new SSH keypair... done", I looked at deployment.keys, but that seems to have nothing to do with the SSH connection
<LnL>
gchristensen: replied, I agree with you and think 500 is probably not enough
<gchristensen>
cool, thanks!
<ottidmes>
To be clear, I am deploying to an existing NixOS machines that I already configured, but I want to see if I can use NixOps to configure my network of machines instead
<clever>
ottidmes: i did that with my router lastnight
<LnL>
gchristensen: vcunat should also give some feedback, since he's basically the staging gatekeeper :)
<clever>
ottidmes: basically, i grabbed the exact nixpkgs the router used, and the same-ish configuration.nix, and added it to a deployment file
<gchristensen>
LnL: as far as I'm concerned, staging is vcunat's branch ;)
<LnL>
exactly!
<clever>
ottidmes: then because i was paranoid, i used nix-diff to diff the derivations until they where nearly identical
<clever>
ottidmes: and a nixops deploy did almost no changes to the router
aristid has quit [Quit: WeeChat 2.0]
<clever>
ottidmes: i was then free to make more changes, and deploy them over nixops
<ottidmes>
clever: But you did not do anything special to make the SSH connection work?
<clever>
ottidmes: i already have a root key in my ssh agent
<clever>
ottidmes: so nixops just uses that
<mfiano>
Where is the correct place to add some extra xorg config lines? I need to add what nvidia-settings would write to it if I click save in the gui
<ottidmes>
clever: Since I basically did the same for the machine in question, rsynced my nixpkgs and nixcfg repo even, and it built fine, but when I now try to nixops deploy, it fails with permission denied (publickey), which is obvious since it apparantly generated a fresh one
<ottidmes>
clever: Hmm, I probably know what goes wrong, I do not have a root SSH key setup, I even have root access via SSH disabled... which nixops requires, yep, that is the problem right there :P
<NixOS_GitHub>
nixpkgs/python-unstable c96c803 Frederik Rietdijk: python: nbstripout: 0.3.0 -> 0.3.1
<NixOS_GitHub>
[nixpkgs] FRidh force-pushed python-unstable from b016097 to 925a734: https://git.io/v5aIf
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/python-unstable cd528dd Frederik Rietdijk: python: spyder: 3.2.6 -> 3.2.7
<NixOS_GitHub>
nixpkgs/python-unstable 1fdb74a Frederik Rietdijk: python: aiohttp: 3.0.3 -> 3.0.4
fragamus has quit [Ping timeout: 245 seconds]
<ottidmes>
clever: Buying my own router is still somewhere on my todo, the one given by my ISP is really basic (the most advanced thing it can do is port forwarding...)
tmaekawa has quit [Client Quit]
<clever>
ottidmes: my router blocks wifi users from ever talking to wired users
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh opened pull request #35680: Python: last major updates package set (staging...python-unstable) https://git.io/vAKZI
NixOS_GitHub has left #nixos [#nixos]
<clever>
ottidmes: and it lacks an off switch for that
<zimbatm>
you know your technology is mainstream when the top comment is negative about it
<gchristensen>
zimbatm: a classic HackerNews complisult: your technology is _SO INCREDIBLE_ it is bad
<infinisil>
zimbatm: yeah lol
<ottidmes>
clever: Yikes! I can complain all I want, but the basics at least works and it does not have features you could qualify as bugs
<infinisil>
but the usability point is justified imo
coot has joined #nixos
<clever>
ottidmes: oh, and the bugs, lol
<ToxicFrog>
IT really is
<clever>
ottidmes: the http ui renders the linux bandwidth counters (which are unsigned 32bit ints), as signed 32bit ints
<gchristensen>
no doubt, they have valid points
digitus has joined #nixos
<clever>
ottidmes: so when the traffic goes over 2gig, the counter just stops counting
<ottidmes>
clever: I will check your config in more detail, but I already had all those options and a lot more related to it, it just had them explicitly set to disabled for security reasons
<clever>
ottidmes: and once you go over 4gig, it wraps to 0, and resumes counting
<zimbatm>
that's the best bit, take valid points to discredit 10+ years of hard work
digitalmentat has joined #nixos
<zimbatm>
(but it doesn't do X)
<ottidmes>
clever: wow...
<gchristensen>
zimbatm: bin it, its garbage!
<digitalmentat>
grahamc, do you have anything published for you NixOS + Terraform integration?
<clever>
ottidmes: i also wrote a script to poll that ui and graph the results for the 50% of the time it was working, then discovered the router locking up every 29.5 days, like clockwork
<zimbatm>
and then there is the guy who tries to plug his own solution
<gchristensen>
zimbatm: link?
<infinisil>
Also interested in that lol
<gchristensen>
digitalmentat: may I PM?
<digitalmentat>
gchristensen, yup
<ottidmes>
zimbatm: That arch thing?
<clever>
ottidmes: there is a memory leak somewhere in the http daemon, and polling it once a minute breaks it after an exact amount of time passes
robstr has quit [Remote host closed the connection]
<infinisil>
Ohh yeah this almost counts as spam, he left like 6 comments about his Darch
<ottidmes>
clever: My router (or ethernet controller of my desktop, not sure) are buggy as well, I can only have stable internet with networkmanager on my desktop (most people hate networkmanager for some reason, but I love it, since no matter what I try, it is the only thing that worked for me)
<clever>
ottidmes: i recently hooked a monitor up to my router and dsicovered the console filled with various ethernet relayed soft-locks
amf has quit [Quit: WeeChat 2.0.1]
<clever>
ottidmes: but the driver has been good enough to detect things and reset itself, so ive never noticed the issue
amf has joined #nixos
robstr_ has quit [Remote host closed the connection]
<zimbatm>
I'm really hoping that nix 2.1's UX will become better though
robstr has joined #nixos
<zimbatm>
most of the time I end-up adding `-f .` to my commands, maybe it should be the default
<ottidmes>
clever: What helps unlock my internet again is to ping the router/gateway and then it works again, so network manager probably does something similar for me
<infinisil>
zimbatm: by my commands you mean nix-env? or is there any other that doesn't use . as default?
<amf>
in nixpkgs, how does one start a daemon that needs root? sourcing the .nix-profile in root didn't work (as i expected)
<ottidmes>
On that Darch hacker news thread: "Once I make a change to my recipes, ~20 minutes later, I can pull a fresh image and boot again.", I will never complain again if nixos-rebuild takes a minute longer than I would have liked :P
humanoyd has quit [Quit: WeeChat 2.0.1]
<mfiano>
clever: Thanks but that is adding the option to the Screen section for each GPU, even non-nvidia ones
<clever>
mfiano: you have several GPU's in the machine?
<ottidmes>
amf: Couldn't you just use what your OS provides for this? For example systemd?
<srk>
ottidmes: :D lol
<amf>
ottidmes: my os'es docker version is too old, hence why i went the nix route
<mfiano>
clever: I disable nvidia to test my code with integrated intel as well
chocopuff298 has joined #nixos
<infinisil>
zimbatm: oh i see, i haven't played with nix build, seems weird that -f. is needed :/
<sphalerite_>
chocopuff: this darch thing looks vaguely like what you were planning to do with gentoo
<zimbatm>
infinisil: yeah, I need to do a write-up of my thoughts on the CLI
<infinisil>
ottidmes: heh yeah, my nixops deploy currently takes like 30 seconds
<ottidmes>
amf: But wouldn't your distribution that you use Nix in, have some way to start some service as root properly?
JazzyEagle has joined #nixos
<clever>
mfiano: ah, you could use an if statement to conditionalize setting the nvidia options
<JazzyEagle>
Hello, all. I'm trying to install Snap, a web framework for Haskell. I keep getting some test failures when I'm trying to install it, so it never installs. Does anyone know what's going on with that and why I can't get it to install?
<srk>
ottidmes: I have a similar setup generating a netboot server with bunch of images on that for container hosts, takes a couple of minutes to go from changes to rebooting a new image, most of that is mksquashfs and uploading the 200Mb image to netboot
<infinisil>
lexcurious: Realized way too late that the nixos logo is made up of lambdas
avn has joined #nixos
chocopuff has quit [Ping timeout: 265 seconds]
<srk>
:))
<ottidmes>
infinisil: Thanks again for publishing your config online, it was trivial setting up home-manager and nixops having some example of someone using it to verify what I was doing was correct
<infinisil>
ottidmes: I'm glad :D
<amf>
ottidmes: i worked around it via `readlink -f $(which dockerd)` and running the full path as root
<lexcurious>
infinisil omg, you right 0_0 I didn't saw this fact until you pointed
<sphalerite_>
infinisil: personally I like it, it's pretty convenient most of the time, anything you use frequently enough that you don't want to use -f for it you can put in your NIX_PATH, and most of all it's versatile since you can pass a derivation path as well as an attribute path
<lexcurious>
k, lol nix - ubuntu 1 - 0 :D
<ottidmes>
JazzyEagle: Could you paste those failures somewhere, without more information, nobody will be able to help
<sphalerite_>
err actually most of all that you can use the same syntax for all the different commands
<lejonet>
Mic92: Now I have a testscript that runs through creating a basic cluster with 2 OSDs, creates a pool, manhandles it a bit, changes the crush map and changes the replica size of the pool and waits for the pool to settle, then tests that some changes that shouldn't be there anymore is indeed gone or not possible to do
<sphalerite_>
lexcurious: the ubuntu one also isn't a lambda but a monitor AFAICT?
reinzelmann has quit [Quit: Leaving]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<JazzyEagle>
ottidmes: I'm not sure I can. I have NixOS in a VM w/ CLI only. Not sure how I can copy/paste that into a website to share.
<lejonet>
srk: ceph cluster :)
<JazzyEagle>
Are there any CLI programs that'll let me paste somewhere?
hellrazor has quit [Quit: WeeChat 2.0.1]
<goibhniu>
Hi JazzyEagle, you can use: <command> | curl -F 'text=<-' http://nixpaste.lbr.uno
<srk>
lejonet: hehe :) we were talking about that few days ago :) I want to play with drbd9 cluster
<JazzyEagle>
Ok, hold on...
<sphalerite_>
lexcurious: yes. That's a monitor on a stand, seen from the side :p
knupfer has quit [Ping timeout: 252 seconds]
<sphalerite_>
lexcurious: or a really poorly executed lambda, but a monitor seems more likely to me
<prooftechnique>
Is there an established way to get a GHC for cross-compilation set up with nixpkgs, as there is for Rust?
<lejonet>
srk: well, soon you can easily create and conf a ceph cluster in nixos, is my hope :P (I'm writing a service module for it, hence the testcase)
azdle has quit [Remote host closed the connection]
<clever>
prooftechnique: i think Sonarpulse or bgamari- has done x86->arm cross compiles with ghc
<Sonarpulse>
clever, prooftechnique: yes, we both have
<Sonarpulse>
but can't talk about it now, meeting about to start
<lexcurious>
sphalerite_ oooooooohhhhhhhh....... you could be right, now I see
<prooftechnique>
I'm looking to get from darwin to gnu, but I'd love to see what you've done when you have some time, just to see if I can adapt it
* lexcurious
mindblowing
<mfiano>
What do I do when rebuilding produces a lot of "collision between" lines?
<JazzyEagle>
goibhniu: It finished, but I didn't get a url or anything.
<prooftechnique>
mfiano: It's not usually a big deal, but I think you can mess around with package priorities if you know what package you want to have precedence
<lejonet>
srk: quagga is Ciscoified, its not that nice to handle
<mfiano>
prooftechnique: I've had fontconfig.ultimate enabled for a few days, and all of a sudden the last few rebuilds are causing hundreds of conflicts with fontconfig-penultimate colliding with fontconfig-ultimate
<JazzyEagle>
nix-install is a bash script I found online: nix-install(){ nix-env -f ~/.nixpkgs -iA $1; }
<goibhniu>
oh ... does `nix-env -iA haskellPackages.snap` work?
<srk>
lejonet: uh ;D we use bird for routing lxc containers, openvz ones before
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vAKlC
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 8c0a1c8 Peter Simons: Merge pull request #35661 from deepfire/ghc-8.4...
<JazzyEagle>
Still don't know how to tell based on that whether o rnot the package is broken, but I can try to update and try again.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 3e48f1e Peter Simons: Merge pull request #35653 from mnacamura/r-juniperkernel-darwin...
<NixOS_GitHub>
nixpkgs/master 671e3f5 Mitsuhiro Nakamura: rPackages.JuniperKernel: fix darwin build
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vAKlu
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master a06b81b Peter Simons: Merge pull request #35651 from mnacamura/r-xml2-darwin...
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vAKl6
<NixOS_GitHub>
nixpkgs/master 4b1627d Mitsuhiro Nakamura: rPackages.xml2: fix darwin build
NixOS_GitHub has left #nixos [#nixos]
guibou has joined #nixos
<prooftechnique>
Anyone seeing lots of CoreFoundation-related breakage on Darwin? Mainly trying to build Hoogle and some other tools
mahe2 has quit [Ping timeout: 240 seconds]
oahong has quit [Ping timeout: 252 seconds]
<gchristensen>
maybe check out #nix
<gchristensen>
#nix-darwin, prooftechnique
<prooftechnique>
Shall do
oahong has joined #nixos
<JazzyEagle>
Ok, it seems a lot of new packages are downloading for installing Snap, so this is at least different. Hopefully that'll fix whatever issue there was.
<mfiano>
I think I'm at a point where I need to learn how to interpolate variables into arbitrary homedir files i made packages for.
<tnks>
man... the new nix-env is just hanging on me.
<tnks>
I do a "nix-env -i hello" and it hangs. I kill -9 it. And run the same command, and it completes.
aborsu has joined #nixos
Tobba has quit [Read error: Connection reset by peer]
<JazzyEagle>
Dang... All of the new packages downloading, same error.
<lejonet>
gchristensen: because I was told that examples should just contain the expected format of the value
<tnks>
that's logs of the invocations of `nix-env -v -iA nixpkgs.hello`
<tnks>
it's also annoying that the terminal goofs like that with the curl invocation.
<gchristensen>
lejonet: they should, I'm just ... confused by the value
<gchristensen>
but maybe if I were setting up ceph I'd know why it had those values
<i-am-the-slime>
is it maybe already there, just hidden?
<lejonet>
gchristensen: they could aswell be [ "a" "b" ], but what it means is the name of each of the daemon type to create for those in the daemons option
robstr has quit [Remote host closed the connection]
<lejonet>
gchristensen: or the "id" in ceph speak, whereas the name is $daemonType.$id
<gchristensen>
lejonet: ahh what about [ "name1" "name2" ], or indicate in the description that they're supposed to be names / ids
<lejonet>
(i.e. osd.0, mgr.first etc etc)
elasticdog has quit [Ping timeout: 268 seconds]
robstr has joined #nixos
<lejonet>
gchristensen: a fair point, should probably change both
elasticdog has joined #nixos
<sphalerite_>
i-am-the-slime: lookgs to me like adding postBuild = "make $makeFlags dunstify"; postInstall = "install -Dm644 dunstify $out/bin/dunstify"; to the expression should do it
<Izorkin>
if installed nix 2.0, nixos-rebuild - error message - warning: unknown setting 'signed-binary-caches' and error: cloning builder process: No space left on device How to fix?
<sphalerite_>
tnks: could you run nix-info and show us the output?
<lejonet>
gchristensen: :D thank you ^^
<Izorkin>
clever: free 261G
fuyuuri has joined #nixos
<i-am-the-slime>
sphalerite_: How would I try that? I copy the entire expression and try to install it?
<sphalerite_>
i-am-the-slime: do you have a checkout of nixpkgs?
<lejonet>
gchristensen: A lot of credit should be given srhb and infinisil :P They put up with my constant pestering and facepalming events when trying to learn nix :P
<sphalerite_>
Izorkin: maybe you're out of inodes
<gchristensen>
haha, nice. they're both great!
<i-am-the-slime>
sphalerite_: No, I don't think so
<i-am-the-slime>
I thought I could put it in a local default.nix file to try it out.
thomassgn has left #nixos ["WeeChat 1.7.1"]
<sphalerite_>
i-am-the-slime: yeah you can write a file like with import <nixpkgs> {}; dunst.overrideAttrs (o: {postBuild = "make $makeFlags dunstify"; postInstall = "install -Dm644 dunstify $out/bin/dunstify";})
<Izorkin>
sphalerite: if you remove nix 2.0 - nixos-rebuild normal work
<sphalerite_>
i-am-the-slime: then try nix-build filename.nix and see if result/bin/dunstify works
robstr has quit [Ping timeout: 276 seconds]
<lejonet>
gchristensen: thank you for poking at this, it made me catch a bad copypaste fail I'd done with descriptions :D
<sphalerite_>
if so, you could submit the change for inclusion to nixpkgs in case someone else finds it useful :)
<i-am-the-slime>
sphalerite_: Do I need to uninstall the other dunst first?
<sphalerite_>
i-am-the-slime: no, you can just build it and run it from the result path without touching your profile
<i-am-the-slime>
ah yeah, that's cool
<sphalerite_>
i-am-the-slime: if it works you can install it using nix-env -f filename.nix -i
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc created staginng from master (+0 new commits): https://git.io/vAK0n
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc deleted staginng at a06b81b: https://git.io/vAK0W
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_>
Izorkin: it sounds like you're mixing versions between the daemon and the client. Setting nix.package and making sure nix isn't installed in any user profiles should fix it hopefully
<sphalerite_>
gchristensen: nice one :D
<gchristensen>
sphalerite_: indeed... github: because a teeny tiny typo should definitely create branches :)
elasticdog has quit [Ping timeout: 276 seconds]
elasticdog has joined #nixos
<sphalerite_>
tnks: same as Izorkin, it looks like you might be running an old nix-daemon with a new nix-env or vice versa
<infinisil>
mfiano: The collisions happen when you have multiple packages in environment.systemPackages that have the same files
<sphalerite_>
I'm not sure if it's normal for this to break, but it should be fixable by using the same version for each
<infinisil>
mfiano: the output should tell you which ones
<mfiano>
infinisil: but I don't have any font related packages in that list
<mfiano>
they are in fonts.fonts
<infinisil>
Ah yeah, that's similar to environment.systemPackages
yegortimoshenko has joined #nixos
<infinisil>
(there's a bunch more options like this, but the most common one is environment.systemPackages)
<mfiano>
and the ones in that list are pretty unrelated to fontconfig symlinks
<mfiano>
.conf files
<lejonet>
mfiano: "We heard you like fonts, so we put fonts in fonts.fonts, so you can fonts while you fonts.fonts" ;)
<infinisil>
mfiano: what's the output say?
<yegortimoshenko>
hi, is there some option to run some command after ~/.nix-profile change? (e.g. new installed package)
<lejonet>
Yes, I should be shot for that pun, but whatcha gonna do?! ;)
<sphalerite_>
mfiano: btw sorry I couldn't help you get your X stuff running again, did you get that figured out in the end?
<sphalerite_>
yegortimoshenko: make a wrapper for nix-env? :p
<yegortimoshenko>
s/new/newly/
<sphalerite_>
yegortimoshenko: I don't think there is a way out of the box
<mfiano>
infinisil: I don't have access to it at the moment, but basically every fontconfig-penultimate *.conf file is conflicting with every fontconfig-ultimate *.conf file
<yegortimoshenko>
sphalerite_: i see :-(
<mfiano>
sphalerite_: I forgot what the issue was. Maybe :)
<infinisil>
yegortimoshenko: just write a small wrapper script
<i-am-the-slime>
sphalerite_: Something happened. The file exists
<i-am-the-slime>
but it says that I'm not allowed to execute the file dunstify
<sphalerite_>
mfiano: you said X programs wouldn't start, we thought it was probably an Xauthority issue?
<yegortimoshenko>
infinisil, sphalerite_: thanks!
<sphalerite_>
i-am-the-slime: oh yes, change 0644 to 0755, my bad :)
<infinisil>
mfiano: and what's your configuration.nix? whatcha got in fonts.fonts?
Thra11 has joined #nixos
<mfiano>
sphalerite_: Oh right. Yes it was. Apparently nix checks for an explicit path rather than paying attention to Xauthority's env var for specifying its path
<sphalerite_>
huh, but nix shouldn't really have anything to do with xauthority..?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dotlambda pushed 2 new commits to python-unstable: https://git.io/vAKEt
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/python-unstable a367095 Robert Schütz: pythonPackages.hyperlink: modernize expression
<NixOS_GitHub>
nixpkgs/python-unstable d2124e3 Robert Schütz: pythonPackages.hyperlink: add idna dependency
<i-am-the-slime>
But I guess I should not use that method.
<sphalerite_>
i-am-the-slime: you can, although it's probably neater to put it in an overlay, or PR it upstream since others might find it useful too
<i-am-the-slime>
I don't know what an overlay is. Maybe it would be nice if it were an option in the package.
[0x4A6F]1 has joined #nixos
<mfiano>
sphalerite_: But yeah, I went through a lot of trouble to set a lot of env vars that individual applications look for to clean up my homedir, putting things in their proper XDG paths instead. This however doesn't work when Nix goes around applications' intended behavior
<sphalerite_>
I don't think it's something that really needs an option, it can just be enabled in all cases
[0x4A6F] has quit [Ping timeout: 240 seconds]
[0x4A6F]1 is now known as [0x4A6F]
<infinisil>
mfiano: Huh, so this font thing is weird, this might be a bug
<sphalerite_>
mfiano: yeah, it shouldn't be doing that. <hairsplit>It's nixos though, not nix itself :)</hairsplit>
<infinisil>
But cfg = config.fonts.fontconfig; on the very top of the file
<elvishjerricco>
shlevy: Can `hail` be used to deploy the entire `NixOS`? Like, can I make a `configuration.nix` that specifies the entire system I want to deploy including the `hail` service, manually `nixos-rebuild` that onto the system once, then have that `hail` service automatically update it after that (therefore auto-updating the `hail` service as well)?
<sphalerite_>
mfiano: which display manager are you using?
jtojnar has joined #nixos
<mfiano>
sphalerite_: auto
<shlevy>
elvishjerricco: Yep, just have your closure get copied down and have your "activation" script do: nix-env --set --profile /nix/var/nix/profiles/system $the_path && /nix/var/nix/profiles/system/bin/switch-to-configure switch
<infinisil>
mfiano: I'd file an issue regarding the font thing
<mfiano>
infinisil: I'm not sure what that means as I'm too new around here yet, but I heard bug, and seems a pretty harmless one, so I'll just carry on continuing to learn :)
<sphalerite_>
mfiano: where are you setting XAUTHORITY? It may be that the setting is just happening after the point where the xauthority file actually gets created
<infinisil>
mfiano: ah yeah that's fine too, it's not a grave thing
<elvishjerricco>
shlevy: The `active` script generated from `nixos-rebuild build` wouldn't be the right one all on its own?
<infinisil>
(But an issue would be nice)
<sphalerite_>
mfiano: because I can't find any explicit references to ~/.Xauthority that would be relevant to this
<clever>
elvishjerricco: thats the one you want
<clever>
elvishjerricco: that would go into $the_path from shlevy's example
<shlevy>
clever: no
<mfiano>
sphalerite_: It was getting set in my .bashrc I believe, but I gave up and just moved some stuff that it is looking for elsewhere, removing the vars.
<clever>
the main path that nixos-rebuild build outputs, not the file under it
<shlevy>
elvishjerricco: that will make the profile live now but not persist across reboots, be available in rollback, etc.
<elvishjerricco>
shlevy: Ah. Got it
<shlevy>
$the_path would be '(import <nixpkgs/nixos> {}).system'
<shlevy>
Except you'd pass in your config there
<shlevy>
And hard-code your nixpkgs checkout :D
<clever>
elvishjerricco: the nix-env half of the command gives you the option for rollbacks and keeps things from being garbage collected
<shlevy>
Right
<clever>
elvishjerricco: the bin/switch-to-configuration {switch/test/boot} half does the same as switch/test/boot with nixos-rebuild
<mfiano>
sphalerite_: Actually I was wrong. It seems display-managers/default.nix is only hard-coding ~/.Xresources or ~/.Xdefaults
<mfiano>
But it's not a big deal. I would rather nix handle everything for me anyway instead of having to maintain a bunch of env vars
<elvishjerricco>
shlevy: So `hail` is basically just doing something akin to `nixos-rebuild test` in this case, right?
<sphalerite_>
mfiano: right, yeah I think that takes effect too late. I think you could probably get it working possibly using environment.sessionVariables, but I'm not really sure particularly as far as setting it based on another variable is concerned
<mfiano>
I am slowly adopting the NixOS way
<sphalerite_>
:)
<mfiano>
sphalerite_: Right now I only have 1 X bug, and I doubt anyone can help me
<sphalerite_>
what's that one?
<mfiano>
It is a well-known bug that the file chooser dialog windows in GTK3 applications are huge on some displays, not being able to see the butttttons on the bottom, etc. chromium is the only one affected for me. However if I start chromium from a shell window as: `GDK_SCALE=1 chromium`, then the dialog is of normal size. However, putting that in any of the environment.* variable sections has no effect on chromium.
coot has quit [Ping timeout: 245 seconds]
<sphalerite_>
oh yeah I get that one too, with libreoffice I think
<elvishjerricco>
shlevy: Just to get my bearings straight... `nix-env --set` just points the profile at a new thing, which does nothing on its own I guess? Running `activate` will take down old services and spawn new ones. And running `switch-to-configuration` points the boot loader at the new profile?
<Izorkin>
l /run/current-system/sw/bin/nix-env - /nix/store/r8zhwq9xylxw8a823kpvqy0kfqq4g52f-nix-2.0pre5968_a6c0b773/bin/nix-env
<catern>
is there a way to have a default value for a <envvar> expression?
<shlevy>
elvishjerricco: Yes
<elvishjerricco>
shlevy: Why is there a difference between setting the profile and switching what the boot loader points at? Why doesn't the boot loader just always point at the newest generation of the profile by default?
<shlevy>
elvishjerricco: the nix-env --set gives you your normal rollback and generation discoverability
<mfiano>
I don't see anything searching various option names
<shlevy>
elvishjerricco: You need to update the non-default bootloader options too
<shlevy>
e.g. remove them when you clear an old generation
<shlevy>
the bootloader update walks all the generations of the system profile.
<clever>
mfiano: i think the only option is to set displayManager.sessionCommands to call xrdb -merge against a file nix has made
<elvishjerricco>
shlevy: Last question: Why does `hail` use a profile? It's basically just running an arbitrary script; why does that script need to be pointed to by a profile?
<elvishjerricco>
Rollbacks?
<shlevy>
elvishjerricco: Rollbacks :)
<sphalerite_>
Izorkin: hm weird. I'm not really sure then.
<clever>
elvishjerricco: and to keep nix from deleting those rollbacks
<catern>
infinisil: yes. I have my own thing on NIX_PATH and I want to provide a default value if it's not on NIX_PATH
<elvishjerricco>
Cool. Good thinking :)
<infinisil>
catern: tryEval is the only way i think
jensens has joined #nixos
[0x4A6F] has quit [Ping timeout: 248 seconds]
[0x4A6F]1 is now known as [0x4A6F]
<catern>
really?! that's gross
<infinisil>
catern: It's used sometimes througout nixpkgs
<clever>
catern: oh, i think i have something like what you want
<clever>
catern: each project has its own fetch-nixpkgs.nix, with the rev&hash, but they also have unique things like <cardano_pkgs>
<clever>
catern: so if you set the right -I flag, you can override a nixpkgs 2 layers deep
<clever>
without impacting other related projects in the same eval
rgc has quit [Quit: Lost terminal]
<infinisil>
catern: ah and actually it's only used once in nixpkgs
<catern>
hmm, my use case was just that I have my own overlay for nixpkgs, and I wanted to provide a default pinned value if someone doesn't have that overlay already on NIX_PATH
<catern>
clever: that should work pretty well though
<catern>
thanks
fuyuuri has quit [Ping timeout: 252 seconds]
yegortimoshenko has quit [Remote host closed the connection]
<mfiano>
clever: It had no effect on cursor size, unlike my ~/.Xresources file
aborsu has quit [Remote host closed the connection]
aborsu has joined #nixos
jensens has quit [Ping timeout: 268 seconds]
<sphalerite_>
Izorkin: oh right sorry I confused the issues… what does `df -i` say?
<clever>
mfiano: double-check the generated xsession file in nix-store -qR /run/current-system | grep xsession
<clever>
mfiano: and confirm whatits doing and the file it refers to
<mfiano>
clever: My attempt is writing a literal ${writeText} into the file
<clever>
mfiano: can you gist your configuration.nix?
chreekat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] calvertvl opened pull request #35683: mp3blaster: Build with support for ogg vorbis (master...fix_mp3blaster_ogg) https://git.io/vAK29
<sphalerite_>
mfiano: although in this case you don't even need to write it to a file, you could just put ${pkgs.xorg.xrdb}/bin/xrdb -merge <<< "Xcursor.size: 48"
<sphalerite_>
Izorkin: in that case I really don't get why it's saying no space left on device
<sphalerite_>
it's especially strange that it says that for "cloning builder process"
markus1189_ has quit [Ping timeout: 276 seconds]
<clever>
Izorkin: can you run strace -ff -o logfiles -s 300 nixos-rebuild build && nix-env -iA nixos.gist && gist -p logfiles.* ?
<clever>
Izorkin: and beware that the logs will contain every string in your configuration.nix, which might have passwords?
<mfiano>
sphalerite_: Your way worked, other way didn't. Thanks
<clever>
but you could also just symlink it into /etc/nixos/configuration.nix to get the same effect
<mfiano>
Thanks. I guess I should read about nixops
<clever>
Izorkin: reading the logs...
<mfiano>
My goal is to have nixos deployed to all ~10 of my machines eventually
<clever>
mfiano: nixops helps with that kind of thing
<clever>
mfiano: as an example, take router_deployment.nix, if i just copy&paste lines 7-14, give each a unique name (line 7) and unique ip (line 12), and run `nixops deploy`, it will upgrade all 10 machines to have the exact same config
<clever>
Izorkin: with this, i can see that 3 processes are involved in the error: grep -r --color 'unable to start build process'
<TonyTheLion>
lejonet: but when i try to install nix on my arm cortexA15 machine, it says there's no binary
<clever>
elvishjerricco: line 37 configures uploading everything to S3, rather then keeping it in /nix/store
<clever>
elvishjerricco: 38, not sure exactly
<clever>
elvishjerricco: 39 makes it download things from https://cache.nixos.org when it needs them
hamishmack has quit [Quit: hamishmack]
<elvishjerricco>
clever: So line 39 allows it to get binaries from a cache without having `use-substituters` on?
<lejonet>
TonyTheLion: I haven't fiddled, yet, with the combo of nix+arm so I dunno then
<clever>
elvishjerricco: i think so
<mfiano>
clever: nice
<lejonet>
All I know is that there is an arm image, thus there should exist a nix for arm, somewhere
<elvishjerricco>
clever: Odd. What do each of those parameters on line 37 do?
<mfiano>
my machines are basically the same except xorg driver, IP, and purpose (packages)
<mfiano>
so should be pretty simple then
<clever>
Izorkin: ps aux | grep nix-daemon
<clever>
elvishjerricco: it configures hydra to use the s3:// driver for the nix store, nix-cache is the bucket name, and the rest is config for the s3 driver
<clever>
mfiano: some services expect a per-host unique id, zfs is one of them
<clever>
mfiano: but if nothing demands you use it, you can just not set the option
<mfiano>
Ah ok. I don't think I do
Slabity has quit [Remote host closed the connection]
sanscoeu_ has joined #nixos
<Izorkin>
clever: nixos-rebuild boot --upgrade - normal work
<sanscoeu_>
On OSX, is it possible to do a single-user install?
<clever>
Izorkin: then the problem is somewhere inside nix-daemon
<gchristensen>
sanscoeu_: what for?
<sanscoeu_>
I don't want nix running sudo and I don't want it install in /.
<clever>
Izorkin: rm logfiles.* to clean up the old logs, `strace -ff -o logfiles -s 3000 nix-daemon` to launch it with debug, then `nixos-rebuild build` to fail it again, and ctrl+c the strace&upload
sanscoeu_ is now known as sanscoeur
<clever>
sanscoeu_: even with a single-user install, it has to be at /nix
<sphalerite_>
sanscoeur: that's not currently possible on osx to my knowledge
<sanscoeur>
I don't see why it _has_ to be at /nix, other than arbitrary reasons. okay. thanks.
<clever>
sanscoeur: a large chunk of the scripts have /nix/store hard-coded into them
<clever>
sanscoeur: and its baked into the binaries, so you have to recompile everything
<sphalerite_>
sanscoeur: I think in principle you could use chroot on but I don't know of something like user namespaces on osx which would allow that without root access, which breaks your sudo requirement
<LnL>
sanscoeur: you can use a single user install, but if you don't use /nix you'd have to build everything yourself, you don't want that
fuyuuri has joined #nixos
<sphalerite_>
Does nix build have a way to do a build repetition to check, like nix-{build,store -r} --check?
<infinisil>
LnL: Do you happen to know how long it takes to get like the minimal nixos config compiled yourself?
<clever>
sanscoeur: there is a --option build-repeat i think
<clever>
sphalerite_: which can also go into nix.conf
ryanartecona has joined #nixos
<clever>
sphalerite_: then nix just rebuilds every derivation several times
Thra11 has quit [Ping timeout: 256 seconds]
<sphalerite_>
clever: yeah that doesn't seem to work. The option is just called repeat now, but I've tried doing nix-store -r --repeat 5 <drvpath> and it only builds it once
Thra11 has joined #nixos
<clever>
sphalerite_: what about with --option repeat 5?
<LnL>
infinisil: the stdenv and a kernel is a pretty big builds so that depends a lot on the hardware
<sphalerite_>
pretty sure that's just a longer version of the same thing that won't complain if the option doesn't exist, but I'll try it
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] aristidb pushed 1 new commit to master: https://git.io/vAK6E
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master b8f4df9 Aristid Breitkreuz: attempt to fix #30940 more robustly
tommyangelo_m has joined #nixos
<tommyangelo_m>
anyone know why the livecd (on a usb stick) hangs on a Lenovo W530? I have it on debug mode and the last messages are about ACPI.
<Izorkin>
clever: found error - if - extraUsers.test1.uid = 1000; - error: unable to start build proces
vidbina has joined #nixos
<clever>
Izorkin: that makes little sense, weird
<tommyangelo_m>
ctrl alt del and sysrq both have no effect
<jtojnar>
why would I get “error: stack overflow (possible infinite recursion)” if I try to build system from local clone of the repo but it works when downloaded from GitHub?
<ottidmes>
JazzyEagle: If you are still online, my Haskell overlay might help you with your snap problem: https://pastebin.com/PFvWLpwu
michiel_l has quit [Read error: Connection reset by peer]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vAKM4
<NixOS_GitHub>
nixpkgs/master f5ce8f8 Vladimír Čunát: Revert "Merge staging at '8d490ca9934d0' into master"...
NixOS_GitHub has left #nixos [#nixos]
aborsu has quit [Quit: aborsu]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/staging 6168c2e Vladimír Čunát: Merge master into staging...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vAKME
<NixOS_GitHub>
nixpkgs/staging e2243a5 Vladimír Čunát: Revert "Revert "Merge staging at '8d490ca9934d0' into master""...
dan_b has joined #nixos
aborsu has joined #nixos
robstr has joined #nixos
dnovosel has quit [Remote host closed the connection]
jtojnar has quit [Ping timeout: 245 seconds]
<JazzyEagle>
ottidmes: I am online still, thanks. I'll take a look at it.
robstr has quit [Ping timeout: 252 seconds]
jtojnar has joined #nixos
<tnks>
sphalerite_: I'm back, and I caught your message. I don't think I'm on an old version of nix-daemon. It's definitely the same one coming in with the latest nixUnstable.
<tnks>
it's just a very weird hang with curl.
<JazzyEagle>
Ok, I was hoping I'd understand the overlay, but I don't. Not sure what to do with this.
<sphalerite_>
tnks: this mangled output doesn't usually occur unless there's a version mismatch
<sphalerite_>
tnks: `readlink -f $(which nix)` and `pgrep -a nix-daemon` report the same path?
szicari has quit [Quit: szicari]
jb55 has joined #nixos
tertle||eltret has joined #nixos
<ottidmes>
JazzyEagle: I do not know if you are familiar with overlays? And to be clear, you can just add snap to libPkgs and it will be made available for you to import in your Haskell project, or if snap has executables (I am not familiar with snap), then you can add it to exePkgs as well, so it will be made available in your path if you add ghc802-env (in my overlay example) to environment.systemPackages or via
<ottidmes>
nix-env
* JazzyEagle
thinks he needs to go back and re-read the nixos manuals... Didn't understand any of that.
<chreekat>
For some reason, the curl output from nix-build is horribly garbled today. Lots of lines are being "formatted" to be 1-character long. What happened? :/
<mfiano>
clever: how does `with keys` resolve those hostnames in your core.nix?
roberth has quit [Ping timeout: 240 seconds]
aborsu has quit [Quit: aborsu]
aborsu has joined #nixos
kelleyNif has joined #nixos
jtojnar has quit [Ping timeout: 240 seconds]
jtojnar_ has joined #nixos
jtojnar_ is now known as jtojnar
Thra11 has quit [Ping timeout: 240 seconds]
kelleyNif has quit [Client Quit]
<ottidmes>
JazzyEagle: Don't you understand my overlay or don't you understand my explanation, or both? Either way, reading the Nix, Nixpkgs, and NixOS manuals will help, the wiki and Nix pills will also help
jb55 has quit [Ping timeout: 256 seconds]
<ottidmes>
JazzyEagle: If you just want GHC + Snap for now, you could also probably (untested) add this: environment.systemPackages = [ (pkgs.haskellPackages.ghcWithPackages (hsPkgs: with hsPkgs; [ snap ])) ];
<mfiano>
that is excellent. thanks for the explanation
chocopuff298 has quit [Quit: WeeChat 2.0.1]
<sphalerite_>
I'm getting some weirdness fetching the sources for strace. nix-build channel:nixos-unstable-small -A strace.src --substituters '' works fine, *unless* I use --store /tmp in which case the output hash is different. Could anyone else try and confirm this?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #35479: ceph: Modify ceph package so that it compiles and runs fine on nixos (master...ceph-patch-python-env) https://git.io/vAwTG
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_>
I'm not sure where the version referred to in the expression comes from, since all the strace-4.21.tar.xz I've been able to find online so far have the hash '0dsw6xcfrmygidp1dj2ch8cl8icrar7789snkb2r8gh78kdqhxjw'
<sphalerite_>
ok so it looks like the maintainers might have just changed the release after the fact… -_-
jtojnar_ has joined #nixos
dan_b has quit [Ping timeout: 240 seconds]
mkoenig has joined #nixos
jtojnar_ is now known as jtojnar
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dotlambda pushed 1 new commit to python-unstable: https://git.io/vAKHZ
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/python-unstable f760fcb Robert Schütz: pythonPackages.cached-property: fix tests...
asuryawanshi has quit [Ping timeout: 248 seconds]
<elvishjerricco>
shlevy: Here's a crazy idea. Have Hydra build an `activate` script that runs `nixops` to do a deployment, and have Hail run it. Continuous deployment with Hydra and NixOps with relative ease.
michalrus has joined #nixos
cement has quit [Ping timeout: 240 seconds]
chreekat has quit [Quit: quitting]
<tnks>
sphalerite_: need to go to the gym, but I'll try again later. thanks for the pointers.
michalrus has left #nixos ["WeeChat 1.9.1"]
lexcurious has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 240 seconds]
jtojnar has quit [Ping timeout: 240 seconds]
mizu_no__ has joined #nixos
rardiol1 has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] edef1c opened pull request #35685: ipxe: fix ISO build (master...ipxe-iso) https://git.io/vAKQP
<NixOS_GitHub>
nixpkgs/staging a98a767 Matthew Bauer: qt5: install pkg_config files on darwin...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 7 new commits to staging: https://git.io/vAK7d
<NixOS_GitHub>
nixpkgs/staging f107421 Jan Malakhovski: cc-wrapper: allow building without documentation, propagate info pages
<NixOS_GitHub>
nixpkgs/staging 0ab1067 Jan Malakhovski: bintools-wrapper: allow building without documentation
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/staging 5224373 Jan Malakhovski: stdenv: linux, darwin: don't build documentation for the the intermediate stages...
<mfiano>
It saddens me that the application I use more than any other is not available in nixpkgs, forcing me to learn nix expressions and packaging early on before using my newly setup nixos system.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 3 new commits to master: https://git.io/vAK7A
<NixOS_GitHub>
[nix] dezgeg opened pull request #1912: libexpr: Fix prim_replaceStrings() to work on an empty source string, take 2 (master...replacestrings-take-2) https://git.io/vAK5P
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAK51
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAKba
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_>
"Roswell is a Lisp implementation installer/manager, launcher, and much more!"?
<mfiano>
Yes
<mfiano>
It manages different Common Lisp impleemntations/interpreters, Common Lisp packages, provides a scripting framework, and more
<sphalerite_>
not sure what the scripting framework bit means, but the first two parts are things that should be covered by nix.
<sphalerite_>
Not sure how much CL support we have in nixpkgs though, I've never touched it
<sphalerite_>
I think there are a few people here who might know about that though
<sphalerite_>
I think MichaelRaskin does lisp stuff but he doesn't seem to be here right now
<mfiano>
It's also used for CI testing, etc
<mfiano>
Oh it just has conveniences for working with Common Lisp as shell scripts rather than the inherent long lasting process often associated with Common Lisp
<mfiano>
It's basically a very convenient tool that a lot of my work depends on
<sphalerite_>
right
<ottidmes>
I just tried to update a machine with nixUnstable from channel/nixos-unstable but it crashed a few seconds in, I just tried it again with nix 1.11 and it worked fine