Skip to content

Nikola copy read-only files from nix-store and fails then overwriting them #43685

@davidak

Description

@davidak

Issue description

The developers don't want to fix it in the software. getnikola/nikola#2962

Both 1970 dates and invalid permissions are caused by NixOS being crazy, not Nikola.

Would there be any way for us to fix that?

Steps to reproduce

You can build my website for example:

git clone https://github.com/davidak/davidak.de.git
cd davidak.de
nix run '((import <nixpkgs> {}).python3.withPackages (ps: with ps; [Nikola micawber]))'
nikola build

Then edit something in the Markdown files in pages/ or posts/ and run last command again. See also linked issue for output.

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.14.52, NixOS, 18.03.132803.2f06e04b74e (Impala)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.0.4
  • channels(davidak): ""
  • channels(root): "nixos-18.03.132803.2f06e04b74e, nixos-hardware, unstable-18.09pre140958.696c6bed4e8"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions