DEVELOPMENT ENVIRONMENT

~liljamo/robots.txt

ref: 6a060977b27b20fd69912b6a11132b831712016c robots.txt/flake.nix -rw-r--r-- 371 bytes
6a060977Jonni Liljamo feat: robots.txt generation 28 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
  };

  outputs = { self, nixpkgs }: {
      packages.x86_64-linux.default = nixpkgs.legacyPackages.x86_64-linux.pkgs.stdenv.mkDerivation {
        name = "robots.txt";
        src = ./.;
        installPhase = ''
          mkdir -p $out
          cp robots.txt $out
        '';
      };
    };
}