Closed abigcarrot closed 1 year ago
This is very likely a problem on Docker which will never be fixed on 18.XX. Sometimes docker needs to update its internal working to support new software. See https://github.com/moby/moby/issues/42055 as an example. Please update your Docker or find a workaround yourself, nothing nix realistically can fix in its Dockerfile unless software is downgraded.
@fricklerhandwerk can you close this?
Describe the bug
on debain9 with docker
get error
on debain10 with docker
get successed and some logs
Steps To Reproduce
WORKDIR /root/
enable flake commands and tuna mirror
COPY nix.conf /etc/nix/nix.conf COPY flake.nix /root/ COPY flake.lock /root/
build the environment
RUN nix build .
{ "nodes": { "nixpkgs": { "locked": { "lastModified": 1652881001, "narHash": "sha256-k9JmPCojaJnqGz4aRXXT1HZqJKHCXijoMfBAb24abXk=", "owner": "nixos", "repo": "nixpkgs", "rev": "2d474d6a4a43a0348b78db68dc00c491032cf5cf", "type": "github" }, "original": { "owner": "nixos", "ref": "nixos-21.11", "repo": "nixpkgs", "type": "github" } }, "root": { "inputs": { "nixpkgs": "nixpkgs" } } }, "root": "root", "version": 7 }
{ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-21.11"; };
outputs = { self, nixpkgs }: let sys = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${sys}; in { defaultPackage.${sys} = pkgs.buildEnv { name = "slurm-pack"; paths = with pkgs; [ slurm munge openssh tcl self.packages.${sys}."environment-modules" ];
pathsToLink = ["/bin", "/sbin"]
}
substituters = https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store https://cache.nixos.org/ experimental-features = nix-command flakes