<supersandro2000>
ahhh. Did not know that. learning every day
<donofrio>
that it is missing, so that is why I'm getting "Illigal Instruction :4" (rusult files exist bit not the file starting in "pq and ending in 3.4"
riksu-raksu has joined #nixos
riksutin has joined #nixos
riksteri has quit [Ping timeout: 246 seconds]
cantstanya has quit [Remote host closed the connection]
riksu-raksu has quit [Ping timeout: 264 seconds]
cantstanya has joined #nixos
philr has joined #nixos
philr_ has quit [Ping timeout: 272 seconds]
supersandro2000 has quit [Ping timeout: 246 seconds]
miscalculated has quit [Ping timeout: 258 seconds]
supersandro2000 has joined #nixos
<supersandro2000>
nix requires blacklisting packages for building support
<supersandro2000>
every time something builds tensorflow or lumo my entire home network starts to fall apart
<supersandro2000>
and I can't even open a new bash or htop to kill it
<donofrio>
still cannot find or remove that results file ;(
<supersandro2000>
not that important
<supersandro2000>
let me try something
<donofrio>
k
<supersandro2000>
well...
<supersandro2000>
I can't fake no AVX support somehow
johnnyfive has joined #nixos
dansho has joined #nixos
<supersandro2000>
going to create a feature in nixpkgs-review which allows to blacklists packages...
Volk has joined #nixos
veleiro has joined #nixos
riksutin has quit [Read error: Connection reset by peer]
riksutin has joined #nixos
riksutin has quit [Read error: Connection reset by peer]
riksutin has joined #nixos
miscalculated has joined #nixos
<donofrio>
oh ok cause i'm still getting issues "/nix/store/zyy834ibw1f1k25cgx05g2w5gmpgb343-source" seems it cannot download it?
<abathur>
donofrio: result file is a link created in your cwd (to the build output) when you run nix-build; if you just ran nix-shell commands you won't have one; if you did a nix-build but have changed directories you may need to figure out where you ran it
knupfer1 has joined #nixos
<donofrio>
abathur, I'll look around
<abathur>
can check shell history to see if you ran a build maybe
<abathur>
or use something like `find -name 'result' ~/` maybe
knupfer1 is now known as knupfer
<clever>
abathur: ls -ltrh /nix/var/nix/gcroots/auto/
<clever>
abathur: symlinks to every result link, sorted in the order they got made
<{^_^}>
[nixpkgs] @PlushBeaver opened pull request #108186 → catboost: init at 0.24.4 → https://git.io/JL5Oe
<abathur>
<3 clever
<{^_^}>
clever's karma got increased to 550
<energizer>
can i query for the runtime deps of a file?
knupfer has quit [Ping timeout: 240 seconds]
<abathur>
how do you mean?
<energizer>
i dont want the things that are required for building the program, just the things it needs at runtime. maybe that's what nix-store -qR does.
<clever>
enless you run nix-store --delete or GC, it wont delete any of the deps
<energizer>
i mean i just want to get the list of them
<clever>
energizer: -qR will show the runtime deps, but not the buildtime deps
<{^_^}>
[nixpkgs] @cdepillabout opened pull request #108188 → haskellPackages.attoparsec: jailbreak because of new version of Quickcheck → https://git.io/JL5sq
euandreh has quit [Quit: WeeChat 3.0]
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
Heirlung has quit [Read error: Connection reset by peer]
Heirlung has joined #nixos
euandreh has joined #nixos
<{^_^}>
[nixpkgs] @cdepillabout merged pull request #108188 → haskellPackages.attoparsec: jailbreak because of new version of Quickcheck → https://git.io/JL5sq
<{^_^}>
[nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JL5su
<{^_^}>
[nixpkgs] @lovesegfault pushed 3 commits to master: https://git.io/JL5sV
<siraben>
,dnw donofrio
<{^_^}>
donofrio: Provide as much info as possible on problems. What specifically doesn't work? What command did you run? What's in the relevant files? What's the error? This makes debugging easier and helps getting faster responses
riksu-raksu has joined #nixos
riksutin has quit [Ping timeout: 256 seconds]
<donofrio>
siraben, trying to get pianobar working (without AVX extention on cpu - 2008 imac) need to compile guessing it was working a few days ago now that I compiled for 16 hours last night it just says "Illegal instruction: 4"
<donofrio>
trying - lewisdonofrio@Lewiss-iMac profile % nix-build -A pianobar.src '<nixpkgs>'
<donofrio>
error: creating a garbage collector root (/nix/store/2jj58frh04si9qv7kbacvs8p6cijbvvq-user-environment/result) in the Nix store is forbidden (are you running nix-build inside the store?)
<siraben>
What does pianobar.src look like?
<siraben>
What folder are you in currently?
Heirlung has quit [Read error: Connection reset by peer]
<{^_^}>
[mobile-nixos] @samueldr merged pull request #270 → Import mruby-lvgui and minor mruby refactor → https://git.io/JL53a
<{^_^}>
[mobile-nixos] @samueldr pushed 29 commits to master: https://git.io/JL5s6
OCCASVS has quit [Quit: Connection closed for inactivity]
<energizer>
how can i get the list of runtime deps of a package from within nix? like if i want to make a sandboxed version of a program, equivalent to `nsjail $(nix-store -qR $program | sed -e 's/^/-R /g' | tr '\n' ' ') -- $program`
srk has quit [Ping timeout: 240 seconds]
xelxebar_ has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
xelxebar has joined #nixos
srk has joined #nixos
nicoo has quit [Ping timeout: 240 seconds]
andreas303 has quit [Ping timeout: 240 seconds]
_madalu has joined #nixos
oida has quit [Ping timeout: 240 seconds]
madalu has quit [Ping timeout: 240 seconds]
est31 has quit [Ping timeout: 240 seconds]
schweby has quit [Quit: Das ist möglich, also tun wir es. Später.]
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JL5Gp
<infinisil>
energizer: Check closureInfo
<infinisil>
pkgs.closureInfo
eyJhb has quit [Quit: Clever message]
oida has joined #nixos
andreas303 has joined #nixos
<elvishjerricco>
So, I can enable wake on wlan for magic packet, but it doesn't seem to actually work. If I suspend my machine, then running wol MAC on another machine doesn't do anything
<energizer>
infinisil: ok i'll look at that. meanwhile, i did copy the home-manager user services but https://bpa.st/DHBQ still doesn't start up when i log in
nicoo has joined #nixos
new2nix has quit [Remote host closed the connection]
miscalculated has quit [Excess Flood]
<infinisil>
energizer: Are you sure there's not something missing that all other services have?
<energizer>
infinisil: i'm sure there is (cuz otherwise it would work), but i dont know what it is
eyJhb has joined #nixos
eyJhb has joined #nixos
eyJhb has quit [Changing host]
<infinisil>
Just compare your definition with any other service in home-manager and you should figure it out
<energizer>
infinisil: do you see what the problem is or are you guessing that there is some difference?
D_ has quit [Ping timeout: 256 seconds]
<infinisil>
I see the problem. Can you link me to a home-manager service you compared against?
<{^_^}>
[nixpkgs] @WolfangAukang opened pull request #108191 → signumone: init at 3.1.2 → https://git.io/JL5Zn
<energizer>
maybe i picked a few unlucky ones. flameshot has Install = { WantedBy = [ "graphical-session.target" ]; }, which looks promising. i'll try that and see if it works
jb55 has quit [Remote host closed the connection]
<infinisil>
energizer: Oh, unfortunate choice, that looks like a socket activated one
<infinisil>
Yeah exactly
<energizer>
alright
jb55 has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
jb55 has quit [Remote host closed the connection]
aw has joined #nixos
jb55 has joined #nixos
spacefrogg has joined #nixos
eyJhb has quit [Remote host closed the connection]
eyJhb has joined #nixos
eyJhb has quit [Changing host]
eyJhb has joined #nixos
nicoo has quit [Remote host closed the connection]
<jack>
supersandro2000 oh okay thank you. Would that mean that by default, as long as I check 1hr after installing the package originally, nix-channel --update will update it?
ransom has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
ransom has quit [Read error: Connection reset by peer]
<qyliss>
danderson: I have a NIX_PATH-based configuration, but no fetchTarball because I use git subtree to embed nixpkgs, nixos-hardware and nixpkgs-wayland in the repository: https://git.qyliss.net/nixlib/tree/
<danderson>
TIL subtree. Thanks!
sss2 has quit [Ping timeout: 246 seconds]
palo1 has joined #nixos
<danderson>
hm, I guess I could use submodules. I have sufficient cursed knowledge to handle them at this point
<lovesegfault>
danderson: what do you need submodules for?
<lovesegfault>
just use niv
<qyliss>
I like my subtree approach because it makes it really easy to modify nixpkgs/etc
<qyliss>
since it's just part of the repo
<energizer>
danderson: have you tried subtrac?
<colemickens>
(if we're throwing out other suggestions, flakes+flakes-compat is maybe something if it's not been considered)
<danderson>
energizer: we use git-subtrac a ton at tailscale. It's... fine, but error-prone IME
<danderson>
we needed a bunch of wrappers to file down the sharp edges
<energizer>
danderson: that's good to know
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
<danderson>
colemickens: I'm bailing on flakes because I don't want to require using unstable features, and flakes+nixos is still janky in a bunch of ways
<danderson>
so, things that build on flakes are out for me, until flakes are more stable.
<colemickens>
Do we have bugs for the janky things?
<danderson>
some. I'd give a more authoritative answer, but github's currently crapping itself
<energizer>
git-subtree is apenwarr's too, the prequel to git-subtrac
spinlock[m] has joined #nixos
<qyliss>
Can I do a regex replace in Nix?
<danderson>
but the big ones: nixos-rebuild's remote building options are broken and WONTFIX, according to the bug; can't inject flake parameters into declarative containers, other than with a _module hack that doesn't let you do imports;
<qyliss>
hmm I guess I can use builtins.split
<danderson>
nixos profiles aren't exposed in flakes, so basic stuff like "I installed a qemu VM" requires extra work;
<danderson>
and today's straw that broke me is allowUnfree doesn't seem to propagate properly when I mix different flake inputs in my nixos config, so overriding a package to point to a different flake results in "waah that's unfree, refusing to proceed"
<danderson>
At that point, I decided it'd be easier to cope with pre-flakes jank, because people have had years to come up with reasonable workarounds for that :)
<colemickens>
I'm not sure what the first thing means, and haven't encountered the second and use unfree software on most of my machines.
<danderson>
also, I need to come up with a setup I can get people at work to use, and I don't trust flakes's stability enough for that based on my personal experience with it.
<colemickens>
anyway, not trying to talk you out of it, just trying to legitimately truly understand and take to heart flakes problems, I have my own list.
<danderson>
although admittedly, I'm picking between a bunch of not great options here
Darkmatter66 has quit [Ping timeout: 260 seconds]
fuiltilt has joined #nixos
eyJhb has quit [Quit: Clever message]
eyJhb has joined #nixos
tgamblin-llnl has joined #nixos
<lovesegfault>
is there a handy nix thing to apply sed to all files in source?
<Hail_Spacecake>
it looks like the instructions for installing it want me to source a file that has bash-style env variable definitions
fuiltilt has quit [Quit: WeeChat 2.9]
waleee-cl has quit [Quit: Connection closed for inactivity]
eyJhb has quit [Quit: Clever message]
eyJhb has joined #nixos
<spinlock[m]>
NixOS journeyman, here. I'm seeing an odd issue files "belonging to" a specific user are finding their way into the "default profile." I've reached the limits of my nix-abilities in trying to diagnose it, so I'm hoping you can provide me some advice on how I can track down the source of my issue. 🤔
<spinlock[m]>
I'm probably misunderstanding how home-manager works, but in this case, I'd expect the /etc/ files to only show up in that one user's profile, not in the default profile. Thanks for any advice you can provide!
<spinlock[m]>
I have (just) one user with `lightlocker` installed via home-manager (`home.packages = with pkgs; [lightlocker ];`), but as a consequence, the XDG startup file is being placed in the default profile (`/nix/var/nix/profiles/default/etc/xdg/autostart/light-locker.desktop`). This causes `light-locker` to automatically start when unrelated users start `X`.
eyJhb has quit [Excess Flood]
D_ has quit [Quit: No Ping reply in 180 seconds.]
stoile has quit [Ping timeout: 264 seconds]
D_ has joined #nixos
eyJhb has joined #nixos
eyJhb has joined #nixos
<supersandro2000>
Hail_Spacecake: open bash for installation
<spinlock[m]>
I'm also using the `configuration.nix` method also described there (as opposed to `~/.config/nixpkgs/home.nix`). Maybe that's somehow related
<spinlock[m]>
supersandro2000:
<spinlock[m]>
* supersandro2000: the former
<supersandro2000>
configuration is global. use home.nix.
<spinlock[m]>
what do you mean by global?
<supersandro2000>
if you put lightlocker into configuration.nix it should be global
<spinlock[m]>
even if it's only in `home-manager.users.alice.home.packages`?
eyJhb has quit [Remote host closed the connection]
jonringer has quit [Ping timeout: 260 seconds]
eyJhb has joined #nixos
eyJhb has joined #nixos
eyJhb has quit [Changing host]
fuiltilt has joined #nixos
fuiltilt has quit [Quit: WeeChat 2.9]
fuiltilt has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
<spinlock[m]>
supersandro2000 Thanks for your time on this. I appreciate you letting me bounce a few newbie questions off ya
<spinlock[m]>
It seems that `home-manager.useUserPackages = true;` might solve this problem. I don't really understand what `useUserPackages` does, but after dealing with this for a few hours, I've been just trying random things. As a result `/nix/var/nix/profiles/default/etc` is also gone now. 🤔
<supersandro2000>
np
<{^_^}>
[mobile-nixos] @samueldr opened pull request #272 → [WIP] asus-flo: Use the mainline kernel → https://git.io/JL5lQ
zangi has quit [Read error: Connection reset by peer]
zangi has joined #nixos
<{^_^}>
[nixpkgs] @FRidh merged pull request #108159 → [staging-next] pulseaudio: fix build on darwin → https://git.io/JL7bL
<{^_^}>
[nixpkgs] @FRidh pushed commit from @r-burns to staging-next « pulseaudio: fix build on darwin »: https://git.io/JL5l7
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JL50Q
rapgru has quit [Remote host closed the connection]
<Reventlov>
hey there, just wondering if someone wanted to package https://github.com/plotly/orca (it's kind of needed to export plotly graphs in svg, for example)
page has quit [Ping timeout: 265 seconds]
davidv7_ has joined #nixos
davidv7 has quit [Ping timeout: 240 seconds]
fortuneteller2k has joined #nixos
<{^_^}>
[nixpkgs] @fabaff opened pull request #108211 → python3Packages.blockchain: init at 1.4.4 → https://git.io/JL5EL
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #nixos
odi1 has joined #nixos
fortuneteller2k has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @primeos pushed to master « Revert "chromium/doc: mention chromedriver when updating" »: https://git.io/JL5o6
fendor_ has joined #nixos
<buffet>
hey, i was using niv with https://github.com/nixos/nixpkgs-channels recently to pin and update packages. however i just see that its deprecated and apparently not updated for a while now. is there any other git repo i could use?
<abathur>
anyone comfortable with home manager and vim packages around? an m1 mac user on discourse (https://discourse.nixos.org/t/macos-m1-issues/10771/6) is trying to figure out how to use the hm-generated vimrc with their system /usr/bin/vim (as a temporary workaround)
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JL5XE
respawn_ has quit [Quit: Leaving]
<patagonicus>
How can I get a list of all store paths needed to build and run a given derivation? Basically the list of stuff that nix-build will print under "these paths will be fetched" given that everything is available in the cache.
<{^_^}>
[nixpkgs] @FRidh closed pull request #107783 → Staging next (with gcc 10, binutils 2.34 and autoconf 2.70) → https://git.io/JLyoO
<{^_^}>
[nixpkgs] @FRidh reopened pull request #107783 → Staging next (with gcc 10, binutils 2.34 and autoconf 2.70) → https://git.io/JLyoO
<lukegb>
patagonicus: for build and run you need --include-outputs iirc (and you should be specifying the derivation path not the output path, but I assume you're doing that)
<DigitalKiwi>
abathur: doom-emacs > *
<{^_^}>
[nixpkgs] @FRidh pushed to staging-next « autoconf: remove buildPackages from main attribute »: https://git.io/JL5XN
jjakob has quit [Quit: Either I'm rebooting or Quassel died again.]
<patagonicus>
lukegb: The bigger problem with -R is that it includes every last input, including e.g. the sources for bison, perl, bash, etc., which I don't need. I just want what's needed to build the derivation I specify. This is for caching in CI, so I don't need to download the few programs over and over from the cache.
<DigitalKiwi>
patagonicus: have you looked at cachix?
<DigitalKiwi>
it can do that
<{^_^}>
[nixpkgs] @SuperSandro2000 opened pull request #108235 → Combined nodePackages update and init → https://git.io/JL51E
<DigitalKiwi>
i set it up on the github actions for nixops-digitalocean it makes it go zoom
<patagonicus>
DigitalKiwi: This is Gitlab and private repos, definitely don't want this uploaded to a public repo. (It's not super sensitive, but I'd just rather not)
<patagonicus>
But maybe the cachix source has something about how it detects what's needed.
<patagonicus>
Not going to pay for this project, it's just a hobby project. I guess before I go down the cachix route I can set up a caching proxy for the official Nixos cache. Or just have it download every time, I don't expect this CI stuff to run often.
jjakob has joined #nixos
<{^_^}>
[nixpkgs] @fabaff opened pull request #108236 → python3Packages.pyarlo: init at 0.2.4 → https://git.io/JL51F
<DigitalKiwi>
yeah i don't think i can afford it either :)
oxalica has joined #nixos
ddellacosta has joined #nixos
<{^_^}>
[nixpkgs] @snicket2100 opened pull request #108238 → nixos/dnscrypt-proxy2: more service hardening → https://git.io/JL5MY
<{^_^}>
#108246 (by bgamari, 19 seconds ago, open): callCabal2nix is broken on nixos-20.09
hiro98 has joined #nixos
euandreh has quit [Remote host closed the connection]
meh` has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
noiez has joined #nixos
<abathur>
repeat from earlier: anyone comfortable with home manager and vim packaging around? an m1 mac user on discourse (https://discourse.nixos.org/t/macos-m1-issues/10771/6) is trying to figure out how to use the hm-generated vimrc with their system /usr/bin/vim (as a temporary workaround)
Darkmatter66 has quit [Ping timeout: 272 seconds]
hiro98 has quit [Ping timeout: 260 seconds]
davidv7_ has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @peti pushed 22 commits to haskell-updates: https://git.io/JL59H
andi- has quit [Quit: WeeChat 2.8]
davidv7_ has joined #nixos
davidv7 has quit [Ping timeout: 256 seconds]
<dsal>
Can anyone help me make a really simple derivation? I have a C++ project that uses boost and builds with scons. nix-shell and editing can get it working, but I'd like to figure out how to get scons to know about boost and just do a simple build.
<dsal>
Anything reproducible is helpful. I don't necessarily need a full derivation, but I can't quite figure out the recipe.
<{^_^}>
[nixpkgs] @jonringer pushed commit from @otavio to master « shellhub-agent: set passthru.updateScript using genericUpdater »: https://git.io/JL5HQ
<zuserm>
trying to change from 20.03 to 20.09, and I get "error: removed 2020-03-16, now integrated in Mesa" and I'm not sure what to do about it
<{^_^}>
[nixpkgs] @peti opened pull request #108252 → Update Haskell package set to Stackage Nightly 2021-01-02 (plus other fixes) → https://git.io/JL5H7
<LilleCarl>
Well i just learned about it, so now i am tpw_rules
<LilleCarl>
energizer: Serial number of the device
<energizer>
oh that's by-id
<LilleCarl>
Yeah, by-uuid didn't have sda link at all
KarlJoad has joined #nixos
<energizer>
that certainly seems more human friendly than uuids, wonder why people only use the uuids
<tpw_rules>
i believe the uuid is stored in the GPT partition table
ddellacosta has joined #nixos
<KarlJoad>
How can I have Python be available during runtime of a package? I've tried `buildInputs`, `propogatedBuildInputs` and `nativeBuildInputs`, and I cannot access `python3` inside a `nix-shell` of that package.
<supersandro2000>
DigitalKiwi: 😄 just give me a heads up when you are ready
sss4 has joined #nixos
<KarlJoad>
energizer: I built octave and its package like Python's. So, you can start a `nix-shell` with `nix-shell --pure -p '(import path {}).octave.withPackages (ps: [ ps.symbolic ])'`
miscalculated has quit [Ping timeout: 272 seconds]
jonringer has quit [Remote host closed the connection]
<energizer>
KarlJoad: i'm not an expert so im just guessing. there are two techniques i've seen for providing paths to programs: one is with substituteAll @program@ (see nixpkgs manual) and the other is wrapProgram --set PATH
sss2 has quit [Ping timeout: 256 seconds]
ddellacosta has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
<tpw_rules>
KarlJoad: so i guess what you need is for the octave script to be able to do the moral equivalent of system("python3 -m sympy")?
cosimone has quit [Quit: cosimone]
D_ has joined #nixos
Volk has quit [Quit: See you next time!]
sangoma has quit [Read error: Connection reset by peer]
davidv7_ has quit [Remote host closed the connection]
<tpw_rules>
KarlJoad: i've briefly gone through the package code and what i would do is include a substituteInPlace in a prePatch script that replaces python3 in private/defaultpython.m with the path of the actual python3 it was built with
<tpw_rules>
like prePatch = ''substituteInPlace private/defaultpython.m --replace python3 '${pkgs.python3}/bin/python3' '';
<tpw_rules>
not sure if that's quoted correctly
<{^_^}>
[nixpkgs] @arcz opened pull request #108258 → liquidctl: init at 1.4.2 → https://git.io/JL57p
<tpw_rules>
or if that's a commonly accepted way to do that
<KarlJoad>
The thing is, I don't go through the unpackPhase. I let octave build the package, which takes in the downloaded tarball and spits out a tarball ready for installation.
Baughn has quit [Ping timeout: 240 seconds]
<tpw_rules>
i mean i would assume the tarball is unpacked at some point? or does that happen at runtime?
<KarlJoad>
It _is_ unpacked at some point, but octave does the unpacking of the tarball.
<tpw_rules>
i mean the final version
<tpw_rules>
like what is "install" here
aswanson_ has quit [Quit: WeeChat 3.0]
Baughn has joined #nixos
makingaderiv has joined #nixos
<KarlJoad>
"install" is done by octave again, when putting octave together with the packages. Octave takes the tarball that was built with `octave --eval "pkg build"` and unpacks it to a location in share/octave/octave_packages/
<makingaderiv>
In my derivation, I want to modify a source file with sed. How can I modify the source file (it looks like the builder does not have permissions)?
<tpw_rules>
makingaderiv: you would do that after it was unpacked. if it doesn't have permissions, then was the file packed with write permissions?
<ElXreno[m]>
Sorry for noob questions here, but I need help with the nvidia driver.
<ElXreno[m]>
I have a laptop with nvidia card which supports only 390xx proprietary driver. After installing and rebooting I see a working gdm and I can log in, but after log in Xorg didn't see any displays and uses the virtual display. How I can fix this?
<tpw_rules>
KarlJoad: then you'll have to unpack the tarball and repack it, or wrap the octave executable in a script that sets the PYTHON environment variable
<makingaderiv>
tpw_rules when you say unpacked what you do you mean? I'm in the buildphase and the archive is unpacked I think
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<tpw_rules>
makingaderiv: where did you get the archive? if you just extract it on your own with tar, are the files read write?
LilleCarl1 has joined #nixos
<KarlJoad>
tpw_rules: Setting the PYTHON environment variable seems to be the smoothest solution in that case. However, I cannot even access python outside of octave right now.
<tpw_rules>
you have to do wrapProgram after you build the octave executable
LilleCarl has quit [Ping timeout: 256 seconds]
<tpw_rules>
i can't find the definition of buildOctavePackage
<makingaderiv>
I got it through fetchgit. Through a normal git clone they're writable but not sure that's the same.
<makingaderiv>
Ugh I can't chmod it either
<tpw_rules>
not sure why that would be. can you post your derivation?
<KarlJoad>
tpw_rules: That's because it's `buildOctaveLibrary`. The function's definition is in dev/interpreters/octave/mk-octave-derivation.nix
<tpw_rules>
KarlJoad: sorry, yes that's what i was searching for. but neither github nor google could find it
miscalculated has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
davidv7 has joined #nixos
<tpw_rules>
either way, you'll have to wrap the bin/octave available in your environment to set PYTHON and/or PATH, or write a build script to unpack and repack the tarball
<KarlJoad>
tpw_rules: Weird. Where were you searching? AFAIK, `buildOctaveLibrary` is only in my fork on a few of my octave branches there.
<tpw_rules>
github can't search forks
<tpw_rules>
but considering not all octave users will need python, i think digging into the tarball is the only option
<tpw_rules>
buildInputs and friends only set PATH during building
<tpw_rules>
i believe
<KarlJoad>
That's what I thought. So, I have to set PATH to include python manually?
<tpw_rules>
i don't know what you mean by "manually"
<tpw_rules>
when you run the octave executable in which you intend to use symbolic, PATH or PYTHON has to be set to include the python 3 interpreter's full path
<KarlJoad>
By "manually" I meant there is no variable that I can set somewhere that will set up PATH to include python for me.
<tpw_rules>
no. nix does not touch PATH when your program runs
<makingaderiv>
Any clue as to where that might be happening, given they are not readonly in the repository?
<tpw_rules>
makingaderiv: sorry, i don't see where you have commented anything
<tpw_rules>
wait i'm dumb
<tpw_rules>
oh, it's because you are doing cd ${src}/main
cizra has left #nixos [#nixos]
<tpw_rules>
that puts you in the read only directory of the downloaded repository in the nix store. nix copies the source to a read write temporary area before it starts the builder. you should be able to do just 'cd main'
<makingaderiv>
ohhh
<tpw_rules>
or source/main maybe? you can just run pwd and ls -alh in your builder to be sure of where it is. the output will get printed to the console when you try to build it
zuserm has quit [Remote host closed the connection]
Chiliparrot has joined #nixos
nature_ has quit [Ping timeout: 246 seconds]
m4tsa_ has joined #nixos
ManiacOfMadness has joined #nixos
hiro99 has joined #nixos
m4ts has quit [Ping timeout: 264 seconds]
knupfer1 has joined #nixos
knupfer1 is now known as knupfer
knupfer has quit [Client Quit]
hiro99 has quit [Remote host closed the connection]
sss2 has joined #nixos
Ozymandias42 has joined #nixos
ml| has quit [Ping timeout: 272 seconds]
<Ozymandias42>
Greetings and a quick question because google foo gave no answer. I'm doing a super barebones nixos install. No changes to the generated configuration.nix at all. I'm doing it from inside of another running distro. Why then is it compiling tons of packages for hours on end when it should have been done in 5min ?
riksu-raksu has quit [Quit: riksu-raksu]
<{^_^}>
[nixpkgs] @jlesquembre opened pull request #108264 → vimPlugins.telescope-fzy-native-nvim: init at 2021-01-02 → https://git.io/JL5NA
cole-h has joined #nixos
fresheyeball has joined #nixos
<fresheyeball>
so I am trying to get taffybar working again post 20.09
<fresheyeball>
and I am pulling my hair out
<fresheyeball>
Fontconfig error: "/etc/fonts/2.11/fonts.conf", line 5: invalid attribute 'domain'
<fresheyeball>
from what I read on discourse, and github, programs on this channel are not supposed to use /etc/fonts/2.11 anymore
<fresheyeball>
I tried installing taffybar from nixpkgs master branch
<fresheyeball>
and same problem
Dr8128 has quit [Ping timeout: 272 seconds]
<fresheyeball>
how can I inform taffybar of the right place to look for fonts?
<Yaniel>
you should tell it to use a newer fontconfig
<fresheyeball>
Yaniel: I don't understand
<fresheyeball>
I agree that is why I need to do
<fresheyeball>
what* I need to do
<fresheyeball>
but I don't have a grasp of how fontconfig works
ml| has joined #nixos
<Yaniel>
I mean you should make sure the taffybar package depends on the right version
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Ozymandias42 has quit [Quit: Konversation terminated!]
<fresheyeball>
I don't see a dependency on fontconfig at all :(
<drozdziak1>
Does any of the NixOS provixioning tools swap /etc/nixos/configuration.nix? I'd love to edit nix files locally to permanently affect a remote machine
<Yaniel>
nixops effectively does that
<Yaniel>
fresheyeball: oh and which release channel are you using
<{^_^}>
[nixpkgs] @AndersonTorres closed pull request #13607 → Add the tool "nixos-typecheck" that can check an option declaration to: → https://git.io/v2XCs
<{^_^}>
[nixpkgs] @zowoq pushed to master « .github/workflows: build NixOS/Nixpkgs manuals with PR ref, restrict-eval and sandbox »: https://git.io/JL5jg
<{^_^}>
[nixpkgs] @petabyteboy opened pull request #108271 → python3Packages.adblock: init at 0.4.0 → https://git.io/JL5j2
<energizer>
colemickens: it doesn't on ubuntu either
<{^_^}>
[nixpkgs] @zowoq pushed to master « .github/workflows/rebase-staging.yml: add reaction to the comment that started the job »: https://git.io/JL5jj
<sss2>
hi all, which os most appropriate for nixos store and why ?, i found xfs not suitable ...