silly goober bot
at main 29 lines 675 B view raw
1{ 2 description = "Blahaj"; 3 4 inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; 5 6 outputs = 7 { self, nixpkgs }: 8 let 9 systems = [ 10 "x86_64-linux" 11 "aarch64-linux" 12 "x86_64-darwin" 13 "aarch64-darwin" 14 ]; 15 16 forAllSystems = 17 function: nixpkgs.lib.genAttrs systems (system: function nixpkgs.legacyPackages.${system}); 18 in 19 { 20 packages = forAllSystems (pkgs: rec { 21 default = blahaj; 22 blahaj = pkgs.callPackage ./default.nix { rev = self.dirtyRev or self.rev; }; 23 }); 24 25 devShells = forAllSystems (pkgs: { 26 default = pkgs.callPackage ./shell.nix { }; 27 }); 28 }; 29}