我在不稳定的nix频道上:
Properties properties = new Properties();
AppProps.setApplicationJarClass(properties, Test.class);
FlowConnector flowConnector = new LocalFlowConnector();
Fields custFields = new Fields("no", "name", "city");
FileTap custFileTap = new FileTap(new TextDelimited(custFields,true, ","), "C://Users//Test//cust.txt");
Fields tsctnFields = new Fields("no", "tdate", "tamt");
FileTap tsctnFileTap = new FileTap(new TextDelimited(tsctnFields,true, ","), "C://Users//Test//tsctn.txt");
出于某种原因,# nix-channel --list
nixos https://nixos.org/channels/nixos-unstable
# nix-channel --update
downloading Nix expressions from ‘https://nixos.org/releases/nixos/unstable/nixos-16.09pre78848.9549257//nixexprs.tar.xz’...
downloading ‘https://nixos.org/releases/nixos/unstable/nixos-16.09pre78848.9549257//nixexprs.tar.xz’... [ [6192/6921 KiB, 6143.1 KiB/s]
unpacking channels...
不起作用:
command-not-found
确实,/ nix /var/nix/profiles/per-user/root/channels/nixos/programs.sqlite不存在。这可能是什么原因?